Chapter 8. Transactions and containers
- The concepts of atomicity, consistency, isolation, and durability (ACID)
- The use of local transactions and global transactions
- How XA resources work to achieve consensus
- Handling exceptions in the context of a transaction
- Implementing container-managed transactions
In the previous chapter, we examined how to persist data, that is, make it durable. Yet, in several cases, this may not be enough. Not only do you need to make the enterprise data durable, but you may also need to make sure that either all of the data is persisted or none of the data is persisted. This all-or-nothing attribute is called atomicity and is achieved through the use of transactions.
Transactions are important ...
Get OSGi in Depth 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.