posted 20 years ago
Which of the following statements are true when a session bean's client receives a java.rmi.RemoteException?
The correct answer is:
1. The container does not throw the java.rmi.RemoteException if the container performs a transaction rollback.
2. The client calls the session bean from within the same JVM.
3. The client will never receives a java.rmi.RemoteException.
4. The client calls the session bean from another JVM.
5. The throws clauses of all methods in the remote home and component interface must declare a java.rmi.RemoteException.
Ans given: 1,4,5.
I did not understand why is ans 1 a correct option.