The javax.ejb.SessionBean interface has four callback methods namely
ejbActivate(), ejbPassivate(), ejbRemove(), and setSessionContext() and
all of these methods are declared to throw a java.rmi.RemoteException.
But in the Java Server Programming J2EE 1.3 Edition, Chapter 14, page 704-
705, there's an example (OrderManagementBean) that implements the
SessionBean interface but has not declared its callback methods to throw
java.rmi.RemoteException. Is this is a mistake or we should not throw a
java.rmi.RemoteException from callback methods in our implementation
classes?
Thanks in advance.