Transaction processing is at the heart of modern enterprise systems. This book explains in depth transaction processing technology and how it can be leveraged in the Java platform. It provides a comprehensive explanation of the underlying concepts in transactions that are needed to understand and exploit the technology correctly. All technical information delivered in the book corresponds directly to the latest revision of Java. The authors cover how transactional aspects of all the major J2EE components work and the practical consequences of implementation choices. In addition, this text looks beyond Java at standards and implementations that provide for broad interoperability across heterogeneous application environments. Finally, the book provides a look at how emerging web services standards will address the next generation of reliable information systems.
Download the Sample
Chapter related to this title.
Foreword by Steven G. Harris.
Foreword by Eric Newcomer.
I. JAVA TRANSACTIONS FUNDAMENTALS.
1. Transactions Fundamentals.
What Are Transactions and Why Do I Need Them?
Two-Phase Concurrency Control.
Optimistic Versus Pessimistic Concurrency Control.
Type-Specific Concurrency Control.
Deadlock Detection and Prevention.
Services and Participants.
Two-Phase Commit Optimizations.
The Transaction Log.
Types of Transactions.
Independent Top-Level Transactions.
The Transaction Context.
Controlling a Transaction.
Transactions and Threads.
Suspending and Resuming Transactionality.
Transactions and Queues.
Transactions and Replication.
Maintaining Information on Persistent Objects.
Integrating Replication and Transactions.
Availability Measures in Current Application Servers.
Transaction Processing Monitors.
Transactions and Workflow.
2. Foundation of Transactions in J2EE: The Java Transaction API.