[jboss-dev-forums] [Design of JCA on JBoss] - Re: JBossTS/JBossJCA XA/Local transactions

mark.little@jboss.com do-not-reply at jboss.com
Tue Nov 28 05:28:01 EST 2006


"bill.burke at jboss.com" wrote : +1 for Weston.
  | 
  | Mark, why are you being so religious and academic.  Weston states all valid cases for the feature.  Transactions/unit of work is still extremely useful even without 2pc.

Bill, this is not academic. Multiple one-phase resources in a two-phase transaction does not give you the consistency and atomicity guarantees. When you don't support recovery then it really doesn't make a difference. But when you do, it is wrong to support this and give the impression that this is a valid approach. This is not a transaction (where the definition of transaction is JTA, JTS/OTS, XA, WS-T ACID transaction). If we want to support this, then we should be doing so through some other interface, which makes it clear that the failure and recovery semantics are different.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989213#3989213

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989213



More information about the jboss-dev-forums mailing list