Developing Java Web Applications

Duration: 
3 days
Codes: 
570

Overview

In this training course, you acquire the experience needed to implement high-performing, scalable, and secure web-based applications, and learn how Java Enterprise Edition (Java EE) offers a simple and comprehensive approach to building state-of-the-art enterprise applications.

Skills Gained

You Will Learn How To 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 servlets
  • Build dynamic web page views with JSP
  • Implement the MVC design pattern for Java web applications
  • Configure listeners to initialise web sessions and applications

Prerequisites

Important Course Information Important Course Information Requirements 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

You should have:

  • An understanding of Java classes and the inheritance model
  • The ability to use standard Java APIs
  • Basic working knowledge of XML

Basic working knowledge of XML Recommended Experience Recommended Experience

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

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

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

Related Courses

 

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. It's a cost effective option.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.

ITILv3, RESILIA, PRINCE2, PRINCE2 Agile, AgileSHIFT, MSP, M_o_R, P3M3, P3O, MoP, MoV courses on this page are offered by QA, ATO of AXELOS Limited. ITIL, RESILIA, PRINCE2, PRINCE2 Agile, AgileSHIFT, MSP, M_o_R, P3M3, P3O,MoP, MoV are registered trademarks of AXELOS Limited. All rights reserved.

Upcoming Dates

  • GREEN This class is Guaranteed To Run.
  • SPVC - Self-Paced Virtual Class.
  • Click a Date to Enroll.
Course Location Days Cost Date
London London3 1695 £1695 2019-09-25
Somerset Bath3 1695 £1695 2019-10-01
Somerset Bath3 1695 £1695 2019-12-10
London London3 1695 £1695 2019-12-18