Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

RMI%20Interview%20Questions%20and%20Answers

Question: Explain how to bind an object to the registry.
Answer: If an object implements the java.rmi.Remote interface, an object is to be bound to registry context. Each registry context implements the Referenceable interface.

The object factory is implemented by the RegistryContextFactory which converts the registry references into the corresponding registry contexts or remote objects. To construct the registry constructs, the URL of the registry must be determined. In this way the remote objects will be bounded with registry contexts.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook