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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.