About Web Modules

See Also

A web module is the smallest deployable unit of web resources in a J2EE application. It corresponds to a "servlet context" as defined in the J2EE specification. A web module is usually packaged and deployed as a WAR (web archive) file, although a web module does not always have to be packaged in order to be deployed. Web module is a J2EE term that roughly corresponds to the term "web application" used in the JavaServer Pages Specification and Java Servlet Specification.

A web module must contain a deployment descriptor.

A web module can contain:

A web module, when mounted in the IDE, corresponds to a filesystem. In other words, the root of a web module must be the same as the root of a filesystem. The web module must be mounted at its root directory. If mounted correctly, the WEB-INF directory will display the web module icon. If mounted incorrectly, the web module will not execute. The web module root is often referred to as the document base.

tip To execute or debug JSP pages and servlets in the IDE, you must put them into a web module. This behavior differs from earlier versions of the IDE.
See Also
Web Module Groups
The Deployment Descriptor
Editing Web Module Deployment Properties
Custom Tag Libraries
JavaServer Pages Technology
Servlets

Legal Notices