orbd(1) Java IDL and RMI-IIOP Tools orbd(1) (NAME) orbd - CORBA . (SYNOPSIS) orbd [ options ] options . . (DESCRIPTION) orbd CORBA . (Server Manager) orbd CORBA . (naming service) ORBD . ORBD : o . ORBD . o . ORBD servertool . . orbd . . (OPTIONS) -ORBInitialPort nameserverport . (name server) . orbd . Oracle Solaris 1024 (root) . 1024 . (NONREQUIRED OPTIONS) -port port ORBD . 1049 . (IOR) . -defaultdb directory ORBD orb.db . ./orb.db . -serverPollingTime milliseconds ORBD servertool . 1000 . milliseconds . -serverStartupDelay milliseconds ORBD servertool (location forward exception) . 1000 . milliseconds . -Joption option (JVM) option . -J-Xms48m 48 . java(1) . (START AND STOP THE NAMING SERVICE) CORBA CORBA . . ORBD . ORBD COS . . . ORBD () . tnameserv JDK Java SE . . . -ORBInitialPort orbd . 1050 IDL . Oracle Solaris 1024 (root) . 1024 . . orbd : orbd -ORBInitialPort 1050& MS-DOS () : start orbd -ORBInitialPort 1050 ORBD . ( ) . : Properties props = new Properties(); props.put("org.omg.CORBA.ORBInitialPort", "1050"); props.put("org.omg.CORBA.ORBInitialHost", "MyHost"); ORB orb = ORB.init(args, props); 1050 MyHost . . HelloApplication : java HelloApplication -ORBInitialPort 1050 -ORBInitialHost MyHost pkill orbd Oracle Solaris Ctrl+C orbd . . Java IDL . ORBD Naming Service : http://docs.oracle.com/javase/8/docs/technotes/guides/idl/jidlNaming.html (SERVER MANAGER) ORBD servertool . servertool orbd . . Java IDL: The "Hello World" Example : http://docs.oracle.com/javase/8/docs/technotes/guides/idl/jidlExample.html idlj javac . ORBD : orbd. : orbd -ORBInitialPort 1050. MS-DOS () : start orbd -ORBInitialPort 1050. 1050 . -ORBInitialPort . Oracle Solaris 1024 (root) . 1024 . servertool: servertool -ORBInitialPort 1050. (orbd) -ORBInitialPort 1050. servertool . servertool Hello servertool : servertool > register -server HelloServer -classpath . -applicationName HelloServerApName servertool HelloServerApName . : java HelloClient -ORBInitialPort 1050 -ORBInitialHost localhost -ORBInitialHost localhost Hello . -ORBInitialHost nameserverhost IDL . (orbd) -ORBInitialPort 1050. ORBD (orbd) servertool . orbd MS-DOS Ctrl+C . orbd Oracle Solaris kill . . servertool quit Enter . (SEE ALSO) o servertool(1) o Naming Service http://docs.oracle.com/javase/8/docs/technotes/guides/idl/jidlNaming.html JDK 8 21 November 2013 orbd(1)