29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Elements contained within a Web application<br />

Any Web resource can be included in a Web application, including the following:<br />

► Servlets and Java<strong>Server</strong> Pages.<br />

► Utility classes: Standard Java classes may be packaged in a Java archive<br />

(JAR) file. JAR is a standard platform-independent file format for aggregating<br />

files (mainly Java classes files).<br />

► Static documents: HTML files, images, sounds, videos, etc. This term<br />

includes all the documents a Web server is able to handle and to provide to<br />

client requests.<br />

► Client side applets, beans, and classes.<br />

► Descriptive meta information, which ties all of the above elements together.<br />

► Custom Tag Libraries<br />

► Struts<br />

► XML files<br />

► Web Services<br />

Directory structure<br />

The directory structure for a Web application requires the existence of a<br />

WEB-INF directory. This directory contains Java and support classes that contain<br />

application logic. Access to these resources is controlled through the servlet<br />

container, within the application server.<br />

Figure 4-2 on page 61 shows an example of a typical directory structure under<br />

the WEB-INF directory.<br />

60 <strong>IBM</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> - Express V5.0.2 Developer Handbook

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

Saved successfully!

Ooh no, something went wrong!