posted 18 years ago
Hi ,
I think a bean instance is discarded by the container when a method in the bean throws a system exception.However, the TransactionRequiredException is not thrown by the bean execution, but rather by the container.Hence there would be no reason for the callee bean instance to be discarded as it was never invoked.
However, the exception being thrown means a system exception has resulted due to execution of the method in the caller bean and hence it must be discarded.
Hence what Ugender has to say is fine.
Regards,
Paresh Vernekar