Developing Java Web Applications

Contact Us for Dates
4 days practical workshop for up to 12 people.

Only £1580 per person

Contact us for Onsite Price

This training course, written by Nick Todd, the author of JavaServer Pages 2.0 Developers Handbook from Sams Publishing, teaches you how to create Web interfaces using JavaServer Pages technology. It covers the very latest technologies that are now available to the Java Web application developer, including REST API generation, the JSP Standard Tag Library, JavaServer Faces, as well as JSP architecture, working with JavaBeans, and how to interface with Enterprise JavaBeans and RESTful endpoints. The training course can be delivered using a number of development tools, including Eclipse or IntelliJ. The training course can be delivered on most deployment environments, including Tomcat, JBoss, Glassfish, or WebLogic.


This training course combines lectures with practical exercises that help the delegates to put what they have learned on the training course into practice. The exercises specifically build on what has been recently taught and are built up as the training course progresses.

Training Course Objectives

  • Identify the core components of a Java Web application
  • Write and deploy a Java Servlet
  • Process form data from a Java Servlet
  • Create a REST API
  • Understand the JSP lifecycle
  • Use scriptlets , expressions, and standard actions in a JSP
  • Use the JSP Standard Tag Library (JSTL)
  • Integrate XML into a Web application
  • Use the JSP Expression Language (EL)
  • Add appropriate content metadata to JSP and other content items
  • Develop interfaces to Web services
  • Develop interfaces to Enterprise Java Beans
  • Identify some of the architectural, design, and implementation considerations when working with JSP technology

Who it is for

Web developers who need to be able to build enterprise Java based Web applications using JSP.

Training Course Prerequisites

  • Delegates must be familiar with XML, and they must also be familiar with Web technologies such as HTML and HTTP. Java programming experience is desirable but not essential for this training course. If you do not have Java, then some scripting experience would be extremely advantageous.


Chapter 1 Introduction to Web Applications

  • Java Servlets
  • JavaServer Pages
  • JavaBeans
  • Tag Libraries

Chapter 2 Introduction to Java Servlets

  • What is a Java Servlet
  • Java Servlet lifecycle
  • Introduction to the Servlet API
  • How to develop and deploy Java Servlets

Chapter 3 Creating REST based Web services

  • The REST Principles
  • Working with JAX-RS
  • Setting Paths and Parameters
  • Controlling the binding to XML and JSON
  • Deployment considerations

Chapter 4 Session Tracking

  • Processing form data from Java servlets
  • Working with Cookies
  • Working with URL re-writing
  • Using the HttpSession object

Chapter 5 Java Server Pages

  • What is a Java Server Page?
  • Directives in JSP
  • Scriptlets in JSP
  • Scripting Elements in JSP
  • Standard Actions in JSP

Chapter 6 JavaBeans and JavaServer Pages

  • What are JavaBeans
  • Using JavaBeans with JSP
  • JSP and Servlet interaction
  • Web application architecture

Chapter 7 The Expression Language (EL)

  • EL Syntax
  • EL Functions
  • EL Operators

Chapter 8 JavaServer Page Tag Libraries

  • What are Tag Libraries
  • Components of a Tag Library
  • The JavaServer Pages Standard Tag Library (JSTL)
  • JSTL Tag Overview

Chapter 9 The JSTL Core Tags

  • The Core Actions
  • Flow control actions
  • URL actions
  • Handling errors using catch
  • Outputting content using the out tag

Chapter 10 Introduction to JavaServer Faces (JSF)

  • What is JSF
  • Benefits of JSF over Struts
  • Overview of a JSF Application
  • Working with Facelets

Chapter 11 JSP and Databases

  • JDBC Overview
  • The SQL Actions
  • Configuring Data Sources in Tomcat
  • Delegation and using JavaBeans

Chapter 12 JSP and XML

  • The XML Actions
  • Applying XSLT transformations using JSTL
  • Processing DOM objects using JSTL

Chapter 13 Creating Tag Libraries

  • Creating tags
  • Deploying tags

Chapter 14 Enterprise Java Beans and JSP

  • Overview of EJB
  • Invoking EJBs from a Web application
  • Design considerations

Chapter 15 Securing Web Applications

  • Security options for Web applications
  • J2EE Principals and Roles
  • Declarative security
  • Programmatic security