1. Field of the Invention
The invention disclosed and claimed herein generally pertains to a method whereby a multiplicity of tasks, each performed by launching a software or other component, are carried out in a pre-specified order or arrangement. More particularly, the application pertains to a method of the above type wherein the launching of one component to perform its task has a pre-specified relationship to the launching of other task components. Even more particularly, the invention pertains to a method of the above type wherein launch descriptions for respectively launching each of the individual components are consolidated, in order to provide a single composite launch description for launching the multiplicity of tasks.
2. Description of the Related Art
Integrated Development Environments (IDEs), such as an open source product known as Eclipse, are currently the tool of choice for complex software development. These environments support the full development life cycle by combining a rich set of cooperating tools, such as visual user-interface builders, source-code editors, compilers and debuggers. IDEs organize software into projects, where a project typically corresponds to a platform-specific software component such as a Web service or its corresponding client. However, while IDEs are very useful in developing individual components, they tend to fall short in developing heterogeneous systems consisting of multiple components, such as distributed applications. A distributed application contains sub-applications that can run on multiple computational nodes. Thus, there is a need to augment IDEs to effectively manage collections of projects or other software components as coherent entities.
An important aspect of the application development cycle is the ability to launch the developed application for the purposes of testing and debugging. Accordingly, when developing a distributed application having multiple sub-applications, it is important to have the capability of launching the different sub-applications simultaneously, or in some other pre-specified relationship with one another. Such relationships may be provided by specifying launch parameters, which indicate such things as which sub-applications to launch, in what order, on what computers, and under what conditions. Such a specification, also referred to as a launch configuration, usefully should be stored so that it can be applied repeatedly in the development process. Moreover, in order to support structured organization, it would be desirable to provide a launch configuration with a hierarchical structure. This would enable grouping of sub-applications and launch parameters.
In current IDEs, the notion of a launch configuration is generally well known. However, mechanisms for flexibly composing launch configurations as well as the notion of a hierarchically organized aggregated launch arrangement that encompasses multiple launchings, are generally not known. In the absence of an aggregated launcher, the application developer has to manually perform several launch operations each time that testing and debugging is carried out. This process tends to be cumbersome and error-prone. In addition, when performing certain tests such as stress testing, the developer may want to launch multiple instances of an application, such as one instance of a server and many instances of a client. Again, in current IDEs this needs to be done manually.
One prior art IDE product provides the ability to launch a distributed application (called a “solution”) and thereby launches its constituent sub-application. However, such product has no capability of defining launch configurations independently of a solution, nor does it support hierarchical organization of the launch configuration. Such product only lists the sub-applications contained in the solution. Moreover, the parameters of an aggregated launch configuration are very restricted.
In IDEs that support Web tooling, such as Eclipse, there is only a limited notion of distributed launching. That is, when testing a Web application, the IDE launches both an application server and a browser client. However, while this feature may exemplify a “one click” way of launching multiple computational nodes, it is restricted to the Web-based client-server model, and has no notion of hierarchy or flexible composition.
In a traditional, non-IDE approach to development, scripts such as shell script are used for launching. This approach requires scripting expertise, and lacks the affordances of an IDE, such as a graphical interface. Furthermore, this approach does not provide a generic flexible method for composing launches.
From the above, it is seen that a flexible method for composing launch configurations is required for advancing the state of the art in modern distributed application development. In particular, providing such a method in an IDE, which also supports hierarchical composition, is particularly valuable. While this will be useful for distributed application development, it is anticipated that such a method would have other useful applications as well, such as in stress testing.
The invention provides a general purpose mechanism for consolidating the launching of multiple tasks. A task is said to be launched, when it or an associated software component is run or executed. In one embodiment of the invention, launch descriptions of the individual tasks are read and parsed. Composition parameters are then read, wherein the parameters indicate relationships between the launchings of different tasks, such as launch order, specific timings and synchronizations, delays between tasks, and groupings of tasks. A combined or composite launch description is then constructed, wherein the composite description takes into account both the individual launch descriptions and the composition parameters. Finally, tasks of the composite launch description are launched. For example, if the tasks are software components, they are run in a certain order or arrangement, each with its own parameters. In a further embodiment, directed to a method of the above type, a plurality of individual launch descriptions are delivered to a tool, wherein each of the individual launch descriptions is usable to launch a corresponding component to perform a corresponding task. The method further comprises providing the tool with a set of launch relationships, wherein a given launch relationship specifies the relationships between launchings of two or more components. The tool is then operated to generate a single composite launch description that defines the launching of the components in accordance with the set of launch relationships.
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
Referring to
At step 104, the method reads a set of composition launch parameters that have been supplied. These parameters generally relate to how the launches are composed. Parameters may indicate the relationship between the launching of a component, to perform its corresponding task, and the launching of one or more other components. For example, a launch parameter could specify an order or sequence in which different components and their tasks are to be launched, with respect to one another. Another parameter could specify the timing or delay between tasks that are launched successively, or could specify that tasks are to be launched simultaneously or in some other timed or synchronized relationship. Launch parameters could also indicate the number of instances for a launched component, or specify the conditions under which the task would or would not be launched. Further parameters could group tasks into different subsets, or could indicate the computers or other locations for launching respective tasks.
From the individual launch descriptions and the composition launch parameters, a representation of the composite or combined launch description is constructed, as shown by step 106. The composite launch description, or composite launch configuration, mirrors the nested structure of a composite entity, such as an application having multiple sub-applications. A launch of the composite launch description, shown at step 108, acts by delegation. That is, the composite launch is equivalent to the launch of respective constituents that are contained in the composite entity, wherein each constituent has its own specified launch configuration. Respective individual constituent launchings occur in accordance with the order, sequence, or other launch relationships that are specified by the composition launch parameters. If the tasks are software components, they are run in a certain order (or in parallel), each with its own parameters. In the case of physical tasks, they may be executed in a particular, prescribed manner, by a person or group of people.
Referring to
Referring to
Referring to the screen depicted in
Referring to
In the depicted example, a server 804 and server 806 are connected to network 802 along with storage unit 808. In addition, clients 810, 812, and 814 are connected to network 802. These clients 810, 812, and 814 may be, for example, personal computers, network computers or mobile computers such as PDAs and smart phones. For purposes of this application, a network computer is any computer, coupled to a network, which receives a program or other application from another computer coupled to the network. In the depicted example, server 804 provides data, such as boot files, operating system images, and applications to clients 810-814.
Clients 810, 812, and 814 are clients to server 804. Additionally, clients 810-814 may be clients to server 806 in these examples. Moreover, tool 302 shown in
Distributed data processing system 800 may include additional servers, clients, and other devices not shown. In the depicted example, network 802 interconnecting system 800 could be the Internet. Distributed data processing system 800 also may be implemented as a number of different types of networks, such as, for example, an intranet, a local area network (LAN), or a wide area network (WAN).
Referring to
Referring further to
The invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In a preferred embodiment, the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
Furthermore, the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any tangible apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a USB flash drive, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD.
A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers.
Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modems, Ethernet cards and wireless adapters are just a few of the currently available types of network adapters.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
This application is a continuation of application Ser. No. 11/450,618 filed Jun. 9, 2006 status abandoned.
Number | Name | Date | Kind |
---|---|---|---|
5361357 | Kionka | Nov 1994 | A |
5485615 | Wennmyr | Jan 1996 | A |
5574898 | Leblang et al. | Nov 1996 | A |
5854932 | Mariani et al. | Dec 1998 | A |
6195659 | Hyatt | Feb 2001 | B1 |
6263492 | Fraley et al. | Jul 2001 | B1 |
6292933 | Bahrs et al. | Sep 2001 | B1 |
6546395 | DeKimpe et al. | Apr 2003 | B1 |
6665678 | Ching Chen et al. | Dec 2003 | B2 |
6678716 | Pronsati, Jr. et al. | Jan 2004 | B1 |
6678889 | Burkett et al. | Jan 2004 | B1 |
6782508 | Bahrs et al. | Aug 2004 | B1 |
6789251 | Johnson | Sep 2004 | B1 |
6804682 | Kemper et al. | Oct 2004 | B1 |
6938240 | Charisius et al. | Aug 2005 | B2 |
6950990 | Rajarajan et al. | Sep 2005 | B2 |
6966061 | Vance et al. | Nov 2005 | B1 |
7051036 | Rosnow et al. | May 2006 | B2 |
7055130 | Charisius et al. | May 2006 | B2 |
7080081 | Agarwal et al. | Jul 2006 | B2 |
7127707 | Mishra et al. | Oct 2006 | B1 |
7152224 | Kaler et al. | Dec 2006 | B1 |
7236974 | Bhattacharjee et al. | Jun 2007 | B2 |
7251655 | Kaler et al. | Jul 2007 | B2 |
7272818 | Ishimitsu et al. | Sep 2007 | B2 |
7328206 | Petculescu et al. | Feb 2008 | B2 |
7370315 | Lovell et al. | May 2008 | B1 |
7383320 | Silberstein et al. | Jun 2008 | B1 |
7461049 | Thompson et al. | Dec 2008 | B2 |
7487436 | Aureglia et al. | Feb 2009 | B2 |
7631014 | Bhattacharjee et al. | Dec 2009 | B2 |
7707566 | Grover et al. | Apr 2010 | B2 |
7765211 | Bhattacharjee et al. | Jul 2010 | B2 |
7797293 | Pabla et al. | Sep 2010 | B2 |
7844570 | Netz et al. | Nov 2010 | B2 |
7870536 | Banavar et al. | Jan 2011 | B2 |
7971198 | Almeida | Jun 2011 | B2 |
8037056 | Naicken et al. | Oct 2011 | B2 |
8069437 | Aigner et al. | Nov 2011 | B2 |
20020087561 | Ching Chen et al. | Jul 2002 | A1 |
20030195898 | Agarwal et al. | Oct 2003 | A1 |
20040031015 | Ben-Romdhane et al. | Feb 2004 | A1 |
20040060036 | Natori et al. | Mar 2004 | A1 |
20040205066 | Bhattacharjee et al. | Oct 2004 | A1 |
20040216090 | Kaler et al. | Oct 2004 | A1 |
20040220972 | Bhattacharjee et al. | Nov 2004 | A1 |
20050005261 | Severin | Jan 2005 | A1 |
20050034098 | DeSchryver et al. | Feb 2005 | A1 |
20050278709 | Sridhar et al. | Dec 2005 | A1 |
20050289180 | Pabla et al. | Dec 2005 | A1 |
20060020619 | Netz et al. | Jan 2006 | A1 |
20060190503 | Naicken et al. | Aug 2006 | A1 |
20060206496 | Aureglia et al. | Sep 2006 | A1 |
20060218538 | van Kesteren | Sep 2006 | A1 |
20060282837 | Almeida | Dec 2006 | A1 |
20070094607 | Morgan et al. | Apr 2007 | A1 |
20070255772 | Bhattacharjee et al. | Nov 2007 | A1 |
20070288883 | Soroker et al. | Dec 2007 | A1 |
20070294667 | Caceres et al. | Dec 2007 | A1 |
20070294701 | Banavar et al. | Dec 2007 | A1 |
20080263511 | Shapiro | Oct 2008 | A1 |
Number | Date | Country |
---|---|---|
2004092978 | Oct 2004 | WO |
Number | Date | Country | |
---|---|---|---|
20080250410 A1 | Oct 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11450618 | Jun 2006 | US |
Child | 12115661 | US |