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