Server User Manual

Table Of Contents
Chapter 6: Using JBuilders CORBA tools 47
Setting up JBuilder for CORBA applications
Setting up JBuilder for CORBA applications
This section explains how to set up JBuilder with the VisiBroker ORB or OrbixWeb so
that you can create, run, and deploy CORBA applications. You can also configure
other, third-party ORBs. More information on the VisiBroker ORB is available in the
doc
directory of your Borland Enterprise Server installation. Consult the OrbixWeb
documentation for information on particular features of that ORB.
Configuring VisiBroker when the Borland Enterprise Server
is installed
Follow the steps in this section to set up JBuilder for use with VisiBroker when the
Borland Enterprise Server AppServer Edition 6.0 is already installed, configured and
the target server for your project. Note that the server creates its own VisiBroker
configuration. For information on configuring Borland Enterprise Server, see Chapter 5,
Using JBuilder with Borland servers.
To configure VisiBroker when the Borland Enterprise Server is installed,
1 Choose Enterprise|Enterprise Setup to display the Enterprise Setup dialog box.
Select the CORBA page. The parameters in this dialog box allow JBuilder to see the
ORB.
2 Select the VisiBroker (Borland Enterprise Server AppServer Edition 6.0) option from
the Configuration drop-down list.
The Enterprise Setup dialog box will look similar to this:
3 Click OK to close the dialog box. You do not have to complete other configuration
steps; JBuilder is now configured for use with VisiBroker.
4 Click OK to save the configuration.
Important In the runtime configuration for your CORBA application, you need to add the following
parameters to the VM Parameters field in the Edit Runtime Configuration dialog box
(Run|Configurations|Edit):
-Dvbroker.agent.port=14000
-Dborland.enterprise.licenseDir=C:/<BES_install>/var
-Dborland.enterprise.licenseDefaultDir=C:/<BES_install>/license
Youve now completed setting up your system to use the VisiBroker version installed
with the Borland Enterprise Server AppServer Edition 6.0. Before running your
application, choose Tools|VisiBroker Smart Agent to start the Smart Agent. (Note that it
is also automatically started when you start the Management Agent with the Enterprise|
Borland Enterprise Server Management Agent command.)