File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Management between two Data Center

 
Maulin Rathod
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 110
Google App Engine Google Web Toolkit Java
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want a transactional behavior using low-level JDBC, yes.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic