Hi
I was wondering whether the client can anyway know whether the transaction
was commited or rolledback if it receives an application exception from the
bean -- given the condition that the client did not initiate the
transaction. The section 9.1.9.5 of the ejb1.1 spec says

"From the client's perspective, a RemoveException (or a subclass of
RemoveException) indi-cates
that an application level error occurred during a remove(...) operation. If
a client receives this
exception, the client does not know, in general, whether the entity object
was removed or not. The client
also does not know if the transaction has been marked for rollback.
(However, the client may determine
the transaction status using the UserTransaction interface.)"

The client can always get the usertransaction object from the jndi context.
But will it give the usertransaction object that was used for that
particular transaction for which the exception came?
TIA
Anamitra Bhattacharyya
US Power Solutions
Cambridge
MA



STATEMENT OF CONFIDENTIALITY.   The information contained in this electronic
message and any attachments to this message are intended for the exclusive
use of the addressee(s) and may contain confidential or privileged
information. If you are not the intended recipient, please notify
USPowerSolutions Corporation immediately at (617) 547-3800, or at
[EMAIL PROTECTED], and destroy all copies of this message and any
attachments.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to