This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

XATransaction  RSS feed

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...

How can I enable XATransaction on my application?


[]'s
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your server documentation will tell you about XA drivers, connection pool and data source configurations. Also, the XA resources themselves need to be XA-enabled.
 
Luciano A. Pozzo
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have some example?
[ March 09, 2006: Message edited by: Luciano A. Pozzo ]
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Freind

You can use transaction in application two way first through Declarative which we declare & container hanle it as we will declare it second way is programatical in which programmer have total contole for it & programmer implement sessionsynchronisation interface with bean class & also declare command such as commit abort after commit,beforecommit etc

Regards
Rajesh Pandey
Freelance Software Developer
india Delhi
Mob:--+919811903737
email:- rajesh-pandey@hotmail.com
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Per se there is not need to enable XA Transaction in your J2EE application but what you need to do is to make sure that the connection factories (JDBC data sources, JMS connection factories etc) are XA enabled and configured that way.
Then you have to decide if you use CMT (declarative) or BMT (managed by the bean) transaction handling but that does not influence if XA is used or not.
Also make sure that you use the right connection factories. For example JBoss has XA Connection Factories for JMS even though they do not participate in the XA trasnaction management of JBoss (make sure you use JmsXA found on the 'java:' namespace).

-Andy
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!