Email Us   Phone : 503-259-0312   
  Home    |    Instructor-led Training    |    Self-Paced Learning    |    Online Training     

Contact Us   -   Why Choose Wintrac   -   Clients    

Order CD-ROMs   Order Videos 
Java EE Programming: Enterprise JavaBeans (EJB 3.0) and Java Persistence (JPA)
with Susan Bryant

View the Course Outline

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.

Course includes 21+ hours of total training time...

  • 9 modules of training
  • Over 7 hours of media run time
  • Over 250 pages of online courseware
  • Step-by-step hands-on-labs
  • Sample code
Format Sessions Retail Price
Java EE Programming: EJB 3.0 and JPA



Buy Now!

DVD-ROM & Books

1 DVD-ROM+ Printed Book

Buy Now!

Order online 

Read about Susan Bryant

Course Outline(Outlines are subject to change.)

Java EE Programming: EJB 3.0 and JPA

Modules Run Time Pages
9 7 hours 250

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.

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.

Java Enterprise Edition (EE) Overview

  • Introduction to Java Platform
  • Java Community Process (JCP)
  • Introduction to Java EE
  • Why Move to Java EE
  • Java EE - New and Enhanced Features
  • Java EE Software Packaging
  • Java EE Technologies

Java EE Tools in Eclipse WTP

  • Eclipse Platform
  • Eclipse Workspace
  • Perspectives, Views & Editors
  • Basic Operations with Eclipse Views and Perspectives
  • The Java Perspective
  • The Debug Perspective
  • Navigator View
  • Package Explorer
  • Outline View
  • Problems View
  • Eclipse Preferences
  • Build and Validation
  • Code Completion, Templates and Snippets
  • Searching
  • Configure Compiler Class Path
  • JRE Switching
  • Eclipse WTP
  • Java EE Perspectives
  • Project Explorer View
  • Servers View
  • JPA Tools

Enterprise JavaBeans (EJBs) Overview

  • Need for EJBs
  • Distributed Computing
  • Distributed Transaction
  • Distributed Security
  • What are EJBs?
  • Main Characteristics of EJBs
  • EJB Remote Method Call
  • EJB Architecture Components
  • EJB Client
  • EJB JAR File
  • EJB Container
  • EJB Server
  • Enterprise JavaBeans
  • Session Beans
  • Entity Beans
  • Java Persistence API - Entities
  • Message-Driven Beans (MDBs)
  • EJB Specification

Stateless Session Beans

  • Session Beans
  • Stateless Session Bean
  • Stateless Session Bean Pooling
  • Stateful Session Bean
  • Annotations
  • Stateless Session Bean Components
  • JNDI - Overview
  • Business Interface Details
  • Bean Class Details
  • Session Bean Lifecycle
  • Stateless Session Bean Lifecycle

Stateful Session Beans

  • Stateful Session Bean
  • Stateful Session Beans
  • Session Bean Lifecycle
  • Stateful Session Bean Lifecycle
  • Stateful Session Bean Components
  • Stateful Session Bean Client
  • Removing the Bean

Entities and Java Persistence API

  • Data Persistence
  • Java Persistence API
  • Session Beans Vs Entities
  • Entities
  • Persisting and Retrieving Data
  • Accessing Entities
  • EntityManager & Persistence Unit
  • Persistence Context
  • persistence.xml Hibernate Provider
  • persistence.xml Open JPA Provider
  • persistence.xml - Toplink
  • Entity Instance Lifecycle
  • Creating EntityManager in Session EJB
  • Creating EntityManager in a Plain Java Class
  • Working With the EntityManager Interface
  • Transaction Basics

JPA Entity Lifecycle

  • Entity Lifecycle
  • When is an Entity Managed or Detached?
  • Implementing the CRUD Pattern
  • Accessing Entities Using Stateless Session Beans
  • Inserting Data
  • Retrieving Data
  • Updating Data
  • Deleting Data
  • Merging Entities
  • Life-Cycle Callbacks
  • External Callback Class
  • Synchronizing with Databases
  • Entity Lookup
  • JPAQL (JPA Query Language)

References and Dependency Injection

  • Role of References
  • EJB Reference Annotations
  • Resource Reference Annotations
  • Dependency Injection
  • Annotation Injection
  • Deployment Descriptor Injection
  • Class Level References
  • Multiple References
  • EJB References in Deployment Descriptors
  • Resource References in Deployment Descriptors
  • Reference Lookup
  • EJBContext
  • JNDI Lookup with EJBContext
  • Overriding Reference Annotations
  • Default Reference Name
  • Resolving References
  • mappedName Attribute
  • Overloaded Reference Names
  • Reference Best Practices

Java Persistence Query Language (JPA QL)

  • JPA Query Language
  • Basic JPAQL Syntax
  • Simple SELECT Examples
  • The SELECT clause
  • Reading Data from Code
  • The WHERE Clause
  • Using JPAQL from Session EJB
  • Named Query
  • Multiple Named Queries
  • Bulk Updates
  • Bulk Delete
  • Running Native SQL Query
  • Native SELECT Query
  • Native SQL Delete and Insert
  • Named Native Query
  • Entity Relationship Overview and One-to-One
  • Relationship Between Entities
  • Anatomy of a Relationship
  • Foreign Key
  • Schema
  • One-to-One Unidirectional
  • Creating Entity Instances
  • Traversing the Relationship
  • The Cascade Behavior
  • One-to-One Bidirectional
  • Traversing the Relationship

Complex Entity Relationships

  • One-To-Many and Many-To-One
  • Many-to-One Unidirectional
  • Modeling One-to-Many
  • Many-to-Many
  • Modeling Many-to-Many
  • Unidirectional One-to-Many
  • Modeling Unidirectional One-to-Many
  • Relationship in JPA QL
  • Fetching Optimizations
  • Lazy vs. Eager Initialization
  • Lazy Initialization
  • Problems with Lazy Initialization
  • Fetch Join Query

Entity Inheritance

  • Inheritance
  • Inheritance and Entities
  • Inheritance Strategies
  • Single Table Per Class Hierarchy
  • Pros and Cons
  • Table Per Concrete Class
  • Table Per Concrete Class: JBoss Warning
  • Table Per Concrete Class
  • Table Structure: Table Per Concrete Class
  • Table Per Concrete Class: Pros and Cons
  • Joined Subclasses
  • Table Structure: Joined Subclasses
  • Joined Subclasses: Pros and Cons
  • Which Approach To Use?

back to top

Your Instructor

Susan Bryant is an Experienced IT trainer and consultant with a broad array of skills covering System Design/Architecture, J2EE Application Development, Project Management, and Training. 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 (in both development and administration), WebSphere Process Server, Lotus Domino, and web application development technologies, including, Struts, JSF, EJBs and AJAX. Susan has been a published contributor to the webzine, The Spheretechnical magazine and a presenter for The View technical conference. She has served as technical editor for several IT certification exams.

back to top

About us
Contact us
Careers at Wintrac
Our Clients
Why Wintrac

Register for a free training CD-ROM drawing
Refer a client or instructor and earn $$$

Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
© Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy