Conquer-IT! Part 2: EJBs, JNDI and JDBC

View the Read Along Book the comes with Conquer-IT! Part 2: EJBs, JNDI and JDBC

Topics Covered

Why EJBs?

  • Motivation for the need for Enterprise Java Beans

Introduction to EJBs

  • Concept of EJBs, EJB Container and qualities of service

So What are EJBs?

  • Concept of Remote Interface, Bean Implementation, Home Interface and Deployment Descriptors

Types of EJBs

  • Concept of Entity EJBs (BMP and CMP), Session (Stateful and Stateless) and Message Driven EJBs

EJB Development

  • Interactive Code viewing and analysis - creating a stateless session EJB

JNDI

  • Concept of JNDI and Naming Services
  • Multiple-animations illustrating JNDI and its use in distributed computing

Deployment into EJB Container

  • Animation illustrating what happens inside the EJB Container when an EJB Jar is deployed

The Client Programming Model

  • Animation illustrating the client programming model for accessing EJBs
  • Interactive code viewing and analysis of Web based client
  • Interactive code viewing and analysis of Java Application client

Seeing it Run - Stateless Session EJB

  • Animation illustrating the lifecycle of stateless EJBs, Pooling and multiple client access/li>

Writing a Stateful Session EJB

  • Interactive code viewing and analysis for writing a stateful session EJB

Seeing it Run - Stateful Session EJB

  • Animation illustrating the lifecycle of stateful EJBs, caching, activation and passivation

Entity EJBs - BMPs

  • Concept of Entity EJBs and BMPs

JDBC

  • Concept of JDBC and some definitions
  • Concept of Connection Pools and Datasources

Primary key Class

  • Concept of Primary Keys and key classes

Writing a BMP

  • Interactive code viewing and analysis for writing a BMP

Seeing it Run - BMP

  • Animation illustrating BMP lifecycle and how the EJB container hosts BMPs

Writing a CMP (EJB 2.x compliant)

  • Interactive code viewing and analysis for writing a CMP

Seeing it Run - CMP

  • Animation illustrating CMP lifecycle and how the EJB container hosts CMPs

Transaction Scenarios

  • Animations illustrating how the container interprets the transaction attribute in the Deployment descriptor

Some EJB Best Practices