May 2001
Intermediate to advanced
1088 pages
30h 13m
English
The Java Transaction API (JTA) is a simple API for defining transaction boundaries. The architecture of JTA is similar to JDBC in that it defines an abstract interface, which then accesses an underlying implementation. In this case, you use JTA to control transactions and the JTA classes access the Java Transaction Service (JTS) implementation. You never access the JTS directly, you always use the JTA. The main class you need to know about is the UserTransaction class. Keep in mind that an entity bean is not allowed to control its transaction scope at all, so you can only use the UserTransaction class from a session bean.
Note
When you create a session bean, you can choose whether ...
Read now
Unlock full access