package examples.jndi; import java.rmi.Remote; import java.rmi.RemoteException; /** * The remote interface for the remote object. Clients use it * for all operations on the remote object. */ public interface PrimaryKeyGenerator extends Remote { public long generate() throws RemoteException; }