package rmitest; import java.rmi.*; public interface Squarer extends Remote { public int square(int x) throws RemoteException; public Squarer getNewSquarer() throws RemoteException; }