Java Reference
In-Depth Information
Figure 11.3
The J2EE tab of the Project tool window
provides a new perspective into your
project's J2EE, web, and EJB modules.
from the perspective of a J2EE application; it ignores plain Java modules and
shows a tree-representation of your J2EE , web, and EJB modules. Nodes on the
tree represent J2EE -specific elements, such as web applications, servlets, filters,
EJB s, and so on.
Fo r w e b m o d u l e s , t h e J2EE tab contains a special branch entitled Deployment
View. This view shows the structure your web application will have after it is
deployed to a web application server.
We've referred several times to the web application deployment descriptor.
According to the Java Servlet Specification, the deployment descriptor is respon-
sible for conveying the elements and configuration information about the web
application to the web application server. It specifies deployment settings such as
what servlets are defined and how they're mapped to URL s, configuration set-
tings for the servlet context, security roles and permissions, and the like.
The deployment descriptor is implemented as an XML file called web.xml that
can be found in the WEB-INF directory of your web application. Because this is an
XML file, you can open it and edit it directly like any other file in your project. But
 
 
 
Search WWH ::




Custom Search