Java 2 Enterprise Edition - JAV270

This intense course will give Java programmers an introduction to the main technologies of the Java2 Enterprise Edition. Students will be able to develop applications with these technologies, or be ready for more advanced instruction in areas such as Enterprise JavaBeans.
Course ID: JAV270

Duration: 5 days

Audience: Java programmers who will use the J2EE to develop transportable distributed applications.

Prerequisites: Introduction to Java Programming or Advanced Java training and some development experience. Java Beans, RMI, and XML are also recommended.
Topics:

J2EE

  • J2EE Overview
  • Client Tier
  • Middle Tier
  • Application Server Tier
  • The J2EE Platform
  • J2EE Skills

Getting Started with JSP

  • Dynamic Web Content
  • The JSP Solution
  • JSP Syntax
  • JSP Deployment
  • 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

Introduction to JSTL

  • JSP Expression Language
  • Expression Language Implicit Objects
  • What is JSTL?
  • Core Tags - Conditionals
  • Core Tags - Iteration and Import
  • XML Manipulation Tags
  • Internationalization Tags
  • SQL Tags

Servlet Basics

  • Browsers, Servers and Servlets
  • The Basic Servlet
  • The Servlet Life Cycle
  • The HttpServlet Approach
  • More do Methods
  • Threading in Servlets
  • 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
  • Security in the J2EE Application Server
  • Security - Authorization

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

  • DataSources
  • Connection Pools in the J2EE Application Server
  • Data Sources in the J2EE Application Server
  • 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

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
  • J2EE Application Server Administered Objects
  • 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
  • Web Services and J2EE

Getting Started with EJB

  • Defining the Bean Class
  • Remote Interface
  • Writing Business Methods
  • Home Interface
  • Deployment Descriptors and Deployment
  • The Client
  • Locating the Bean
  • Create an Enterprise Bean Instance
  • Invoking the Bean's Methods
  • Compiling and Running the Client

Three Types of EJB

  • A Session Bean
  • A Message-Driven Bean
  • An Entity Bean
  • What About State?
  • Stateless Session Beans
  • Stateful Session Beans
  • MDB Code
  • Entity Bean Persistence Models
  • Entity Bean Code
  • Deployment Descriptor

Case Study

  • Account Local and Local Home Interfaces
  • Account EJB
  • ejb-jar.xml
  • sun-ejb-jar.xml
  • Teller Remote and Home Interfaces
  • TellerEJB
  • ejb-jar.xml - Take 2
  • Teller.html
  • Teller Servlet
  • TransferBean
  • Results.jsp
  • web.xml
  • application.xml

Appendix A - Deploying a JSP with the deploytool

  • WAR Wizard
  • Changing the WAR
 

Call Toll-free 877-245-6815 or 303-416-3056 to set up your IT Training today.