/* This is the interface for an RMI server which is called "HelloServer". * It is used by both the client and the server to know the API * of the methods that can be called on the server by the client. */ public interface Hello extends java.rmi.Remote { String sayHello() throws java.rmi.RemoteException; }