JVM Languages
java_rmi.txt
Associated article: A Remote Java RMI Registry
Tags: Tools JVM Languages Design
Published source code accompanying the article by Oliver Haase, Jurgen Wasch, and Bo Zhao in which they present a custom registry that objects can register with remotely. Also see RMI.ZIP.
A Remote Java RMI Registry
by Oliver Haase, Jurgen Wasch, Bo Zhao
Listing One
public RemoteRegistry (int port) throws RemoteException {
...
LiveRef lref = new LiveRef (new ObjID(ObjID.REGISTRY_ID),port);
new UnicastServerRef (lref).exportObject (this,null);
}
Listing Two
grant {
permission ...


