Re: Implementing callback methods in the Bean class
Wednesday, July 17, 2002 07:35 AM
You do not have to declare throws RemoteException in the method implementation. The point is that someone calling your implementation remotely may well get a RemoteException anyways, which is why the exception is declared in the interface. Anyone invoking a method through this interface ( that is, anyone making a remote call and not a local on your bean implementation ) will have to handle this exception, even if your implementation does not explicitly throw it.
Hope this helps.