1.

What Is The Use Of Java.rmi.remote Interface In Rmi?

Answer»

RMI uses a remote INTERFACE DECLARING the methods that are invoked from a virtual machine and further forwarded to the server to take any request coming from the client.

Java.rmi.Remote provides an interface declaring a set of methods that invokes the virtual machine to fulfill the REQUIREMENTS.

This allows the extension of the interface directly or indirectly.

Each method declaration in remote interface must have the exception policy such as java.rmi.RemoteException or java.io.IOException or java.lang.Exception clause that can be made application SPECIFIC and it reduces the effort to extend java.rmi.RemoteException.

Remote method DECLARES the object as a parameter or the return value and that has to be declared using the remote interface

RMI uses a remote interface declaring the methods that are invoked from a virtual machine and further forwarded to the server to take any request coming from the client.

Java.rmi.Remote provides an interface declaring a set of methods that invokes the virtual machine to fulfill the requirements.

This allows the extension of the interface directly or indirectly.

Each method declaration in remote interface must have the exception policy such as java.rmi.RemoteException or java.io.IOException or java.lang.Exception clause that can be made application specific and it reduces the effort to extend java.rmi.RemoteException.

Remote method declares the object as a parameter or the return value and that has to be declared using the remote interface



Discussion

No Comment Found