RMI Question:
Download Questions PDF

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

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.

Download RMI Interview Questions And Answers PDF

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