Setting Up the IDL Compiler

To generate stub and skeleton files, you need to compile your IDL source file with an IDL compiler. Each ORB vendor supplies an IDL compiler that generates stubs and skeletons that are compatible with its ORB runtime.

You must set up the IDE correctly to cause a compile command issued on an IDL file (or on a package containing an IDL file) to execute the correct IDL compiler.

The ORB vendor's documentation should identify the IDL compiler executable. There are two ways to set your environment up so that you can execute the IDL compiler from inside the IDE.

To set up the compiler:

After you have set up your environment, issuing compile commands on files with an .idl extension executes the appropriate IDL compiler.
If you are using the JDK 1.2 ORB, you must download the IDL compiler idltojava from http://developer.java.sun.com/developer/earlyAccess/jdk12/idltojava.html and install it. The download includes documentation for installation and usage.

Setting the IDE's CORBA properties
Specifying an ORB
Accessing the ORB Runtime Classes
Setting Up the Naming Service Browser
Setting Up the Interface Repository BrowserGenerating an IDL File
See also

Legal Notices