J2EE Applications and Transactions

We've discussed some of the basics of transactions, and now we'll turn our attention to how J2EE supports transactions. The J2EE specification defines several standards that application servers and J2EE applications need to follow. Although many of the details are more relevant to developers, an understanding of the J2EE model is important.

J2EE Transaction Model

There are two important APIs in the J2EE transaction model: the Java Transaction Service (JTS) and the Java Transaction API (JTA). JTS is the Java implementation of OMG Object Transaction Model (OTS). OTS is a low-level API that allowed CORBA developers to work with transaction managers and resource managers directly. JTS is used internally by the application ...

Get IBM WebSphere: Deployment and Advanced Configuration 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.