According to the spec (17.6.1), for a SLSB a RemoteException or EJBException is thrown to the client.
For a MDB it doesn't make sense for the container to throw an exception (since there is no client to receive it).
posted 15 years ago
Kathy, thanks once again.
Let me summarise what I have understood below:
If Bean Provider do not complete a transactional method without ending the transaction of a BMT bean(Stateless Session Bean or Message Driven Bean): 1] Container do not throw any exception 2] Subsequently, if an attempt is made to begin new Transaction without first completing previous transaction, javax.transaction.NotSupportedException is thrown.
Regards,<br />Sandesh<br />(SCJCP, SCWCD, SCBCD - 99%, OCP-1)<br /> <br />Either find a way or create one.
Space pants. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!