9.8. Distributed transactions and two-phase commit

In this section, we examine in detail the operation of a typical distributed transaction management system, particularly the ‘two-phase commit’ process. This information goes beyond what is required for EJB development. In fact, one of the benefits of EJB technology is that the transaction management infrastructure is completely invisible to the developer and can be configured at deployment time. This section is provided simply to demonstrate that there is no black magic in distributed transactions and to assist developers who are called upon to debug their applications in a production environment.

9.8.1. X/Open architecture

Nearly all distributed transaction managers and most database systems ...

Get Applied Enterprise JavaBeans™ Technology now with O’Reilly online learning.

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