Global transactions

 

Applications that use two or more resources require an external transaction manager to coordinate updates. Global transaction support is available to web and enterprise bean J2EE components.

BMT enterprise beans and web components can use the UserTransaction interface to define the demarcation of a global transaction by doing a JNDI lookup of...

java:comp/UserTransaction

...using an InitialContext that resolves to a local implementation of the interface.