RMI Question: Download Questions PDF
What is PortableRemoteObject.narrow() method and what is used for?
![RMI Interview Answer RMI Interview Question](https://globalguideline.com/public/images/interview/27.png)
Answer:
Java RMI-IIOP provides a mechanism to narrow the the Object you have received from from your lookup, to the appropriate type. This is done through the javax.rmi.PortableRemoteObject class and, more specifically, using the narrow() method.
Download RMI Interview Questions And Answers
PDF
Previous Question | Next Question |
What does the exportObject of UnicastRemoteObject do? | In a RMI Client Program, what are the excpetions which might have to handled? |