1 package dynaop.remote;2 3 import java.rmi.RemoteException ;4 5 /**6 * 7 * 8 * @author Bob Lee (crazybob@crazybob.org)9 */10 public interface MyService {11 12 String toUpperCase(String s) throws RemoteException ;13 14 int add(int a, int b);15 16 void throwException() throws MyException;17 }18