Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTA managed transactions

 
kato Kwong
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic