• Online, Self-Paced
Course Description

Servlets, JSP (Java Server Pages) and JSF (JavaServer Faces) facelets are key components of Java web applications. In this course, you'll begin by learning about the standards and architecture of web applications. You'll then be introduced to the distinguishing features of Java web technologies and how these technologies are incorporated into enterprise applications. The course will also introduce the Java API for RESTful web services, known as JAX-RS, and you'll learn how to configure a Java web application. The course will then cover servlets and JSPs in more detail and you will be provided with demonstrations and practice in using these components to build a web application.

Learning Objectives

The Web Component Model

  • start the course
  • describe the reasons for web applications, and the standards associated with Java web applications
  • give an overview of the components of server-side and client-side Java web applications
  • describe how MVC can be used in Java web applications and describe the Java MVC architecture
  • describe how the HTTP request-response model is used in Java EE applications

 

Web Components

  • describe and contrast Java EE web components: servlets, JSP components, and JSF facelets
  • compare servlets and JSPS, and describe code for both components
  • describe code for a JSF facelet and describe how to use the JSP expression language in JSP and facelet pages
  • describe the code for a JAX-RS resource and a consuming web client
  • describe web context root and alias mapping, data scope, page design, and tools in the context of Java web applications
  • build a Java web application using a servlet, JSP, and a JAX-RS web service
  • Build a Java web application using a servlet
  • Creating a JAX-RS web service
  • inspect a web page with developer tools

 

Developing Servlets

  • describe the Servlet API and an example of a basic servlet
  • describe how to configure servlets with annotations and deployment descriptors
  • set response headers and create the response body for a servlet in a Java EE application
  • describe how to implement server-side processing in servlets to receive POST requests containing one or more files
  • describe how servlet sessions are managed
  • create a servlet controller class for a Java EE application
  • create a servlet to upload files to a Java EE application

 

Using JavaServer Pages

  • describe JavaServer Pages and contrast them with servlets
  • compare use of JSPs to servlets for presentation in a Java web application
  • describe how to work with JSP in a Java Web application
  • describe JSP technology directives
  • describe how to use JSP declarations, expressions, and scriptlets
  • describe the available scopes for JavaServer Pages and how to access and work with scoped elements
  • describe how to use the JSP taglib directive to extend tags that JSP can interpret and how to use Expression Language (EL) in JSP
  • create a JSP for the main page of a Java web application, modify upload view pages, add a view page to display individual images, and add a settings view page to filter the items displayed on the main page
  • Modify the upload view pages, and add a view page to display individual images
  • Add a settings view page to filter the items displayed on the main page

 

Practice: Servlets and JSPs

  • practice configuring servlets and JSPs in a Java web application

 

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.