RMI Question:
Download Questions PDF

What is the role of Remote Interface in RMI?

Answer:

The Remote interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine. Any object that is a remote object must directly or indirectly implement this interface. Methods that are to be invoked remotely must be identified in Remote Interface. All Remote methods should throw RemoteException.

Download RMI Interview Questions And Answers PDF

Previous QuestionNext Question
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 java.rmi.Naming Class?