Fast Track to EJB 3.2 (JEE 7 level) and JPA2 Training in Gainesville
We offer private customized training for groups of 3 or more attendees.
|
||
Course Description |
||
The Enterprise JavaBeans 3 specification is a deep overhaul of the EJB
specification that improved the EJB architecture by reducing its
complexity from the developer's point of view. It leverages annotations
and Object-Relational Mapping (ORM) technologies to eliminate the
dependence on complex EJB APIs, allow POJO (Plain Old Java Object) based
development, and provide an effective technology for creating
distributed, transactional components, and for mapping relational data
to an object schema. The EJB 3.2 release is part of the Java EE 7
specification and adds additional refinements and capability. 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 CDI / 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.2 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
Injecting with CDI/@Inject and with @EJB
CDI Qualifiers and Producers
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, Role "**"
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 EntityManager 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]
- .NET Classes
- Agile/Scrum Classes
- Ajax Classes
- Android and iPhone Programming Classes
- Blaze Advisor Classes
- C Programming Classes
- C# Programming Classes
- C++ Programming Classes
- Cisco Classes
- Cloud Classes
- CompTIA Classes
- Crystal Reports Classes
- Design Patterns Classes
- DevOps Classes
- Foundations of Web Design & Web Authoring Classes
- Git, Jira, Wicket, Gradle, Tableau Classes
- IBM Classes
- Java Programming Classes
- JBoss Administration Classes
- JUnit, TDD, CPTC, Web Penetration Classes
- Linux Unix Classes
- Machine Learning Classes
- Microsoft Classes
- Microsoft Development Classes
- Microsoft SQL Server Classes
- Microsoft Team Foundation Server Classes
- Microsoft Windows Server Classes
- Oracle, MySQL, Cassandra, Hadoop Database Classes
- Perl Programming Classes
- Python Programming Classes
- Ruby Programming Classes
- Security Classes
- SharePoint Classes
- SOA Classes
- Tcl, Awk, Bash, Shell Classes
- UML Classes
- VMWare Classes
- Web Development Classes
- Web Services Classes
- Weblogic Administration Classes
- XML Classes
- Linux Fundaments GL120
9 December, 2024 - 13 December, 2024 - Ruby Programming
2 December, 2024 - 4 December, 2024 - Introduction to C++ for Absolute Beginners
16 December, 2024 - 17 December, 2024 - Introduction to Spring 5 (2022)
16 December, 2024 - 18 December, 2024 - Microsoft Azure AI Fundamentals (AI-900T00)
25 November, 2024 - 25 November, 2024 - See our complete public course listing
Java Programming Uses & Stats
Difficulty
|
Popularity
|
Year Created 1995 |
Pros
Most Commonly Used:
Great Career Choice:
Android Apps Development:
It Can Run On Any Platform:
Great Supporting IDE's: |
Cons
Uses a Lot of Memory:
Difficulty in Learning:
Slow Start Up Times:
Verbose and Complex Code:
Commercial License Cost: |
Java Programming Job Market |
Average Salary
|
Job Count
|
Top Job Locations
New York City |
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... |