background image

Java EE 5 APIs

<< Application Assembler | Java Servlet Technology >>
<< Application Assembler | Java Servlet Technology >>

Java EE 5 APIs

Verifies that the contents of the EAR file are well formed and comply with the Java EE
specification
Deploys (installs) the Java EE application EAR file into the Java EE server
Java EE 5 APIs
Figure 1­7
illustrates the availability of the Java EE 5 platform APIs in each Java EE container
type. The following sections give a brief summary of the technologies required by the Java EE
platform, and the APIs used in Java EE applications.
Enterprise JavaBeans Technology
An Enterprise JavaBeans
TM
(EJB) component, or enterprise bean, is a body of code having fields
and methods to implement modules of business logic. You can think of an enterprise bean as a
building block that can be used alone or with other enterprise beans to execute business logic on
the Java EE server.
There are two kinds of enterprise beans: session beans and message-driven beans. A session
bean represents a transient conversation with a client. When the client finishes executing, the
session bean and its data are gone. A message-driven bean combines features of a session bean
and a message listener, allowing a business component to receive messages asynchronously.
Commonly, these are Java Message Service (JMS) messages.
Application
Client
Application Client
Container
J2SE
Applet
Container
J2SE
Applet
Web Container
J2SE
JSP
Servlet
EJB Container
J2SE
EJB
HTTP
SSL
HTTP
SSL
J
AX-RPC
SAAJ
J
AX-WS
J
AXR
JMS
W
eb Ser
vices
WS Metadata
Java
P
ersistence
StAX
Management
J
AX-RPC
SAAJ
J
AX-WS
J
AXR
JA
C
C
W
eb Ser
vices
WS Metadata
JMS
Connectors
Management
JT
A
Java
P
ersistence
StAX
J
a
v
aSer
v
e
r
F
a
ces
JSTL
Java
Mail
JAF
J
AX-RPC
SAAJ
J
AX-WS
J
AXR
JA
C
C
W
eb Ser
vices
WS Metadata
JMS
Connectors
Management
JT
A
Java
P
ersistence
StAX
Java
Mail
JAF
New in Java EE 5
Database
FIGURE 1­7
Java EE Platform APIs
Java EE 5 APIs
Chapter 1 · Overview
57