All of the sample applications are arranged in a specific and well-defined directory structure. In general, the top-level directory of a sample application includes the following:
src: A directory containing all the Java source files, deployment descriptors, JSPs, and HTML files. Samples that use a database provide a script to populate data in the database.
docs: A directory containing all documentation for the application.
.WAR file: The deployable .WAR file for the sample application.
build.xml: A file for the ANT system to build the sample application