Web Tier and Java EE Applications
Web Tier and Java EE Applications
Static HTML pages and applets are bundled with web components during application assembly
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
, the web tier, like the client tier, might include a JavaBeans component
to manage the user input and send that input to enterprise beans running in the business tier for
processing.
Business Components
Business code, which is logic that solves or meets the needs of a particular business domain such
as banking, retail, or finance, is handled by enterprise beans running in the business tier.
shows how an enterprise bean receives data from client programs, processes it (if
necessary), and sends it to the enterprise information system tier for storage. An enterprise
bean also retrieves data from storage, processes it (if necessary), and sends it back to the client
program.
Web Tier
Business Tier
Client Tier
Java EE
Server
> Web Browser, Web Pages,
Applets, and Optional
JavaBeans Components
> Application Client and
Optional JavaBeans
Components
JavaBeans
Components
(Optional)
JSP Pages
Servlets
FIGURE 13
Web Tier and Java EE Applications
Distributed Multitiered Applications
Chapter 1 · Overview
47