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).
Joined: Jun 22, 2003
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.