Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: Deregister Server

 
Chin Ho Tan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
When shutdown the Data Server, the associated file is closed. Should the Data Server be "unbind" from the Naming service of RMI ?
Thanks.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yas and no.
In my submission I had a server GUI and it had a button to shutdown the server, and in that code I unbound the Server from the registry.
Now, if you aren't having a GUI for the server, then when your server stops (ctrl-c) running then the registry stops running and therefore your object is no longer bound.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic