12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using the iastool command-line tools<br />

Option<br />

-args <br />

-javac_args <br />

Description<br />

Specifies any arguments that are needed by the file. For details,<br />

see VisiBroker for Java Developer’s Guide.<br />

Specifies any Java compiler arguments that are needed by the<br />

JAR file.<br />

Example<br />

The following example shows how to generate a manually deployable module client<br />

JAR file from each of the EJB JAR files: proj1.jar, proj2.jar, and proj3.jar into the<br />

EJB JAR myproj.jar.<br />

iastool -genclient -jars proj1.jar,proj2.jar,proj3.jar -target myproj.jar<br />

gendeployable<br />

Use this tool to create a manually deployable <strong>server</strong>-side module. Server-side<br />

deployable JAR files are archives (EAR, WAR, or JAR beans only) that have been<br />

compiled to resolve all external code references by using stubs and are, therefore,<br />

ready for deployment.<br />

For example, first use gendeployable to create the <strong>server</strong>-side deployable JAR file on a<br />

local machine, then use the deploy tool to copy and load it on the hub. The hub is<br />

advised of the presence of the new JAR file and loads it automatically. Using the<br />

command-line tools lets you script a creation and deployment to several <strong>server</strong>s quite<br />

simply. You can also manually copy the <strong>server</strong>-side deployable JAR file to the correct<br />

location on each hub, but this requires restarting each hub to cause it to be recognized<br />

and loaded.<br />

Syntax<br />

-gendeployable -src -target [-cp ]<br />

[-args ] [-javac_args ]<br />

Default Output<br />

The default output returns nothing to standard output (stdout).<br />

Options<br />

The following table describes the options available when using the gendeployable tool.<br />

Option<br />

-src <br />

-target <br />

-cp <br />

-args <br />

-javac_args <br />

Description<br />

Specifies the JAR file (or the directory of an expanded JAR) that<br />

you want to use to generate a new deployable JAR file. The full or<br />

relative path to the JAR file must be specified. There is no default.<br />

Specifies the deployable JAR files to be generated on the<br />

localhost. The full or relative path to the JAR files must be<br />

specified. There is no default.<br />

Specifies the classpath containing the class dependencies of the<br />

JAR file for which you want to generate a client JAR file. The<br />

default is none.<br />

Specifies any arguments that are needed by the file. For details,<br />

see VisiBroker for Java Developer’s Guide.<br />

Specifies any Java compiler arguments that are needed by the JAR<br />

file.<br />

Example<br />

The following example shows how to generate a <strong>server</strong>-side deployable module JAR<br />

file for proj1.jar into the file <strong>server</strong>-side.jar.<br />

300 BES Developer’s Guide

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

Saved successfully!

Ooh no, something went wrong!