orbd.1 revision 12442:aa8e52dfeee9
t
Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.

This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).

You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

Title: orbd
Language: Japanese
Date: 2013��11��21��
SectDesc: Java IDL������RMI-IIOP������
Software: JDK 8
Arch: ����
Part Number: E58103-01
Doc ID: JSSON

"orbd" "1" "2013��11��21��" "JDK 8" "Java IDL������RMI-IIOP������"
-----------------------------------------------------------------
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
"����"
orbd - CORBA��������������������������������������������������������������������������������������
"����"

.\}

orbd [ options ]
.\}

options

����������������������������������������������������

"����"

orbd����������������������CORBA����������������������������������������������������������������������������������������������orbd����������������������������������������������������������������CORBA��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ORBD����������������������������������������������������������������������������������ORBD������������������������������������������������������

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ORBD������������������������������������

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

ORBD������������������������������������������servertool��������������������������������������������servertool������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

orbd����������������������������������������������������������������������������������������������������������������������������������

"����������"

-ORBInitialPort nameserverport

����������������������������������������������������������orbd������������������������������������������������������������������Oracle Solaris������������������1024������������������������������������������root����������������������������������������1024����������������������������������������������

"��������������������"

-port port

ORBD��������������������������������������������������������������������������������ORBD������������������������������������������1049����������������������������Interoperable Object References (IOR)������������������������������������

-defaultdb directory

ORBD��������������������orb.db��������������������������������������������������������������������������������������������������./orb.db������������

-serverPollingTime milliseconds

servertool����������������������������������������������������������ORBD������������������������������������������1000������������milliseconds����������������������������������������������������

-serverStartupDelay milliseconds

servertool��������������������������������������������������������������������������������ORBD��������������������������������������1000������������milliseconds����������������������������������������������������

-Joption

Java Virtual Machine��option������������option������Java����������������������������������������������������������������������������1������������������������-J-Xms48m����������������������������������������48MB����������������java(1)��������������������

"��������������������������������"

������������������������CORBA������������������������������������CORBA��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

������������������������������������������ORBD��������������ORBD��������������������������������������������������������������������������������������������������COS��������������������������������

��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ORBD��������������������������������������������������������������������������������������������������������������������������������������������������(��������)������������������������

������������������������������JDK����������������������������������������tnameserv��������������������Java SE��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

-ORBInitialPort��������orbd������������������������������������������������������������������������������������������������������������������Java IDL Object Request Broker Daemon����������1050������������������������������������Oracle Solaris����������������������������1024������������������������������������������root����������������������������������������1024����������������������������������������������������������������������������������������

Solaris��Linux������OS X��������������������orbd��������������������������������������

.\}

orbd -ORBInitialPort 1050&
 
.\}

Windows��MS-DOS������������������������������������������������

.\}

start orbd -ORBInitialPort 1050
 
.\}

������ORBD��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������(��������������������������)��������������������������������������������1������������������������������������������������������������

.\}

Properties props = new Properties();
props.put("org.omg.CORBA.ORBInitialPort", "1050");
props.put("org.omg.CORBA.ORBInitialHost", "MyHost");
ORB orb = ORB.init(args, props);
 
.\}

������������������������������������������MyHost��������1050������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������HelloApplication����������������

.\}

java HelloApplication -ORBInitialPort 1050 -ORBInitialHost MyHost
 
.\}

������������������������������������������������������������������������������������������������������Oracle Solaris����pkill orbd��������������orbd����������DOS������������[Ctrl]+[C]������������������������������������������������������������������������������������������������������������������������������������������Java IDL��������������������������������������������������������

ORBD���������������������������������������� http://docs.oracle.com/javase/8/docs/technotes/guides/idl/jidlNaming.html����Naming Service��������������������

"��������������������"

ORBD������������������������������������������������������������������servertool��������������������������������������������servertool��������������������������������������������������������������������������������������������������������������������������servertool������������������������������������orbd������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

http://docs.oracle.com/javase/8/docs/technotes/guides/idl/jidlExample.html�� ��Java IDL: The "Hello World" Example��������������������

����������������������������������������idlj������������javac������������������������ORBD������������������������������������������������������������������������������������

orbd��������������

Solaris��Linux������OS X����������������������������������������: orbd -ORBInitialPort 1050

MS-DOS��������������������(Windows)����������������������: start orbd -ORBInitialPort 1050

������1050����������������������������������������-ORBInitialPort������������������������������������Oracle Solaris����������������������������1024������������������������������������������root����������������������������������������1024����������������������������������������������

servertool������������: servertool -ORBInitialPort 1050��

����������������������������(orbd)����������������������������������������������-ORBInitialPort 1050.������������������servertool������������������������������������������������������������

servertool����������������������������servertool��������������Hello����������������������

.\}

servertool > register -server HelloServer -classpath . -applicationName
 HelloServerApName
 
.\}

servertool������������������������������HelloServerApName��������������������������������������������������������������������������������������ID��������������������������������������������������������������������������������������������������

.\}

java HelloClient -ORBInitialPort 1050 -ORBInitialHost localhost
 
.\}

��������-ORBInitialHost localhost��������������������������������������������Hello����������������������������������������������������������������������������������������������������������-ORBInitialHost nameserverhost��������������������IDL����������������������������������������������������������������������������������������������(orbd)������������������(��: -ORBInitialPort 1050)��ORBD����������������������������������������������������������(orbd)��servertool������������������������������MS-DOS������������orbd��������������������������������������������������������������������[Ctrl]+[C]����������������

Oracle Solaris����orbd����������������������������������������������kill����������������������������������������������������������������������������������servertool��������������������������quit����������������������[Enter]����������������

"��������"

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} servertool(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} http://docs.oracle.com/javase/8/docs/technotes/guides/idl/jidlNaming.html�� ��Naming Service��

'pl 8.5i 'bp