好久没写Blog了,给大家推荐一本书,本人感觉还是不错的,有免费的电子版下载:)
理解Transaction管理是怎样在Java和开发一个高效的Transaction设计策略起作用的,可以帮助我们避免在系统和数据库中犯一些有关数据集成的错误,减轻一些不可避免的系统失败的风险。
这本书是关于如何利用由基于Java的框架如EJB和Spring等提供的Transaction模型设计一个高效的Transaction管理策略的。技术、最佳实践和重要部分都会涉及到,另外,Transaction设计模式将会带来所有的概念和技术,以及描述怎样用那些模型在你的EJB或者基于Java应用的Spring里去高效管理Transaction。
![](http://www.infoq.com/resource/minibooks/JTDS/en/cover/transactionsbooklarge.jpg)
目录
Introduction
Transaction Models
Where’s the ACID, Man?
JTA and JTS
UserTransaction Interface
TransactionManager Interface
EJBContext Interface
Status Interface
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
Local Transaction Considerations and Limitations
The Programmatic TransactionModel
Obtaining a Reference to the
JTA UserTransaction
Programmatic Transaction Coding Traps
The Transaction Context Problem
Programmatic Transaction Scenarios
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
EJB 3.0 Considerations
setRollbackOnly() Alternative
Using Required vs. Mandatory
Transaction Attributes
The Reality of Transaction Isolation Levels
Specifying Transaction Attributes
Exception Handling and thesetRollback() Method
EJB 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
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
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1152132