Classes
MarshalledObject
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.
Constructor
public MarshalledObject(Object ob) throws IOException
Serializes ob into a new MarshalledObject.
get public Object get() throws IOException, ClassNotFoundException
Deserializes ...
Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.