A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
JDBC and Relational Databases
When one should use XA Drivers ?
Joined: Sep 22, 2003
Sep 21, 2006 03:01:00
I have a question about the purpose of XA Drivers.
Time ago we had a bug in a transation processing application
that runs on Bea Weblogic 8.1 which doesn't use XA Drivers.
Because of that bug the application didn't rollback transactions in case of errors.
that controlled the tx is Container managed tx-Required, I was
told to investigate that the
was correctly propagated to
the Container, and that was it.
So my question is: when are XA Drivers necessary ? only in Bean Managed tx ?
In CMT since it's the Container that drives the tx it's not necessary to use them ???
Thanks in advance
WildFly 8 Administration Book
Joined: Apr 14, 2004
Sep 21, 2006 03:43:00
An XA driver is used when you have a transaction that spans more than one transacional resource. So if your EJB application performs data manipulation on two schemas for example you might use XA.
I agree. Here's the link:
subject: When one should use XA Drivers ?
Hibernate Session.beginTransaction with JBoss
Two Connection pool in Single EJB transaction
BMT inside BMP
MDB starts before Queue send is commited
releasing connection in CMT
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015