Fast Track to Enterprise JavaBeans 3.1 (EJB3) and the JavaPersistenceAPIV2 (JPA2) Training in Dusseldorf, Germany

Enroll in or hire us to teach our Fast Track to Enterprise JavaBeans 3.1 (EJB3) and the JavaPersistenceAPIV2 (JPA2) class in Dusseldorf, Germany by calling us @303.377.6176. Like all HSG classes, Fast Track to Enterprise JavaBeans 3.1 (EJB3) and the JavaPersistenceAPIV2 (JPA2) may be offered either onsite or via instructor led virtual training. Consider looking at our public training schedule to see if it is scheduled: Public Training Classes
Provided there are enough attendees, Fast Track to Enterprise JavaBeans 3.1 (EJB3) and the JavaPersistenceAPIV2 (JPA2) may be taught at one of our local training facilities.
We offer private customized training for groups of 3 or more attendees.

Course Description

 
This course provides thorough coverage of the EJB3 technology - presented in a clear and effective manner. It starts with the basic concepts and APIs of EJB and then continues on with complex topics such as message driven beans and transactions. New concepts such as the use of annotations and the use of Dependency Injection to initialize references are covered in depth. The course also includes thorough coverage of managing persistence using the Java Persistence API 2 (JPA2). This course provides additional coverage of JPA as compared to our Fast Track to EJB3 course.
Course Length: 5 Days
Course Tuition: $2090 (US)

Prerequisites

A working knowledge of Java.

Course Outline

 
 
Introduction
Overview of EJB and Java Persistence API (JPA)
Goals of EJB, EJB in the Java EE architecture
EJB 3.1 Overview
Session Beans, Persistent Entities, Message Driven Beans
Lab: Server setup and introduction
 
Session Beans
Session Bean Overview
Services provided, Stateless and Stateful Beans
Defining a Session Bean - EJB 3 Annotations
The Bean Implementation, Remote and Local Business Interface
Packaging and Deployment
ejb-jar file, Deployment Descriptors in EJB 3
EAR file
JEE 6 WAR files and EJB
The EJB Container
Lab: Creating a Stateless Session Bean
JNDI Overview
Distributed Naming and Lookup
Context and InitialContext
Using JNDI
Writing an EJB 3 Client
Client View of a Session Bean
JEE 6 Portable EJB Lookup Names
Running the Client
Lab: Creating an EJB Client
 
Additional Capabilities
Resources and Dependency Injection
EJB referencing another EJB
Referencing Resources, Environment Entries
Connection Factories (DataSource and others)
Lab: Using Dependency Injection
Lab: Creating and Using Environment Entries
Session Bean Lifecycle and Interceptors
Stateless Session Bean Lifecycle
Business Method Interceptors,  InvocationContext, Lifecycle Callback Interceptors, Interceptor Classes
Lab: Working with Interceptors
Asynchronous Methods, Singleton Session Beans
Stateful Session Beans
Overview
Defining, Client Relationship
Lifecycle, Activation, Passivation
Lab: Stateful Session Beans
Timer Service
Programmatic Timers
Calendar-Based Timers
Lab: Working with Timers
 
Message-Driven Beans
Overview of Messaging Systems
Messaging, Loose Coupling
Pub/Sub, Point2Point
Overview of JMS API
Overview and Structure
ConnectionFactory and Destination
JMS Producer and Consumer Client example
JMS Messages
Message-Driven Beans (MDB)
Overview and Goals
@MessageDriven and MDB example
Configuring with activationConfig
State Diagram and Interceptors
Lab: Message Driven Beans
 
Transactions and Security
Overview of Transactions and Transactional Systems
ACID, Transaction Managers, Resource Managers
Transactions in EJB 3
Declarative Transaction Management
Transaction Attributes and Transactional Scope
Transaction Scenarios and Bean-Managed Tx
Lab: Working with Transactions
Security
Java EE Security Overview (Role-based)
@RolesAllowed, @PermitAll
Programmatic Security
Lab: Integrating EJB and Java EE Security
 
Exceptions
Exception Overview
Checked and Unchecked Exceptions
Exceptions in EJB 3
Application Exceptions, System Exceptions
EJB 3 Best Practices
When to Use, Coarse-Grained Business Interfaces, Session Façade, Transaction Guidelines, Clustering
 
