EJB 3.0 Programming

Pre-requisite : Hands-on experience on  JAVA 1.5(Annotations), RMI, XML

1. Java Enterprise Edition (EE)   Overview

  • Objectives
  • Introduction to Java Platform
  • Java Community Process (JCP)
  • Introduction to Java EE
  • Why Move to Java EE
  • Java EE - New and Enhanced Features
  • Java EE Software Packaging
  • Java EE Technologies
  • Summary

  2. Enterprise JavaBeans (EJBs) Overview

  • Objectives
  • Need for EJBs
  • Distributed Computing
  • Distributed Transaction
  • Distributed Security
  • What are EJBs?
  • Main Characteristics of EJBs
  • EJB Remote Method Call
  • EJB Architecture Components
  • EJB Client
  • EJB JAR File
  • EJB Container
  • EJB Server
  • Enterprise JavaBeans
  • Session Beans
  • Entity Beans
  • Java Persistence API - Entities
  • Message-Driven Beans (MDBs)
  • EJB Specification
  • Summary

 3. Stateless Session Beans

  • Objectives
  • Session Beans
  • Stateless Session Bean
  • Stateless Session Bean Pooling
  • Stateless Session Bean Examples
  • Stateful Session Bean
  • Stateful Session Bean Examples
  • Annotations
  • Stateless Session Bean Components
  • Example: Business Interface
  • Example: Bean Class
  • Alternative Example
  • Example: The Client
  • Business Interface Details
  • Bean Class Details
  • JNDI - Overview
  • Dependency Injection
  • Dependency Annotations
  • Injecting EJB References (@EJB)
  • Injecting EJB References (@EJB) - Field Level Injection
  • Injecting EJB References (@EJB) - Method Level Injection
  • The @Resource Annotation
  • Injecting Resources (@Resource) - Field Level Injection
  • Injecting Resources (@Resource) - Method Level Injection
  • A Full Example
  • Session Bean Lifecycle
  • Stateless Session Bean Lifecycle
  • Summary

 4. Stateful Session Beans

  • Objectives
  • Stateful Session Bean
  • Stateful Session Bean Examples
  • Stateful Session Bean Components
  • Stateful Session Bean Example
  • Stateful Session Beans
  • Session Bean Lifecycle
  • Stateful Session Bean Lifecycle
  • Summary

 5. Entities and Java Persistence API

  • Objectives
  • Data Persistence
  • Java Persistence API
  • Entities
  • Session Beans Vs Entities
  • Entities
  • Persisting and Retrieving Data
  • Entities - Example
  • Descriptor File META-INF/persistence.xml
  • Accessing Entities
  • Persistence Context
  • Working With the EntityManager Interface
  • Accessing Entities Using Stateless Session Beans
  • Updating Data
  • Entity Lifecycle
  • Life-Cycle Callbacks
  • Example: Internal callback
  • External Callback Class
  • Listener Class - Example
  • Synchronizing with Databases
  • Entity Lookup
  • EJBQL (EJB Query Language)
  • EJB Query Language
  • EJBQL: Simple examples
  • EJBQL: SELECT clause
  • EJBQL: SELECT clause
  • EJBQL: FROM clause
  • EJBQL: WHERE clause
  • EJBQL: WHERE clause

 6. Message-Driven Beans

  • Objectives
  • The Trouble with RMI/IIOP
  • Messaging to the Rescue
  • Messaging Features
  • Message-Oriented Middleware
  • Messaging Domains
  • Publish/Subscribe
  • Point-to-Point
  • Java Message Service
  • JMS Programming: Overview
  • JMS Programming: Overview
  • The JMS Interfaces
  • Integrating JMS and EJB

 7. Transactions

  • Objectives
  • Need for Transactions
  • Transactions
  • ACID Properties
  • Transaction Components
  • Distributed Transactions
  • Distributed Transaction Components - Two Phase Commit
  • Java Transaction API (JTA)
  • Object Transaction
  • EJB Transaction Basics

 8. Introduction to Design Patterns

  • Java Design Pattern

o  Objectives

o  Patterns Overview

  • MVC Design Pattern

o  Objectives

o  Patterns Overview

  • EJB Design Pattern

o  Objectives

o  Patterns Overview