Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unicast Remote Object woes

Status
Not open for further replies.

andyjdavis

Programmer
Aug 10, 2000
23
0
0
AU
I am using a server object within an RMI application. It extends java.rmi.server.UnicastRemoteObject. Its function is to remain memory, servicing RMU method calls, until a particular signal from the client indicates that the communication is complete at which point the object should destroy itself. What is the best way of doing this? As it extends UnicastRemoteObject exiting its Run method does not help (indeed its run method is empty). Stop() is deprecated so Im not too keen to use that. Any hints?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top