This present invention relates generally to using software modules in a computer system and more particularly to on-demand deployment of software modules used in a computer system.
Typical operation of computerized applications such as those using Java 2 platform Enterprise Edition (J2EE) to incorporate Enterprise Java Beans (EJB) incurs process overhead for each and every EJB included in the application. Overhead is incurred at the start of the application in the form of start-up time delay and later during the life of the application through overall memory footprint. During a typical start-up of the application server the EJB modules contained within the application are typically examined, deployment descriptors typically parsed and home objects are typically instantiated and populated into the name service associated with the corresponding EJB container. As the application uses and finishes with the EJBs they are not released but are maintained. These EJBs are maintained within a pool of previously instantiated EJBs and re-used as required by the application. This subsequent pooling and caching of the already instantiated EJBs provides performance benefits during the processing of the application, avoiding the need to re-instantiate an EJB prior to re-use. This technique of initializing, loading and caching typically works well during the production mode of operation for the application. Performance is however obtained at the cost of resources in the form of initial application load time and ongoing memory footprint. Current techniques such as that just described typically load all the EJBs contained within the application at start-up, thereby increasing application start time and memory requirements.
An EJB container is usually responsible for registering unique look-up names within a Java Naming and Directory Interface (JNDI) namespace when the server starts and binding those names to home objects within the container.
A development environment typically has requirements differing from those of the production environment. In a development environment one needs to typically get a unit of work done as quickly as possible to verify operation of specific code elements of interest within the application. The development environment typically focuses on a smaller number of EJBs relative to the number of EJBs found in the application as a whole. Unfortunately the development environment must usually adhere to the same instantiation and maintenance practices as found in the production environment. Additionally a development environment is usually memory constrained not having access to the same amount of resource afforded the production environment.
Therefore what is required is a more effective way to create and operate a development environment using EJBs that allows for faster start-up while maintaining lower memory requirements as compared to that of a production environment.
A method, system, program product and signal bearing medium for deploying software modules for software application use in a computer system are provided. Deployment of software modules and associated descriptor information allow for selected requested software modules to be obtained and made available only as needed, resulting in reduced start-up delay and memory consumption as compared to that of a typical production environment.
In one aspect of the present invention, there is provided a method of deploying software modules for software application use in a computer system, said method comprising deploying of a plurality of software modules into a software module depository and deploying deployment descriptors associated with each of the plurality of software modules into a deployment information repository.
In another aspect of the present invention, there is provided a deployment system for deploying software modules for software application use in a computer system, comprising a first deployer for deploying a plurality of software modules into a software module depository and a second deployer for deploying deployment descriptors associated with each of the plurality of software modules into a deployment information repository.
In another aspect of the present invention there is provided a computer program product having a computer readable medium tangibly embodying computer readable program code for instructing a computer to perform the method for deploying of a plurality of software modules into a software module depository and deploying deployment descriptors associated with each of the plurality of software modules into a deployment information repository.
In yet another aspect of the present invention there is provided a signal bearing medium having a computer readable signal tangibly embodying computer readable program code for instructing a computer to perform a method for deploying of a plurality of software modules into a software module depository and deploying deployment descriptors associated with each of the plurality of software modules into a deployment information repository.
In another aspect of the present invention there is provided a computer program product having a computer readable medium tangibly embodying computer readable program code for instructing a computer system to provide the means of a first deployer for deploying a plurality of software modules into a software module depository and a second deployer for deploying deployment descriptors associated with each of the plurality of software modules into a deployment information repository.
In another aspect of the present invention there is provided a signal bearing medium having a computer readable signal tangibly embodying computer readable program code for instructing a computer to provide the means for first deployer for deploying a plurality of software modules into a software module depository and a second deployer for deploying deployment descriptors associated with each of the plurality of software modules into a deployment information repository.
Other aspects and features of the present invention will become apparent to those of ordinary skill in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures. The illustrative embodiments of the present invention incorporate the use of Enterprise Java Beans. Those skilled in the art may appreciate that EJBs are but one form of software module which may be within the scope of the embodiments of the present invention. In the examples which follow one is reminded of the following relationships.
Enterprise Java Beans are but one embodiment of software modules and in general should not be taken as limiting applicability to use of the subject matter to Enterprise Java Beans.
Deployment descriptors associated with the EJBs may also be found in relationship to other implementations of software modules as a means of providing descriptive information regarding attributes of the particular software module type.
A software enabler is discussed within the following examples as a home object associated with an EJB. It is used to instantiate an EJB for software application use and may have a counterpart in other software implementations such as stub code for performing operations.
A name service as in the examples is referred to as a mapper providing mapping between the JNDI name space and home object implementation classes. Other techniques are available for this service as well such as a simple look up table or database table. Any suitable means for quickly resolving an input identifier to an out identifier is useful.
A property file is one form of resource used to provide extrinsic information regarding a software module or EJB. It may be replaced by another technique providing programmatic access to attribute information related to the software module or EJB as in the examples. Functionality could also be provided by way of lists, tables, arrays and objects.
Embodiments of the invention will now be described, by way of example, with reference to the accompanying drawings, in which:
Like reference numerals refer to corresponding components and steps throughout the drawings. It is to be expressly understood that the description and the drawings are only for the purpose of illustration and as an aid to understanding, and are not intended as a definition of the limits of the invention.
CPU 110 is connected to memory 108 either through a dedicated system bus 105 and/or a general system bus 106. Memory 108 can be a random access semiconductor memory for storing application data for processing such as that in a database partition. Memory 108 is depicted conceptually as a single monolithic entity but it is well known that memory 108 can be arranged in a hierarchy of caches and other memory devices.
Operating system 120 provides functions such as device interfaces, memory management, multiple task management, and the like as known in the art. CPU 110 can be suitably programmed to read, load, and execute instructions of operating system 120. Computer system 100 has the necessary subsystems and functional components to implement on-demand loading of software modules such as Enterprise Java Beans (EJBs) as will be discussed later. Other programs (not shown) include server software applications in which network adapter 118 interacts with the server software application to enable computer system 100 to function as a network server via network 119.
General system bus 106 supports transfer of data, commands, and other information between various subsystems of computer system 100. While shown in simplified form as a single bus, bus 106 can be structured as multiple buses arranged in hierarchical form. Display adapter 114 supports video display device 115, which is a cathode-ray tube display or a display based upon other suitable display technology. The Input/output adapter 112 supports devices suited for input and output, such as keyboard or mouse device 113, and a disk drive unit (not shown). Storage adapter 142 supports one or more data storage devices 144, which could include a magnetic hard disk drive or CD-ROM, although other types of data storage devices can be used, including removable media.
Adapter 117 is used for operationally connecting many types of peripheral computing devices to computer system 100 via bus 106, such as printers, bus adapters, and other computers using one or more protocols including Token Ring, LAN connections, as known in the art. Network adapter 118 provides a physical interface to a suitable network 119, such as the Internet. Network adapter 118 includes a modem that can be connected to a telephone line for accessing network 119. Computer system 100 can be connected to another network server via a local area network using an appropriate network protocol and the network server that can in turn be connected to the Internet.
Referring now to
Referring now to
Having described a typical production view a different environment having been optimized in accordance with embodiments of the present invention will now be discussed. Referring now to
This embodiment will delay the loading of EJBs until they are actually requested by the application typically allowing the application to be ready sooner than otherwise possible. Further a reduction in memory allocation at start-up is typically possible due to the reduced number of EJBs to be loaded into storage as well as on an ongoing basis only having those which are used loaded.
Referring now to
Referring now to
Referring now to
Referring now to
Although the invention has been described with reference to illustrative embodiments, it is to be understood that the invention is not limited to these precise embodiments and that various changes and modifications may be effected therein by one skilled in the art. All such changes and modifications are intended to be encompassed in the appended claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2449534 | Nov 2003 | CA | national |
This application is a Continuation of U.S. application Ser. No. 10/989,152, filed Nov. 15, 2004, now issued as U.S. Pat. No. 8,225,307, which claims priority to Canadian Patent Application No. 2,449,534, filed Nov. 14, 2003, entitled “ON-DEMAND SOFTWARE MODULE DEPLOYMENT,” the entirety of which is incorporated herein by reference.
| Number | Name | Date | Kind |
|---|---|---|---|
| 6892382 | Hapner et al. | May 2005 | B1 |
| 7051316 | Charisius et al. | May 2006 | B2 |
| 7275098 | Becher et al. | Sep 2007 | B1 |
| 7607126 | Read | Oct 2009 | B2 |
| 7707572 | Woollen | Apr 2010 | B2 |
| 8612516 | Mallur et al. | Dec 2013 | B2 |
| 8887133 | Behnia et al. | Nov 2014 | B2 |
| 20040031030 | Kidder et al. | Feb 2004 | A1 |
| 20040078495 | Mousseau et al. | Apr 2004 | A1 |
| 20040158585 | Kovacs et al. | Aug 2004 | A1 |
| 20050257217 | Woollen | Nov 2005 | A1 |
| 20060184926 | Or et al. | Aug 2006 | A1 |
| 20080320109 | Andrews et al. | Dec 2008 | A1 |
| Entry |
|---|
| Clovis Chapman et al.; Software Architecture Definition for On-demand Cloud Provisioning; ACM; Jun. 2010; retrieved online on Dec. 1, 2014; pp. 1-12; Retrieved from the Internet: <URL: https://www.ee.ucl.ac.uk˜sclayman/docs/HDPC2010.pdf>. |
| R. B. Bradford; Implementation Techniques for Large-Scale Latent Semantic Indexing Applications; ACM; Oct. 2011; retrieved online on Dec. 1, 2014; pp. 339-344; Retrieved from the Internet: <URL: http://delivery.acm.org/10.1145/2070000/2063630/p339-bradford.pdf?>. |
| Wei Chen et al.; Automatic Construction of Deployment Descriptors for Web Applications; IEEE; 2011; retrieved online on Dec. 1, 2014; pp. 257-264; Retrieved from the Internet: <URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=6104626>. |
| Number | Date | Country | |
|---|---|---|---|
| 20120254855 A1 | Oct 2012 | US |
| Number | Date | Country | |
|---|---|---|---|
| Parent | 10989152 | Nov 2004 | US |
| Child | 13517546 | US |