Home    |    Instructor-led Training    |    Online Training     
         
 
Courses
ADA
Adobe
Agile
AJAX
Android
Apache
AutoCAD
Big Data
BlockChain
Business Analysis
Business Intelligence
Business Objects
Business Skills
C/C++/Go programming
Cisco
Citrix
Cloud Computing
COBOL
Cognos
ColdFusion
COM/COM+
CompTIA
CORBA
CRM
Crystal Reports
Data Science
Datawarehousing
DB2
Desktop Application Software
DevOps
DNS
Embedded Systems
Google Web Toolkit (GWT)
IPhone
ITIL
Java
JBoss
LDAP
Leadership Development
Lotus
Machine learning/AI
Macintosh
Mainframe programming
Mobile
MultiMedia and design
.NET
NetApp
Networking
New Manager Development
Object oriented analysis and design
OpenVMS
Oracle
Oracle VM
Perl
PHP
PostgreSQL
PowerBuilder
Professional Soft Skills Workshops
Project Management
Rational
Ruby
Sales Performance
SAP
SAS
Security
SharePoint
SOA
Software quality and tools
SQL Server
Sybase
Symantec
Telecommunications
Teradata
Tivoli
Tomcat
Unix/Linux/Solaris/AIX/
HP-UX
Unisys Mainframe
Visual Basic
Visual Foxpro
VMware
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Other
EJB Development using Rational Application Developer
Overview

This course utilizes a combination of instructor-led discussions and interactive workshops to demonstrate the capabilities of IBM’s Rational Application Developer IDE for the development of enterprise applications using Enterprise JavaBeans in an N-tier architecture. The implementation of these components and their access via servlet clients will be discussed. Each student will learn the following: creation of session, Message and entity EJBs, use the Universal Test Client, create container-managed and bean-managed entity beans, connect EJBs using transactions, understand the role of EJB containers, utilize activation and passivation, JNDI usage and the deployment of enterprise JAR and EAR components using IBM’s WebSphere Application Server.

Prerequisites

Each student should have a thorough understanding of the Java language and use of the Rational Application Developer IDE. Additionally, experience with JavaBeans, relational databases and server-side development concepts is preferred.

Class Format

Lecture and Lab

Audience

Developers and other advanced Java professionals that will be designing, developing and creating enterprise-wide applications using Enterprise JavaBeans with the Rational Application Developer.

Learning Objectives

After completing this course, the student should be able to:

  • Understand the EJB capabilities of the RAD for projects and perspectives
  • Define and utilize the interface between servlets and Enterprise JavaBeans
  • Understand the role the session, entity and Message EJBs for J2EE enterprise applications
  • Depict the relational mapping tool within RAD for building Entity beans
  • llustrate the role of JMS and message-driven beans
  • Create Bean-managed persistent EJBs (BMP)
  • Use RAD to create a Container-managed persistent EJB (CMP)
  • Creation of entity EJBs and defining container-managed relationships
  • Demonstrate the use of Universal Test Client for testing EJBs
  • Discuss the implementation of EJBs using EJS servers and the role of the EJB containers
  • Illustrate the deployment of enterprise applications to WebSphere Application Server within RAD environment
  • Demonstrate the usage of transactions with EJBs using Java Transaction API
  • Understand EJB deployment for JAR and EAR files
Course Duration

4 Days

Course outline

Enterprise Development
  • Enterprise application role
  • Component architecture
  • JavaBeans vs EJBs
  • N-tier architecture
  • Enterprise development motivation
  • EJB vs CORBA comparison
  • Distributed Proxy model
  • Remote Method Invocation
  • J2EE overview
Session Beans
  • Stateless vs Stateful
  • Bean pooling
  • Serialization
  • Session bean methods
  • Session bean lifecycle
  • JNDI lookup
  • Session Context
  • javax.ejb.SessionBean
  • Deployment Descriptors
EJB Overview
  • EJB benefits
  • EJB portability foundation
  • EJB container services and responsibilities
  • Enterprise Bean types
  • Session vs Entity vs Message beans
  • Stateful vs Stateless Session
  • CMP vs BMP Entity beans
  • EJB Container role
  • Development within RAD
Stateless Session Beans
  • Characteristics
  • Bean pooling
  • Bean lifecycle
  • Stateless vs Stateful
  • Home, Remote and Bean classes
  • EJB generated code
  • EJB Container deployment
  • Universal Test Client testing
  • EJB deployment code
  • Test client dialog
Entity Beans
  • Role of Entity beans
  • Entity bean lifecycle
  • Object relational mapping
  • Activation/Passivation
  • EJB call-back methods
  • Container-managed persistence
  • Bean-managed persistence
  • Deployment Descriptors
Stateful Session Beans
  • Bean pooling
  • WebSphere pooling strategy
  • Passivation & Activation
  • Stateful bean lifecycle
  • ejb-jar.xml file
  • WebSphere application server deployment
Entity Bean Development
  • javax.ejb.EnterpriseBean
  • EntityBean interfaces
  • Finder methods
  • Container-managed methods
  • Depict the usage of setEntityContext, ejbLoad, ejbFind, ejbCreate, ejbStore, ejbRemove, etc
  • CMP Deployment Descriptors
  • Map.mapxmi metadata
  • Bean-managed persistence
Message Beans
  • JMS & JMS providers
  • Asynchronous messaging: Point-to-Point and Publish/Subscribe
  • JMS Destinations
  • Connection Factories
  • JMS Listeners
  • WebSphere JMS providers
  • MQSeries clustering
  • Message bean lifecycle
  • onMessage method
  • Deployment Descriptor file
EJB Architecture
  • Underlying EJB architecture
  • Marshalling & Unmarshalling
  • Role of RMI and CORBA
  • Parameter passing
  • Distributed garbage collection
  • Remote object activation
  • Stubs vs Skeletons
  • Object serialization
  • Transient vs non-Transient
  • Home object and interfaces
  • Remote object
EJB Security
  • WebSphere Security model
  • Authentication/Authorization
  • Delegation and Trusting
  • Network Deployment implementation
  • LDAP vs Local OS registries
  • Security Collaborators
  • Security role mapping
  • RunAsmode
  • RunAsIdentity
  • HTTP single sign-on
EJB Transactions
  • Transaction model
  • Flat vs Nested
  • Programmatic vs Declarative demarcation
  • EJB Transaction attributes
  • Java Transaction API
  • UserTransaction
  • Transactional methods
  • Isolation levels
  • Transaction problems: Dirty Read, Unrepeatable Read and Phantoms
EJB Best Practices
  • Participant roles
  • Best practice strategies
  • EJB placement
  • Development practices: coding, modeling and documentation
  • EJB modeling
  • EJB and Legacy integration
  • Enforcing reusability
  • Deployment strategies
Persistent Best Practices
  • When to utilize Entity beans
  • CMP vs BMP
  • Stored Procedures
  • Object Relational Mapping
  • Use with legacy database design
  • Strategies for resolving legacy problems

Please contact your training representative for more details on having this course delivered onsite or online

Training Outlines - the one stop shopping center for IT training.
© Training Outlines All rights reserved