wood burning stoves 2.0
The moose likes Distributed Java and the fly likes what is use of MarshalledObject in RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "what is use of MarshalledObject in RMI" Watch "what is use of MarshalledObject in RMI" New topic

what is use of MarshalledObject in RMI

Prasath Thirumoorthy
Ranch Hand

Joined: Jul 23, 2004
Posts: 65
Hi Friends just now i started learning RMI and now im reading the java.rmi package and now i know how to create an remote interface and the class implementing that remote interface and how to create RMI client/server and to run the system also i want to know the use of MarshalledObject class

Anyone Help me Plz
thank u


Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

The article "Jini-like discovery for RMI" on JavaWorld gives an example of using the MarshalledObject class. A MarshalledObject makes it possible to pass a serialized class along with a reference to where their codebase is located. The article explains situations in which you may want to do this.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link: http://aspose.com/file-tools
subject: what is use of MarshalledObject in RMI
It's not a secret anymore!