|
|
|
|
|
|
|
|
|
Advanced Enterprise JavaBeans (EJB 2.0) |
Duration: 3 days |
|
|
- Enterprise Java Developers
- System Designers and Architects
|
|
Some knowledge of EJB is required. We recommend our EJB Development course,
|
|
|
Description |
This course is designed for EJB developers who want to use the latest features
from EJB 2.0 specification. EJB 2.0 specification adds a completely
new kind of EJB - the Message Driven Bean. It integrates Java
Message Service (JMS) with EJB to fill the needs of asynchronous
enterprise applications. EJB 2.0 also introduced a new Container
Managed Persistence ( CMP ) model which is significantly different
from the old one. Another new feature in 2.0 is the Enterprise
JavaBeans query language - EJB QL. EJB QL is used to define finder
queries for entity beans with container managed persistence. EJB
QL lets the Bean Provider specify finder methods in a portable
way. For building high performance applications, EJB 2.0 also
supports a new kind of interface, EJBLocalObject. This
3-day course will first cover the basic concepts behind these
new features, and 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
- WebSphere Application Server
- WebLogic
And the following IDEs are also supported
- WebSphere Studio Application Developer (WSAD)
- JBuilder
- VisualCafe (WebGain)
|
|
Objectives |
objectives |
|
Course Outline |
OOA/D for Enterprise Development
- System Development Process
- Domain Modeling: Informal Sketch
- Instance Diagram
- Structure: Type Diagram
- System Analysis: Context Model
- Design: Architecture
- Sequence Diagram
- Design Class Diagram
- Type Model
Local Objects
- Issues in parameter passing in RMI
- Overview of Local Interface
- The EJBLocalObject interface
- The EJBLocalHome interface
- Local and Remote Interface
- Developing EJBs with Local Interface
EJB 2.0 Entity Beans
- Container Managed Persistence (CMP) - 1.1 vs. 2.0
- Container Managed Relationships
- Defining Finder Methods
- EjbSelect
- Home Methods
- A Complete CMP 2.0 Example
|
|
EJB Query Language
- EJB QL Queries
- Select Clause
- From Clause
- Where Clause
Introduction to JMS
- Overview of Java Messaging Service
- JMS Messaging Styles
- Point-to-Point
- Publish-and-subscribe
- Administered Objects
- JMS Interfaces
- Steps to Develop JMS Applications
Message-Driven Beans (MDB
- Overview of Message-Driven Beans
- Asynchronous vs synchronous components
- Association of MDB with JMS Destination
- Client View of an MDB
- Message-driven Bean Class
- onMessage() Method
- Message-driven Bean Lifecycle
| |
|
|