Java EE: EJB 3.0 in the Enterprise, Part 3 of 3
Interactive

Java EE: EJB 3.0 in the Enterprise, Part 3 of 3

LearnNow Online
Updated Oct 25, 2018

Course description

This course takes you beyond the fundamentals of Enterprise Java Bean (EJB 3.0) programming using Eclipse. In this course, you will learn about building message-driven Beans, EJB Security, utilizing Web Services technologies like JAX-WS, and managing distributed transactions. You will also be exposed to Java Interceptors, EJB Timer service, Hibernate JPA caching, EJB design patterns, and deployment.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course is intended for intermediate to advanced Java programmers. System architects will find the advanced concepts especially beneficial in designing a framework. Students should have good Java programming knowledge and should be familiar with web application programming, including servlets and JSPs.


Meet the expert

Susan Bryant

Susan Bryant is an experienced IT trainer and consultant with a broad array of skills. She has over 15 years experience in information systems with roles including systems consulting, project management, staff management, staff mentoring, and certified technical trainer. Susan has a strong technical knowledge of IBM WebSphere Application Server, WebSphere Portal Server, WebSphere Process Server, Lotus Domino, and web application development technologies including, Struts, JSF, EJBs and AJAX.

Video Runtime

171 Minutes

Time to complete

251 Minutes

Course Outline

Module 7

Timer Service (30:23)

  • Introduction (00:50)
  • Container Managed Timer Service (02:44)
  • EJB Timer Service (01:05)
  • Timer Service and EJB (00:33)
  • Timer Service API (00:48)
  • The TimerService Interface (01:21)
  • Obtaining the Timer Service (01:00)
  • Creating a Timer (01:55)
  • Getting All Timers (00:33)
  • Timeout Callback Method (01:12)
  • Timer Interface (01:16)
  • Example: TimerTestBean (01:06)
  • Timer and Transaction (01:11)
  • Limitations of EJB Timers (01:15)
  • Demo: Timer Service (12:35)
  • Summary (00:51)
Module 8

Transactions (54:35)

  • Introduction (00:34)
  • Need for Transactions (02:30)
  • Transactions (01:18)
  • ACID Properties (01:42)
  • Transaction Components (00:39)
  • Distributed Transactions (01:09)
  • Two Phase Commit (01:25)
  • Java Transaction API (00:40)
  • Object Transaction (01:19)
  • EJB Transaction Basics (01:04)
  • Transaction Propagation (00:56)
  • Transaction Outcome (01:19)
  • Container Managed Transaction (01:38)
  • Container MT Settings (03:30)
  • Interacting with Container MTs (01:38)
  • Example: Container MT (00:46)
  • Transaction Attributes Support (01:06)
  • Bean Managed Transaction (04:45)
  • Client Managed Transaction (02:09)
  • Transaction Isolation (01:20)
  • Isolation Level (01:22)
  • Demo: Transactions (20:55)
  • Summary (00:39)
Module 9

Interceptors (34:27)

  • Introduction (00:41)
  • Introduction (02:05)
  • Interceptors (01:50)
  • Internal Interceptor (02:43)
  • Example: Internal Interceptor (01:27)
  • External Interceptors (01:29)
  • Example: Default Interceptor (01:19)
  • Another Example (00:40)
  • Class-Level Interceptor (01:19)
  • Pre & Post Processing (01:24)
  • Excluding Interceptors (01:22)
  • Interceptors on Lifecycle Call (00:53)
  • Blocking Calls (00:57)
  • Demo: Interceptors (15:23)
  • Summary (00:51)
Module 10

EJB3 Design Patterns (23:15)

  • Introduction (01:15)
  • Introduction (03:45)
  • Message Facade Pattern (03:07)
  • Message Facade Using JMS (02:21)
  • Message Facade Using Timer (02:21)
  • Notes About Message Facade (02:54)
  • The Command Pattern (03:04)
  • Implementing Command Pattern (02:20)
  • Example Command Pattern (01:33)
  • Summary (00:30)

Design Patterns and EJB Data (28:41)

  • Introduction (00:41)
  • Session Facade Pattern (02:51)
  • JPA and Session Facade Pattern (02:58)
  • Facade Example (00:47)
  • Data Transfer Object Pattern (02:54)
  • JPA Entity as DTO (02:45)
  • Problem with JPA Entity as DTO (03:43)
  • Version Number Pattern (02:15)
  • JPA and Version Number Pattern (01:09)
  • Primary Key Generation (01:40)
  • JPA and Primary Key Generation (01:37)
  • Fast Lane Pattern (01:23)
  • JPA and Fast Lane Pattern (02:55)
  • Summary (00:56)
;