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

Java EE: EJB 3.0 in the Enterprise, Part 1 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

190 Minutes

Time to complete

250 Minutes

Course Outline

Module 1

JPAQL (12:28)

  • Introduction (04:11)
  • JPAQL (01:55)
  • Interface (00:54)
  • Refactor (03:19)
  • Local Interface (01:39)
  • Summary (00:27)

Intro to Relationships (48:54)

  • Introduction (00:47)
  • Relationship Between Entities (02:11)
  • Anatomy of a Relationship (02:58)
  • Foreign Key (00:28)
  • Example Schema (00:26)
  • One-to-One Unidirectional (02:15)
  • Creating Entity Instances (00:40)
  • Traversing the Relationship (00:40)
  • The Cascade Behavior (02:02)
  • One-to-One Bidirectional (01:34)
  • Traversing the Relationship (01:19)
  • Demo: Intro to Relationships (32:55)
  • Summary (00:34)
Module 2

Complex Relationships (44:14)

  • Introduction (00:34)
  • One-to-Many and Many-to-One (01:46)
  • Many-to-One Unidirectional (00:56)
  • Creating Entity Instances (00:58)
  • Traversing the Relationship (00:21)
  • Modeling One-to-Many (01:34)
  • Creating Entity Instances (03:38)
  • Traversing the Relationship (00:29)
  • Many-to-Many (01:33)
  • Modeling Many-to-Many (01:56)
  • Creating Entity Instances (00:41)
  • Traversing Relationship (00:33)
  • Unidirectional One-to-Many (01:08)
  • Unidirectional One-to-Many (01:40)
  • Creating Entity Instances (00:43)
  • Traversing the Relationship (00:35)
  • Demo: Complex Relationships (24:31)
  • Summary (00:30)

Relationships and JPAQL (38:41)

  • Introduction (00:44)
  • Relationships in JPAQL (01:06)
  • Example: Relationship (01:01)
  • Fetching Optimizations (01:35)
  • Lazy vs. Eager Initialization (02:22)
  • Lazy Initialization (02:43)
  • Lazy Initialization Problems (02:04)
  • Fetch Join Query (01:39)
  • Demo: Relationships and JPAQL (24:57)
  • Summary (00:27)
Module 3

Entity and Inheritance (26:50)

  • Introduction (00:43)
  • Inheritance (01:33)
  • Inheritance Example (01:04)
  • Inheritance and Entities (01:31)
  • Inheritance Strategies (00:23)
  • Single Table Per Class (04:59)
  • Single Table Pros and Cons (01:23)
  • Demo: Entity and Inheritance (14:45)
  • Summary (00:25)

More Inheritance Strategies (19:27)

  • Introduction (00:29)
  • Table Per Concrete Class (01:30)
  • JBoss Warning (01:42)
  • Table Structure (00:20)
  • Pros and Cons (00:59)
  • Joined Subclasses (01:29)
  • Table Structure (00:49)
  • Pros and Cons (00:59)
  • Which Approach to Use (01:48)
  • Demo: Inheritance Strategies (08:46)
  • Summary (00:30)
;