Understanding how Java handles transactions and creating a sound transaction design strategy will help you avoid data integrity issues in your databases and applications and lessen the impact of unavoidable system failures.
This book explains how to create a successful transaction management strategy by utilizing the transaction models that Java-based frameworks like EJB and Spring provide. With each transaction model, methods, best practices, and hazards will be discussed. Additionally, transaction design patterns will tie all of these ideas and methods together and explain how to utilize these models to efficiently manage transactions in your Java applications that are built using EJB or Spring.
The book discusses: - XA Transaction Processing - The Declarative Transaction Model - The Local Transaction Model - The Programmatic Transaction Model - The Declarative Transaction Model