jdk/src/linux/doc/man/ja/orbd.1
author dsamersoff
Mon, 17 Aug 2015 12:43:45 +0300 (2015-08-17)
changeset 32363 6d92a74efac3
parent 31876 91b22707521a
permissions -rw-r--r--
Merge
'\" 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
.\"
.if n .pl 99999
.TH "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
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "̾��"
orbd \- CORBA�Ķ��Υ����С��ˤ����³���֥������Ȥ򥯥饤����Ȥ��鸡�����ƸƤӽФ���褦�ˤ��ޤ���
.SH "����"
.sp
.if n \{\
.RS 4
.\}
.nf
\fBorbd\fR [ \fIoptions\fR ]
.fi
.if n \{\
.RE
.\}
.PP
\fIoptions\fR
.RS 4
���ޥ�ɹԥ��ץ���󡣥��ץ����򻲾Ȥ��Ƥ���������
.RE
.SH "����"
.PP
\fBorbd\fR���ޥ�ɤ���Ѥ���ȡ�CORBA�Ķ��Υ����С��ˤ����³���֥������Ȥ򥯥饤����Ȥ���Ʃ��Ū�˸������ƸƤӽФ����Ȥ��Ǥ��ޤ���orbd�ġ���˴ޤޤ�륵���С����ޥ͡��������Ѥ���ȡ����饤����Ȥ�CORBA�Ķ��ǥ����С���ˤ����³���֥������Ȥ�Ʃ��Ū�˸������ƸƤӽФ����Ȥ��Ǥ��ޤ�����³�����С��ϡ��͡��ߥ󥰡������ӥ��˱�³���֥������Ȼ��Ȥ�ȯ�Ԥ���ݡ������С��Υݡ����ֹ�Τ�����ORBD�Υݡ����ֹ�򥪥֥������Ȼ��Ȥ˴ޤ�ޤ�����³���֥������Ȼ��ȤΥ��֥������Ȼ��Ȥ�ORBD�ݡ����ֹ��ޤ�뤳�Ȥˤϡ����Τ褦������������ޤ���
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
�͡��ߥ󥰡������ӥ��ˤ��륪�֥������Ȼ��Ȥ��������С��Υ饤�ա����������̵�ط��ˤʤ�ޤ������Ȥ��С����֥������Ȼ��Ȥϡ����ƥ��󥹥ȡ��뤵�줿�Ȥ��ϥ͡��ߥ󥰡������ӥ��Υ����С��ˤ�äƥ͡��ߥ󥰡������ӥ���ȯ�Ԥ���ޤ��������θ�ϡ������С��γ��Ϥޤ��ϥ���åȥ�����β���ˤ�����餺���ƤӽФ������饤����Ȥ�ORBD�����������֥������Ȼ��Ȥ��֤��ޤ���
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
���饤����Ȥϰ��٤Τߥ͡��ߥ󥰡������ӥ��Υ��֥������Ȼ��Ȥ��å����åפ���ɬ�פ�����ޤ��������θ�ϥ����С��Υ饤�ա���������ˤ���ѹ��Ȥ�̵�ط��ˤ��λ��Ȥ����Ѥ��뤳�Ȥ��Ǥ��ޤ���
.RE
.PP
ORBD�Υ����С����ޥ͡�����˥�����������ˤϡ�\fBservertool\fR����Ѥ��ƥ����С���ư����ɬ�פ�����ޤ���servertool�ϡ����ץꥱ������󡦥ץ�����ޤ�����³�����С�����Ͽ����Ͽ�������ư�������ߤ�Ԥ�����Υ��ޥ�ɹԥ��󥿥ե������Ǥ��������С����ޥ͡�����ξܺ٤ϡ������С����ޥ͡�����򻲾Ȥ��Ƥ���������
.PP
\fBorbd\fR��ư����ȡ��͡��ߥ󥰡������ӥ��ⵯư����ޤ����͡��ߥ󥰡������ӥ��ξܺ١��͡��ߥ󥰡������ӥ��ε�ư����ߤ򻲾Ȥ��Ƥ���������
.SH "���ץ����"
.PP
\-ORBInitialPort \fInameserverport\fR
.RS 4
ɬ�ܡ��͡��ࡦ�����С���ư����ݡ��Ȥ��ֹ����ꤷ�ޤ���\fBorbd\fR�ϡ���ư�����ȡ����Υݡ��Ⱦ���忮�ꥯ�����Ȥ�ꥹ�˥󥰤��ޤ���Oracle Solaris���եȥ������Ǥϡ�1024��꾮�����ݡ��Ȥǥץ������򳫻Ϥ����硢root�桼�����ˤʤ�ɬ�פ�����ޤ������Τ��ᡢ1024�ʾ�Υݡ����ֹ����Ѥ��뤳�Ȥ����ᤷ�ޤ���
.RE
.SS "ɬ�ܤǤʤ����ץ����"
.PP
\-port \fIport\fR
.RS 4
ORBD��ư����ݡ��Ȥ���ꤷ�ޤ������Υݡ��Ȥǡ���³���֥������Ȥ��Ф���ꥯ�����Ȥ�ORBD���������ޤ������Υݡ��ȤΥǥե�����ͤ�1049�Ǥ������Υݡ����ֹ�ϡ���³Interoperable Object References (IOR)�Υݡ��ȡ��ե�����ɤ��ɲä���ޤ���
.RE
.PP
\-defaultdb \fIdirectory\fR
.RS 4
ORBD��³��Ǽ�ǥ��쥯�ȥ�\fBorb\&.db\fR�����������١������ǥ��쥯�ȥ����ꤷ�ޤ������Υ��ץ���󤬻��ꤵ��Ƥ��ʤ���硢�ǥե�����ͤ�\fB\&./orb\&.db\fR�ˤʤ�ޤ���
.RE
.PP
\-serverPollingTime \fImilliseconds\fR
.RS 4
\fBservertool\fR����Ѥ�����Ͽ���줿��³�����С��������ư��Ƥ��뤳�Ȥ�ORBD����ǧ����ֳ֤���ꤷ�ޤ����ǥե�����ͤ�1000�ߥ��äǤ���\fBmilliseconds\fR�˻��ꤹ���ͤϡ�ͭ�������������ˤ���ɬ�פ�����ޤ���
.RE
.PP
\-serverStartupDelay milliseconds
.RS 4
\fBservertool\fR����Ѥ�����Ͽ���줿��³�����С���Ƶ�ư���Ƥ��顢����ž�����㳰����������ޤǤ�ORBD���Ե����֤���ꤷ�ޤ����ǥե�����ͤ�1000�ߥ��äǤ���\fBmilliseconds\fR�˻��ꤹ���ͤϡ�ͭ�������������ˤ���ɬ�פ�����ޤ���
.RE
.PP
\-J\fIoption\fR
.RS 4
Java Virtual Machine��\fBoption\fR���Ϥ��ޤ���\fBoption\fR�ˤϡ�Java���ץꥱ�������ư�ġ���Υ�ե���󥹡��ڡ����˵��ܤ���Ƥ��륪�ץ�����1�Ļ��ꤷ�ޤ������Ȥ��С�\fB\-J\-Xms48m\fR�Ȼ��ꤹ��ȡ��������ȥ��åס����꡼��48MB�����ꤵ��ޤ���java(1)�򻲾Ȥ��Ƥ���������
.RE
.SS "�͡��ߥ󥰡������ӥ��ε�ư�����"
.PP
�͡��ߥ󥰡������ӥ��ϡ�CORBA���֥������Ȥ˥͡��ߥ󥰤��ǽ�ˤ���CORBA�����ӥ��Ǥ����͡��ߥ󥰤�̾���򥪥֥������Ȼ��Ȥ˥Х���ɤ��뤳�Ȥˤ���ǽ�ˤʤ�ޤ����͡��ࡦ�Х���ǥ��󥰤�͡��ߥ󥰡������ӥ��˳�Ǽ����С����饤����Ȥ�̾������ꤷ����Ū�Υ��֥������Ȼ��Ȥ�����Ǥ���褦�ˤʤ�ޤ���
.PP
���饤����Ȥޤ��ϥ����С���¹Ԥ������ˡ�ORBD��ư���ޤ���ORBD�ˤϡ���³�͡��ߥ󥰡������ӥ�����Ӱ���͡��ߥ󥰡������ӥ����Ȥ߹��ޤ�Ƥ��ޤ��������Ϥɤ����COS�͡��ߥ󥰡������ӥ��μ����Ǥ���
.PP
��³�͡��ߥ󥰡������ӥ��ϡ��͡��ߥ󥰡�����ƥ����Ȥ��Ф��Ʊ�³�����󶡤��ޤ����Ĥޤꡢ���ξ���ϡ������ӥ�����ߤ䵯ư��ˤ�ݻ����졢�����ӥ��˾㳲��ȯ���������Ǥ�����Ǥ��ޤ���ORBD��Ƶ�ư����ȡ���³�͡��ߥ󥰡������ӥ��ϥ͡��ߥ󥰡�����ƥ����ȤΥ���դ������������٤ƤΥ��饤����Ȥȥ����С���̾���ΥХ���ǥ��󥰤����Τޤ�(��³Ū��)�ݻ������褦�ˤ��ޤ���
.PP
�����ߴ����Τ��ᡢ���꡼����JDK��Ʊ������Ƥ�������͡��ߥ󥰡������ӥ�\fBtnameserv\fR��������Υ�꡼����Java SE�ˤ�Ʊ������Ƥ��ޤ�������͡��ࡦ�����ӥ��Ǥϡ��͡��ࡦ�����ӥ��μ¹���ˤΤߥ͡��ߥ󥰡�����ƥ����Ȥ��ݻ�����ޤ��������ӥ������Ǥ����ȡ��͡��ߥ󥰡�����ƥ����ȡ�����դϼ����ޤ���
.PP
\fB\-ORBInitialPort\fR�����ϡ�\fBorbd\fR��ɬ�ܤΥ��ޥ�ɹ԰����ǡ��͡��ߥ󥰡������ӥ����¹Ԥ����ݡ��Ȥ��ֹ�����ꤹ�뤿��˻��Ѥ���ޤ������μ��Ǥϡ�Java IDL Object Request Broker Daemon�Ѥ˥ݡ���1050����ѤǤ��뤳�Ȥ�����Ȥ��Ƥ��ޤ���Oracle Solaris���եȥ���������Ѥ����硢1024��꾮�����ݡ��Ȥǥץ������򳫻Ϥ���ˤϡ�root�桼�����ˤʤ�ɬ�פ�����ޤ������Τ��ᡢ1024�ʾ�Υݡ����ֹ����Ѥ��뤳�Ȥ����ᤷ�ޤ���ɬ�פǤ�����̤Υݡ��Ȥ��ѹ����Ƥ���������
.PP
Solaris��Linux�ޤ���OS X���ޥ�ɡ������뤫��\fBorbd\fR�򳫻Ϥ���ˤϡ����Τ褦�����Ϥ��ޤ���
.sp
.if n \{\
.RS 4
.\}
.nf
\fBorbd \-ORBInitialPort 1050&\fR
 
