Web modules
A Web module represents a Web application. A Web module is created by assembling...
- servlets
- JavaServer Pages
- static content such as HTML pages
...into a single deployable unit. Web modules are stored in WAR files, which are standard Java archive files.
A Web module contains:
- One or more servlets, JSP files, and HTML files.
- A deployment descriptor, web.xml, that declares the contents of the module and contains information about...
- Structure and external dependencies of Web components in the module
- How the components are used at run time
You can create Web modules as stand-alone applications, or you can combine Web modules with other modules to create J2EE applications. You install and run a Web module in the Web container of an appserver.
Related tasks
Assembling Web applications
Related Reference
Web applications: Resources for learning