RMI Interview Questions and Answers
Question: What is object serialization in RMI?Answer: 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:
- What is RMI?
- What are the services in RMI ?
- Explain RMI Architecture?
- What is the difference between RMI & Corba?
- Does RMI-IIOP support dynamic downloading of classes?