.fi
.if n \{\
.RE
.\}
.PP
Windows��MS\-DOS�����ƥࡦ�ץ���ץȤǤϡ����Τ褦�����Ϥ��ޤ���
.sp
.if n \{\
.RS 4
.\}
.nf
\fBstart orbd \-ORBInitialPort 1050\fR
 
.fi
.if n \{\
.RE
.\}
.PP
�����ORBD���¹Ԥ��졢�����С��ȥ��饤����ȤΥ��ץꥱ��������¹ԤǤ���褦�ˤʤ�ޤ������饤����Ȥȥ����С��Υ��ץꥱ�������ϡ��¹Ի��ˡ��͡��ߥ󥰡������ӥ����¹Ԥ���Ƥ���ݡ��Ȥ��ֹ�(ɬ�פʾ��Ϥ���˥ޥ���̾)��ǧ�����Ƥ���ɬ�פ�����ޤ��������¸�����1�Ĥ���ˡ�ϡ����Υ����ɤ򥢥ץꥱ���������ɲä��뤳�ȤǤ���
.sp
.if n \{\
.RS 4
.\}
.nf
\fBProperties props = new Properties();\fR
\fBprops\&.put("org\&.omg\&.CORBA\&.ORBInitialPort", "1050");\fR
\fBprops\&.put("org\&.omg\&.CORBA\&.ORBInitialHost", "MyHost");\fR
\fBORB orb = ORB\&.init(args, props);\fR
 
