Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes Transaction Management between two Data Center Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transaction Management between two Data Center" Watch "Transaction Management between two Data Center" New topic
Author

Transaction Management between two Data Center

Maulin Rathod
Greenhorn

Joined: Dec 17, 2008
Posts: 11
We are using MS SQL Server 2008 running on two different Data Center.
In one transaction, We want to insert/update two different Tables of two different DataCenter.

We are using follwoing Stateless Session EJB method with REQUIRED transaction Attribuite.

EJB Method
=========
}

jtds-ds.xml
===========

We are not using XA Datasource. Here Do we need to use XA Datasource.?
Jayr Motta
Ranch Hand

Joined: Jul 30, 2010
Posts: 110

If you want a transactional behavior using low-level JDBC, yes.


Feel free to ask me anything!
www.BlackBeltFactory.com/ui#!/ref=jmotta, SCJP 6, OCWCD JEE5, OCE EJB JEE6
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction Management between two Data Center