Search code examples
javarmi

How and when are names removed from RMI registry if a server crashes?


If an RMI server crashes, when/how is the name of this server removed from the Java RMI registry where it registered itself?


Solution

  • If an RMI server crashes, when/how is the name of this server removed from the Java RMI registry where it registered itself?

    Never. The Registry doesn't get told about that, and doesn't check it.