Web applications
A web application is comprised of one or more related servlets, JavaServer Pages technology (JSP files), and Hyper Text Markup Language (HTML) files that you can manage as a unit.
The files in a web application are related in that they work together to perform a business logic function. The web application is a concept supported by the Java™ Servlet Specification. Web applications are typically packaged as .war files.
Subtopics
Web modules
A web module represents a web application. A web module is created by assembling servlets, JavaServer Pages (JSP) files, and static content such as Hypertext Markup Language (HTML) pages into a single deployable unit. Web modules are stored in web application archive (WAR) files, which are standard Java archive files.Web container request attributes
A web container provides three custom HttpServletRequest attributes that can be used to provide a servlet or a trust association interceptor (TAI) with the certificate information for a request.web.xml file
The web.xml file provides configuration and deployment information for the web components that comprise a web application.Default Application
WebSphere Application Server provides a default configuration that administrators can use to easily verify that the Application Server is running. When the product is installed, it includes an application server called server1 and an enterprise application called Default Application.JavaServer Pages
JavaServer Pages (JSP) are application components coded to the JavaServer Pages Specification. JavaServer Pages enable the separation of the Hypertext Markup Language (HTML) code from the business logic in web pages so that HTML programmers and Java programmers can easily collaborate to create and maintain pages.Servlets
Servlets are Java programs that use the Java Servlet Application Programming Interface (API). You must package servlets in a web application archive (WAR) file or web module for deployment to the application server. Servlets run on a Java-enabled web server and extend the capabilities of a web server, similar to the way applets run on a browser and extend the capabilities of a browser.Web fragments
When developing web applications, if multiple web modules use the same components, consider including the components in a Web fragment Java archive (JAR) file. The web fragment JAR file contains both the configuration metadata and component class files. This practice enables easier copying from application to application.Asynchronous servlet best practices
The asynchronous servlet feature enables you to process incoming requests and responses without being bound to the original thread that initiated the request.Web container properties
Learn about system properties, custom properties, and application properties for the web container.Java EE application resource declarations
You can configure your Java Enterprise Edition (Java EE) applications to declare dependencies on external resources and configuration parameters. These resources might be injected into the application code, or might be accessed by the application through the Java Naming and Directory Interface (JNDI).Web applications: Resources for learning
Related reference:


File name: cweb_aov2.html