| | -
Services register with a coordinating service, as described in relation to WS-Coordination. -
Each registered service attempts to update a database. Even if an update is successful, changes are not committed. -
In response to a poll conducted by the coordinating service, one of two outcomes occurs: -
Each registered service responds to the coordinating service and indicates that the changes were successful, in which case the coordinating service issues a commit directive to all resource managers that were involved in the transaction. -
Alternatively, if any service fails to respond or if any response indicates a failure, the coordinating service issues a rollback directive to all the resource managers. WS-AtomicTransaction also can be used to ensure the integrity of data in memory. |