Course Icon PROGRAMMING Training

Developing Applications with Java EE

0800 1337 401

Overview

The Developing Applications with Java EE course introduces delegates to version 6 of the Java Enterprise Edition API. It explains the JEE technologies and how they can be used to build large scale web based applications.

Delegates will learn how to develop Java systems that generate front end web pages using tools such as Servlets, Java Server Pages and Java Server Faces and will also create business components using EJB versions 3.0 and 3.1. In addition, we will develop programs to access remote databases and show how technologies such as JNDI, JMS and Web Services can be integrated into the overall solution.

Prerequisites

A pre-requisite for the Developing Applications with Java EE course would be JVP - Java Programming or relevant experience with Java.

Objectives

By the end of the course delegates should be able to:

  • Understand the Java Enterprise Architecture
  • Write java programs to interface with databases
  • Run method calls on remote objects
  • Write code to generate dynamic HTML pages
  • Create web applications using Servlets
  • Use tag libraries to develop Java Server Pages
  • Investigate web applications using Java Server Faces
  • Configure the Java Messaging Service
  • Understand the Java Naming and Directory Interface
  • Create business components with the EJB specification
  • Use the Java Persistence API to create entity classes
  • Scope transactions with the Java Transaction API
  • Write web services
  • Implement JEE Security

    Outline

Course Contents - DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: OVERVIEW

  • The JEE Environment
  • System Architecture
  • Putting It All Together

Session 2: REMOTE METHOD INVOCATION

  • The Distributed Computing Model
  • Designing the Remote Interface
  • Building a Remote Object
  • Dynamically Downloading Classes
  • The RMI Registry

Session 3: JNDI

  • Similarities with JDBC
  • Features of naming services
  • The Initial Context
  • Naming Example
  • Directory Services
  • JNDI and J2EE
  • Object Storage

Session 4: DATABASE CONNECTIVITY - JDBC

  • Connecting to Databases
  • Statements
  • Result Sets
  • Releasing Database Resources
  • Metadata
  • Prepared Statement Objects
  • Stored Procedures
  • Pooled Connections
  • Transactions
  • Transaction Isolation and Data Locking

Course Contents - DAY 2

Session 5: SERVLETS

  • Servlets and HTTP Requests
  • The HTTP Servlet Model
  • The MVC Architecture
  • The HTTP Servlet Lifecycle

Session 6: SERVLET USAGE

  • Writing an HTTP Servlet
  • Executing an HTTP Servlet
  • Request Parameters

Session 7: SERVLET PARAMETERS

  • Servlet Initialization Parameters
  • Servlet Context Parameters
  • Web Application State Using Servlets
  • Session Management

Session 8: SERVLET ISSUES

  • Threading Issues
  • Exception Handling
  • Error pages

Course Contents - DAY 3

Session 9: JAVA SERVER PAGES - JSP

  • How Java Server Pages Work
  • Creating a Java Server Page
  • JSP / XML Elements
  • Servlet To JSP Request Dispatching
  • Action Elements
  • Implicit Objects
  • Error Pages

Session 10: JSP TAG LIBRARIES

  • Custom Tags and Tag Libraries
  • Commercially available tag libraries
  • JSP Expression Language
  • EL expressions
  • Variables
  • Functions

Session 11: JAVA SERVER FACES - JSF

  • Introducing JSF
  • JSF tag libraries
  • The Faces Servlet
  • Page navigation
  • Managed beans
  • Event handling
  • Validation

Session 12: ENTERPRISE JAVA BEANS - EJB

  • Why EJBs?
  • The EJB Architecture
  • The EJB Container
  • EJB Lite
  • EJB 3.1 Embeddable Containers

Course Contents - DAY 4

Session 13: EJB COMPONENTS

  • EJB Component types
  • EJB Interfaces
  • Local and Client views
  • Session Beans
  • Message Driven Beans

Session 14: EJB SESSION BEANS

  • Creating a Session Bean
  • Calling EJBs from Servlets
  • The Singleton Session Bean
  • Asynchronous Session Beans
  • Packaging and deploying Session Beans

Session 15: JAVA PERSISTENCE API

  • Java Persistence Specification
  • Object Relational Mapping
  • Creating an Entity Class
  • Controlling the JPA Life Cycle
  • The Entity Manager API
  • Deploying Entity Classes

Session 16: JAVA TRANSACTION API

  • Transaction Scoping
  • Creating Programmatic Transactions
  • Creating Declarative Transactions
  • Locking and Performance
  • Handling Exceptions

Course Contents - DAY 5

Session 17: JAVA MESSAGING SERVICE

  • Messaging scenario
  • Message Domains
  • Configuring a JMS Application
  • Messaging Activity
  • Asynchronous Message Consumption
  • Transactions

Session 18: MESSAGE-DRIVEN BEANS

  • Characteristics of Message-Driven Beans
  • Creating Message-Driven Beans
  • Utilising Life Cycle Events

Session 19: WEB SERVICES

  • Examples of Web Services
  • Reasons to Use Web Services
  • The Web Services Protocol Stack
  • SOAP, WSDL and UDDI
  • Web Services with JAX-WS
  • Restful Web Services with JAX-RS

Session 20: JEE SECURITY

  • Container Managed Security
  • Authentication Methods
  • Defining Roles
  • Security Users and Groups
See all of the available Technical Courses