RMI Question:

What is the difference between using bind() and rebind() methods of Naming Class?

RMI Interview Question
RMI Interview Question

Answer:

bind method(String name) binds the specified name to a remote object while rebind(String name) method rebinds the specified name to a new remote object,any existing binding for the name is replaced.


Previous QuestionNext Question
What is meant by binding in RMI?When is AlreadyBoundException thrown and by which method?