CHAPTER 7

image

Distributed Transactions

Chapter 6 covered ACID characteristics (atomicity, consistency, isolation, and durability) that Java and the Spring platform provide for transactional data sources (for example, relational databases) or JMS providers. Such a transaction against a single data source is often referred to as a local transaction. But a single data source is not where this support ends. Sometimes we can have requirements to ensure a single ACID transaction across various types of storage.

Java (and Spring abstractions) provide support for single transactions across multiple data sources. This is called a distributed transaction

Get Pivotal Certified Spring Enterprise Integration Specialist Exam 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.