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.

<strong>Java</strong> <strong>EE</strong> 5 APIs<br />

FIGURE 1–7 <strong>Java</strong> <strong>EE</strong> Platform APIs<br />

Applet<br />

Container<br />

Applet<br />

J2SE<br />

Application Client<br />

Container<br />

Application<br />

Client<br />

SAAJ<br />

StAX<br />

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

Persistence<br />

Management<br />

WS Metadata<br />

Web Services<br />

JMS<br />

JAXR<br />

JAX-WS<br />

JAX-RPC<br />

J2SE<br />

■ Verifies that the contents of the EAR file are well formed and comply with the <strong>Java</strong> <strong>EE</strong><br />

specification<br />

■ Deploys (installs) the <strong>Java</strong> <strong>EE</strong> application EAR file into the <strong>Java</strong> <strong>EE</strong> server<br />

Figure 1–7 illustrates the availability of the <strong>Java</strong> <strong>EE</strong> 5 platform APIs in each <strong>Java</strong> <strong>EE</strong> container<br />

type. <strong>The</strong> following sections give a brief summary of the technologies required by the <strong>Java</strong> <strong>EE</strong><br />

platform, and the APIs used in <strong>Java</strong> <strong>EE</strong> applications.<br />

HTTP<br />

SSL<br />

HTTP<br />

SSL<br />

Web Container<br />

JSP Servlet<br />

SAAJ<br />

JSTL<br />

<strong>Java</strong>Server<br />

Faces<br />

StAX<br />

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

Persistence<br />

JTA<br />

Connectors<br />

JMS<br />

Management<br />

WS Metadata<br />

Web Services<br />

JACC<br />

JAXR<br />

JAX-WS<br />

JAX-RPC<br />

New in <strong>Java</strong> <strong>EE</strong> 5<br />

J2SE<br />

Enterprise <strong>Java</strong>BeansTechnology<br />

EJB Container<br />

J2SE<br />

An Enterprise <strong>Java</strong>Beans (EJB) component, or enterprise bean, is a body of code having fields<br />

and methods to implement modules of business logic. You can think of an enterprise bean as a<br />

building block that can be used alone or with other enterprise beans to execute business logic on<br />

the <strong>Java</strong> <strong>EE</strong> server.<br />

<strong>The</strong>re are two kinds of enterprise beans: session beans and message-driven beans. A session<br />

bean represents a transient conversation with a client. When the client finishes executing, the<br />

session bean and its data are gone. A message-driven bean combines features of a session bean<br />

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

Mail<br />

JAF<br />

StAX<br />

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

Persistence<br />

JTA<br />

Connectors<br />

JMS<br />

Management<br />

WS Metadata<br />

Web Services<br />

JACC<br />

JAXR<br />

JAX-WS<br />

JAX-RPC SAAJ<br />

EJB<br />

Database<br />

<strong>Java</strong> <strong>EE</strong> 5 APIs<br />

Chapter 1 • Overview 55<br />

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

Mail<br />

JAF

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

Saved successfully!

Ooh no, something went wrong!