Development using Enterprise Java Beans (EJB) (Course Code: 134)

Course Schedule:

Please call 8622 8900 or email us for further information

Overview:

This course will teach you the fundamentals of Enterprise JavaBeans (EJB).

You will learn about:

  • the Java 2 Platform, Enterprise Edition (2JEE), as well as EJB concepts, methodology and development.
  • EJB-compliant servers, and how Enterprise JavaBeans are used by remote client applications.
  • database connectivity and transactions.

The course will teach you to develop session beans and entity beans, and offers hands-on experience working with Enterprise JavaBeans.

Learning Method:

The intensive course is presented over 3 days, using a combination of instructor presentation and student hands-on practical exercises.

Who will benefit from this course?

This course is designed for those who need to be thoroughly prepared to work with Enterprise Java Beans, such as:

  • Database developers and administrators
  • Internet application developers
  • Middleware programmers
  • Java developers
  • Java programmers
  • Software architects
  • Client/server developers.

It is for those with the following job responsibilities:

  • develop n-tier database and legacy connectivity solutions for Web applications using Java
  • Java APIs
  • Java Database Connectivity solutions
  • middleware tools
  • distributed object models.

Pre-requisites:

Before attending this course you must have completed

  • Course 064: Java Programming
  • Course 067: Advanced Java

or have a working knowledge of Java and client and server programming.

What can you expect to gain from this course?

On completion of the course you will:

  • have learnt the fundamentals of EBJ
  • know how EJB are used by remote client applications
  • know how to develop session beans and entity beans
  • have hands-on experience working with EJB.

Course Content:

Module 1:Introduction to Server-side Component Software
  • Client-Server and Multi-Tiered
  • Architectures
  • Software Components
  • Component Architectures
  • J2EE Technologies
  • Enterprise JavaBeans
Module 2:Enterprise JavaBeans Overview
  • EJB Architecture
  • Client Interaction with Enterprise
  • JavaBeans
  • EJB Container Services
  • The EJB Home Object
  • The EJB Object
  • Types of Enterprise JavaBeans
  • Deployment Descriptors
  • The EJB-JAR File
Module 3:Enterprise JavaBeans Clients
  • Introduction to EJB Clients
  • Using JNDI
  • Creating an EJB Instance
  • Removing the Enterprise Bean
  • Client Sample
Module 4:Creating Session Beans
  • Creating the Enterprise Bean Class
  • Stateless and Stateful Session Beans
  • Writing Business Methods for an
  • Enterprise Bean
  • The Home Interface
  • The EJB Object
  • Exceptions in EJB
  • Example: A Session Bean
  • The Library Application
  • Introduction to EJB Deployment
  • The Deployment Descriptor
  • Environment Data
  • Using Bean References
  • Using Resource Factories
  • Assembler/Deployer Roles with the
  • Deployment Descriptor
  • EJB Deployment in an EJB Server
Module 5:Entity Beans
  • What Is an Entity Bean?
  • Primary Keys
  • Entity Bean Architecture
  • Bean-Managed Persistence
  • Entity Bean Methods
  • Using Finder Methods
  • The Remote Interface
  • The Home Interface
Module 6:Container-Managed Persistence
  • Introduction to Container-Managed
  • Persistence
  • The Primary Key
  • EJB Methods and CMP
  • The Deployment Descriptor and CMP
  • Example: A CMP Entity Bean
Module 7:Transactions in Enterprise JavaBeans
  • What Are Transactions?
  • Participants in Transactions
  • Properties of Transactions
  • EJB Transactional Model
  • Distributed Transactions
  • Isolation Levels
  • Transactions in EJB
  • Container-Managed Transactions
  • Bean-Managed Transactions
Module 8:Enterprise JavaBeans Security
  • Introduction to EJB Security
  • Defining Users, Principals and Roles
  • Security and the Deployment Descriptor