A Web module represents resources inside the application server accessible using HTTP protocol. Each Web module is a deployable archive that contains JSP, Servlet, EJBs, and static contents like HTML page and graphical resources. A Web module is a ZIP file with WAR extension, a specific structure as shown in the previous figure, and one or more deployment descriptors.
The Web container responds to each HTTP request by executing
doPost or other request processing methods of Servlet, processing a JSP or sending back a piece of static content like an HTML page. The following figure shows how users can access a protected resource in a Java EE application server.
The previous figure illustrates steps ...