aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "what is use of MarshalledObject in RMI" Watch "what is use of MarshalledObject in RMI" New topic
Author

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


Thanks,
Prasath

SCJP1.4, SCWCD
Nathan Pruett
Bartender

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
jQuery in Action, 2nd edition
 
subject: what is use of MarshalledObject in RMI