Yesterday Murali Kosaraju posted an article; XA transactions using Spring. He wrote the practical case to demonstrate the JBoss + Spring to handle the XA transactions.

Also I found Mike Spille has posted a three-part series covering XA and the joys of 2 Phase Commit.

XA Exposed Part I

XA Exposed Part II

XA Exposed Part III: The Implementor’s Notebook

And books about Transaction Process:

Principles of Transaction Processing
Java Transaction Processing: Design and Implementation