29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 4-1 Enterprise Deployment Descriptor<br />

As you can see, the deployment descriptor is in XML format. The application<br />

element is the root element and contains information about the enterprise<br />

application and its elements. The module element represents a single J2EE<br />

module, which can contain EJB, Web, or Java elements. You can also see the<br />

security-role element that contains the J2EE roles to be used for application<br />

security.<br />

4.2 Web application<br />

The Java Servlet Specification 2.3 and the J2EE specification contain the<br />

concept of a Web application. A Web application contains Java<strong>Server</strong> Pages,<br />

servlets, applets, Java classes, HTML files, graphics, and descriptive meta<br />

information that connects all these elements. The format is standardized and<br />

compatible between multiple vendors.<br />

The specification also defines a hierarchical structure for the contents of a Web<br />

application that can be used for deployment and packaging purposes. Many<br />

servlet containers, including the one provided by Express <strong>Application</strong> <strong>Server</strong>,<br />

support this structure.<br />

Chapter 4. Working with Web applications 59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!