Bookshelf Home | Contents | Index | Search | PDF |
Transports and Interfaces: Siebel eBusiness Application Integration Volume III > Integrating with J2EE Application Server > Using the Java Data Bean >
The Development Environment
Three Siebel
.jar
files are needed when you compile your Java application, and run time. The files are:
SiebelJI.jar
SiebelJI_common.jar
SiebelJI_
lang
.jar
.Where
lang
is the installed language pack; for example, SiebelJI_enu.jar for English or SiebelJI_jpn.jar for Japanese.The .jar files may be installed through the Siebel Enterprise Server install, or by installing Siebel Tools. For more information please refer to the Siebel Server Installation Guide for UNIX or Siebel Server Installation Guide for Microsoft Windows. To deploy the J2EE applications using the Siebel Java Data Bean or JavaBeans generated by the Java Wizard, include these
.jar
files, so that the J2EE application can access the Java Data Bean class files.To deploy in WebLogic the sample Servlet/JSP application, for example, place the
.jar
files in thelib
subdirectory of WEB-INF corresponding to the application, as shown in Figure 14.NOTE: For other application servers, refer to the application server's documentation for information on where to place the
.jar
files.To install the Siebel .jar files
- Copy the
.jar
files to your working directories and make sure the three Siebel jar files are in your CLASSPATH.To compile source files using Siebel Data Bean
- You combine source files using the command line executable,
javac.exe.
The Siebel files can also be used directly in your development environment. To compile using command line, enter one of the following strings, depending on which type of Java you are using. The command string is entered on a single line.For Sun's JVM:
javac -classpath .;SiebelJI_Common.jar;SiebelJI_lang.jar;SiebelJI.jar <source files>
To run applications containing Siebel Java Data Beans
- Run class files that include Siebel Data Beans or JavaBeans generated by the Java Wizard by entering the following at the command line:
jre -cp .;SiebelJI.jar;SiebelJI_Common.jar;SiebelJI_lang.jar <class files>
Bookshelf Home | Contents | Index | Search | PDF |
Transports and Interfaces: Siebel eBusiness Application Integration Volume III Published: 23 June 2003 |