Oracle GlassFish Server 3.0.1 Application Development Guide

Global and Local Transactions

Understanding the distinction between global and local transactions is crucial in understanding the GlassFish Server support for transactions. See Transaction Scope.

Both local and global transactions are demarcated using the javax.transaction.UserTransaction interface, which the client must use. Local transactions bypass the transaction manager and are faster. For more information, see The Transaction Manager, the Transaction Synchronization Registry, and UserTransaction.