Content deleted Content added
Esmond.pitt (talk | contribs) →Example: Further simplification of example code |
Fixing typo raised by BracketBot |
||
Line 29:
import java.rmi.registry.*;
public class RmiServer
extends UnicastRemoteObject implements RmiServerIntf {
public static final String MESSAGE = "Hello world";
Line 82 ⟶ 83:
RmiServerIntf obj = (RmiServerIntf)Naming.lookup("//localhost/RmiServer");
return obj.getMessage();
}
}
</source>
|