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.
  1. In the Navigator, right-click the VisiBroker deployment profile icon bc4j_deploy_profile_icon <Projectname>Visigenic.bcdeloy and choose Deploy to deploy your BC4J application project.
  2. Set up the classpath to run BC4J applications by copying your VisiBroker server class, required libraries, and batch file to the VisiBroker directory.
  3. Start the OSAgent by executing the following command:
    <vbroker>/bin/osagent -C
    where <vbroker> is your VisiBroker home directory.
  4. 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.
  5. 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