An orb.idl file is shipped in the /lib directory of the WebLogic distribution. This IDL file should be provided by your ORB vendor. The IDL file generated by the WebLogic compilers contains the directives: #include orb.idl. Your ORB vendor will provide an IDL compiler. If the idlDirectory option is not used, the IDL file is generated relative to the location of the generated stub and skeleton classes.Ĭompile the IDL file to create the stub classes required by your IDL client to communicate with the remote class. For example, the preceding command generates a Hello.idl file in the /IDL/rmi_iiop directory. The compiler generates the IDL file within sub-directories of the idlDirectoy according to the package of the implementation class. > java weblogic.rmic -idl -idlDirectory /IDL rmi_iiop.HelloImpl
![corba idl corba idl](https://present5.com/presentation/67cacc797de288ea6e7159ca1450a154/image-8.jpg)
The options are applied as shown in this example of running the RMI compiler: Generate IDL somewhat compatible with Visibroker 4.1 C++ (not available with appc)ĭisplay verbose information for IDL generation Suppresses generation of IDL for value types.Ĭauses the compiler to overwrite an existing idl file of the same nameĬreates an IDL that adheres strictly to the Objects-By-Value specification. This is useful if your client ORB does not support the factory value type. Generate factory methods for value types. Target directory where the IDL will be generated
![corba idl corba idl](https://people.engr.ncsu.edu/efg/591O/sum99/lectures/components/comp27.gif)
Table 10-2 RMI-IIOP Compiler Options OptionĬreates an IDL for the remote interface of the implementation class being compiled