Introduction to Java Persistence API V2 (JPA2 )
Overview
Persistence Layers, Object-Relational Mapping (ORM), JDBC
JPA Overview
Mapping with JPA
Entities and @Entity, ids and @Id,
Generated Id Values
Basic Mapping Types
Lab: Mapping an Entity Class
EntityManager and Persistence Context
Persistence Unit and persistence.xml
Persisting to the DB, the EntityManager,
Injecting an EntityManager
Retrieving Persistent Entities
Lab: Using the EnityManager to persist and find an Entity
More About Mappings
Lab: Refining your Mappings
 
Updates and Queries
Inserting and Updating
Transient, Persistent, Detached, Removed
Persisting new Entities, Updating a Persistent Instance
Lab: Inserting and Updating an Entity
Querying and JPQL
Object Based Queries, Select statements, WHERE clause
Named Queries
Lab: Creating and Using JPQL Queries
Criteria API
Lab: Criteria Querying
The Persistence Lifecycle - JPA Entity States, Lifecycle, and Persistence Context
Versioning and Optimistic Locking
Overview
Detached Entities
Creating Versioned Entities
Lab: Optimistic Locking
 
Entity Relationships
Relationships Overview
Object Relationships, Participants, Roles, Directionality, Cardinality
Relationship Mapping
Mapping Overview (1-1, 1-N, N-1, N-N)
Unidirectional and Bidirectional
Mapping One-One, One-Many
Join Columns
Relationship Inverses
Lab: Mapping Entity Relationships
Many-Many Relationships
Lazy and Eager Loading
Cascading
Queries Across Relationships (Inner Joins, Outer Joins, Fetch Joins)
Lab: Querying Across Relationships
Inheritance Mapping
Entity Inheritance
Single Table, Joined (Table per Subclass), Table per Concrete Class
Pros and Cons
Lab: Mapping Inheritance
Other Mapping Capabilities - Embedded Objects, Compound Primary Keys, and Element Collections
 
Additional JPA Capabilities
Queries - Projection, Aggregate, Bulk Update/Delete
Extended Persistence Contexts
XML Mapping Files
EJB and Java SE
Best Practices
Primary Keys, Named Queries, Lazy/Eager Loading, Transactional Semantics, Encapsulation, Report Queries

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Java Programming Uses & Stats

Java Programming is Used For:
Android & IOS Development Software Products Video Games Desktop GUI's
Difficulty
Popularity
Year Created
1995
Pros

Most Commonly Used: 
According to Oracle, three billion devices run on Java.  And, because of its real-world applications, it consistently ranks at the top of the TIOBE Programming Community Index. 

Great Career Choice: 
Some of the fastest-growing salaries in the U.S. in 2018 are for Java developers.  (Glassdoor)  

Android Apps Development:
Developers predominatly use their Java skills in building apps for Google's Android. The Android platform is the number one mobile paltform in the world

It Can Run On Any Platform:
Java can compile on Windows and run the same compiled file on Linux, Windows and Mac.

Great Supporting IDE's:
Over the years, coding in Java has become simpler with the introduction of open source development tools, i.e. Eclipse and NetBeans that use Java capabilities for debugging.  
 

Cons

Uses a Lot of Memory:
Performance can be significantly slower with Java and more memory-consuming than natively compiled languages such as C or C++.

Difficulty in Learning: 
Learning Java can be a bit challenging if you are a beginner.  However, once you get the hang of Object Oriented Programming and a decent grasp of the syntax, you will be well on your way.

Slow Start Up Times:
There is quite a bit of one-time initialization done by JDK classes before compiling as well as loading classes and verification (making sure code doesn't do evil things, all of which takes longer that some other languages such as C. 

Verbose and Complex Code:
Long, over-complicated sentences make code less readable and scannable. Compare to let's say Python, we can see how clear Python code appears: It doesn’t require semicolons; uses “and,” “or,” and “not” as operators instead of Java’s “&&,” “||,” and “!”; and generally has fewer bells and whistles such as parentheses or curly braces.

Commercial License Cost:
Companies have to prepare for the changes that Oracle will institute in 2019 . Today, the current version of Java is free and available for redistribution for general purpose computing. However, If you are a DEVELOPER, Oracle recommends you review the roadmap information for Java SE 8 and beyond and take appropriate action depending on the type of application you develop and your distribution mode.

Java Programming Job Market
Average Salary
$102,000
Job Count
26,856
Top Job Locations

New York City 
San Jose
Washington D.C, 

Complimentary Skills to have along with Java Programming

- If you are an experienced Java developer, learning a complimentary language to Java should come much more naturally.  As an example JetBrains recently created the Kotlin programming language which is officially supported by Google for mobile development.  Kotlin compiles to Java bytecode and runs on the JVM; it's purported to address many of Java's shortcomings...

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.