2.2. Transaction management

In a human context, a transaction is an action, or group of actions, that takes place between two people. In a computer context, transactions relate to a group of activities that may need to access multiple resources and perform some kind of operation and updates on them. These sets of activities must be completed together so that if any of them were to fail, then the whole set would need to be undone or backed out.

Transactions have four main properties, called the ACID properties. ACID stands for Atomicity, Consistency, Isolation, and Durability.

AtomicityA transaction must execute completely or not at all. All the activities in the transaction must be completed successfully. If any fails to complete, then the transaction ...

Get MQSeries Programming Patterns 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.