Java Remote Method Invocation (RMI) Interview Questions
What are the layers of RMI Architecture?
What is the basic principle of RMI architecture?
How many types of protocol implementations does RMI have?
Does RMI-IIOP support dynamic downloading of classes?
Does RMI-IIOP support code downloading for Java objects sent by value across an IIOP connection in the same way as RMI does across a JRMP connection?
What is the role of Remote Interface in RMI?
What is the role java.rmi.Naming Class?
What is the default port used by RMI Registry?
What is meant by binding in RMI?
What is the difference between using bind() and rebind() methods of Naming Class?
When is AlreadyBoundException thrown and by which method?
How to get all the registered objects in a rmiregistry?
Can a class implementing a Remote interface have non remote methods?
What is the protocol used by RMI?
What is the use of UnicastRemoteObject in RMI?
What does the exportObject of UnicastRemoteObject do?
What is PortableRemoteObject.narrow() method and what is used for?
In a RMI Client Program, what are the excpetions which might have to handled?
Explain RMI Architecture?
What are the services in RMI?