• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

client crash

 
Ramesh kumaar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

Will i loose marks if i dont handle client crash.
-rameshkumar
 
Mike Piotrowski
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ramesh,
Not sure if you will loose points or not, I just submitted my assignment a couple days ago. But if your using RMI its very simple using the Unreferenced Interface to clean up stale clients. All I did was check if that client held any locks, and if they did unlock those records.
I think the most important thing is being able to justify your decision. If you don't feel its needed, just document your reasons for your decision and you should do fine.
Mike
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure. But implementing Unrerenced interface is about 3 lines of code. I also had a custom cleanup thread to clean up unrerenced locks. I think you should at least implement the Unreferenced interface.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic