• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

When one should use XA Drivers ?

 
author
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
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.

Since the ejb that controlled the tx is Container managed tx-Required, I was
told to investigate that the EJBException 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
Francesco
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic