from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
|
You are here: manpages
RMIREGISTRY
Section: JDK Commands (1) Updated: 2023 Index
Return to Main Contents
NAME
rmiregistry- create and start a remote object registry on the specified
port on the current host
SYNOPSIS
V]rmiregistryR] [I]optionsR]] [I]portR]]
- I]optionsR]
-
This represents the option for the V]rmiregistryR] command.
See B]OptionsR]
- I]portR]
-
The number of a port on the current host at which to start the remote
object registry.
DESCRIPTION
The V]rmiregistryR] command creates and starts a remote object
registry on the specified port on the current host.
If the port is omitted, then the registry is started on port 1099.
The V]rmiregistryR] command produces no output and is typically
run in the background, for example:
-
V]rmiregistry &R]
A remote object registry is a bootstrap naming service that[aq]s used
by RMI servers on the same host to bind remote objects to names.
Clients on local and remote hosts can then look up remote objects and
make remote method invocations.
The registry is typically used to locate the first remote object on
which an application needs to call methods.
That object then provides applicatio-specific support for finding other
objects.
The methods of the V]java.rmi.registry.LocateRegistryR] class are
used to get a registry operating on the local host or local host and
port.
The UR-based methods of the V]java.rmi.NamingR] class operate on
a registry and can be used to:
- [bu]
-
Bind the specified name to a remote object
- [bu]
-
Return an array of the names bound in the registry
- [bu]
-
Return a reference, a stub, for the remote object associated with the
specified name
- [bu]
-
Rebind the specified name to a new remote object
- [bu]
-
Destroy the binding for the specified name that[aq]s associated with a
remote object
OPTIONS
- V-JR]I]optionR]
-
Used with any Java option to pass the I]optionR] following the
V-JR] (no spaces between the V-JR] and the option) to the
Java interpreter.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
|