RMI Question:

What is the role of Remote Interface in RMI?

Tweet Share WhatsApp

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 PDF Read All 21 RMI Questions
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?