Advanced Servlets and JSP with Struts Training

Duration: 5 days
Course code: SS-JEE-081

Audience

The Advanced Servlets and JSP with Struts training course is designed for developers who already have some experience in Java, Java Servlets and Java Server Pages.

  • Architects
  • Designers
  • Consultants
  • Developers
Prerequisites

Participants should be familiar with:

  • Java
  • Servlets
  • JSPs
Description

The Advanced Servlets and JSP with Struts training course covers advanced design techniques and architectural patterns in the application of Java Servlets and Java Server Pages (JSP) technologies for the development and implementation of enterprise-class web-based applications. The course also covers advanced topics in Web application security, Internationalization, and the Apache Struts framework.

Objectives

The Advanced Servlets and JSP with Struts training course aims to teach a set of advanced skills necessary to implement extensible, maintainable, secure, robust and scalable enterprise applications using JSP and Servlets. On completion, attendees will be able to:

  • Design and implement JSP/Servlet based systems using the Model 2 Framework
  • Design and implement JSP/Servlet based systems using Struts
  • Control the access to secure web resources using the authentication and authorization techniques
  • Internationalize your web pages to enable a locale-specific customized view

Outline for Advanced Servlets and JSP with Struts Training Course

Advanced Java Servlet Architecture

  • Concepts in Web Framework Design
  • Model-View-Controller (MVC) Pattern
  • Introduction to Model 2 Framework
  • Action Interfaces and Action Handlers
  • Action Factory
  • Action Routers

Event Handling

  • Event Handling in JSP and Servlets
  • Handling sensitive form resubmissions

Struts Fundamentals

  • Fundamental concepts of the Struts framework
  • Struts and MVC
  • Quick review of web application
  • Setting up a web application using Struts
  • Controller class
  • Custom Tag library
  • Action Interfaces and Action handler classes

Building the Controller Component

  • Implementing Action classes
  • Defining Action mappings
  • Modifying web application deployment descriptor

Building the Model Component

  • Building ActionForm beans
  • Building system state beans
  • Building business logic beans

Building the View Component

  • HTML forms and FormBeans
  • Building forms with Struts

Struts Tag Library

  • HTML Tags
  • Bean Tags
  • Logic Tags
  • Nested and Template Tags

Exception Handling

  • Declarative exception handling in Struts
  • Programmatic exception handling in Struts

Validation

  • Validation using form beans
  • Validation using the Validator Framework

Internationalization and Localization

  • Locales, Charsets and Unicode
  • List and Property Resource Bundles
  • Formatting locale-sensitive information
  • Detecting locales from browser language preferences
  • Using custom tags to implement internationalized web pages
  • Struts resource bundles

Tiles

  • Overview of templates and the tiles framework
  • Using tiles for layout
  • Using tiles custom tags
  • Using tiles definitions

Security

  • Servlet Authentication
  • Principals and Roles
  • Declarative Authentication
  • Portability
  • Authentication Types
  • Basic Authentication
  • Digest Authentication
  • Form-Based Authentication
  • SSL and Client Certificate Authentication
  • Customizing Authentication
  • Programmatic Authentication

Comments are closed.