• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

JTA managed transactions  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!