RMI Interview Questions and Answers
Ques. What is object serialization in RMI?Ans. To marshal and unmarshall the parameters involves the object serialization and does not truncate types.
The methods of local object and their bytecodes are not passed directly in the ObjectOutputStream. At times the name of the class of the objects may be needed that is to be loaded by the receiver if at all the class is not available locally. Just like the names of the classes, the class files themselves will not be serialized. All classes must load during the process of deserialization using the normal mechanisms of class loading.
Is it helpful? Yes No
Most helpful rated by users: