Chapter 3
Getting Started with Web Applications
Note - This chapter needs additional updating for Java EE 6. Although the basic tenets are true and the examples do work, there needs to be a much stronger focus on JavaServer Faces and Facelets and less of a focus on JavaServer Pages.
A web application is a dynamic extension of a web or application server. There are two types of web applications:
Presentation-oriented: A presentation-oriented web application generates interactive web pages containing various types of markup language (HTML, XHTML, XML, and so on) and dynamic content in response to requests. Chapter 4, Java Servlet Technology through Chapter 9, Configuring JavaServer Faces Applications cover how to develop presentation-oriented web applications.
Service-oriented: A service-oriented web application implements the endpoint of a web service. Presentation-oriented applications are often clients of service-oriented web applications. Chapter 11, Building Web Services with JAX-WSand Chapter 12, Building RESTful Web Services with JAX-RS and Jerseycover how to develop service-oriented web applications.


