Java EE: EJB 3.0 and JPA, Part 3 of 3
Interactive

Java EE: EJB 3.0 and JPA, Part 3 of 3

LearnNow Online
Updated Oct 26, 2018

Course description

This course is introduces you to the Enterprise JavaBeans (EJB 3.0) technology and is ideal for those who have never programmed using EJB. You will learn about the core concepts regarding EJB including why they are important, differences between stateless and stateful sessions, the Java Persistence API, and the JPA Entity Lifecycle using Eclipse. You will also look at the Java Persistence Query Language (JPA QL) and entity relationships.

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

135 Minutes

Time to complete

195 Minutes

Course Outline

Module 7

Reference and Injections (29:34)

  • Introduction (00:50)
  • Role of References (01:44)
  • EJB Reference Annotations (02:24)
  • Resource Reference Annotations (02:55)
  • Dependency Injection (02:06)
  • Annotation Injection (00:45)
  • Example: Field Level Injection (01:29)
  • Method Level Injection (00:46)
  • Deployment Descriptor (01:42)
  • Example: Deployment Descriptor (00:51)
  • Class Level References (00:49)
  • Multiple References (01:29)
  • Demo: Reference and Injections (11:00)
  • Summary (00:38)

Deployment Descriptors (30:00)

  • Introduction (00:34)
  • EJB References in Deployment (02:58)
  • Reference Lookup (00:57)
  • EJB Context (01:02)
  • JNDI Lookup with EJBContext (01:51)
  • Overriding Annotations (01:37)
  • Default Reference Name (01:52)
  • Resolving References (01:38)
  • mappedName Attribute (01:45)
  • Overloaded Reference Names (01:13)
  • Reference Best Practices (03:54)
  • Demo: Deployment Descriptors (09:33)
  • Summary (01:01)
Module 8

JPA Query Language (53:13)

  • Introduction (01:01)
  • JPA Query Language (02:15)
  • Basic JPAQL Syntax (01:07)
  • Simple SELECT Examples (01:16)
  • Example of Using JPAQL (01:05)
  • The SELECT Clause (01:37)
  • Reading Data from Code (02:07)
  • The WHERE Clause (08:08)
  • Using JPAQL from Session EJB (00:52)
  • Named Query (03:48)
  • Multiple Named Queries (00:52)
  • Bulk Updates (01:30)
  • Bulk Delete (00:32)
  • Running Native SQL Query (01:56)
  • Native SELECT Query (01:47)
  • Native SQL Delete and Insert (00:19)
  • Named Native Query (01:28)
  • Demo: JPAQL (21:03)
  • Summary (00:22)
Module 9

EJB Deployment (22:44)

  • Introduction (00:45)
  • Packaging EJB JAR File (02:37)
  • The Bean Classes (00:36)
  • Dependent Classes (02:04)
  • Business Interfaces (00:29)
  • Client JAR File (01:45)
  • The Deployment Descriptor (02:44)
  • Basic Deployment Descriptor (00:21)
  • Configuring a Session EJB (02:09)
  • Configure Assembly Description (02:24)
  • Demo: EJB Deployment (06:05)
  • Summary (00:39)
;