Course 570 Developing Java Web Applications

Course Format

  • Classroom based learning

You Will Learn How To

  • Create dynamic, data-driven web applications by integrating key components of Java EE

  • Generate dynamic web pages with JavaServer pages (JSP)

  • Personalize content for users with cookies and sessions using the Java Servlet API

  • Integrate JSP custom tags to minimize scriptlet code

Hands-On Experience

You are provided with an in-class computer dedicated for your sole use

  • Installing and configuring a servlet/JSP server

  • Personalizing a website using sessions

  • Leveraging reusable components and JavaServer Pages

  • Integrating JSP custom tags

  • Developing MVC components using the JavaServer Faces framework

  • Building a web front-end to an existing database

Course Content

Module 1 : Introduction and Overview

  • Web application development

  • The requirements of a web application

  • Components of an n-tier architecture

Module 2 : Generating Content with Servlets

Getting started with servlets

  • Integrating servlets into the web application architecture

  • Configuring the servlet development environment

  • Avoiding common servlet pitfalls

Module 3 : Utilizing the Java Servlet API

  • Servlet life cycle methods

  • Accessing servlet environment variables

Module 4 : Creating web-based forms for user input

  • Adding text fields and drop-down lists

  • Retrieving form data in the servlet

Module 5 : Accessing Databases with Servlets

Extending servlets with Java Database Connectivity

  • Connecting to the database

  • Submitting SQL statements

  • Retrieving and processing data

Module 6 : Formatting database results

  • Constructing an HTML table

  • Adding drill-down features

Module 7 : Maintaining State in Java Web Applications

Writing cookies to personalize web content

  • Retrieving cookies from a client request

  • Sending cookies to the client

  • Circumventing cookie limitations

Module 8 : Managing application state with sessions

  • Creating a unique session for each user

  • Storing and retrieving Java objects within sessions

  • Controlling a session's life span

  • Creating application and session event listeners

  • Implementing a shopping cart

Module 9 : Key components of Java EE for web development

  • Servlets

  • JSP

  • XML

Module 10 : Creating JavaServer Pages (JSP)

JSP fundamentals

  • Using JSP scriptlets, expressions and declarations

  • Communicating with the client using built-in JSPserver objects

  • Leveraging the JSP 2 Expression Language (EL)

Module 11 : State management with JSP

  • Accessing cookies and sessions

  • Storing common application data

Module 12 : Designing JSP and Servlet Architectures

Integrating JSP and JavaBeans

  • Promoting object reuse

  • Separating application logic from the presentation

Module 13 : Calling JSP from servlets

  • Forwarding Java objects to JSP

  • Using JavaBeans to transfer data

  • Servlet and JSP design patterns

Module 14 : Integrating JSP Custom Tags

Leveraging the Tag Extension mechanism

  • The role of JSP custom tags

  • Applying the JSP Standard Tag Library (JSTL)

Module 15 : Developing custom tags

  • Creating custom tags with JSP 2 tag files

  • Customizing tag behavior with attributes

Module 16 : Developing JavaServer Faces (JSF) Applications

JSF framework overview

  • Identifying the JSF core components

  • Managing application flow using JSF navigation model

Module 17 : Building JSF components

  • Developing back beans

  • Creating views with JSF custom tags

ICT Education Newsletter