-
XA Transactions using JBoss (2 messages)
- Posted by: Balaji Ramanujam
- Posted on: March 08 2010 09:29 EST
I am a student working on Jboss 5.1.0 GA with very basic knowledge of java. I was doing a project on Jboss to manage XA transactions using two data sources I am very new to Jboss. I would be greatly obliged if anyone could help me how to go about it . I have to use two databases( Oracle, MSSQL, or may be My SQL ) . I am able to connect to the database one at a time using Eclipse 3.5 . But I have to configure to use the two databases simultaneously . So that if i do a transaction then the results in the two databases have to be reflected.Just like a Bank transction(transfer of money) between two accounts of diferent banks.Whether going with eclipse 3.5 is better than considering seam framework.. Is there any tutorial or examples on XA transactions using JBoss.. Please help me in going about it... Any help will be great ..Threaded Messages (2)
- jboss xa setup by Sethu Nambiar on March 14 2010 09:33 EDT
- XA Transactions using JBoss by Balaji Ramanujam on March 17 2010 14:50 EDT
-
jboss xa setup[ Go to top ]
- Posted by: Sethu Nambiar
- Posted on: March 14 2010 09:33 EDT
- in response to Balaji Ramanujam
Have you configured the datasource in jboss? which component are you building in jboss to use this XA data sources?
the basic concept for XA in a j2ee environment is all about configuring the database data sources as XA by using the appropriate implementation. see some examples below.
http://community.jboss.org/wiki/SetUpAMySQLDatasource
- jee -
XA Transactions using JBoss[ Go to top ]
- Posted by: Balaji Ramanujam
- Posted on: March 17 2010 14:50 EDT
- in response to Sethu Nambiar
Thanks for your reply..
As i configured the mysql in jboss..it is showing only local datasource in the console window but i need it as XA datasource for the distributed transactions using jta that i am developing here.