A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
EJB and other Java EE Technologies
JTA managed transactions
Joined: Sep 23, 2011
Aug 29, 2012 04:09:24
I am trying to understand managed transactions and how they are related to XA.
My understanding is that XA resources, such as data sources, allow 2 phase commit where multiple data sources are involved in the same transaction. This must be managed with a JTA transaction manager.
But where only a single data source is involved, there is no need for XA data sources.
Is there still a need for a JTA transaction manager?
Is a non-JTA transaction manager still able to manage transactions as they are propagated through the application?
I am using
5 with Spring 3: this means Spring transaction annotations and Spring JtaTransactionManager.
Any help appreciated,
subject: JTA managed transactions
CMT with Spring/Hibernate
JSF/Spring/Hibernate or JSF/Hibernate
Spring + JPA + Hibernate and multiple Database connection
How to handle transactions when two different databases are involved.
Transaction: Spring2.x + Hibernate3.0 + Jboss + Multiple Databases
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014