This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JTA managed transactions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JTA managed transactions" Watch "JTA managed transactions" New topic
Author

JTA managed transactions

kato Kwong
Greenhorn

Joined: Sep 23, 2011
Posts: 27
Hi,

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 JBoss 5 with Spring 3: this means Spring transaction annotations and Spring JtaTransactionManager.

Any help appreciated,

Kato
 
Consider Paul's rocket mass heater.
 
subject: JTA managed transactions
 
Similar Threads
Transaction: Spring2.x + Hibernate3.0 + Jboss + Multiple Databases
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.