12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Support of references and links<br />

The following table describes VisiClient container command line elements and<br />

definitions<br />

Table 12.1<br />

Element<br />

<br />

-uri<br />

<br />

Elements in a VisiClient container command<br />

Definition<br />

A standalone client JAR or EAR containing client JAR.<br />

The relative location of the client JAR inside an EAR file. This is required<br />

for EAR contained JAR files.<br />

Space separated list of arguments passed to the client's main class.<br />

VisiClient Container usage example<br />

The following command lines demonstrate usage of an application client. In the<br />

example, the appclient launcher sets the classpath required to launch VisiClient.<br />

This example is also located in the Hello example in the install_dir/examples/j2ee/<br />

hello directory. When your <strong>server</strong> (EJB container) is up, to run a client embedded<br />

inside an EAR file, the command is:<br />

appclient me install_dir\examples\j2ee\build\hello\hello.ear -uri<br />

helloclient.jar<br />

To run a client in a standalone JAR file, the command is:<br />

appclient me install_dir\examples\j2ee\build\hello\client\helloclient.jar<br />

Running a J2EE client application on machines not running BES<br />

To run a J2EE application client on a client machine that does not have <strong>Borland</strong><br />

Enterprise Server installed on it, make sure to copy the following VisiClient files to your<br />

client machine and run the following processes.<br />

1 Copy the following JAR files from /lib to client machine:<br />

■<br />

lm.jar<br />

■<br />

xmlrt.jar<br />

■<br />

asrt.jar<br />

■<br />

vbjorb.jar<br />

■<br />

vbsec.jar<br />

■<br />

jsse.jar<br />

■<br />

jaas.jar<br />

■<br />

jcert.jar<br />

■<br />

jnet.jar<br />

■<br />

vbejb.jar<br />

2 Copy the following JAR file from /jms/tibco/clients/java to client<br />

machine:<br />

■<br />

tibjms.jar<br />

3 Copy /bin/appclient.config to client machine.<br />

4 Copy /BES/bin/appclient.exe to client machine.<br />

102 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!