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.

Other features<br />

Other features<br />

<strong>Borland</strong> Enterprise Server includes a number of extra features in the VisiClient<br />

container in addition to the requirements for the J2EE specification. These include:<br />

■<br />

■<br />

User Transaction interface: This is available in the java:comp/env name space<br />

and can be looked up using JNDI. It supports transaction demarcation, and<br />

propagation.<br />

Client Verify Tool: This runs on standalone client JARs or client JARs embedded in<br />

an EAR file. The verify tool enforces the following rules:<br />

■<br />

■<br />

■<br />

■<br />

■<br />

The manifest file in the client JAR has the main class specified.<br />

The JAR/EAR is valid (it has the correct required manifest entries).<br />

ejb-refs are valid (that is, a JNDI name for the target EJB is specified in the<br />

<strong>Borland</strong>-specific file).<br />

If ejb-ref is an ejb-link, then the archive should be an EAR file. There must also<br />

be an EJB with the same name as the ejb-link value in the EAR file.<br />

Resource references are valid.<br />

Using the Client Verify tool<br />

The following command line demonstrates the use of the Client Verify tool:<br />

iastool -verify -src -role <br />

Usage examples of Client Verify tool:<br />

iastool -verify -src sort.jar -role DEVELOPER<br />

iastool -verify -src sort.ear clients/sort_client.jar -role DEVELOPER<br />

For more information see Chapter 29, “iastool command-line utility” on the available<br />

options.<br />

Chapter 12: The VisiClient Container 105

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

Saved successfully!

Ooh no, something went wrong!