Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

TRANSACTION between two different CONTEXTS

  Asked By: Erica    Date: Nov 24    Category: Java    Views: 714
  

I got a scenario where i need to maintain the TRANSACTION between
two different CONTEXTS (like between 2 diff. Application servers), i
am using Stateless Session Bean
in one of the context and need to continue the transaction by
calling the business application on another app. server and
syncronize both (my be i can use JTA APi to achieve this), can any
one having experience in such a scenario and have implemented
please suggest me to solve it.

I also beleave that in WSAD there must be some option to set this,
but dono how?.


p.s I am using WSAD 5.1

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Roosevelt Jenkins     Answered On: Nov 24

The best way to solve  this problem is by using Jini & JavaSpaces
specification. See:
http://wwws.sun.com/software/jini/specs/
http://wwws.sun.com/software/jini/specs/js2_0.pdf

This allows you to have your session/transaction info between
different processes.
There are several implementations. The following also support JCA
that works great with WSAD 5.1:
http://www.gigaspaces.com
I have found also nice document describes how this works:
http://www.gigaspaces.com/docs/J2EE/doc/BuildingEnterpriseApplications
withWebSphere5andGigaSpaces3.pdf

 
Didn't find what you were looking for? Find more on TRANSACTION between two different CONTEXTS Or get search suggestion and latest updates.




Tagged: