Server User Manual

Table Of Contents
54 Developing Applications for J2EE Servers
Setting and viewing ORB build properties
Set the Java2IIOP Strict Portable Code Generation (Java2IIOP) option to enable
generation of portable stubs, that is, stubs that contain code not specific to
VisiBroker.
Set the Java2IIOP Generate Example Implementation option to enable
generation of example implementation code.
Set the Java2IIOP Generate Tie Bindings option to enable generation of tie
classes.
Set the Java2IIOP Generate Comments option to enable generation of
comments in the source code.
Enter any Java2IIOP command line options in the Options field. See the Borland
Enterprise Server VisiBroker documentation for command line options.
7 Click OK to close the dialog box.
Setting build properties for the OrbixWeb or other third-party
ORBs
To set and view properties for a configured ORB,
1 Choose Project|Project Properties|Build|IDL. The IDL page is displayed.
Make sure the IDL Compiler field matches the ORB you selected in the Enterprise
Setup dialog box.
2 Set the Generated Code Options as needed:
In the Package field, enter the name of the package to generate code in. The
package name for definitions is prepended with the specified package name. If a
directory with the specified package name does not exist, it will be created. If the
package directory exists, its contents will be updated. code is generated that
uses CORBA package resolution rules.
In the Include Path field, enter the location where other files that are referenced
from IDL files reside. Click the ellipsis () button beside this field to open a dialog
box that lets you browse the directory structure for the location of the files.
In the Additional Options field, enter any additional options for your IDL compiler,
as you would enter them when running the compiler from the command line.
The Symbols Defined For Conditional IDL Compilation list displays symbols that
have been defined for conditional IDL compilation. Click the New button to
display the Define New Symbol dialog box where you can define a new
conditional symbol. To remove a symbol from the list, select it then choose the
Delete button.