Configuring the transaction service

Transaction management is a JCA system contract between an application server and a resource adapter (and its underlying resource manager). The transaction management contract extends the connection management contract, which we just discussed. It provides support for the management of transactions.

What is a transaction? The authoritative definition of a transaction is a unit of work containing one or more operations involving one or more shared resources. Transactions are described in terms of ACID properties, which are as follows:

  • Atomicity refers to the ability to guarantee that either all or none of the tasks of a transaction are performed.
  • Consistency refers to the fact that when a transaction is completed, ...

Get JBoss AS 5 Development now with O’Reilly online learning.

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