1.3.2. TransactionManager
The
TransactionManager
interface allows the application server to control transaction boundaries on behalf of the application being managed.
You can obtain
TransactionManager
implementations via JNDI.
// Initialize the context and get the TransactionManager InitialContext ic = new InitialContext(); TransactinoManager utm = ic.lookup("java:/TransactionManager")