O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9.2. Transactions described

Transaction management is described in all decent database management books, [1] so I won’t go into much detail here. The following should be considered the minimum you need to know about transaction management to develop transactional EJB applications.

[1] Alternatively, save money and read the documentation that comes with Cloudscape, which is free. It includes a number of nice hands-on exercises that demonstrate the principles of transactions and locking.

9.2.1. Transaction examples

A transaction is a sequence of operations that are carried out together and form a single unit. The ‘textbook’ example is that of transferring money between bank accounts. To do this, we must withdraw money from one account (first operation) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required