Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is use of MarshalledObject in RMI  RSS feed

 
Prasath Thirumoorthy
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!