Apparatus and method of lazy connection transaction enlistment
First Claim
Patent Images
1. A method for providing a transaction connection to a resource requested by an application component for a transaction, comprising:
- notifying a resource manager associated with the requested resource that the transaction connection is required only after a first operation after a pre-enlistment notification associated with the requested transaction connection.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus and system arranged to provide a connection(s) from an application component to a shared resource only as needed. In this way the total number of connections are limited to only those connections required to execute a particular method thereby saving valuable computing resources. In the described embodiment, after an invoked application component has started a particular transaction, a pre-enlistment notification is returned to the application server thereby putting all resource adapters on notice that a connection may be forthcoming.
51 Citations
11 Claims
-
1. A method for providing a transaction connection to a resource requested by an application component for a transaction, comprising:
notifying a resource manager associated with the requested resource that the transaction connection is required only after a first operation after a pre-enlistment notification associated with the requested transaction connection. - View Dependent Claims (2, 3, 4, 11)
-
5. An apparatus for providing a transaction connection to a resource requested by an application component for a transaction, comprising:
-
means for lazily enlisting the transaction connection;
means for requesting the transaction connection to the resource;
means for determining if the request is a first connection request operation after the pre-enlistment;
means for eagerly enlisting the requested connection only after it has been determined that the request is the first connection request operation; and
means for connecting the application component to the requested resource. - View Dependent Claims (6, 7)
-
-
8. Computer program product capable of execution on a computing system for providing a transaction connection to a resource requested by an application component for a transaction, comprising:
-
computer code for notifying a resource manager associated with the requested resource that the transaction connection is required only after a first operation after a pre-enlistment notification associated with the requested transaction connection; and
computer readable medium for storing the computer code. - View Dependent Claims (9, 10)
-
Specification