12.2. Java and transactions

There are two Java APIs related to transactions. The Java Transaction API (JTA) specifies local Java interfaces between a transaction manager and the parties involved in a distributed transaction system (application, resource manager and application server). It is the high-level interface that your applications use to control transactions.

The key object in JTA is the javax.transaction.UserTransaction. Developers can use a UserTransaction to begin, commit, or roll back transactions.

The EJB 1.1 specification requires that the javax.transaction.UserTransaction interface be made available by the EJB container for session EJBs with bean-managed transaction demarcation.

WebSphere also makes the UserTransaction interface ...

Get WebSphere V3.5 Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.