I haven't written a blog for a long time. I recommend a book for you. I feel good about it. There are free electronic downloads. :) understand how transaction management works in Java and developing an efficient transaction design policy, this helps us avoid data integration errors in the system and database, and reduce the risk of some inevitable system failures. This book describes how to use the transaction model provided by Java-based frameworks such as EJB and spring to design an efficient transaction management policy. Technology, best practices, and important parts will be involved. In addition, the transaction design model will bring about all concepts and technologies, it also describes how to use models to efficiently manage transaction in your EJB or spring based on Java applications. Directory
Introduction Transaction Models
Where's the acid, man?
JTA and JTs
Usertransaction Interface
Transactionmanager Interface
Ejbcontext Interface
Status Interface
The local transaction model Auto commit and connection management
Local transaction considerations and limitations
The programmatic transactionmodel Obtaining a reference to
JTA usertransaction
Programmatic transaction coding traps
The transaction context problem
Programmatic transaction scenarios
The declarative Transaction Model Transaction attributes
Specifying transaction attributes
Exception Handling and thesetrollback () method
Ejbs 3.0 considerations
Setrollbackonly () Alternative
Using required vs. Mandatory
Transaction attributes
The reality of transaction isolation levels
XA Transaction Processing The Xa interface explained
When should you use XA?
Two-phase commit
Heuristic Exception Processing
Enabling queues and topics for XA
Enabling databases for XA client owner transaction Design Pattern
Domain service owner transaction Design Pattern
Server delegate owner transaction Design Pattern
Download link: Java transaction design strategies
Trackback: http://tb.blog.csdn.net/TrackBack.aspx? Postid = 1152132