8059843: Make AST serializable
Reviewed-by: hannesw, lagergren
'\" t.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved..\" Title: orbd.\" Language: English.\" Date: 2013ǯ11��21��.\" SectDesc: Java IDL�����RMI-IIOP�ġ���.\" Software: JDK 8.\" Arch: ����.\".\" 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..\".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 "NAME"orbd \- CORBA�Ķ��Υ����С��ˤ����³���֥������Ȥ饤����Ȥ��鸡�����ƸƤӽФ���褦�ˤ��ޤ���.SH "����".sp.if n \{\.RS 4.\}.nf\fIorbd\fR [ \fIoptions\fR ].fi.if n \{\.RE.\}.PP\fIoptions\fR.RS 4���ޥ�ɥ饤���ץ�����ץ����Ȥ��Ƥ���������.RE.SH "����".PP\fIorbd\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.PPORBD�Υ����С����ޥ͡�����˥�����������ˤϡ�\fIservertool\fR����Ѥ��ƥ����С���ư����ɬ�פ�����ޤ���servertool�ϡ����ץꥱ������ץ�����ޤ�����³�����С�����Ͽ����Ͽ�������ư�������ߤ�Ԥ�����Υ��ޥ�ɥ饤���ե������Ǥ��������С����ޥ͡�����ξܺ٤ϡ������С����ޥ͡�����Ȥ��Ƥ���������.PP\fIorbd\fR��ư����ȡ��͡��ߥ������ӥ��ⵯư����ޤ����͡��ߥ������ӥ��ξܺ١��͡��ߥ������ӥ��ε�ư����ߤȤ��Ƥ���������.SH "���ץ����".PP\-ORBInitialPort \fInameserverport\fR.RS 4ɬ�ܡ��͡��ࡦ�����С���ư����ݡ��Ȥ��ֹ����ꤷ�ޤ���\fIorbd\fR�ϡ���ư�����ȡ����Υݡ��Ⱦ���忮�ꥯ�����Ȥ�ꥹ�˥��ޤ���Oracle Solaris���եȥ������Ǥϡ�1024��꾮�����ݡ��Ȥǥץ������Ϥ����硢root�桼�����ˤʤ�ɬ�פ�����ޤ������Τ��ᡢ1024�ʾ�Υݡ����ֹ����Ѥ��뤳�Ȥ����ᤷ�ޤ���.RE.SS "ɬ�ܤǤʤ����ץ����".PP\-port \fIport\fR.RS 4ORBD��ư����ݡ��Ȥ���ꤷ�ޤ������Υݡ��Ȥǡ���³���֥������Ȥ��Ф���ꥯ�����Ȥ�ORBD���������ޤ������Υݡ��ȤΥǥե�����ͤ�1049�Ǥ������Υݡ����ֹ�ϡ���³Interoperable Object References (IOR)�Υݡ��ȡ��ե�����ɤ��ɲä���ޤ���.RE.PP\-defaultdb \fIdirectory\fR.RS 4ORBD��³��Ǽ�ǥ��쥯�ȥ�\fIorb\&.db\fR�����������١������ǥ��쥯�ȥ����ꤷ�ޤ������Υ��ץ�����ꤵ��Ƥ��ʤ���硢�ǥե�����ͤ�\fI\&./orb\&.db\fR�ˤʤ�ޤ���.RE.PP\-serverPollingTime \fImilliseconds\fR.RS 4\fIservertool\fR����Ѥ�����Ͽ���줿��³�����С��Υإ륹���֤�ORBD�������å�����ֳ֤���ꤷ�ޤ����ǥե�����ͤ�1000�ߥ��äǤ���\fImilliseconds\fR�˻��ꤹ���ͤϡ�ͭ�������������ˤ���ɬ�פ�����ޤ���.RE.PP\-serverStartupDelay milliseconds.RS 4\fIservertool\fR����Ѥ�����Ͽ���줿��³�����С���Ƶ�ư���Ƥ��顢����ž�����㳰����������ޤǤ�ORBD���Ե����֤���ꤷ�ޤ����ǥե�����ͤ�1000�ߥ��äǤ���\fImilliseconds\fR�˻��ꤹ���ͤϡ�ͭ�������������ˤ���ɬ�פ�����ޤ���.RE.PP\-J\fIoption\fR.RS 4Java���ۥޥ����\fIoption\fR���Ϥ��ޤ���\fIoption\fR�ˤϡ�Java���ץꥱ�������ư�ġ���Υ�ե�����ڡ����˵��ܤ���Ƥ��륪�ץ�����1�Ļ��ꤷ�ޤ������Ȥ��С�\fI\-J\-Xms48m\fR�Ȼ��ꤹ��ȡ��������ȥ��åס������48MB�����ꤵ��ޤ���java(1)�Ȥ��Ƥ���������.RE.SS "�͡��ߥ������ӥ��ε�ư�����".PP�͡��ߥ������ӥ��ϡ�CORBA���֥������Ȥ˥͡��ߥ��ǽ�ˤ���CORBA�����ӥ��Ǥ����͡��ߥ�̾���֥������Ȼ��Ȥ˥Х���ɤ��뤳�Ȥˤ���ǽ�ˤʤ�ޤ����͡��ࡦ�Х���ǥ���͡��ߥ������ӥ��˳�Ǽ����С����饤����Ȥ�̾������ꤷ����Ū�Υ��֥������Ȼ��Ȥ�����Ǥ���褦�ˤʤ�ޤ���.PP���饤����Ȥޤ��ϥ����С���¹Ԥ������ˡ�ORBD��ư���ޤ���ORBD�ˤϡ���³�͡��ߥ������ӥ�����Ӱ���͡��ߥ������ӥ����Ȥ߹��ޤ�Ƥ��ޤ��������Ϥɤ����COS�͡��ߥ������ӥ��μ����Ǥ���.PP��³�͡��ߥ������ӥ��ϡ��͡��ߥ�����ƥ����Ȥ��Ф��Ʊ�³�������ޤ����Ĥޤꡢ���ξ���ϡ������ӥ�����ߤ䵯ư��ˤ�ݻ����졢�����ӥ��˾㳲��ȯ���������Ǥ�����Ǥ��ޤ���ORBD��Ƶ�ư����ȡ���³�͡��ߥ������ӥ��ϥ͡��ߥ�����ƥ����ȤΥ���դ������������٤ƤΥ��饤����Ȥȥ����С���̾���ΥХ���ǥ������Τޤ�(��³Ū��)�ݻ������褦�ˤ��ޤ���.PP���̸ߴ����Τ��ᡢ�������JDK��Ʊ������Ƥ�������͡��ߥ������ӥ�\fItnameserv\fR��������Υ�����Java SE�ˤ�Ʊ������Ƥ��ޤ�������͡��ࡦ�����ӥ��Ǥϡ��͡��ࡦ�����ӥ��μ¹���ˤΤߥ͡��ߥ�����ƥ����Ȥ��ݻ�����ޤ��������ӥ������Ǥ����ȡ��͡��ߥ�����ƥ����ȡ�����դϼ����ޤ���.PP\fI\-ORBInitialPort\fR�����ϡ�\fIorbd\fR��ɬ�ܤΥ��ޥ�ɥ饤������ǡ��͡��ߥ������ӥ����¹Ԥ����ݡ��Ȥ��ֹ�����ꤹ�뤿��˻��Ѥ���ޤ������μ��Ǥϡ�Java IDL Object Request Broker Daemon�Ѥ˥ݡ���1050����ѤǤ��뤳�Ȥ�����Ȥ��Ƥ��ޤ���Oracle Solaris���եȥ���������Ѥ����硢1024��꾮�����ݡ��Ȥǥץ������Ϥ���ˤϡ�root�桼�����ˤʤ�ɬ�פ�����ޤ������Τ��ᡢ1024�ʾ�Υݡ����ֹ����Ѥ��뤳�Ȥ����ᤷ�ޤ���ɬ�פǤ�����̤Υݡ��Ȥ��ѹ����Ƥ���������.PPUNIX���ޥ�ɡ��������\fIorbd\fR��ư����ˤϡ����Τ褦�����Ϥ��ޤ���.sp.if n \{\.RS 4.\}.nforbd \-ORBInitialPort 1050&.fi.if n \{\.RE.\}.PPWindows��MS\-DOS�����ƥࡦ�ץ���ץȤǤϡ����Τ褦�����Ϥ��ޤ���.sp.if n \{\.RS 4.\}.nfstart orbd \-ORBInitialPort 1050.fi.if n \{\.RE.\}.PP�����ORBD���¹Ԥ��졢�����С��ȥ��饤����ȤΥ��ץꥱ��������¹ԤǤ���褦�ˤʤ�ޤ������饤����Ȥȥ����С��Υ��ץꥱ�������ϡ��¹Ի��ˡ��͡��ߥ������ӥ����¹Ԥ���Ƥ���ݡ��Ȥ��ֹ�(ɬ�פʾ��Ϥ���˥ޥ���̾)��ǧ�����Ƥ���ɬ�פ�����ޤ��������¸�����1�Ĥ���ˡ�ϡ����Υ����ɤץꥱ���������ɲä��뤳�ȤǤ���.sp.if n \{\.RS 4.\}.nfProperties props = new Properties();props\&.put("org\&.omg\&.CORBA\&.ORBInitialPort", "1050");props\&.put("org\&.omg\&.CORBA\&.ORBInitialHost", "MyHost");ORB orb = ORB\&.init(args, props);.fi.if n \{\.RE.\}.PP������Ǥϡ��͡��ߥ������ӥ��ϡ��ۥ���\fIMyHost\fR�Υݡ���1050��Ǽ¹Ԥ���ޤ����̤���ˡ�Ȥ��ơ����ޥ�ɥ饤�饵���С��ޤ��ϥ��饤����ȤΥ��ץꥱ��������¹Ԥ���Ȥ��ˡ��ݡ����ֹ�ޤ��ϥޥ���̾���뤤�Ϥ���ξ������ꤹ����ˡ�⤢��ޤ������Ȥ��С����Υ��ޥ�ɥ饤���ץ�������Ѥ��ơ�\fIHelloApplication\fR��ư�Ǥ��ޤ���.sp.if n \{\.RS 4.\}.nfjava HelloApplication \-ORBInitialPort 1050 \-ORBInitialHost MyHost.fi.if n \{\.RE.\}.PP�͡��ߥ������ӥ�����ߤ���ˤϡ�Ŭ�ڤʥ��ڥ졼�ƥ��������ƥࡦ���ޥ�ɤ���Ѥ��ޤ������Ȥ��С�Oracle Solaris���\fIpkill\fR\fIorbd\fR��¹Ԥ����ꡢ\fIorbd\fR��ư�����DOS������ɥ���\fB[Ctrl]+[C]\fR�������ޤ�������͡��ߥ������ӥ��ξ��ϡ������ӥ�����λ�����ȡ��͡��ߥ������ӥ�����Ͽ���줿̾�����õ����礬����ޤ���Java IDL�͡��ࡦ�����ӥ��ϡ�����Ū����ߤ����ޤǼ¹Ԥ���ޤ���.PPORBD����°����͡��ߥ������ӥ��ξܺ٤ϡ�http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.html�Ρ�Naming Service�פȤ��Ƥ�������.SH "�����С����ޥ͡�����".PPORBD�Υ����С����ޥ͡�����˥����������ơ���³�����С���¹Ԥ���ˤϡ�\fIservertool\fR����Ѥ��ƥ����С���ư����ɬ�פ�����ޤ���servertool�ϡ����ץꥱ������ץ�����ޤ�����³�����С�����Ͽ����Ͽ�������ư�������ߤ�Ԥ�����Υ��ޥ�ɥ饤���ե������Ǥ���\fIservertool\fR����Ѥ��ƥ����С���ư������ϡ�\fIorbd\fR���¹Ԥ���Ƥ������Ʊ���ݡ��Ȥȥۥ��Ȥǵ�ư����ɬ�פ�����ޤ��������С���ۤʤ�ݡ��ȤǼ¹Ԥ���ȡ��������롦����ƥ������Ѥ˥ǡ����١�������¸����Ƥ������̵���ˤʤꡢ�����ӥ���������ư��ޤ���.PPhttp://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlExample\&.html����Java IDL: The "Hello World" Example�פȤ��Ƥ�������.PP������Ǥϡ����塼�ȥꥢ��μ��˽��ä�\fIidlj\fR����ѥ����\fIjavac\fR����ѥ����¹Ԥ��ޤ���ORBD�Υ����С����ޥ͡������¹Ԥ���ˤϡ����μ��˽��äƥ��ץꥱ��������¹Ԥ��ޤ���.PP\fIorbd\fR��ư���ޤ���.PPUNIX���ޥ�ɡ�������Ǽ��Τ褦�����Ϥ��ޤ�:\fIorbd \-ORBInitialPort 1050\fR��.PPMS\-DOS�����ƥࡦ�ץ���ץ�(Windows)�Ǽ��Τ褦�����Ϥ��ޤ�:\fIs\fR\fItart orbd \-ORBInitialPort 105\fR\fI0\fR.PP�ݡ���1050�ϥ͡��ࡦ�����С���¹Ԥ���ݡ��ȤǤ���\fI\-ORBInitialPort\fR���ץ�����ɬ�ܥ��ޥ�ɥ饤������Ǥ���Oracle Solaris���եȥ���������Ѥ����硢1024��꾮�����ݡ��Ȥǥץ������Ϥ���ˤϡ�root�桼�����ˤʤ�ɬ�פ�����ޤ������Τ��ᡢ1024�ʾ�Υݡ����ֹ����Ѥ��뤳�Ȥ����ᤷ�ޤ���.PP\fIservertool\fR��ư���ޤ�:\fIservertool \-ORBInitialPort 1050\fR��.PP����μ��ȥ͡��ࡦ�����С�(\fIorbd\fR)�Υݡ��Ȥ�Ʊ���Ǥ��뤳�Ȥ��ǧ���ޤ������Ȥ���\fI\-ORBInitialPort 1050\&.\fR�Τ褦�ˤʤ�ޤ���\fIservertool\fR�ϡ��͡��ࡦ�����С���Ʊ���ݡ��Ⱦ�ǵ�ư����ɬ�פ�����ޤ���.PP\fIservertool\fR���ޥ�ɥ饤���ե������ǡ�\fIservertool\fR�ץ���ץȤ���\fIHello\fR�����С���ư���ޤ���.sp.if n \{\.RS 4.\}.nfservertool > register \-server HelloServer \-classpath \&. \-applicationName HelloServerApName.fi.if n \{\.RE.\}.PP\fIservertool\fR�ˤ�äƥ����С�����Ͽ����ơ�\fIHelloServerApName\fR�Ȥ���̾���������С��˳�����Ƥ�졢��Ͽ����Ƥ��뤹�٤ƤΥ����С������ȤȤ�˥����С�ID��ɽ������ޤ���¾��ü��������ɥ��ޤ��ϥץ���ץȤ��饯�饤����ȡ����ץꥱ��������¹Ԥ��ޤ���.sp.if n \{\.RS 4.\}.nfjava HelloClient \-ORBInitialPort 1050 \-ORBInitialHost localhost.fi.if n \{\.RE.\}.PP�������\fI\-ORBInitialHost localhost\fR�Ͼ�ά���뤳�Ȥ��Ǥ��ޤ����͡��ࡦ�����С���\fIHello\fR���饤����ȤȤ���Ʊ��ۥ��Ⱦ��ư��Ƥ��뤫��Ǥ����͡��ࡦ�����С����̤Υۥ��ȤǼ¹Ԥ���Ƥ�����ϡ�\-\fIORBInitialHost nameserverhost\fR���ץ�������Ѥ���IDL�͡��ࡦ�����С����¹Ԥ���Ƥ���ۥ��Ȥ���ꤷ�ޤ������μ��ǹԤ�줿�Ȥ���˥͡��ࡦ�����С�(\fIorbd\fR)�ݡ��Ȥ���ꤷ�ޤ�(��:\fI\-ORBInitialPort 1050\fR)��ORBD�Υ����С����ޥ͡����������λ�����顢�͡��ࡦ�����С�(\fIorbd\fR)��\fIservertool\fR����ߤ��뤫��λ���Ƥ���������MS\-DOS�ץ���ץȤ�\fIorbd\fR��åȥ�����ˤϡ������С���¹Ԥ��Ƥ��륦����ɥ�������\fB[Ctrl]+[C]\fR�������ޤ���.PPOracle Solaris����\fIorbd\fR��åȥ�����ˤϡ��ץ����������ơ�\fIkill\fR���ޥ�ɤǽ�λ���ޤ��������С�������Ū����ߤ���ޤǤϡ��ƽФ��Ե����֤�³���ޤ���\fIservertool\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