When i shutdown the RMI server program by using,
serverReg.unbind("LibraryServer");
it only remove the bound of remote object and it's key 'LibraryServer
. If i start the server same time it give me an exception ObjID already in use
. How can i entirety remove remote object from the registry ?.
Binding statement of Remote object and it's key is,
serverReg.rebind("LibraryServer", new RemoteFactoryImpl());