Transactions: Behind the Scenes

The EJB specification starts off by listing several goals. One of these reads as follows:

“The Enterprise JavaBeans architecture will make it easy to write applications: Application developers will not have to understand low-level transaction and state management details, multi-threading, connection pooling, and other complex low-level APIs.”

The EJB specification largely succeeds in addressing this goal—as a developer, you really do not need much knowledge about how transactions are managed. The fact that this book only covers transactions today in any detail is testament to that.

Nevertheless, like most technical topics, it can be helpful to have an insight as to what is going on “behind the scenes.” But if you ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with O’Reilly online learning.

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