The ObjID class represents a unique remote object. No two remote objects have the same ObjID. Certain components of RMI have well-known ObjIDs.
public ObjID() public ObjID(int wellKnownNumber)
With no parameters, the ObjID constructor generates a unique object identifier with a cryptographically strong random 64-bit identifier. You can also supply one of three constants—ObjID.ACTIVATOR_ID, ObjID.DGC_ID, or ObjID.REGISTRY_ID—to create an ObjID for one of the RMI services.
read public static ObjID read(ObjectInput in) throws IOException
Reads an ObjID from an object stream.
write public void write(ObjectOutput out) throws IOException
Writes this object to an object stream.
The RemoteObject class is ...