News

Interfaces that may need to be remotely accessible must extend java.rmi.Remote, and their methods must throw a java.rmi.RemoteException. This can be quite intrusive.
Likewise, you need to define a class that implements that interface and can be exported as a remote object. The easiest way to define that class is to extend java.rmi.server.UnicastRemoteObject.