May 2001
Intermediate to advanced
1088 pages
30h 13m
English
The MarshalledObject class is a container for serialized objects. Normally, when you pass parameters to and from remote methods, RMI serializes and deserializes parameters directly. The MarshalledObject class lets you serialize an object and then deserialize it when you want to. Deserialization might take some time, and for certain complex objects, you might want to delay deserialization. The MarshalledObject class gives you a standard way to pass pre-serialized objects to a remote method and control when the object is deserialized.
public MarshalledObject(Object ob) throws IOException
Serializes ob into a new MarshalledObject.
get public Object get() throws IOException, ClassNotFoundException
Deserializes ...
Read now
Unlock full access