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
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