Java Transaction API

Java Transaction API (JTA) provides a set of APIs for implementing the transaction service in a client as well as a bean. From Figure 14.3, you can see the set of interfaces and components in the transaction architecture. JTA broadly consists of three elements:

  • Client-level interface

  • Transaction manager interface

  • Java mapping of the X/Open XA protocol intended for a resource manager

Figure 14.3. JTA transaction architecture.

A JTA transaction is available for all J2EE applications, like JSPs, servlets, and EJBs.

Next you will learn about the different classes and interfaces that form part of the Java Transaction API. The Java ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days 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.