CONTENTS | PREV | NEXT | Java Remote Method Invocation |
The default implementations in the Object class for theequals
,hashCode
, andtoString
methods are not appropriate for remote objects. Therefore, the java.rmi.server.RemoteObject class provides implementations for these methods that have semantics more appropriate for remote objects. In this way, all objects that need to be available remotely can extend java.rmi.server.RemoteObject (typically indirectly via java.rmi.server.UnicastRemoteObject).