/** * compute/Compute.java * Remote Interface **/ package compute; import java.rmi.Remote; import java.rmi.RemoteException; public interface Compute extends Remote{ Object executeTask(Task t) throws RemoteException; }