Hi, I am creating RMI application. I want the server to have a function to connect and disconnect from the registry. So far, no problem with connect. But how to implement disconnecting? I tried using unbind(), but the client can still access to the stub. Where should I put the unbind(), the server or client? Thanks. Herbert
posted 14 years ago
I would have thought that unbinding an object in the registry doesn't stop the object being remotely available, it just makes it unavailable through the registry? To stop an object being remotely available do you not have to use something like UnicastRemoteObject.unexportObject()?