10.12.2012 Views

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

As shown in Figure 1–3, the web tier, like the client tier, might include a <strong>Java</strong>Beans component<br />

to manage the user input and send that input to enterprise beans running in the business tier for<br />

processing.<br />

FIGURE 1–3 Web Tier and <strong>Java</strong> <strong>EE</strong> Applications<br />

> Application Client and<br />

Optional <strong>Java</strong>Beans<br />

Components<br />

<strong>Java</strong>Beans<br />

Components<br />

(Optional)<br />

Business Components<br />

> Web Browser, Web Pages,<br />

Applets, and Optional<br />

<strong>Java</strong>Beans Components<br />

JSP Pages<br />

Servlets<br />

Web Tier<br />

Business Tier<br />

Distributed Multitiered Applications<br />

Client Tier<br />

<strong>Java</strong> <strong>EE</strong><br />

Server<br />

Business code, which is logic that solves or meets the needs of a particular business domain such<br />

as banking, retail, or finance, is handled by enterprise beans running in the business tier.<br />

Figure 1–4 shows how an enterprise bean receives data from client programs, processes it (if<br />

necessary), and sends it to the enterprise information system tier for storage. An enterprise<br />

bean also retrieves data from storage, processes it (if necessary), and sends it back to the client<br />

program.<br />

Chapter 1 • Overview 45

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

Saved successfully!

Ooh no, something went wrong!