Working with Web Projects

Web Applications

A Web Application is a collection of servlets, JSP pages, HTML documents and other resources which can be deployed to a Web Container (A Servlet-Enabled Web Server). Web Applications must contain a web deployment descriptor which provides configuration information to the Web Container, but beyond that have very few requirements on the content which they must contain. Web Applications can be assembled into Web Application Archives (WAR) files or can be deployed directly in "exploded" form. Once a Web Application is running, it is normally accessed by end-users through a Web Browser using HTTP or HTTPS.

Web Application Projects

A Web Application Project is an Eclipse Dynamic Web project that contains the source code, web pages, images, resources and configuration files for building a Java program that can be deployed to a Web Container. You can create new web application projects by:

Note that starting with the 3.3 release, source files need not be located inside the project folders. You can create, test and deploy applications as long as the folders are mapped to the project. This feature is sometimes called split development directory.

Using AppXRay

The typical web application is a collection of many pieces which are assembled into a cohesive whole. These pieces include all of your web resources; JSP files, images, stylesheets, Javascript, static HTML pages in addition to your Java classes and source files and web application configuration files.

AppXRay technology analyzes all of these pieces and to provide validation and consistency checking across all layers of the application.


Still need help? Post a question on the Workshop newsgroup.