Patent ID: 7480681

Claim:
A computer-implemented method comprising: requesting a transaction from a transaction manager for an application and establishing a transaction context for the application, wherein components of the application run in one of the group consisting of a Web container, a non-Java container, and an engine service; registering a plurality of callback methods with the transaction manager, wherein each of the callback methods is associated with a synchronization identifier, and wherein registering the plurality of callback methods comprises: collecting a plurality of updates for a plurality of database records, creating an array update based, at least in part, on the plurality of updates for the plurality of database records, and registering a callback method corresponding to the array update with the transaction manager; defining an order for the plurality of callback methods, the transaction manager defining the order based, at least in part, on the synchronization identifier associated with each callback method; and responsive at least in part to the transaction context being ready to complete, calling the one or more callback methods in the defined order.