Manual Pages for UNIX Darwin command on man rmiregistry
MyWebUniversity

Manual Pages for UNIX Darwin command on man rmiregistry

rmiregistry(1) rmiregistry(1)

NAME

rmiregistry - Java remote object registry

SYNOPSIS

rrmmiirreeggiissttrryy [ port ]

DESCRIPTION

The rrmmiirreeggiissttrryy command creates and starts a remote object registry on the specified port on the current host. If port number is omitted, the registry is started on port 1099. The rrmmiirreeggiissttrryy command produces no output and is typically run in the background. For example:

eexxaammppllee%% rrmmiirreeggiissttrryy &&

A remote object registry is a bootstrap naming service that is used by RMI servers on a host to bind remote objects to names. Clients 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 invoke methods. That object in turn pro-

vides application-specific support for finding other objects.

The methods of the jjaavvaa..rrmmii..rreeggiissttrryy..LLooccaatteeRReeggiissttrryy class are used to get a registry operating on a particular host or host and port.

The URL-based methods of the jjaavvaa..rrmmii..NNaammiinngg class operate on a reg-

istry and can be used to look up a remote object, bind a simple (string) name to a remote object, rebind a new name to a remote object (overriding the old binding), unbind a remote object, and list the URLs bound in the registry. OOPPTTIIOONNSS The following option is supported:

-JJoption Used in conjunction with any java option, this option

passes option (no spaces between -JJ and option) on to

the java interpreter.

SEE ALSO

See (or search jjaavvaa..ssuunn..ccoomm) for the following: jjaavvaa..rrmmii..NNaammiinngg @@ http://java.sun.com/j2se/1.5/docs/api/java/rmi/Naming.html jjaavvaa..rrmmii..rreeggiissttrryy..LLooccaatteeRReeggiissttrryy @@

http://java.sun.com/j2se/1.5/docs/api/java/rmi/registry/LocateReg-

istry.html

23 Apr 2001 rmiregistry(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™