Generating Client-Side Files Using the CORBA Template

You can generate client-side files with the CORBA template, ClientMain. Before creating the file, make sure the IDE is set up for the ORB product you want your CORBA programs to work with. You should set the Client Binding property for the ORB you are using so that the template generates the correct code templates in the client file.

To set the binding method:

  1. Select Project Settings.
  2. Expand the CORBA Settings node and select the node you are using.
  3. Double-click the value for the Client Binding property and select the binding method of choice.

    While the property sheet is open, set the binding method for the Server by changing the Server Binding property in the same way.

To create a client file using the CORBA template:

  1. From the main window, choose File New to open the New From Template wizard.
  2. From the CORBA template category, select the ClientMain template and click Next.
  3. Specify both a name for your client file and the package in which it should be generated. Click Next.
  4. Click the Finish button.

    The CORBA module creates a CORBA client source file, named Filename.java.

Once the file is created, you will need to add some basic information to complete the file.
See also
Generating Client-Side Files Using the CORBA Wizard
Completing Client-Side Files


Legal Notices