Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server Disconnection

 
Chiji Nwankwo
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is it necessary to notify the client when the server shuts down or should we just wait for the client to try and access the remote object before it finds out the the server object has been unregistered from the registry.
I hope you understand the question and your comments will be very welcome.
Thanks,
Chiji
 
Juan Ec
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Chiji
it is not necessary any callback, the thrown exception is enough for the client to notice about this situation
if you implement any callback mechanism you will increase the complexity (increasing error possibilities in the extra code) with very few benefits, not a good trade for me
at least that is my opinion
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic