Storing and using classes in databases
First Claim
1. A computer-readable storage medium comprising instructions which, when executed, cause a machine to:
- create a list of object classes to be deployed into a database by a deployment client over a network;
identify the object classes, wherein the identifying of the object classes further includes identifying a plurality of object class versions associated with the object classes, identifying an oldest user session using an object class of the object classes, and identifying an object class version associated with the object class being used by the oldest user session, wherein the plurality of object class versions includes the object class version, and deleting one or more object class versions whose associated upload time is older than an upload time associated with an object class version that is loaded by the oldest user session;
associate one or more attributes to each of the object classes based on metadata associated with the object classes, and separately store the object classes and the one or more attributes in the database, wherein the one or more attributes to specify object class version information and object class developer information, the one or more attributes are further to specify a special version of the object classes to be accessed and tested in runtime by one or more developers, wherein the one or more attributes comprise a name that matches a specified name;
retrieve the object classes and the one or more attributes from the database;
select a retrieved object class based on the one or more attributes, wherein the selecting includesdetermining if a session executing in a runtime system is associated with a developer, andif the session is associated with the developer, selecting the object class whose development flag is set; and
load the selected object class into a runtime system through a class path to provide a plurality of application servers direct centralized access to the object classes via the database, the database coupled to the plurality of application servers, wherein the class path is to be reused by each of the plurality of application servers each time the application server uses the selected object class.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer systems and program products, for storing and using, such as classes, in databases. One implementation provides a technique for receiving a specified name, retrieving one or more from a database, and for each resource, one or more attributes associated with the resource, wherein each comprises executable instruction code, and wherein the attributes include a name that matches the specified name. The technique further provides for selecting one of the retrieved based on the attributes associated with each resource, and loading the selected into a runtime system. The attributes may include an archive name, an upload time, a package name, a checksum, a development flag, and/or a user name. By utilizing this technique, end-user or development sessions operative on application servers have the capability to use multiple different versions of classes in runtime environments without interfering with other operative sessions.
41 Citations
22 Claims
-
1. A computer-readable storage medium comprising instructions which, when executed, cause a machine to:
-
create a list of object classes to be deployed into a database by a deployment client over a network; identify the object classes, wherein the identifying of the object classes further includes identifying a plurality of object class versions associated with the object classes, identifying an oldest user session using an object class of the object classes, and identifying an object class version associated with the object class being used by the oldest user session, wherein the plurality of object class versions includes the object class version, and deleting one or more object class versions whose associated upload time is older than an upload time associated with an object class version that is loaded by the oldest user session; associate one or more attributes to each of the object classes based on metadata associated with the object classes, and separately store the object classes and the one or more attributes in the database, wherein the one or more attributes to specify object class version information and object class developer information, the one or more attributes are further to specify a special version of the object classes to be accessed and tested in runtime by one or more developers, wherein the one or more attributes comprise a name that matches a specified name; retrieve the object classes and the one or more attributes from the database; select a retrieved object class based on the one or more attributes, wherein the selecting includes determining if a session executing in a runtime system is associated with a developer, and if the session is associated with the developer, selecting the object class whose development flag is set; and load the selected object class into a runtime system through a class path to provide a plurality of application servers direct centralized access to the object classes via the database, the database coupled to the plurality of application servers, wherein the class path is to be reused by each of the plurality of application servers each time the application server uses the selected object class. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 20, 21, 22)
-
-
10. A method comprising:
-
creating a list of object classes to be deployed into a database by a deployment client over a network; identifying the object classes, wherein the identifying of the object classes further includes identifying a plurality of object class versions associated with the object classes, identifying an oldest user session using an object class of the object classes, and identifying an object class version associated with the object class being used by the oldest user session, wherein the plurality of object class versions includes the object class version, and deleting one or more object class versions whose associated upload time is older than an upload time associated with an object class version that is loaded by the oldest user session; associating one or more attributes to each of the object classes based on metadata associated with the object classes, and separately storing the object classes and the one or more attributes in the database, wherein the one or more attributes to specify object class version information and object class developer information, the one or more attributes are further to specify a special version of the object classes to be accessed and tested in runtime by one or more developers, wherein the one or more attributes comprise a name that matches a specified name; retrieving the object classes and the one or more attributes from the database; selecting a retrieved object class based on the one or more attributes, wherein the selecting includes determining if a session executing in a runtime system is associated with a developer, and if the session is associated with the developer, selecting the object class whose development flag is set; and loading the selected object class into a runtime system through a class path to provide a plurality of application servers direct centralized access to the object classes via the database, the database coupled to the plurality of application servers, wherein the class path is to be reused by each of the plurality of application servers each time the application server uses the selected object class. - View Dependent Claims (12, 13)
-
-
11. An apparatus comprising:
-
means for creating a list of object classes to be deployed in a database by a deployment client over a network; means for identifying the object classes, wherein the means for identifying of the object classes further includes means for identifying a plurality of object class versions associated with the object classes, means for identifying an oldest user session using an object class of the object classes, and means for identifying an object class version associated with the object class being used by the oldest user session, wherein the plurality of object class versions includes the object class version, and means for deleting one or more object class versions whose associated upload time is older than an upload time associated with an object class version that is loaded by the oldest user session; means for associating one or more attributes to each of the object classes based on metadata associated with the object classes, and means for separately storing the object classes and the one or more attributes in the database, wherein the one or more attributes to specify object class version information and object class developer information, the one or more attributes are further to specify a special version of the object classes to be accessed and tested in runtime by one or more developers, wherein the one or more attributes comprise a name that matches a specified name; means for retrieving the object classes and the one or more attributes from the database; means for selecting a retrieved object class based on the one or more attributes, wherein the means for selecting includes means for determining if a session executing in a runtime system is associated with a developer, and means for selecting the object class whose development flag is set if the session is associated with the developer; and means for loading the selected object class through a class path into a runtime system to provide a plurality of application servers direct centralized access to the object classes via the database, the database coupled to the plurality of application servers, wherein the class path is to be reused by each of the plurality of application servers each time the application server uses the selected object class. - View Dependent Claims (14, 15)
-
-
16. A system comprising:
-
a client coupled to a server; a database coupled to the client and the server; and the server in communication with a plurality of application servers, the server to; receive a list of object classes to be deploy into the database from a deployment client, identify the object classes, wherein the identifying of the object classes further includes identifying a plurality of object class versions associated with the object classes, identifying an oldest user session using an object class of the object classes, and identifying an object class version associated with the object class being used by the oldest user session, wherein the plurality of object class versions includes the an object class version, and delete one or more object class versions whose associated upload time is older than an upload time associated with an object class version that is loaded by the oldest user session, associate one or more attributes to each of the object classes based on metadata associated with the object classes, and separately store the object classes and the one or more attributes in the database, wherein the one or more attributes to specify object class version information and object class developer information, the one or more attributes are further to specify a special version of the object classes to be accessed and tested in runtime by one or more developers, wherein the one or more attributes comprise a name that matches a specified name, retrieve the object classes and the one or more attributes from the database, select a retrieved object class based on the one or more attributes, wherein the selecting includes determining if a session executing in a runtime system is associated with a developer, and if the session is associated with the developer, selecting the object class whose development flag is set; and load the selected object class into a runtime system through a class path to provide a plurality of application servers direct centralized access to the object classes via the database, wherein the class path is to be reused by each of the plurality of application servers each time the application server uses the selected object class. - View Dependent Claims (17, 18, 19)
-
Specification