Generating Client-Side Files With the CORBA Wizard

You can generate client-side files with the CORBA template. You can also use the CORBA wizard in addition to add some basic information to expedite the process. Before generating any code, make sure the IDE is set up for the ORB product you want your CORBA programs to work with. You must have an existing IDL file to use the CORBA wizard.

To create a client file using the CORBA Wizard:

  1. Choose Tools CORBA Wizard.
  2. Select the IDL file to base your client program on and click Next.

    The Select Source IDL File pane displays the Filesystem hierarchy in your current session of the IDE. Expand the package you want and select the desired IDL.

  3. Indicate which files the wizard should generate, then click Next.

    If you are writing a client for an existing server, check only Create Client. (Your client will be based on an existing IDL file.)

  4. Choose the ORB implementation and binding method you want to use and click Next.
  5. Select the root interface you want and click Next.
  6. Specify binding detail information (based on your selection of an ORB's binding method).
  7. Review the description of the actions the wizard will take, then click Finish to begin code generation.

    A java source file named IDL_interface_nameClient is generated. For example, if you specified hello.idl, the wizard creates helloClient.java.

See also
Generating IDL Files
Generating Client-Side Files Using the CORBA Template
The Interface Repository Browser
Completing Generated Files

Legal Notices