After creating and invoking a Business Components for Java (BC4J) deployment profile, you must set up the classpath to run the CORBA server object on VisiBroker. You must also copy a batch file that will help you start your VisiBroker server class.
Note: Ensure that you have VisiBroker already installed before
deploying to it. The location where VisiBroker is installed becomes your target
directory. For more information about CORBA Objects on VisiBroker:
http://www.inprise.com/
.
To set up the classpath to run BC4J applications on VisiBroker:
.jpx
file node of a Business Components Package
containing at least one Application Module, and select Create
Business Component Deployment Profile.
Running dependency analysis...
Wrote JAR file to C:\904.1087\jdev\mywork\Workspace1\Project3\deploy\Project3VisigenicCommon.jar
Running dependency analysis...
Wrote JAR file to C:\904.1087\jdev\mywork\Workspace1\Project3\deploy\Mypackage2ModuleVisigenicServer.jar
Elapsed time for deployment: 8 seconds
---- Deployment finished. ---- Dec 3, 2002 10:30:43 AM
, copy
the following files to your VisiBroker target directory:
<Project_Name>VisigenicServer.jar
<Project_Name>VisigenicCommon.jar
<Project_Name>VisigenicMT.jar
<jdev_install>/BC4J/lib
directory, select to copy the following files to your VisiBroker target directory:
bc4jmt.jar
bc4jdomorcl.jar
Note: If you are using the Oracle type mappings, use
bc4jdomorcl.jar
. If the application was built using "Java"
type mapping, use bc4jdomgnrc.jar
. Only
one of these files is required depending on which mapping type you are
using to build your application.
bc4jct.jar
bc4jimdomains.jar
collections.jar
bc4jct.jar
<jdev_install>/BC4J/jlib
directory, select to copy the following files to your VisiBroker target directory:
bc4jmtvb.jar
bc4jctvb.jar
<jdev_install>/ord/jlib
directory, select to copy the following files to your VisiBroker target directory:
ordhttp.jar
ordim.jar
<jdev_install>/j2ee/home/lib
directory, select to copy jndi.jar
to your VisiBroker target
directory: <jdev_install>/jdbc/lib
directory, select to copy the classes12.jar
to your VisiBroker
target directory.<jdev_install>/lib
,
select to copy xmlparserv2.jar
to your VisiBroker target directory.<jdev_install>/vbroker4/lib
,
select to copy vbjorb.jar
to your VisiBroker target directory.<jdev_install>/sqlj/lib
,
select to copy runtime12.jar
to your VisiBroker target directory.<jdev_install>/BC4J/bin
directory, select to copy startCORBA.bat
your VisiBroker target
directory.Related Topics
Starting CORBA Objects on VisiBroker
Starting a Business Components Project Using
Bind Mode
Starting a Business Components Application
Using the Naming Service