Starting a Business Components Application Using the Naming Service
Follow these steps to deploy to VisiBroker if you want to use the VisiBroker Naming
Service.
- In the Navigator, right-click the VisiBroker deployment profile icon
<Projectname>Visigenic.bcdeloy and choose
Deploy to deploy your BC4J application
project.
- Set up the classpath to run BC4J
applications by copying your VisiBroker server class, required libraries,
and batch file to the VisiBroker directory.
- Start the OSAgent by executing the following command:
<vbroker>/bin/osagent -C
where <vbroker>
is your VisiBroker home directory.
- Start the VisiBroker naming service by executing the following command:
<vbroker>/bin/nameserv <NameServerRoot>
where <NameServerRoot>
is the name you want for
the naming service root.
- Start the CORBA server class by executing the following command:
startCORBA <yourServerClass> -ns <NameServerRoot>
where <yourServerClass>
is the name of your business
components server class.
Related topics
Setting Up the Classpath to Run
BC4J Applications on VisiBroker
Starting CORBA Objects on VisiBroker
Starting a Business Components Application
Using the Bind Mode
Modifying HTML Files to Use the VisiBroker
Naming Service
Testing Business Components Using
Naming Service