Professional Enterprise Java Beans: From Services to Data
(JEJB, Live Instructor-Led Training, 5 days)


Description

This SETC certified course provides a comprehensive five day session on Enterprise Java Beans 3.x. Starting with a review of Java Enterprise Edtion and enterprise development, the course seamlessly moves onto Session Beans (stateless and stateful), Entity Beans and Message Driven Beans. JNDI, JDBC and JMS is also covered to round the content and ensure that the developer posseses all the necessary technology to choose, develop and maintain EBJ in enterprise systems.

Dates and Pricing


Jan 15 to Jan 19, 2018$2,500/person Feb 12 to Feb 16, 2018$2,500/person Mar 12 to Mar 16, 2018$2,500/person

Outline

OVERVIEW OF JEE
Java Platforms
Characteristics of Enterprise Computing
JEE Technologies
Multi-Tier Architectures
Advantages of Multi-Tier Architectures
Container-Based Approach
JEE Application Models
JEE Deployments
JAVA NAMING AND DIRECTORY INTERFACE
What is JNDI?
Benefits of JNDI
Naming and Directory Services
Using JNDI
Context Operations
JNDI Utility Class
JNDI Example
Running the JNDI Example
Naming Exceptions
ENTERPRISE JAVABEANS
Enterprise Java Beans Component Model
Parties Involved in EJB Deployment
EJB Server and EJB Container
Types of Enterprise Beans
EJB Wrapper Interfaces
Deployment Descriptors
Context Environment Objects
Summary of EJB Environment
The Remote and Home Interface
The Enterprise Bean Class
The Client Code
Deploying the EJB in WebLogic
Ant Build Files for the Hello World Bean
The ejb-jar.xml File
The weblogic-ejb-jar.xml File
Creating and Running the Application
SESSION BEANS
Session Bean Lifetime, Interface, and Lifecycles
Stateless Session Bean Example (TaxBean)
Accessing Environment Entries
Deployment Settings for the TaxBean
Pool Settings for Stateless Session Beans
Deploying and Running the Tax Application
Stateful Session Bean Example (CartBean)
Exceptions Thrown by the CartBean
Cache Settings for Stateful Session Beans
Deploying and Running the Cart Application
USING JDBC DATA SOURCES
Connection Pools
JDBC Data Sources
Data Source Example
Configuring JDBC Data Sources
Running the Data Source Example
BMP ENTITY BEANS
Entity Beans, Entity Bean Interface, and Lifecycle
Bean-Managed Persistence Example
Deploying Entity Beans
Deployment Settings for Customer Bean
Pool and Cache Settings for Entity Beans
Running the Customer Application
CMP ENTITY BEANS
Container-Managed Persistence
Primary Key Class
Container-Managed Persistence Example
Mapping Container-Managed Fields
Deployment Settings for Product Bean
Settings for Custom Finders
EJB Query Language
Running the Product Application
Mapping to Multiple Database Tables
SESSION FACADE PATTERN
JEE Design Patterns
Session Facade Pattern
Transactions
Container-Managed Transactions
Transaction Attributes
System vs. Application Exceptions
Rolling Back a Container-Managed Transaction
Example ItemOrderer Bean
Deployment Settings for ItemOrderer Bean
Creating an Enterprise Application
CONTAINER-MANAGED RELATIONSHIPS
Local Interfaces
Container-Managed Relationships
Container-Managed Relationship (CMR) Example
CMR Example : Local Interfaces
CMR Example : Local Home Interfaces
CMR Example : Entity Bean Classes
CMR Example : Session Bean
CMR Example : Deployment Descriptors
Running the CMR Example
EJB SECURITY
J2EE Security
Adding Users in the Administration Console
Specifying Security for EJBs
Mapping Roles to Users
JAVA MESSAGE SERVICE
Messaging Applications
JMS and the J2EE Platform
Basic JMS Concepts
The JMS Programming Model
Point-to-Point Examples : Sender and Receiver
Configuring JMS for WebLogic
Publish/Subscribe Examples : Publisher and Subscriber
Reliable Message Delivery
MESSAGE-DRIVEN BEANS
Message-Driven Beans
Message-Driven Bean Example
Deploying Message-Driven Beans
Running the Example
Message-Driven Bean Lifecycle
Transactions
Message Acknowledgement
EJB TIMER SERVICE
Timer Service API
Creating Timers
Canceling and Saving Timers
Getting Timer Information
Transactions and Timers