I am using this plugin (it’s pretty cool).
Needless to say, I am an RMI novice. I followed the tutorials and was able to put together a sample application.
I do not understand though why every time I stop and restart my local RMI registry the remote objects that were bound to it just vanish.
Is this normal behavior? I was under the impression that the rmi registry could be used as a persistence tool – so the contents of the registry should not vanish when the registry is stopped and restarted.
I am probably missing something very obvious but, again, I am new to rmi.
Any pointers appreciated!
By default the RMI registry does not persist information about the objects registered with it. Therefore, you need to register your remote objects each time the server starts.
As a matter of curiosity, what was it that led you to believe that the registry would somehow “remember” the objects that were last registered with it?