This example shows how JNDI works in RMI. It has two roles:
to provide the server with a bind/unbind/rebind API to the RMI Registry
to provide the client with a lookup/list API to the RMI Registry.
The RMI Registry is part of RMI, not JNDI.
To make this simple, we will use java.rmi.registry....