/Users/lyon/j4p/src/net/rmi/simpleExample/RemoteHello.java

1    package net.rmi.simpleExample; 
2     
3    import java.rmi.Remote; 
4    import java.rmi.RemoteException; 
5    public interface RemoteHello extends Remote { 
6        public String getMsg() throws RemoteException; 
7    }