1rmiregistry(1)              General Commands Manual             rmiregistry(1)
2
3
4

NAME

6       rmiregistry - The Java Remote Object Registry
7
8       The  rmiregistry  command starts a remote object registry on the speci‐
9       fied port on the current host.
10

SYNOPSIS

12       rmiregistry [port]
13
14

DESCRIPTION

16       The rmiregistry command creates and starts a remote object registry  on
17       the  specified  port  on the current host. If port is omitted, the reg‐
18       istry is started on port 1099. The rmiregistry command produces no out‐
19       put and is typically run in the background. For example:
20
21       rmiregistry &
22
23       A  remote object registry is a bootstrap naming service that is used by
24       RMI servers on the same host to bind remote objects to  names.  Clients
25       on  local  and  remote  hosts  can then look up remote objects and make
26       remote method invocations.
27
28       The registry is typically used to locate the  first  remote  object  on
29       which  an application needs to invoke methods. That object in turn will
30       provide application-specific support for finding other objects.
31
32       The methods of the java.rmi.registry.LocateRegistry class are  used  to
33       get a registry operating on the local host or local host and port.
34
35       The  URL-based  methods  of the java.rmi.Naming class operate on a reg‐
36       istry and can be used to look up a remote object on any  host,  and  on
37       the  local host: bind a simple (string) name to a remote object, rebind
38       a new name to a remote object (overriding the old  binding),  unbind  a
39       remote object, and list the URLs bound in the registry.
40

OPTIONS

42       -J Used  in conjunction with any java option, it passes the option fol‐
43          lowing the -J (no spaces between the -J and the option)  on  to  the
44          java interpreter.
45

SEE ALSO

47       java, java.rmi.registry.LocateRegistry @
48       http://java.sun.com/javase/6/docs/api/java/rmi/registry/locatereg
49       istry.html and java.rmi.Naming @
50       http://java.sun.com/javase/6/docs/api/java/rmi/naming.html
51
52                                  05 Aug 2006                   rmiregistry(1)
Impressum