java - separate rmiregistry and server application -
i'm developing basic application starts rmiregistry @ server:
try {             // create registry , bind name , object.             registry = locateregistry.createregistry(thisport);             registry.rebind("rmiserver", this);         }         catch (remoteexception e) {             throw e;         }   i want run registry on machine. possible separate this?
i want run registry on machine. possible separate this?
its possible. if registry running on different machine, can locate using locateregistry.getregistry(host, port)
Comments
Post a Comment