package common; import java.rmi.Remote; import java.rmi.RemoteException; import domain.Account; public interface AccountInterface extends Remote{ public boolean addAccount(int index) throws RemoteException; public boolean removeAccount(Account ac) throws RemoteException; }