| Author |
RMI server timeout
|
sheena
Greenhorn
Joined: Feb 27, 2006
Posts: 4
|
|
Hi, Is there any property in rmi, so that the server time out is set to infinity? Also, is the remote object garbage collected after a time period? I dont want the remote object to be garbage collected. My application, is a print server. I want the print server to be alive at all times.Irrespective of whether there are clients connected to it or not. Thanks [ September 12, 2006: Message edited by: Nousheen Mirza ]
|
 |
Edward Harned
Ranch Hand
Joined: Sep 19, 2005
Posts: 288
|
|
There have been may discussions on the Server exiting. Search through the forums. It comes down to keeping a live reference to your impl class so it isn't garbage collected and keeping your main() that you used to start the server from exiting. (generally with a wait() forever)
|
Ed's latest article: A Java Parallel Calamity http://coopsoft.com/ar/Calamity2Article.html
|
 |
 |
|
|
subject: RMI server timeout
|
|
|