Starting CORBA Objects on VisiBroker

Before deploying a Business Components for Java project, you must have already created a project with business components using the Business Components Package Wizard.

The BC4J deployment process involves three main steps: copying the Business Components archives, building a deployment profile, and deploying using the deployment profile.

To start CORBA Objects on VisiBroker:

  1. Make sure that you've set up the classpath to run BC4J applications on VisiBroker.
  2. In the Navigator, select and right-click the bc4jproject_icon <BC4Jprojectname>.jpx in which you want to create the BC4J deployment profile and choose Create Business Component Deployment Profiles.
    Note: You can also display the Business Components Deployment Wizard by choosing File | New to open the New Gallery dialog. Select Deployment Profiles in the Categories tree and choose Business Components CORBA Server for VisiBroker profile in the Items list.
  3. This wizard guides you in the creation of business components deployment profile type(s). Click Next.
  4. Choose CORBA Server for VisiBroker from the Available list as the deployment profile type and click the arrow to move it to the Selected list.
  5. Click Next.
  6. In the Profile Name field, enter or browse to the full path and name for this deployment profile. The default location and name is C:\<jdev_install>\jdev\mywork\Workspace1\Project1\Project1Visigenic.bcdeploy.
  7. Select Create AppModule Configurations.
  8. Before you deploy your CORBA Objects, you must make server- and client-side versions of your application module so that the application module can be invoked remotely. In the Select AppModules to Support the Selected Platforms panel, select and move the appropriate application module(s) (e.g. application_module_icon Mypackage2Module) from the Available list to the Selected list with the move arrows.
  9. Click Next.
  10. You'll see a listing of the selected deployment profile(s).
    Click Finish when you are done.
    The deployment profile for the archive is created. The bc4j_deploy_profile_icon <ProjectnameVisigenic.bcdeploy> deployment profile icon appears in the Navigator below your project.
  11. Select and right-click bc4j_deploy_profile_icon <ProjectnameVisigenic.bcdeploy> and choose Deploy from the context menu to deploy to the project's \deploy directory. For example: C:\<jdev_install>\jdev\mywork\Workspace1\Project1\deploy\Project1VisigenicCommon.jar
  12. (Optional) You can right-click on any of these subprofile icons to perform a variety of tasks including: display deployment profile Settings, deploy to a JAR file, Preview.

Note:


Related Topics

Deploying CORBA Objects on VisiBroker

Setting Up the Classpath to Run BC4J Applications on VisiBroker