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:
- Make sure that you've set up the classpath
to run BC4J applications on VisiBroker.
- In the Navigator, select and right-click the
<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.
- This wizard guides you in the creation of business components deployment
profile type(s). Click Next.
- 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.
- Click Next.
- 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
.
- Select Create AppModule Configurations.
- 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.
Mypackage2Module) from the Available list
to the Selected list with the move arrows.
- Click Next.
- 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
<ProjectnameVisigenic.bcdeploy> deployment
profile icon appears in the Navigator below your project.
- Select and right-click
<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
- (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:
- To create a deployment profile to support naming mode, first create a deployment
profile for Visibroker mode. This will create the VBBind and VBColocate mode
profiles. Copy the bind mode profile and edit the copy it to make it a Naming
mode profile.
- For more information about CORBA Objects on VisiBroker, see
http://www.inprise.com/
.
Related Topics
Deploying CORBA Objects on VisiBroker
Setting Up the Classpath to Run BC4J
Applications on VisiBroker