home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / JBuilder8.iso / Solaris / resource / jre / man / sman1 / rmiregistry.1 < prev    next >
Encoding:
Text File  |  2002-09-06  |  5.2 KB  |  62 lines

  1. <!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
  2. <!--ArborText, Inc., 1988-1999, v.4002-->
  3. <!ENTITY % javaents SYSTEM "javaman.ent">
  4. %javaents;
  5. ]>
  6. <?Pub UDT _bookmark _target>
  7. <refentry id="rmiregistry-1">
  8. <!--@(#)rmiregistry.1 1.13 01/03/14 SMI;-->
  9. <refmeta><refentrytitle>rmiregistry</refentrytitle><manvolnum>1</manvolnum>
  10. <refmiscinfo class="date">23 Apr 2001</refmiscinfo>
  11. <refmiscinfo class="sectdesc">&man1;</refmiscinfo>
  12. <refmiscinfo class="software">&java-release;</refmiscinfo>
  13. <refmiscinfo class="arch">generic</refmiscinfo>
  14. <refmiscinfo class="copyright"> Copyright 2001 Sun Microsystems, Inc. All rights reserved.  Copyright 2001 Sun Microsystems, Inc. Tous droits réservés.</refmiscinfo>
  15. </refmeta>
  16. <refnamediv><refname>rmiregistry</refname><refpurpose>Java remote object registry</refpurpose></refnamediv>
  17. <refsynopsisdiv><title>&synp-tt;</title>
  18. <cmdsynopsis><command>rmiregistry</command><arg choice="opt"><replaceable>port</replaceable></arg><arg choice="opt"><option>J</option><replaceable><?Pub Caret1>option</replaceable></arg>
  19. </cmdsynopsis></refsynopsisdiv>
  20. <refsect1><title>&desc-tt;</title>
  21. <indexterm id="rmiregistry-1-indx-1"><primary sortas="Java remote object registry">Java remote object registry — rmiregistry</primary></indexterm><indexterm id="rmiregistry-1-indx-2"><primary sortas="rmiregistry">rmiregistry — Java remote object registry</primary></indexterm><para>The Java™ <command>rmiregistry</command> command creates and starts a remote object registry on the specified
  22. port on the current host. If port number is omitted, the registry is started on port 1099. The <command>rmiregistry</command> command produces no output and is typically run in the background. For example:<informalexample><para><screen>example% <userinput>rmiregistry &</userinput></screen></para>
  23. </informalexample></para>
  24. <para>A remote object registry is a bootstrap naming service that is used by <acronym>RMI</acronym> servers on a host to bind remote objects to names. Clients can then look up remote objects and make remote method invocations.</para>
  25. <para>The registry is typically used to locate the first remote object on which an application needs to invoke methods. That object in turn provides application-specific support for finding other objects.</para>
  26. <para>The methods of the <literal>java.rmi.registry.LocateRegistry</literal> class are used to get a registry operating on a particular host or host and port.</para>
  27. <para>The <acronym>URL</acronym>-based methods of the  <literal>java.rmi.Naming</literal> class operate on a registry 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 <acronym>URL</acronym>s bound in the registry.</para>
  28. </refsect1>
  29. <refsect1><title>&opts-tt;</title>
  30. <para>The following option is supported:</para>
  31. <variablelist termlength="narrow"><varlistentry><term remap="15"><option>J</option><replaceable>option</replaceable> </term><listitem><para>Used in conjunction with any java option, this option passes <replaceable>option</replaceable> (no spaces between <option>J</option> and <replaceable>option</replaceable>) on to the java interpreter.</para>
  32. </listitem></varlistentry>
  33. </variablelist></refsect1>
  34. <refsect1><title>&attr-tt;</title>
  35. <para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink> for a description of the following attributes:</para>
  36. <informaltable frame="all" orient="port">
  37. <tgroup cols="2" colsep="1" rowsep="1"><colspec colnum="1" colname="col1" colwidth="1*" colsep="1" align="left"><colspec colnum="2" colname="col2" colwidth="1*" align="left">
  38. <thead>
  39. <row><entry colname="col1" align="center" valign="top">ATTRIBUTE TYPE</entry><entry colname="col2" align="center" valign="top">ATTRIBUTE VALUE</entry></row>
  40. </thead>
  41. <tbody>
  42. <row><entry>Availability</entry><entry>SUNWj3rt, SUNWj3dev</entry></row>
  43. </tbody>
  44. </tgroup>
  45. </informaltable>
  46. </refsect1>
  47. <refsect1><title>&also-tt;</title>
  48. <para><citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry> </para>
  49. <para>See (or search <literal>java.sun.com</literal>) for the following:</para>
  50. <variablelist termlength="wholeline"><varlistentry><term remap="5"><literal>java.rmi.Naming</literal> <literal>@</literal> </term><listitem><para><ulink url="http://java.sun.com/j2se/1.4/docs/api/java/rmi/Naming.html"></ulink>http://java.sun.com/j2se/1.4/docs/api/java/rmi/Naming.html</para>
  51. </listitem></varlistentry>
  52. <varlistentry><term remap="5"><literal>java.rmi.registry.LocateRegistry</literal> <literal>@</literal> </term><listitem><para><ulink url="http://java.sun.com/j2se/1.4/docs/api/java/rmi/registry/LocateRegistry.html"></ulink>http://java.sun.com/j2se/1.4/docs/api/java/rmi/registry/LocateRegistry.html</para>
  53. </listitem></varlistentry>
  54. </variablelist></refsect1>
  55. <!--+ 07/27/00 08:36:00
  56.     | tagMorph:  $Id: tagMorph-engine 1.54 1998/01/19 05:44:48 $
  57.     | tagMorph library:  $Id: libtagMorph.a 1.50 1998/01/19 22:02:51 $
  58.     | sunman-to-solbook 1.17
  59.     +-->
  60. </refentry>
  61. <?Pub *0000005349 0>
  62.