About Question com.enthuware.ets.scbcd.v5.2.146 :
Posted: Sun Oct 30, 2011 6:23 am
I would like to ask about one explanation to this question :
A client of a session bean calls a method on the bean and the method throws a system exception that is not caught.
Which of the following statements are correct?
- the same exception is thrown to the client
Explanation for this bad answer is :
the client will get EJBTransactionRollbackException or EJBException.
its true when we talk about local ejb invocation by the client.
when it comes to remote invocation, the client will get EJBTransactionRollbackException or RemoteException depends on client transaction's context or not.
Am I right ?
Regards
Radoslaw
A client of a session bean calls a method on the bean and the method throws a system exception that is not caught.
Which of the following statements are correct?
- the same exception is thrown to the client
Explanation for this bad answer is :
the client will get EJBTransactionRollbackException or EJBException.
its true when we talk about local ejb invocation by the client.
when it comes to remote invocation, the client will get EJBTransactionRollbackException or RemoteException depends on client transaction's context or not.
Am I right ?
Regards
Radoslaw