| |
| |
| |
|
|
|
Enterprise JavaBeans (EJB 2.1)
|
|
Duration:
5 Days
|
|
|
-
Enterprise Java Developers
-
System Designers and Architects
| |
Knowledge of Java is required, we recommend the following course,
|
|
|
Description
|
This course has been specially designed for professionals looking to build
large-scale, scalable, robust, secure, component-based, high-performance,
distributed and transactional systems using the EJB 2.1 specification and
deploying it as a J2EE application. You will learn the concepts and
architecture of Entity Bean, Session Beans, Message-Driven beans.
You will learn about EJB design patterns and best practices. You will also
learn about modelling the entity-relationships from the enterprise database
schema and enforcing those relationships in the EJB compoment framework
using Container-Managed relationships. These concepts are further
reinforced through the use of well-crafted exercises at appropriate points
throughout the course. For this course, we support the following
application servers and tools.
-
WebSphere Application Server
-
WebLogic
-
Oracle
-
JBoss
And the following IDEs
-
Rational Application Developer (RAD) 6.x
-
WebSphere Studio Application Developer (WSAD) 5.x
-
JBuilder X
Please contact us if you would like delivery on other application server or
tool set.
|
|
Objectives
|
This course aims to teach a set of advanced skills necessary to implement
robust, scalable, reusable enterprise applications using the EJB 2.1
specification. This course also provides a comprehensive coverage of
issues in the EJB architecture and its supporting APIs. On completion,
attendees:
-
Will be able to develop robust and industrial-strength applications using
EJB 2.1
-
Package the application to deploy it on a J2EE-compliant server
-
Would have mastered the EJB architecture
-
Would have mastered the EJB APIs
-
Be able to build Session beans (stateless and stateful)
-
Be able to build container-managed persistense (CMP) Entity beans
-
Be able to build bean-managed persistense(BMP) Entity beans
-
Be able to build Message-Driven beans
-
Be able to use the timer service
-
Use container-managed relationships (CMR) to model relationships between
entity beans
-
Use the EJBQL query language to implement custom finders and EjbSelect
methods
-
Master the EJB transactional model
-
Master the EJB security model
|
|
Course Outline
|
Enterprise JavaBeans Architecture
-
Why Enterprise JavaBeans (EJB)
-
EJB Design Goals
-
EJB Fundamentals
-
Proxy Pattern
-
Enterprise JavaBeans Workflow
-
How do Enterprise JavaBeans Work
-
EJB Roles
Remote vs. Local EJB
-
Remote home and component interface definitions
-
Local home and component interface definitions
-
EJBContext
Developing Session Beans
-
Defining Stateless and Stateful Session Beans
-
EJB Container and bean pool management
-
Lifecycle of Stateless and Stateful Session Beans
-
Session Beans guidelines
Developing Entity Beans
-
Entity Beans concepts
-
Entity Bean and primary key
-
Entity Bean's home and component interface
-
Entity bean's lifecycle
-
Container-Managed Persistence (CMP)
-
A complete CMP example
Developing EJB Applications
-
Enterprise Bean's Environment
-
Service Locator Pattern
-
Data Transfer Object Pattern
-
Session Facade Pattern
Container-Managed Relationships
-
Types of relationship
-
Defining relationships
-
Container-managed relationship (CMR) field
-
Relationship and assignment semantics
-
Deployment descriptors for CMR
-
A complete CMR example
EJB Query Language
-
Overview of EJB QL
-
Abstract schema and query domains
-
Select clause
-
From clause
-
Where clause
Advanced CMP 2.0 Topics
-
ejbSelect Methods
-
Home Methods
| |
Developing BMP Entity Beans
-
Overview of Bean Manager Persistence
-
Lifecycle of BMP beans
-
Implementing BMP lifecycle methods
-
Data Access Object (DAO) pattern
-
Abstract factory for DAOs
-
Using Data Access Object (DAO) pattern to implement BMP
Introduction to Java Message Service (JMS)
-
Overview of enterprise messaging
-
Point-to-point and publish-subscribe messaging styles
-
JMS administered objects
-
JMS application development
Developing Message-Driven Beans
-
Message-Driven Beans and JMS destination
-
Client view of MDB
-
MDB lifecycle
-
MessageListener interface
-
MessageDrivenContext interface
-
Deployment descriptors for MDB
-
MDB with JCA resource adapter
EJB Timer Service
-
Overview of the Timer Service
-
Timer Service APIs
-
Programming with Timer Service
Transactions
-
Overview of EJB Transaction
-
Container-Managed Transaction
-
Bean-Managed Transactions
-
Transaction Isolation Level
-
Transactional Stateful Session Beans
-
Exceptions and Transactions
EJB Security
-
Overview of EJB security
-
Security roles
-
Security role references
-
Method permissions
-
Object level security
-
Security context
Java Authentication and Authorization Service
-
How does JASS work
-
Login context and login module
-
JAAS configuration file
-
JAAS policy file
-
Using JAAS with EJB client
|
|
|
|