Java RMI - Client Timeout

前端 未结 4 1553
走了就别回头了
走了就别回头了 2020-11-30 05:53

I\'m building a Distributed System using Java RMI and it must support a server loss.

If my client is connected to a Server using RMI, if this server goes down (cable

4条回答
  •  粉色の甜心
    2020-11-30 06:41

    You can use custom socket factories. It works fine , It is not static and deprecated and against the system property, it does not apply to the whole JVM. But the point is that the code is on the server side.

    Creating a Custom RMI Socket Factory

提交回复
热议问题