Web modules
Web modules contain all the components that are part of a specific Web application. These components often include:
|
|
| Compiled Java servlet classes
|
|
|
| Other compiled Java classes
|
Web modules are packaged as WAR files with the extension .war. WAR files have a defined directory structure and include a deployment descriptor called web.xml, which contains the configuration information for the Web module. The web.xml is optional if the module only contains JSP files. Each Web module has a defined context root that determines the URL required to access the components present in the Web module.