Day 16. Understanding J2EE Transactions

Today, we'll cover both local and global J2EE transactions. On Day 9, “Using JDBC to Connect to a Database,” you learned how to use local transactions to handle JDBC calls, and on Day 13, “Understanding JMS and Message-Driven Beans,” you learned local transaction to handle Java Message Service (JMS) messages. Today, we will focus on both local and distributed transactions through components and applications across all J2EE tiers. We will discuss the Java Transaction API (JTA), and show how it abstracts transaction management and makes this complex task completely transparent to developers. Concepts such as transaction level of isolation, transaction attributes, and demarcation managements will be highlighted. ...

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.