Tentative update and confirm or compensate
First Claim
1. A computer program, tangibly stored on a computer-readable medium, comprising instructions operable to cause a computer to:
- receive an operation request from a remote computer;
provisionally execute an operation identified by the operation request;
generate a first message, wherein the first message contains a transaction identifier identifying the operation request, a flag indicating the unsuccessful completion of the operation, and a temporary data store, wherein the temporary data store identifies tentatively written data generated by the operation;
store the first message in a message store;
if and only if the successful completion of the operation is detected, generate a second message, wherein the second message contains the transaction identifier as well as a flag indicating the successful completion of the operation, store the second message in the message store, such that the second message takes the place of the first message, and transmit the message stored in the message store to the remote computer; and
if and only if the failure of the operation is detected, transmit the message stored in the message store to the remote computer.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, for communications in a distributed software system. An operation request from a remote computer is received, and provisionally executes an operation identified by the operation request. A first message is generated. The first message contains a transaction identifier identifying the operation request, an unsuccessful indicator flag, and a temporary data store. The temporary data store identifies tentatively written data generated by the operation. The first message is stored in a message store. If the successful completion of the operation is detected, a second message is generated. The second message contains the transaction identifier as well as a successful indicator flag. The second message is stored in the message store, and the message is transmitted to the remote computer. If the failure of the operation is detected, the message stored in the message store is transmitted to the remote computer.
24 Citations
12 Claims
-
1. A computer program, tangibly stored on a computer-readable medium, comprising instructions operable to cause a computer to:
-
receive an operation request from a remote computer;
provisionally execute an operation identified by the operation request;
generate a first message, wherein the first message contains a transaction identifier identifying the operation request, a flag indicating the unsuccessful completion of the operation, and a temporary data store, wherein the temporary data store identifies tentatively written data generated by the operation;
store the first message in a message store;
if and only if the successful completion of the operation is detected, generate a second message, wherein the second message contains the transaction identifier as well as a flag indicating the successful completion of the operation, store the second message in the message store, such that the second message takes the place of the first message, and transmit the message stored in the message store to the remote computer; and
if and only if the failure of the operation is detected, transmit the message stored in the message store to the remote computer. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-implemented method for communications in a distributed computer system, the method comprising:
-
receiving an operation request from a remote computer;
provisionally executing an operation identified by the operation request;
generating a first message, wherein the first message contains a transaction identifier identifying the operation request, a flag indicating the unsuccessful completion of the operation, and a temporary data store, wherein the temporary data store identifies tentatively written data generated by the operation;
storing the first message in a message store;
if and only if the successful completion of the operation is detected, generating a second message, wherein the second message contains the transaction identifier as well as a flag indicating the successful completion of the operation, storing the second message in the message store, such that the second message takes the place of the first message, and transmitting the message stored in the message store to the remote computer; and
if and only if the failure of the operation is detected, transmitting the message stored in the message store to the remote computer. - View Dependent Claims (6, 7, 8)
-
-
9. A system having a transaction manager and one or more application components, the transaction manager managing operation requests directed to the application components, the system being characterized by:
-
means for receiving an operation request from a remote computer;
means for provisionally executing an operation identified by the operation request;
means for generating a first message, wherein the first message contains a transaction identifier identifying the operation request, a flag indicating the unsuccessful completion of the operation, and a temporary data store, wherein the temporary data store identifies tentatively written data generated by the operation;
means for storing the first message in a message store;
if and only if the successful completion of the operation is detected, means for generating a second message, wherein the second message contains the transaction identifier as well as a flag indicating the successful completion of the operation, means for storing the second message in the message store, such that the second message takes the place of the first message, and means for transmitting the message stored in the message store to the remote computer; and
if and only if the failure of the operation is detected, means for transmitting the message stored in the message store to the remote computer. - View Dependent Claims (10, 11, 12)
-
Specification