25,000+ Courses Nationwide
0345 4506120

Java Web Application Development

In this training course, you acquire the experience needed to implement high-performing, scalable, and secure transactional web-based applications, as well as gain an in-depth understanding of how to integrate JPA and EJB with modern web technologies, and how Java Enterprise Edition (Java EE) offers a simple and comprehensive approach to building state-of-the-art enterprise applications.

Key Features of this Java Web Application Development Training

  • After-course instructor coaching benefit
  • End-of-course exam included
  • After-course computing sandbox included

Select specific date to see price, venue and full details.

Learning Objectives

You Will Learn How To

  • Build robust, data-driven web applications by integrating key components of Java EE.
  • Create dynamic, session-managed, data-driven web applications with Java servlets.
  • Build dynamic web page views with JSP.
  • Implement the MVC design pattern for Java web applications.
  • Use listeners to initialise web sessions and applications.
  • Employ best practises for storing application data.
  • Use database connection pools to reduce latency.
  • Lock down a web application using container managed security.

Pre-Requisites

Requirements

  • Three to six months of Java programming experience
  • You should have:
    • An understanding of Java classes and the inheritance model
    • The ability to use standard Java APIs
    • Basic working knowledge of XML 

Recommended Experience

  • Familiarity with intranet/internet development technologies, such as HTML, HTTP, and TCP/IP

Course Content

Course Outline

Introduction and Overview

Web application development

  • The requirements of a web application
  • Components of an n-tier architecture

Generating Content with Servlets

Getting started with servlets

  • Integrating servlets into the web application architecture
  • Configuring the servlet development environment
  • Avoiding common servlet pitfalls

Utilising the Java Servlet API

  • Servlet life cycle methods
  • Accessing servlet environment variables

Creating web-based forms for user input

  • Adding text fields and drop-down lists
  • Retrieving form data in the servlet

Accessing Databases with Servlets

Extending servlets with Java Database Connectivity

  • Connecting to the database
  • Submitting SQL statements
  • Retrieving and processing data

Formatting database results

  • Constructing an HTML table
  • Adding drill-down features

Maintaining State in Java Web Applications

Writing cookies to personalise web content

  • Retrieving cookies from a client request
  • Sending cookies to the client
  • Circumventing cookie limitations

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

Key components of Java EE for web development

  • Servlets
  • JSP
  • XML

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)

State management with JSP

  • Accessing cookies and sessions
  • Storing common application data

Designing JSP and Servlet Architectures

Integrating JSP and JavaBeans

  • Promoting object reuse
  • Separating application logic from the presentation

Calling JSP from servlets

  • Forwarding Java objects to JSP
  • Using JavaBeans to transfer data
  • Servlet and JSP design patterns

Integrating JSP Custom Tags

Leveraging the Tag Extension mechanism

  • The role of JSP custom tags
  • Applying the JSP Standard Tag Library (JSTL)

Developing custom tags

  • Creating custom tags with JSP 2 tag files
  • Customising tag behaviour with attributes

Developing JavaServer Faces (JSF) Applications

JSF framework overview

  • Identifying the JSF core components
  • Managing application flow using JSF navigation model

Building JSF components

  • Developing back beans
  • Creating views with JSF custom tags

Java Web Application Development Training FAQs

What is a servlet?

A servlet is a Java program that runs on the Java-enabled web or application server. It handles a request from the server, processes the request, produces a response, and sends the response back to the server.

What are JavaServer Pages (JSP)

JavaServer Pages (JSP) is a programming technology that enables the creation of dynamic, data-driven, platform-independent pages for Java web applications.

Do I need to be a JavaScript developer to do well in this course?

Not at all. This course minimises the use of JavaScript and focuses on the Java API for creating durable, scalable web applications.

Which servlet/JSP container is used by this course?

Course 570 uses Tomcat, the Reference Implementation for Java Web applications. Tomcat is a fully compliant Java EE servlet/JSP container

Can I learn Java web application development online?

Yes! We know your busy work schedule may prevent you from getting to one of our classrooms which is why we offer convenient online training to meet your needs wherever you want, including online training.

Related Java Training

JavaScript Essentials for the Full Stack Developer Using ECMAScript

Learn HTML5: Platform-Independent Web Development with CSS3 and JavaScript

AngularJS Web Application Development Training

Introduction to XML Training

CSS3 Responsive Web Design Training

jQuery Best Practices for Legacy and Today

Related Courses

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the requested service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

We work with the best