.fi
.if n \{\
.RE
.\}
.PP
������Ǥϡ��͡��ߥ󥰡������ӥ��ϡ��ۥ���\fBMyHost\fR�Υݡ���1050��Ǽ¹Ԥ���ޤ����̤���ˡ�Ȥ��ơ����ޥ�ɹԤ��饵���С��ޤ��ϥ��饤����ȤΥ��ץꥱ��������¹Ԥ���Ȥ��ˡ��ݡ����ֹ�ޤ��ϥޥ���̾���뤤�Ϥ���ξ������ꤹ����ˡ�⤢��ޤ������Ȥ��С����Υ��ޥ�ɹԥ��ץ�������Ѥ��ơ�\fBHelloApplication\fR��ư�Ǥ��ޤ���
.sp
.if n \{\
.RS 4
.\}
.nf
\fBjava HelloApplication \-ORBInitialPort 1050 \-ORBInitialHost MyHost\fR
 
.fi
.if n \{\
.RE
.\}
.PP
�͡��ߥ󥰡������ӥ�����ߤ���ˤϡ�Ŭ�ڤʥ��ڥ졼�ƥ��󥰡������ƥࡦ���ޥ�ɤ���Ѥ��ޤ������Ȥ��С�Oracle Solaris���\fBpkill\fR
\fBorbd\fR��¹Ԥ����ꡢ\fBorbd\fR��ư�����DOS������ɥ���\fB[Ctrl]+[C]\fR�����򲡤��ޤ�������͡��ߥ󥰡������ӥ��ξ��ϡ������ӥ�����λ�����ȡ��͡��ߥ󥰡������ӥ�����Ͽ���줿̾�����õ����礬����ޤ���Java IDL�͡��ࡦ�����ӥ��ϡ�����Ū����ߤ����ޤǼ¹Ԥ���ޤ���
.PP
ORBD����°����͡��ߥ󥰡������ӥ��ξܺ٤ϡ�
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.html�Ρ�Naming Service�פ򻲾Ȥ��Ƥ�������
.SH "�����С����ޥ͡�����"
.PP
ORBD�Υ����С����ޥ͡�����˥����������ơ���³�����С���¹Ԥ���ˤϡ�\fBservertool\fR����Ѥ��ƥ����С���ư����ɬ�פ�����ޤ���servertool�ϡ����ץꥱ������󡦥ץ�����ޤ�����³�����С�����Ͽ����Ͽ�������ư�������ߤ�Ԥ�����Υ��ޥ�ɹԥ��󥿥ե������Ǥ���\fBservertool\fR����Ѥ��ƥ����С���ư������ϡ�\fBorbd\fR���¹Ԥ���Ƥ������Ʊ���ݡ��Ȥȥۥ��Ȥǵ�ư����ɬ�פ�����ޤ��������С���ۤʤ�ݡ��ȤǼ¹Ԥ���ȡ��������롦����ƥ������Ѥ˥ǡ����١�������¸����Ƥ������̵���ˤʤꡢ�����ӥ���������ư��ޤ���
.PP
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlExample\&.html��
��Java IDL: The "Hello World" Example�פ򻲾Ȥ��Ƥ�������
.PP
������Ǥϡ����塼�ȥꥢ��μ��˽��ä�\fBidlj\fR����ѥ����\fBjavac\fR����ѥ����¹Ԥ��ޤ���ORBD�Υ����С����ޥ͡������¹Ԥ���ˤϡ����μ��˽��äƥ��ץꥱ��������¹Ԥ��ޤ���
.PP
\fBorbd\fR��ư���ޤ���
.PP
Solaris��Linux�ޤ���OS X���ޥ�ɡ�������ǡ����Τ褦�����Ϥ��ޤ�:
\fBorbd \-ORBInitialPort 1050\fR
.PP
MS\-DOS�����ƥࡦ�ץ���ץ�(Windows)�Ǽ��Τ褦�����Ϥ��ޤ�:
\fBs\fR\fBtart orbd \-ORBInitialPort 105\fR\fB0\fR
.PP
�ݡ���1050�ϥ͡��ࡦ�����С���¹Ԥ���ݡ��ȤǤ���\fB\-ORBInitialPort\fR���ץ�����ɬ�ܥ��ޥ�ɹ԰����Ǥ���Oracle Solaris���եȥ���������Ѥ����硢1024��꾮�����ݡ��Ȥǥץ������򳫻Ϥ���ˤϡ�root�桼�����ˤʤ�ɬ�פ�����ޤ������Τ��ᡢ1024�ʾ�Υݡ����ֹ����Ѥ��뤳�Ȥ����ᤷ�ޤ���
.PP
\fBservertool\fR��ư���ޤ�:
\fBservertool \-ORBInitialPort 1050\fR��
.PP
����μ��ȥ͡��ࡦ�����С�(\fBorbd\fR)�Υݡ��Ȥ�Ʊ���Ǥ��뤳�Ȥ��ǧ���ޤ������Ȥ���\fB\-ORBInitialPort 1050\&.\fR�Τ褦�ˤʤ�ޤ���\fBservertool\fR�ϡ��͡��ࡦ�����С���Ʊ���ݡ��Ⱦ�ǵ�ư����ɬ�פ�����ޤ���
.PP
\fBservertool\fR���ޥ�ɹԥ��󥿥ե������ǡ�\fBservertool\fR�ץ���ץȤ���\fBHello\fR�����С���ư���ޤ���
.sp
.if n \{\
.RS 4
.\}
.nf
\fBservertool  > register \-server HelloServer \-classpath \&. \-applicationName\fR
\fB                HelloServerApName\fR
 
