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
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.