$2,495.00
$2,370.25 CAD / 5 DAYS

web special rate

1) Select Location for Dates in Your City:


Choose Date

Date is Guaranteed to Run

Notify me Click on date to Register Now or click Notify Me to receive an email notification when course is Guaranteed to Run. once the following courses become Guaranteed to run.

Canada
,
Canada
,
Canada
,

Jump to Shopping Cart Continue shopping

JVF11 – Developing Business Component with Enterprise JavaBeans (EJB) 3.1

 

Duration: 5 days

Summary
The EJB architecture is a component architecture for the development and deployment of component-based business applications. Applications written using the Enterprise JavaBeans architecture are scalable, transactional, and multi-user secure.

The purpose of EJB 3.1 is to improve the EJB architecture by reducing its complexity from the EJB developer’s point of view.

Prerequisites
Before attending this course, should have:

  • Java programming experience or have taken course Java Programming

Course Content

Introduction to JEE

  • What is JEE
  • JEE APIs
  • JEE Architecture
  • Benefits of JEE

What is new in EJB 3.1

  • What are EJBs?
  • Main Characteristics of EJBs
  • EJB Client
  • What is new in EJB 3.1?
  • Global JNDI Names
  • Singleton Session Bean
  • Timer Service
  • Asynchronous Session Bean

Dependency Injection (CDI)

  • Introduction
  • Need for Inversion of Control
  • The @Inject Annotation
  • Beans.xml
  • Example
  • Use of Interfaces
  • Example
  • The @Default Annotation
  • Example
  • Qualifiers
  • Accessing Enterprise Beans
  • Using Enterprise Beans in Clients
  • Portable JNDI Syntax
  • Enterprise Beans (No-InterfaceView)
  • Local Enterprise Beans
  • Remote Clients

Session Beans

  • Type of Session Beans
  • The Stateful Session Bean
  • The Stateless Session Bean
  • Requirements for Stateless Session Bean
  • The Life Cycle of a Stateless Bean
  • Life in the Method-Ready Pool
  • Life Cycle Methods
  • Dependency Injection
  • Example: Business Interface
  • Example: Bean Class
  • Session Bean Client

Asynchronous Session Bean

  • Asynchronous Communication
  • Concurrent Programming
  • Future Object Methods
  • Example
  • Exercise

Singleton Session Bean

  • Understand Singleton Session Bean
  • The Life Cycle for Singleton Session Bean
  • Life Cycle Methods
  • The @Startup annotation
  • Singleton Dependency
  • Singleton Concurrency
  • Container Managed Concurrency
  • Bean Managed Concurrency
  • Access Timeout
  • Example
  • Exercise

Message-Driven Beans

  • Overview of MDB
  • Overview of JMS
  • Using JMS
  • Type of Messages
  • Message Producer: Session Bean
  • @MessageDriven
  • @ActivationConfigPropert
  • Message Consumer: MDB
  • Example
  • Exercise

JPA and Entity

  • Java Persistence API
  • Entity  Overview
  • Requirements for Entity Classes
  • Domain Model
  • Primary Keys
  • Example
  • Persistence Unit, Context and Entity Manager
  • CMP And EntityManager
  • EntityManager
  • Entity Client
  • Persistent Fields and Properties
  • Example
  • Persistence.xml
  • Obtaining an EntityManager in EJB
  • Obtaining an EntityManager in a Plain Java Class
  • Entity Life Cycle
  • Example
  • Validating Persistent Fields and Properties
  • Example
  • Exercise

Object-Relational Mapping

  • Field Access
  • Property Access
  • Mapping to a Table
  • Column Mapping
  • Mapping Simple Types
  • Mapping the Primary Key
  • Identifier Generation
  • Primary-Key Classes
  • Finding an Entity
  • Removing an Entity
  • Updating an Entity
  • Finding all Records
  • Example: Primary ID is Known
  • Example: Primary ID is Not Known

Java Persistence Query Language

  • Introduction
  • Using the SELECT Query
  • Example
  • The WHERE Clause
  • Example
  • Named Query
  • Example
  • Native SQL Query
  • Example

Entity Relationships

  • Introduction
  • “HAS-A” Relationship
  • Example
  • Unidirectional and Bi-directional
  • Example
  • Foreign Key
  • Example Schema
  • One-To-One Unidirectional
  • Creating Entity Instances
  • The Cascade Behavior
  • One-To-One Bidirectional
  • Avoid an Infinite Loop

Many-to-Many Entity Relationships

  • Many-to-One Unidirectional
  • Example
  • Creating Entity Instances
  • One-to-Many
  • Example
  • Modeling One-To-Many
  • Bidirectional Links
  • Instantiate Entities
  • Example
  • Modeling Many-To-Many
  • Example
  • Lazy and Eager Initialization

Entity And Inheritance

  • Inheritance Strategies
  • Example
  • Single Table Per Class Hierarchy
  • Annotating Single Table
  • Example
  • Single Table Structure
  • One Table Per One Entity
  • Example
  • Joined Subclasses
  • Example

Timer Service

  • Introduction
  • Automatic Timer
  • Calendar-Based Timer Expressions
  • The @Schedule annotation
  • @Schedule Attribute Syntax
  • Example
  • Programmatic Timers
  • The TimerService Interface
  • Calendar-Based Timer (Programmatically Created)
  • Example
  • Non Calendar-Based Timer (Programmatically Created)
  • Example: Single Event Timer

Interceptors

  • Introduction
  • Role of Interceptors
  • The @Interceptors annotation
  • Use of Interceptors
  • Creating an Interceptor
  • Example

Transactions

  • Overview
  • Distributed Transactions
  • Isolation Levels
  • Transactions in EJB
  • Managing Transactions
  • BMT
  • CMT
  • Transactions Attributes
  • Transactions Outside the Container
  • Example

EJB Security

  • Introduction
  • How it Works?
  • Define Role Names (in Code)
  • Define Role Names (in DD)
  • Specify Role Access (in Code)
  • Specify Role Access (in DD)
  • The @PermitAll Annotation
  • The @DenyAll Annotation
  • Example
  • Programmatic Security
  • Example

Integrating JSF and EJB 3.1 (Optional)