user manual
Chapter 4: Web components 31
Borland web container implementation
Web application archive (WAR) file
In order for the Borland web container to deploy a web application, the web
application must be packaged into a Web ARchive (WAR) file. This is
achieved by using the standard Java Archive tool jar command.
The WAR file includes the WEB-INF directory. This directory contains files that
relate to the web application. Unlike the document root directory of the web
application, the files in the WEB-INF directory do not have direct interaction with
the client. The WEB-INF directory contains the following:
Borland-specific DTD
The web.xml file contains the standard deployment descriptor facilities for web
applications. However, the web-borland.xml file contains some Borland-specific
extensions. The following tables describes the Borland-specific elements and
how to use them. Some of these augment the standard constructs and some
are new constructs.
Directory/File name Contents
/WEB-INF/web.xml the deployment descriptor
/WEB-INF/web-borland.xml the deployment descriptor with Borland-
specific extensions.
/WEB-INF/classes/* the servlets and utility classes. The
application class loader loads any class
in this directory.
/WEB-INF/lib/*.jar the Java ARchive (JAR) files which
contain servlets, beans, and other utility
classes useful to the web application. All
JAR files are used by the web application
class loader to load classes from.










