[jboss-user] [JCA/JBoss] - Re: XA Connection error

weston.price@jboss.com do-not-reply at jboss.com
Wed Sep 6 20:43:52 EDT 2006


Right, easy enough to switch out XA/Local when necessary.

anonymous wrote : 
  | So if I go with local-Tx all the UserTransaction logic still applies the same as it would with XA, correct? 
  | 

Absolutely. There is no difference between the two in this regard. The code remains the same. Again, all you are doing is demarcating the transaction. One thing you may want to consider is leveraging the Servlet/JSP lifecycle stuff to make the transaction logic cleaner. Rather than litering your code with ut.begin(), ut.commit(), ut.rollback() stuff, you should be able to isolate this in one place and apply it where necessary. 

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

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



More information about the jboss-user mailing list