lMust be declared
public
lTo make an
object a remote one, the interface must extend the java.rmi.Remote interface
lEach method
declared in the interface must declare java.rmi.RemoteException in its throws clause.
Example:
lpublic interface
Arith extends java.rmi.Remote {
l int [] add(int a[], int b[]) throw
java.rmi.RemoteException;
l}