O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Classes

ObjID

The ObjID class represents a unique remote object. No two remote objects have the same ObjID. Certain components of RMI have well-known ObjIDs.

Constructors
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.

RemoteObject

The RemoteObject class is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required