rmiregistry.1 revision 0
1574N/A.'" t
2362N/A."
1574N/A." Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
1574N/A." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1574N/A."
1574N/A." This code is free software; you can redistribute it and/or modify it
1574N/A." under the terms of the GNU General Public License version 2 only, as
1574N/A." published by the Free Software Foundation.
1574N/A."
1574N/A." This code is distributed in the hope that it will be useful, but WITHOUT
1574N/A." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1574N/A." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1574N/A." version 2 for more details (a copy is included in the LICENSE file that
1574N/A." accompanied this code).
1574N/A."
1574N/A." You should have received a copy of the GNU General Public License version
1574N/A." 2 along with this work; if not, write to the Free Software Foundation,
1574N/A." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2362N/A."
2362N/A." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
2362N/A." CA 95054 USA or visit www.sun.com if you need additional information or
1574N/A." have any questions.
1574N/A."
1574N/A." `
1574N/A.TH rmiregistry 1 "05 Aug 2006"
1582N/A." Generated by html2roff
1574N/A
1574N/A.LP
1574N/A.SH NAME
1574N/Armiregistry \- The Java Remote Object Registry
1574N/A.LP
1574N/A
1574N/A.LP
1574N/A.LP
1574N/AThe \f3rmiregistry\fP command starts a remote object registry on the specified port on the current host.
1574N/A.LP
1574N/A.SH "SYNOPSIS"
1574N/A.LP
1574N/A
1574N/A.LP
1574N/A.nf
1574N/A\f3
1574N/A.fl
1574N/Armiregistry [\fP\f4port\fP\f3]
1574N/A.fl
1574N/A\fP
1574N/A.fi
1574N/A
1574N/A.LP
1574N/A.SH "DESCRIPTION"
1574N/A.LP
1574N/A
1574N/A.LP
1574N/A.LP
1574N/AThe \f3rmiregistry\fP command creates and starts a remote object registry on the specified \f2port\fP on the current host. If \f2port\fP is omitted, the registry is started on port 1099. The \f3rmiregistry\fP command produces no output and is typically run in the background. For example:
1574N/A.LP
1574N/A.LP
1574N/A\f2rmiregistry &\fP
1574N/A.LP
1574N/A.LP
1574N/AA remote object registry is a bootstrap naming service that is 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.
1574N/A.LP
1574N/A.LP
1574N/AThe registry is typically used to locate the first remote object on which an application needs to invoke methods. That object in turn will provide application\-specific support for finding other objects.
1574N/A.LP
1574N/A.LP
1574N/AThe methods of the \f2java.rmi.registry.LocateRegistry\fP class are used to get a registry operating on the local host or local host and port.
1574N/A.LP
1574N/A.LP
1574N/AThe URL\-based methods of the \f2java.rmi.Naming\fP class operate on a registry and can be used to look up a remote object on any host, and on the local host: 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.
1574N/A.LP
1574N/A.SH "OPTIONS"
1574N/A.LP
1574N/A
1574N/A.LP
1574N/A.TP 3
1574N/A\-J
1574N/AUsed in conjunction with any \f2java\fP option, it passes the option following the \f2\-J\fP (no spaces between the \-J and the option) on to the \f2java\fP interpreter.
1574N/A.LP
1574N/A.SH "SEE ALSO"
1574N/A.LP
1574N/A
1574N/A.LP
1574N/A.LP
1574N/Ajava,
1574N/A.na
1574N/A\f2java.rmi.registry.LocateRegistry\fP @
1574N/A.fi
1574N/Ahttp://java.sun.com/javase/6/docs/api/java/rmi/registry/locateregistry.html and
1574N/A.na
1574N/A\f2java.rmi.Naming\fP @
1574N/A.fi
1574N/Ahttp://java.sun.com/javase/6/docs/api/java/rmi/naming.html
1574N/A.LP
1574N/A
1574N/A.LP
1574N/A
1574N/A