O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

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

Overview of Transactions

If you've used RDBMS before, or completed a Computer Studies course or read any other J2EE book, you've probably read a section like this one already. But read on anyway, if only to be acquainted with some of the J2EE terminology that is used in this arena.

A transaction is an atomic unit of work:

  • Atomic unit means indivisible—either every step within the transaction completes or none of them do.

  • Work here usually means some modification to data within a persistent data store. In RDBMS terms, this means one or more INSERT, UPDATE, or DELETEs. However, strictly speaking, it also applies to reading of data through SELECT statements.

For a persistent data store to support transactions, it must pass the so-called “ACID” test: ...

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