Patent ID: 7668833

Claim:
A method of processing data in a first data environment to enable execution of a unit of work under the scope of a global transaction staffed and co-ordinated in a second data environment, the method comprising the steps: starting and co-ordinating a transaction branch of the global transaction with a shared database, the starting and co-ordinating occurring in the second data environment, and producing a transaction branch identifier, the shared database being shared and accessible by both the first and second data environments; suspending the transaction branch at the shared database by the second data environment; receiving a remote request from the second data environment at the first data environment for a unit of work to be executed in the first data environment as part of the transaction branch, the remote request including the transaction branch identifier; obtaining the transaction branch identifier in the first data environment; using the transaction branch identifier to resume the transaction branch at the shared database by the first data environment and inform the shared database that the unit of work is to join the transaction branch such that the shared database associates resource updates carried out by the unit of work to be part of the transaction branch; and after execution of the unit of work, informing the shared database that the unit of work has completed participation in the transaction and indicating to the second data environment that the unit of work is complete; wherein the shared database is informed of completion of the transaction branch from the second data environment.