Java remote method invocation: Difference between revisions

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