Sun

Java 2 Enterprise Edition

Course Code: J2EE1      Days: 5
Show all Sun Java EE Courses
Call for Latest Dates
Call us on 0870 7777 388 for availability on this course.
Have questions or need a better city/date? Ask now.

Course Overview

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.

Audience

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

Prerequisites

Java Programming and some development experience. Java Beans, RMI, and XML are also recommended. Delegates should have attended our Java Programming course or have a similar level of knowledge.

Course Outline

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 - Authorisation

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 M

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


How to make a booking for the J2EE1 course

 
  CourseMonster books thousands of public training courses, classes and boot camps both in London and throughout the UK including: Berkshire, Birmingham, Bristol, Bournemouth, Bucks, Cambridge, Derby, Devon, Edinburgh, Glasgow, Hampshire, Ipswich, Leeds, Leicester, Luton, Manchester, Middlesex, Milton Keynes, Norfolk, Nottingham, Reading, Surrey, Sussex, Tyne and Wear, Midlands and Yorkshire. Topics range from software to administration and development.  
     
CourseMonster® Patent Pending © SeaKom, All Rights Reserved - Channel partners with Business Training Partnership