.fi
.if n \{\
.RE
.\}
.PP
\fBservertool\fR�ˤ�äƥ����С�����Ͽ����ơ�\fBHelloServerApName\fR�Ȥ���̾���������С��˳�����Ƥ�졢��Ͽ����Ƥ��뤹�٤ƤΥ����С������ȤȤ�˥����С�ID��ɽ������ޤ���¾��ü��������ɥ��ޤ��ϥץ���ץȤ��饯�饤����ȡ����ץꥱ��������¹Ԥ��ޤ���
.sp
.if n \{\
.RS 4
.\}
.nf
\fBjava HelloClient \-ORBInitialPort 1050 \-ORBInitialHost localhost\fR
 
.fi
.if n \{\
.RE
.\}
.PP
�������\fB\-ORBInitialHost localhost\fR�Ͼ�ά���뤳�Ȥ��Ǥ��ޤ����͡��ࡦ�����С���\fBHello\fR���饤����ȤȤ���Ʊ��ۥ��Ⱦ��ư��Ƥ��뤫��Ǥ����͡��ࡦ�����С����̤Υۥ��ȤǼ¹Ԥ���Ƥ�����ϡ�\-\fBORBInitialHost nameserverhost\fR���ץ�������Ѥ���IDL�͡��ࡦ�����С����¹Ԥ���Ƥ���ۥ��Ȥ���ꤷ�ޤ������μ��ǹԤ�줿�Ȥ���˥͡��ࡦ�����С�(\fBorbd\fR)�ݡ��Ȥ���ꤷ�ޤ�(��:
\fB\-ORBInitialPort 1050\fR)��ORBD�Υ����С����ޥ͡����������λ�����顢�͡��ࡦ�����С�(\fBorbd\fR)��\fBservertool\fR����ߤ��뤫��λ���Ƥ���������MS\-DOS�ץ���ץȤ�\fBorbd\fR�򥷥�åȥ����󤹤�ˤϡ������С���¹Ԥ��Ƥ��륦����ɥ������򤷤�\fB[Ctrl]+[C]\fR�����򲡤��ޤ���
.PP
Oracle Solaris����\fBorbd\fR�򥷥�åȥ����󤹤�ˤϡ��ץ������򸡺����ơ�\fBkill\fR���ޥ�ɤǽ�λ���ޤ��������С�������Ū����ߤ���ޤǤϡ��ƽФ��Ե����֤�³���ޤ���\fBservertool\fR�򥷥�åȥ����󤹤�ˤϡ�\fBquit\fR�����Ϥ��ƥ����ܡ��ɤ�\fB[Enter]\fR�����򲡤��ޤ���
.SH "��Ϣ����"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
servertool(1)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.html��
��Naming Service��
.RE
.br
'pl 8.5i
'bp