Dynamic template instantiation
First Claim
1. A method executed by a processor of instantiating a template in a composite application infrastructure, said method comprising:
- in a template library accessible to a computer system, storing a template describing a composite application having a plurality of application components, wherein said template defines interactions between the plurality of application components and includes a composite application component assembly descriptor listing each of said plurality of application components of said composite application;
instantiating said composite application using said template by;
registering, in an application instance registry of the computer system, a plurality of composite application instances of the composite application and respective instance information specifying respective parameters for each of the plurality of composite application instances, wherein each of said plurality of composite application instances is transiently represented in said application instance registry by a respective table entry without creating in data storage of the computer system a real object representing the corresponding composite application instance;
in response to initiation of a composite application usage session, dynamically creating in the data storage of the computer system a meta application as a persistent real object in the data storage of the computer system by transformation of a most recent version of the template;
during the composite application usage session, creating, as needed, each of multiple composite application instances among the plurality of composite application instances as transient real objects in the data storage by cloning the persistent meta application; and
removing the transient real objects corresponding to the multiple composite application instances from the data storage of the computer system after an end of said composite application usage session.
1 Assignment
0 Petitions
Accused Products
Abstract
Method, system, and computer program product for instantiating a template in a composite application infrastructure. A template that describes a composite application having a plurality of application components is created. The template includes a composite application component assembly descriptor which lists each application component of the composite application. The template is stored in a template library. The composite application is instantiated using the template for creating at least one composite application instance. In an application instance registry, composite application instance(s) and instance information related to the composite application instance(s) is/are registered. The composite application instances are transiently represented in the application instance registry by a respective table entry without creating a real object. The real object that is dynamically created represents a particular composite application instance during a composite application usage session. At an end of the composite application usage session, the particular unused composite application instance is removed.
35 Citations
9 Claims
-
1. A method executed by a processor of instantiating a template in a composite application infrastructure, said method comprising:
-
in a template library accessible to a computer system, storing a template describing a composite application having a plurality of application components, wherein said template defines interactions between the plurality of application components and includes a composite application component assembly descriptor listing each of said plurality of application components of said composite application; instantiating said composite application using said template by; registering, in an application instance registry of the computer system, a plurality of composite application instances of the composite application and respective instance information specifying respective parameters for each of the plurality of composite application instances, wherein each of said plurality of composite application instances is transiently represented in said application instance registry by a respective table entry without creating in data storage of the computer system a real object representing the corresponding composite application instance; in response to initiation of a composite application usage session, dynamically creating in the data storage of the computer system a meta application as a persistent real object in the data storage of the computer system by transformation of a most recent version of the template; during the composite application usage session, creating, as needed, each of multiple composite application instances among the plurality of composite application instances as transient real objects in the data storage by cloning the persistent meta application; and removing the transient real objects corresponding to the multiple composite application instances from the data storage of the computer system after an end of said composite application usage session. - View Dependent Claims (2, 3)
-
-
4. A program product, comprising:
-
a non-transitory computer-readable storage medium; and program code stored within the non-transitory computer-readable storage medium, wherein the program code, when executed by a computer, causes the computer to perform; in a template library accessible to a computer system, storing a template describing a composite application having a plurality of application components, wherein said template defines interactions between the plurality of application components and includes a composite application component assembly descriptor listing each of said plurality of application components of said composite application; instantiating said composite application using said template by; registering, in an application instance registry of the computer system, a plurality of composite application instances of the composite application and respective instance information specifying respective parameters for each of the plurality of composite application instances, wherein each of said plurality of composite application instances is transiently represented in said application instance registry by a respective table entry without creating in data storage of the computer system a real object representing the corresponding composite application instance; in response to initiation of a composite application usage session, dynamically creating in the data storage of the computer system a meta application as a persistent real object in the data storage of the computer system by transformation of a most recent version of the template; during the composite application usage session, creating, as needed, each of multiple composite application instances among the plurality of composite application instances as transient real objects in the data storage by cloning the persistent meta application; and removing the transient real objects corresponding to the multiple composite application instances from the data storage of the computer system after an end of said composite application usage session. - View Dependent Claims (5, 6)
-
-
7. A data processing system, comprising:
-
a hardware processor unit; data storage coupled to the hardware processor unit, wherein the data storage includes a template library and an application instance registry, wherein the template library includes a template describing a composite application having a plurality of application components, wherein said template defines interactions between the plurality of application components and includes a composite application component assembly descriptor listing each of said plurality of application components of said composite application; and program code stored within the data storage, wherein the program code, when executed by the hardware processor unit, causes the hardware processor unit to manage instantiation of said composite application using the template by; registering, in an application instance registry of the computer system, a plurality of composite application instances of the composite application and respective instance information specifying respective parameters for each of the plurality of composite application instances, wherein each of said plurality of composite application instances is transiently represented in said application instance registry by a respective table entry without creating in data storage of the computer system a real object representing the corresponding composite application instance; in response to initiation of a composite application usage session, dynamically creating in the data storage of the computer system a meta application as a persistent real object in the data storage of the computer system by transformation of a most recent version of the template; during the composite application usage session, creating, as needed, each of multiple composite application instances among the plurality of composite application instances as transient real objects in the data storage by cloning the persistent meta application; and removing the transient real objects corresponding to the multiple composite application instances from the data storage of the computer system after an end of said composite application usage session. - View Dependent Claims (8, 9)
-
Specification