Java Reference
In-Depth Information
FIGURE 1-2. Server Communication
Web Components
Java EE web components are either servlets or web pages created using JavaServer Faces
technology and/or JSP technology (JSP pages). Servlets are Java programming language
classes that dynamically process requests and construct responses. JSP pages are text-
based documents that execute as servlets but allow a more natural approach to creating
static content. JavaServer Faces technology builds on servlets and JSP technology and
provides a user interface component framework for web applications.
Static HTML pages and applets are bundled with web components during application as-
sembly but are not considered web components by the Java EE specification. Server-side
utility classes can also be bundled with web components and, like HTML pages, are not
considered web components.
As shown in Figure 1-3 , the web tier, like the client tier, might include a JavaBeans com-
ponent to manage the user input and send that input to enterprise beans running in the
business tier for processing.
Search WWH ::




Custom Search