What is the role of Remote Interface in RMI ?
3 years ago
OOP Java
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. A class that implements a remote interface should declare the remote interfaces being implemented, define the constructor for each remote object and provide an implementation for each remote method in all remote interfaces.

Surya Bikram Bhandari
Oct 31, 2021