Professional Documents
Culture Documents
[Pic
k
Collected by Martin Nad
the
dat martin_m_nad@yahoo.com
e]
EjB3
Page 2
EjB3
EjB3
EJB3
Collected by martin nad
Page 3
EjB3
WHAT IS EJB?
• The Enterprise JavaBeans architecture or EJB for short is an
architecture for the development and deployment of
component-based robust, highly scalable business
applications. These Applications are scalable, transactional,
and multi-user secure. You can develop the application once
and then deploy on any one of the JEE 5 complaint application
server. There are many application servers are available both
free and commercial. You can choose the server for
development
BENEFITS OF EJB
• EJB simplifies the development of small and large enterprise
applications. The EJB container provides system-level services
to enterprise beans, the bean developer can just concentrate
on developing logic to solve business problems.
TYPES OF EJB
• Session Bean Session is one of the EJBs and it represents a
single client inside the Application Server. Stateless session is
easy to develop and its efficient. As compare to entity beans
session beans require few server resources. A session bean
is similar to an interactive session and is not shared; it can
have only one client, in the same way that an interactive
session can have only one user. A session bean is not
persistent and it is destroyed once the session terminates.
Page 4
EjB3
Page 5
EjB3
DEPENDENCY INJECTION
• Now the API for lookup and usage of EJB environment and
resource references has been simplified and dependency
injection is used through metadata annotations.
Page 6
EjB3
CALLBACK INTERFACES
• Elimination of the requirement for the implementation of
callback interfaces.
DONATION
Page 7
EjB3
MY OTHER DOCUMENTATION
Page 8