rmi timeout question
I'm designing a corporate application that will have an applets talking to
remote RMI objects. The frequency of their "conversation" will depend on
the user's input, therefore I may have periods of silence longer than 10
minutes. As far as I understand that will cause me to loose my RMI
connection/reference to the my remote RMI object.
Is there any way to avoid that? Would it be a good idea to implement a
dummy ping() method on the remote object and have a thread on the applet
pinging it every 5 minutes or so?
Thanks & regards,
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL