Java
2 Enterprise Edition
Course
Length: 5 days
This intense course
will give Java programmers an introduction to the main technologies
of the Java 2 Enterprise Edition. Students will be able to develop
applications with these technologies, or be ready for more advanced
instruction in such areas as Enterprise JavaBeans.
Audience: Java
programmers who will use the J2EE to develop transportable distributed
applications.
Prerequisites:
Java Programming and some Java development experience. Familiarity
with Java Beans, RMI and XML is recommended.
J2EE
J2EE Overview
Client and Middle Tier
Application Server Tier
The J2EE Platform
J2EE Skills
Getting Started with JSP
Dynamic Web Content
The JSP Solution
JSP Syntax
Variables and Expressions
Implicit Objects
page and taglib Directives
Include and Forward
Exception Handling
Forms and JavaBeans
HTML Forms
JavaBeans
JavaBeans and JSP
Bean Properties
Property Types
Properties and Forms
Bean Scopes
Scriptlets
Scriptlet Syntax
Declarations
Scriptlets and HTML
Database Access
JDBC in JSP
JavaBeans and JDBC
EJBs from JSP
JSP and XML
Tag Libraries
Custom Tags
Using Custom Tags
Defining Tags
Tag Library Descriptor Files
Tags with Attributes
Servlet Basics
Browsers, Servers and Servlets
The Basic Servlet
Three Ways to Use Servlets
The Servlet Life Cycle
The HttpServlet Approach
More do Methods
Thread Models
Debugging
Request and Response
Request and Response Basics
The HttpServletRequest Object
Request Headers
Status Codes
Response Headers
Ensuring Valid Characters
Session Tracking
Understanding Cookies
The Cookie Class
Cookies in JSP
Cookie Properties
Session Tracking
The HttpSession Class
Sessions in JSP
Encoding URLs
Terminating Sessions
Web Applications
Web Application Components
ServletContext
Forward and Include
Supporting Files
Deployment Descriptor
Deployment Descriptor Elements
Security - Authentication and Authorization
Applet to Servlet Communication
Introduction to JNDI
Naming and Directory Services
Namespaces and Contexts
Naming Operations
Bindings
Attributes
Directory Operations
DNS Lookups with JNDI
JNDI in J2EE
Introduction to JDBC
The JDBC Connectivity Model
Database Programming
Connecting to the Database
Creating a SQL Query
Getting the Results
Updating Database Data
Finishing Up
JDBC SQL Programming
Error Checking and the SQLException Class
The SQLWarning Class
The Statement Interface
The ResultSet Interface
Updatable Result Sets
JDBC Types
Executing SQL Queries
ResultSetMetaData
Executing SQL Updates
Transaction Management
JDBC SQL Escape Syntax
Advanced JDBC
Using a PreparedStatement
Parameterized Statements
Stored Procedures
ResultSets from Stored Procedures
The execute() Method
Batch Updates
RowSets
DatabaseMetaData
Large Objects
The DriverManager Class
Types of JDBC Driver
DataSources
Deploying a DataSource0
Connecting to a DataSource
Introduction to JavaMail
Mail Systems and JavaMail
The javax.mail Packages
Establishing a Session
The Message Interface
Sending a Message
Message Stores
Mail Folders
Multipart Messages
CORBA
Interface Definition Language
IDL-to-Java Compiler
Server Code - POA Approach
Client Code
Running the Application
CORBA Review
JMS
Introduction to JMS Concepts
What is JMS ?
Parent Interfaces and GMD
JMS Definitions
Message Object
Multi-Threading and JMS Exception
PTP Domain and Interfaces
Pub/Sub Domain and Interfaces
JMS Server and Destination
Creating the Client
Handling the Message
Producing the Message
EJB and the J2EE Architecture
Evolution of Distributed Computing on the Web
The J2EE Solution
The Enterprise JavaBean
Roles in Enterprise JavaBeans Development
EJB Container and Application Server
Reference Implementation Services
Getting Started with EJB
Defining the Bean Class
Remote Interface
Writing Business Methods
Home Interface
Compiling
Creating the J2EE Application
Packaging the Enterprise Bean
Deploying the J2EE Application
The Client
Locating the Bean
Create an Enterprise Bean Instance
Invoking the Bean's Methods
Compiling and Deploying the Client
Running the Client
Three Types of EJB
A Session Bean
A Message-Driven Bean
An Entity Bean
What About State?
Stateless and Stateful Session Beans
MDB Code
Entity Bean Persistence Models
Entity Bean Code
Deployment Descriptor
Course Length: 5 days