When writing an Applet or an application that uses remote objects, the programmer may need to be aware of the RMI system's client visible interfaces. The Remote interface serves to identify all remote objects, any object that is a remote object must directly or indirectly implement this interface.
All remote exceptions are subclasses of java.rmi.RemoteException .
This allows interfaces to handle all types of remote exceptions and to distinguish local exceptions and exceptions specific to the method from exceptions thrown by the underlying distributed object mechanisms. The hashCode and equals methods are implemented to allow remote object references to be stored in hashtables and compared. The equals method returns true if two Remote objects refer to the same remote object. It compares the remote object references of the remote objects. The toString method returns a string describing the remote object.