Patent ID: 8074220

Claim:
A tangible medium having computer-readable instructions thereon for performing a method for managing distributed transactions, the instructions operable to configure one or more processors to: receive, from an application in a first runtime environment, a distributed transaction request to perform a distributed transaction using a distributed transaction coordinator in a second runtime environment, the first runtime environment at least partially distinct from the second runtime environment; in response to the request, generate an interface between the first and second environments to modify or convert at least one of data or a function related to the distributed transaction exchanged between the first and second environments, and associate the application with the distributed transaction coordinator using the interface; generate, by the distributed transaction coordinator, a transaction identifier for the distributed transaction; invoke a first resource manager to enlist with the distributed transaction coordinator and perform a first portion of the distributed transaction using the transaction identifier; invoke a second resource manager to enlist with the distributed transaction coordinator and perform a second portion of the distributed transaction using the transaction identifier; lock connections between the distributed transaction coordinator and each of the first and second resource managers until enlistment of both the first and second resource managers with the distributed transaction coordinator is complete; and unlock the connections between the distributed transaction coordinator and each of the first and second resource managers after the first resource manager and the second resource manager are enlisted with the distributed transaction coordinator, wherein the first resource manager performs the first portion of the distributed transaction and the second resource manager performs the second portion of the distributed transaction after the enlistment of both the first and second resource managers is complete.