• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction propagation--- is it possible??

 
Sajid Moinuddin
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose I have a plain java client code like this.

now, I want theBigFatMethod() to be transactional. The easiest solution would be if I could create a transaction context and pass it to all the methods. Is it logical to think this way?? Can I really share a transaction context across j2ee containers? Or is it a two phase commit that I need?? Any hints / links will be greately appriciated.
Regards,
Sajid.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think transaction context can be propagated between servers of different vendors.
 
Sajid Moinuddin
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
got the answer. transactions can be propagated across application server if the servers supports distributed transaction. transaction context propagation is the main concept of distributed Tx management and ejbservers that supports distributed transaction propagation must follow OMG1.1 protocol. So transactions context are propagated over iiop.
regards,
Sajid
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic