Server User Manual

Table Of Contents
Chapter 6: Using JBuilders CORBA tools 57
Using the CORBA wizards
3 Click the OK button to set the options to be used by the VisiBroker idl2java
compiler, when the IDL file is compiled. Set the correct options so that when
compiled, Java interface definitions and Java client and server stubs and skeletons
are generated in a subdirectory of the project with the same name as the project.
When the Process This IDL File option is not checked, selecting OK saves the
selected options, but does not call the
idl2java compiler when the IDL file is
compiled. This means that the client stubs and server skeletons are not generated
when the IDL file is compiled.
Using the CORBA wizards
This section describes the JBuilder wizards that are available for CORBA
development. Wizards provide quick and easy development of IDL files and CORBA
client and server interfaces. These wizards are available only if your project is
configured for use with CORBA (Enterprise|Enterprise Setup|CORBA).
Sample IDL wizard
The Sample IDL wizard creates a simple IDL file that may be used to experiment with
the various CORBA tools that take an IDL file as input. The generated IDL file will
consist of a module and an interface containing a single method that can be
customized. This wizard is available on the Enterprise|CORBA page of the object
gallery (File|New).
The Sample IDL wizard looks like this:
CORBA Client Interface wizard
The CORBA Client Interface wizard produces a layer over idl2java-generated code
allowing a client application to easily invoke the interface methods of a running CORBA
server. You will be able to invoke methods in the interface that will be executed on a
CORBA server when you are connected to an Object Request Broker (ORB). This
wizard is only available if you have an IDL file in your project. It is available on the
Enterprise|CORBA page of the object gallery (File|New).