Day 17. Building Container-Managed Transaction Beans

On Day 16, “Understanding Transactions,” you learned about both the programmatic and the declarative approaches to transaction management. Today, we'll focus on developing EJBs that use the declarative approach of transaction demarcation. In this approach, the EJB container manages that transaction boundary on behalf of the EJB, behind the scenes, according to the setting found in the bean's deployment descriptor. On Day 18, “Building Bean-Managed Transaction Beans,” you'll learn how to develop an EJB with bean-managed transaction demarcation, which is a topic for advanced developers. One of the powerful features of the Java 2 Enterprise Edition (J2EE) architecture is to let the EJB container ...

Get Sams Teach Yourself EJB 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.