Dynamic component activation method using a relational database as the repository for registration information
First Claim
1. A method for dynamic component activation using one or more databases as a repository for registration information in an application in a heterogeneous and distributed computing environment, comprising:
- launching the application;
creating and initializing a Component Activation Manager (CAM);
opening a database connection using the CAM;
requesting a functionality not currently available in the application using the database connection;
using the CAM and the database connection to find and return the requested functionality; and
loading the requested functionality to extend the application.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for allowing dynamic component activation using a database as a repository for registration information is disclosed. This method uses a Component Activation Manager (CAM), which is a singleton object that maps unique component ID'"'"'s to a Factory Creation Function (FCF). A purpose of the FCF is to create and register factories for the objects contained in a dynamic library. The factories created with the FCF are also registered with a database connection created by the CAM. Using this approach, the application only needs to create the CAM object, request a connection and then request a factory for the objects it needs. The CAM and the database connection find the dynamic library and the associated object factories through the use of database tables that contain a map of unique component ID'"'"'s and object FCF addresses.
20 Citations
22 Claims
-
1. A method for dynamic component activation using one or more databases as a repository for registration information in an application in a heterogeneous and distributed computing environment, comprising:
-
launching the application;
creating and initializing a Component Activation Manager (CAM);
opening a database connection using the CAM;
requesting a functionality not currently available in the application using the database connection;
using the CAM and the database connection to find and return the requested functionality; and
loading the requested functionality to extend the application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method for dynamic component activation using one or more databases as the repository for registration information in a heterogeneous and distributed application, comprising:
-
launching the application;
creating and initializing a Component Activation Manager (CAM) object;
creating and initializing a database connection object;
the application opening a database connection using the CAM object;
the application requesting an object factory using the database connection object;
the database connection object looking up the requested object factory in the connection table;
the database connection object returning the requested object factory if said requested object factory is in the connection table;
if said requested object factory is not in the connection table, then the method further comprising;
the CAM determining whether it has the FCF for the requested object;
if the CAM does not have the FCF for the requested object, the CAM querying the database for the current connection to obtain the dynamic library corresponding to the class ID;
if the CAM does not have the FCF for the requested object, the CAM sending a message to the dynamic library to load the library and obtain the Factory Creation Function;
the CAM returning the FCF to the database connection object;
if requested factory object is not associated with the current database connection, then the method further comprising;
the database connection object sending a message to the dynamic library to create an instance of the object factory using the FCF;
the database connection object receiving the instance of the object factory; and
loading the requested object factory to extend the functionality of the application.
-
-
19. A structure for dynamic component activation using databases as the repository for registration information in an application in a heterogeneous computing environment, comprising:
-
the application coupled to a plurality of objects that provide the functionality for dynamic component activation;
one or more database connection objects, coupled to one or more local databases and coupled to one or more remote databases, said one or more database connection objects coupled to the application;
a Component Activation Manager (CAM), coupled to the one or more database connection objects;
a plurality of dynamic libraries, coupled to the one or more local databases and coupled to the one or more remote databases;
a plurality of factory creation objects, said plurality of factory creation objects contained in the plurality of dynamic libraries and coupled to the CAM via the one or more database connection objects; and
a plurality of class objects, said plurality of class objects created through the use of the plurality of factory creation objects and the plurality of dynamic libraries, said plurality of class objects coupled to the application via the one or more database connection objects. - View Dependent Claims (20, 21, 22)
-
Specification