• Post Reply Bookmark Topic Watch Topic
  • New Topic

rmi dirty call

 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i make dirty calls to ensure that the lease of the remote object dowsnt expire. Should i call any method or dirty() method present in java.rmi.DGC interface. If i have to call method of java.rmi.DGC interface than how can i obtain its reference.
Thanx
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
why do you want to do it yourself ?
this is done for you by the RMI system.
as long as you keep a reference on a remote object it wont be collected.
karl
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!