Java remote method invocation: Difference between revisions

Content deleted Content added
No edit summary
Line 81:
 
public class RmiClient {
public static Stringvoid main(String args[]) throws Exception {
RmiServerIntf obj = (RmiServerIntf)Naming.lookup("//localhost/RmiServer");
return System.out.println(obj.getMessage());
}
}