java.rmi.Naming
: store and obtain references to remote objects in the remote object registry; takes argument a URL formatted java.lang.String
:
//host:port/namewhere
host
is the host in which the registry is located, port
is the port number on which the registry accepts calls and name
is a name string. Default value for host
islocalhost
and for pot
is 1099
rmiregistry
: RMI's registry
bind
: registers a name of a remote object in the registry
rebind
: always binds even if already bound
unbind
: removes the name from the registry
list
: lists the URLs bound to the registry