Systems and methods for maintaining transactional persistence
First Claim
1. A method for persistently processing a request, comprising:
- initiating a transaction to process a request using a transaction manager;
enlisting any object useful in processing the request;
locking any object enlisted by the transaction manager;
modifying the object in order to process the request; and
logging the modifications to the object;
whereinan inflated lock is initially placed on objects that potentially are part of the transaction and wherein a thin lock is placed on enlisted objects, further comprising committing the transaction when the request is successfully processed.
1 Assignment
0 Petitions
Accused Products
Abstract
Messages between trading partners can be processed persistently using a persistence framework, which can include a transaction manager, a locking manager, and a logging mechanism. A transaction manager can initiate a transaction for a request, and can enlist and modify any object or resource useful in processing the request. A locking manager can lock any of these objects, using inflated and/or individual locks, to prevent other resources or transactions from accessing the object during the transaction. A logging component can track any modifications of the object, while a transaction manager can manage state for the object.
This description is not intended to be a complete description of, or limit the scope of, the invention. Other features, aspects, and objects of the invention can be obtained from a review of the specification, the figures, and the claims.
-
Citations
10 Claims
-
1. A method for persistently processing a request, comprising:
-
initiating a transaction to process a request using a transaction manager; enlisting any object useful in processing the request; locking any object enlisted by the transaction manager; modifying the object in order to process the request; and logging the modifications to the object;
whereinan inflated lock is initially placed on objects that potentially are part of the transaction and wherein a thin lock is placed on enlisted objects, further comprising committing the transaction when the request is successfully processed. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable storage medium, comprising:
-
means for initiating a transaction to process a request using a transaction manager; means for enlisting any object useful in processing the request; means for locking any object enlisted by the transaction manager; means for modifying the object in order to process the request; and means for logging the modifications to the object;
whereinan inflated lock is initially placed on objects that potentially are part of the transaction and wherein a thin lock is placed on enlisted objects, further comprising committing the transaction when the request is successfully processed.
-
-
8. A computer program product for execution by a server computer for persistently processing a request, the computer program product stored on a computer readable storage medium, comprising:
-
computer code to initiate a transaction to process a request using a transaction manager; computer code to enlist any object useful in processing the request; computer code to lock any object enlisted by the transaction manager; computer code to modify the object in order to process the request; and computer code to log the modifications to the object;
whereinan inflated lock is initially placed on objects that potentially are part of the transaction and wherein a thin lock is placed on enlisted objects, further comprising committing the transaction when the request is successfully processed.
-
-
9. A computer-based system for persistently processing a request, comprising:
-
means for initiating a transaction to process a request using a transaction manager; means for enlisting any object useful in processing the request; means for locking any object enlisted by the transaction manager; means for modifying the object in order to process the request; and means for logging the modifications to the object;
whereinan inflated lock is initially placed on objects that potentially are part of the transaction and wherein a thin lock is placed on enlisted objects, further comprising committing the transaction when the request is successfully processed.
-
-
10. A computer system comprising:
- a processor;
object code executed by said processor, said object code configured to; initiate a transaction to process a request using a transaction manager; enlist any object useful in processing the request; lock any object enlisted by the transaction manager; modify the object in order to process the request; and log the modifications to the object;
whereinan inflated lock is initially placed on objects that potentially are part of the transaction and wherein a thin lock is placed on enlisted objects, further comprising committing the transaction when the request is successfully processed.
- a processor;
Specification