posted 15 years ago
Hi,
I think the correct answers are d & e.
For bean B, the client is bean A.Since bean A is running in a new transaction and bean B runs in the same transaction, when exception occurs in bean B, it would be bean A which receives the javax.ejb.TransationRolledbackLocalException.Also since the exception has occurred in bean B, there is no need to discard the instance of bean A.
Option a is not correct because the exception doesnot occur in client transaction
Option b is not correct because for bean B, the client is bean A
Option c is not correct for the same reason
Option f is not correct because the exception occurred when bean B was running in the transaction context of bean A
Please correct me if the above reasoning is wrong
Regards,
Paresh Vernekar