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 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.