Professional Documents
Culture Documents
Objectives
1
Web Component Development with Servlets
EJB 3.0 Specification
3
Web Component Development with Servlets
EJB 3.0 Enterprise Bean
EJB 3.0 beans are the Plain Old Java Object (POJO) styled
beans as opposed to pre-EJB 3.0 enterprise beans that
used to constitute multiple Java classes and interface per
EJB component.
EJB 3.0 bean has all its code contained in a single Java
class.
EJB 3.0 enterprise bean provides a single business
interface for both local and remote clients.
EJB 3.0 bean provides a bean class that provides definitions
of only the business interface.
EJB 3.0 bean does not have a home interface.
A message-driven bean, in EJB 3.0, doesn’t need a
business interface.
4
EJB 3.0 Enterprise Bean (Contd.)
The bean provider is not required, in EJB 3.0, to implement
the component interface regardless of whether it is needed
or not.
The bean class does not have to implement the component
interfaces, javax.ejb.SessionBean for a session bean or
javax.ejb.MessageDrivenBean for a message-driven bean.
5
Annotations
6
Annotations (Contd.)
7
Annotations (Contd.)
8
Introducing the Java Platform Enterprise Edition (Java EE)
11
Examining the Java EE Application Architecture (Contd.)
12
Examining the Java EE Application Architecture (Contd.)
14
Examining Java EE Container Services
16
Examining Java EE Container Services (Contd.)
JMS API
JTA
Java Authentication and Authorization Service (JAAS)
Java API for XML Processing (JAXP)
Web services integration features
JMX
Timer services
17
Examining Java EE Container Services (Contd.)
18
Examine the EJB Application Creation Process
Java EE platform:
Provides strict separation of the application components from
the general services and infrastructure.
Helps the developers to focus on the application business
logic.
Comparing Java EE Application Development With Traditional Enterprise Application Development (Contd.)
22
Summary
24