On-demand initialization of services in an application server
First Claim
1. A system, comprising:
- a processor; and
memory coupled to the processor and configured to store program instructions executable by the processor to implement an application server comprising a plurality of services registered with a naming service;
wherein the plurality of services comprises at least one service from the following group;
an application component run-time service, an enterprise information systems connection service, a database connection service, or a messaging service;
wherein the naming service is initialized during startup of the application server;
wherein the application server starts up without initializing one or more of the plurality of services registered with the naming service;
wherein the naming service includes an on-demand service initiator that, for each individual service of the plurality of services registered with the naming service, has the capacity to;
in response to a lookup request received by the naming service from a requestor for the individual service, access current initialization state data for the individual service, wherein the current initialization state data tells whether the individual service is currently initialized;
determine whether the individual service is currently initialized, based on the current initialization state data for the individual service; and
initialize the individual service in response to determining that the individual service is not currently initialized; and
wherein the naming service is capable of returning to the requestor an object corresponding to the initialized individual service.
2 Assignments
0 Petitions
Accused Products
Abstract
Various embodiments of a system and method for initializing application server services on demand are disclosed. In one embodiment, an application server may provide clients with a variety of services, where the clients may be applications and/or other services. During startup of the application server, some of these services may be initialized while others may not be initialized. In most embodiments, services necessary to the basic function of the application server, like a naming service, may be initialized during startup, while other services, e.g. transaction management, may go un-initialized. The naming service may include an on-demand service initiator, which may intercept service lookup requests. The on-demand service initiator may determine whether a requested service has been initialized, and if not, may initiate the initialization of the requested service.
-
Citations
12 Claims
-
1. A system, comprising:
-
a processor; and memory coupled to the processor and configured to store program instructions executable by the processor to implement an application server comprising a plurality of services registered with a naming service; wherein the plurality of services comprises at least one service from the following group;
an application component run-time service, an enterprise information systems connection service, a database connection service, or a messaging service;wherein the naming service is initialized during startup of the application server; wherein the application server starts up without initializing one or more of the plurality of services registered with the naming service; wherein the naming service includes an on-demand service initiator that, for each individual service of the plurality of services registered with the naming service, has the capacity to; in response to a lookup request received by the naming service from a requestor for the individual service, access current initialization state data for the individual service, wherein the current initialization state data tells whether the individual service is currently initialized; determine whether the individual service is currently initialized, based on the current initialization state data for the individual service; and initialize the individual service in response to determining that the individual service is not currently initialized; and wherein the naming service is capable of returning to the requestor an object corresponding to the initialized individual service. - View Dependent Claims (2, 3, 4)
-
-
5. A method, comprising:
-
starting up an application server without initializing one or more of a plurality of services registered with a naming service, wherein the plurality of services comprises at least one service from the following group;
an application component run-time service, an enterprise information systems connection service, a database connection service, or a messaging service;initializing the naming service during said starting up the application server; in response to the naming service receiving a lookup request from a requestor for the individual service, an on-demand service initiator of the naming service accessing current initialization state data for the individual service, wherein the current initialization state data tells whether the individual service is currently initialized; the on-demand service initiator the determining whether the individual service is currently initialized, based on the current initialization state data for the individual service; and the on-demand service initiator initializing the individual service in response to determining that the individual service is not currently initialized; and the naming service returning to the requestor an object corresponding to the initialized individual service. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium storing program instructions that when executed by a computer implement an application server comprising a plurality of services registered with a naming service, wherein the naming service is initialized during startup of the application server;
-
wherein the application server starts up without initializing one or more of the plurality of services registered with the naming service, wherein the plurality of services comprises at least one service from the following group;
an application component run-time service, an enterprise information systems connection service, a database connection service, or a messaging service;wherein the naming service includes an on-demand service initiator that, for each individual service of the plurality of services registered with the naming service, has the capacity to; in response to a lookup request received by the naming service from a requestor for the individual service, access current initialization state data for the individual service, wherein the current initialization state data tells whether the individual service is currently initialized; determine whether the individual service is currently initialized, based on the current initialization state data for the individual service; and initialize the individual service in response to determining that that the individual service is not currently initialized; and wherein the naming service is capable of returning to the requestor an object corresponding to the initialized individual service. - View Dependent Claims (10, 11, 12)
-
Specification