Forums Register Login

CMT in 2 App Server

+Pie Number of slices to send: Send
I have 1 session bean deployed in A Server (Application Server)

another
session bean in B Server (Application Server)

When i call a bean from A server to B server

Is tx is propagated (from A to B) ?

Do i need 2 phase commit driver ?

Whether tx Manager in Server A controls the transa in B server ?
thanks and Reg
Arvind D
+Pie Number of slices to send: Send
Depends on the application server. For example, WebLogic supports this type of model with the transactional context getting propagated across all WLS Servers involved in the transaction (however WLS trust must be established in order for this to work).

For other application servers you will need to read the vendor-specific information. If you are going across different type of Application Servers this is not going to work.

BTW, be careful when deciding to use a feature like this. It is generally a very bad idea to have a single transaction to span remote calls.
[ April 15, 2006: Message edited by: Chris Mathews ]
+Pie Number of slices to send: Send
"arvindu"

One more thing... thanks for joining JavaRanch, please take some time to review the JavaRanch Name Policy then update your publicly displayed name in your profile so that it complies.
a wee bit from the empire
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 532 times.
Similar Threads
Request Scope in jsp
Allowed operations for statefull session beans
Transaction-propagation
Keeping EJB as Client ?
2 questions about exceptions
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:02:23.