Java Struts Development

Course ID

06030

Course Description

This class introduces students to Model-View-Controller architectures using the Java Struts framework.

Prerequisites

  • Strong HTML skills, a solid Java programming background
  • Prior experience with JavaServer Pages (JSPs) and Java Servlets

Audience

This course is designed for experienced Java developers who need to develop Web applications that use Apache Struts.

Course Content

    The Model, View, Controller Architecture
  • Topics
  • Model, View, Controller (MVC) Design
  • Model 1 Design
  • Model 2 Design
  • Advantages and Disadvantages
  • Model 1 vs. Model 2
  • Building an MVC System

    Introduction to Struts
  • Topics
  • What is Struts?
  • Advantages of Struts
  • Disadvantages of Struts
  • How Struts Works
  • Struts MVC Semantics

    Struts Quick Start 2
  • Topics
  • Setup
  • Create an Eclipse Workspace
  • Configure Tomcat
  • Create a new Dynamic Web Project
  • Add the Struts JAR files
  • Update web.xml (Deployment Descriptor)
  • Create stuts-config.xml
  • Create an ActionForm class
  • Create an Action class
  • Create the JSPs
  • Update struts-config.xml
  • Deploy and Test

    Creating the Model
  • Topics
  • Are the Action Classes Controller or Model?
  • Separating the Model from Struts
  • Using J2EE Design Patterns

    Creating the Controller
  • Topics
  • Overview
  • ActionServlet
  • ActionMapping
  • ActionForm
  • DynaActionForm
  • Action

    Creating the View
  • Topics
  • Overview
  • Struts Custom Tags
  • Utilities
  • JSTL

    Struts Validation
  • Topics
  • What is Validation?
  • Struts Validation Techniques
  • Programmatic ActionForm Validation
  • Programmatic Action Validation
  • Struts Validator Framework

    Error and Exception Handling
  • Topics
  • Error Handling
  • Identifying Errors with ActionError
  • Compiling Errors with ActionErrors
  • Displaying Errors with ErrorsTag
  • Exception Handling
  • Role of the Dispatcher
  • Exception Handling with AppException 3
  • Converting an Exception into ActionErrors

    Internationalization and Localization
  • Topics
  • Overview
  • The Locale Object
  • Internationalized Messaging and Labeling

    Introduction to Tiles
  • Topics
  • Overview of Tiles
  • Using a Layout Tile
  • Passing Parameters to the Layout
  • The Tiles Tag Library
  • Using Definitions
  • Internationalization Support with Tiles

    Struts Best Practices
  • Topics
  • Screens with Dynamic Fields
  • Safeguard your JSP pages
  • Error categorization
  • Validation of service requester: Login-check
  • Application security
  • Pre-population
  • Stack maintenance
  • Context-related issues
  • Form-bean scope
  • Data transfer object implementation
  • Exceptions
  • Action chaining

For More Information

For training inquiries, call 850-308-1376

or email us at eramos@gbsi.com

Course Details

Duration - 3 days
Price - $1895.00 USD


(Discounts may apply. Call for more information.)

Course Actions

Acceletrain Collaborative Learning Environment (formerly know as VILT) places industry certified and expert instructors, peers, learners and multi-media components into a "borderless classroom", and interactive learning environment that can span multiple physical locations. VILT combines the benefits of the traditional brick-and-mortar classroom with innovative learning techniques and the cost savings of internet-based training.