Hi,
Suppose a transactional EJB method is running on behalf of a remote client and the client abruptly crashes or disconnects from the network while the transaction is in progress. Will the EJB container recognize that the client is no longer connected and roll back the transaction when the method completes, or will it allow the transaction to commit? Assume the method call itself encountered no problem and threw no exception.
Thanks,
Frank
-
Transactions and Client Disconnects (1 messages)
- Posted by: Frank LaRosa
- Posted on: October 28 2004 15:39 EDT
Threaded Messages (1)
- Transactions and Client Disconnects by Sanjaya Ganesh on November 01 2004 22:37 EST
-
Transactions and Client Disconnects[ Go to top ]
- Posted by: Sanjaya Ganesh
- Posted on: November 01 2004 22:37 EST
- in response to Frank LaRosa
Frank,
There is no requirement that the EJB container should check client connectivity while in-flight. So your txn will continue and hit its ultimate fate (commit or rollback) depending on the method execution outcome.
Hoever, if the transaction spans across two method calls and the client disconnects between the two, the transaction will timeout and rollback.
-Sanjay