public class ImplementacionInterfaceServidor extends UnicastRemoteObject implements InterfazServidor{ private static final long serialVersionUID = 1L; public implementacion() throws RemoteException{ super(); } public long sumar(long a, long b) throws RemoteException{ return a+b; } public long restar(long a, long b) throws RemoteException{ return a-b; } public long multiplicar (long a, long b) throws RemoteException{ return a*b; } public long dividir (long a, long b) throws RemoteExcepcion{ return a/b; } }