rmi2iiop generates IIOP stubs and skeletons for CORBA objects expressed using Java RMI.
rmi2iiop [-options] pacakage-qualified-class-name(s)where options include:
-help print out this message
-J<runtime flag> Pass argument to the java interpreter
-classpath <directories separated by colons>
list directories in which to look for classes
-ds <directory> root destination directory for stubs/skels
-poa generate stubs and skels to be used with POA
-multicast generate stub/skels for Multicast Invocations
-nostub do not generate the stubs
-noskel do not generate the skeletons
-notie do not generate the TIE based skeletons
-nolocal do not enable stubs for local invocation
-localnocopy do not copy parameters on local invocation
-keep do not delete generated source files
-keepgenerated same as -keep
-nocompile do not compile the generated source files
-verbose turn verbose mode on
java-compiler options:
-classpath <directories separated by colons>
list directories in which to look for classes
-d <directory> destination directory for classes
-g enable generation of debugging information
-O generate optimized code
-depend make compiler consider compiling dependencies
-nowarn turns off warning by the Java compiler
The rmi2iiop compiler generates stub and skeleton class files for remote objects from the names of compiled Java classes that contain remote object implementations or interfaces. The classes named in the rmi2iiop command must be classes that have been compiled successfully with the javac command and must be fully package qualified. You can generate stubs/skeletons to be used with POA, or to be used with the PortableRemoteObject APIs.
-helpPrint the command line syntax and a short description of the compiler options.-JruntimeFlagUsed to pass runtime flags to the Java interpreter/runtime. For example, in conjunction with the -D option, it sets a Java System property. Muliple -J arguments can be used to specify more than one runtime flags.-classpath pathSpecifies the classpath where rmi2iiop looks for classes. It is not necessary to specify the JDK or the ORB classes here. The elements in the path must be separeted by platform specific path separator.-ds directorySpecifies the root directory of the generated Java source. The current directory is the default value for directory.-poaSpecifies that the generated skeletons should work with the Portable Object Adapter (POA). POA skeletons extend org.omg.PortableServer.Servant class.-multicastIf -poa is not specified, then the generated skeletons can only be used to write simple transient objects using the javax.rmi.PortableRemoteObjectAPIs. These skeletons extend javax.rmi.CORBA.Stub.
Specifies that the compiler should generate stubs and skeletons for Multicast Object Invocations. The -poa and -multicast options are mutually exclusive.-nostubSpecifies that the stub should not be generated.-noskelSpecifies that the skeletons should not be generated.-notieSpecifies that delegation based skeletons should not be generated.-nolocalSpecifies that the generated stubs should not be enabled for local invocation. The serializable parameters are deep copied (see -localnocopy option) and the servant is directly invoked. The local stubs are designed such that the object adapter gets an opportunity to enfore its rules and behavior. For example the Portable Object Adapter can activate POA instances, observe POA Manager state machine rules, and activate servant objects using the user supplied servant manager.-localnocopySpecifies that the serializable parameters should not be copied on local invocation. Note, that this is a violation of the RMI parameter passing semantics but the option is provided for performance trade offs.-keep
-keepgeneratedDo not delete the generated code after compilation.-nocompileSpecifies that the generated Java code should not be compiled. See Java compiler options.-verbosePut the rmi2iiop compile in verbose mode. It prints out the class files it is reading and the Java files it is generating.
-classpath pathSpecifies the classpath where rmi2iiop looks for classes. It is not necessary to specify the JDK or the ORB classes here. The elements in the path must be separeted by platform specific path separator.-d directorySpecifies the root directory of the class file hierarchy. In other words, this is essentially a destination directory for your compiled classes. The current directory is the default value for directory.-gEnables generation of debugging tables. Debugging tables contain information about line numbers and local variables - information used by Java debugging tools. By default, only line numbers are generated, unless optimization (-O) is turned on.-ODirects the compiler to try to generate faster code by inlining static, final and private methods. This option may slow down compilation, make larger class files, and/or make it difficult to debug.-dependMakes the compiler consider recompiling classes which are referenced from other classes. Normally, it only recompiles missing or out-of-date classes that are referred to from source code.-nowarnTurns off warnings. If used the Java compiler does not print out any warnings.
idl2java, rmi2idl
Copyright © 1998-2003, Novell, Inc. All rights reserved.