Java Course » JV006 Web Application Development with MVC using Struts

  Course Code:   LP006   
  Duration:  3 Days Pricing :  16,700 Baht (VAT Included)
  Overview  
 

Jakarta Struts is the most popular and powerful framework for developing JSP applications. In this Struts training class, experienced Java developers learn how to use Struts and the Model-View-Controller (MVC) design pattern to build scalable, maintainable data-driven Web applications.


Prerequisites

All attendees must have attended WTEC’s Web Application Development with JSP & Servlet, or have equivalent real-world experience.


Hands-on/Lecture Ratio

This class is 70% hands-on, 30% lecture, with the longest lecture segments lasting for 20 minutes.


Software Needed on Each Student PC

 
  • Windows 2000, Windows XP, Windows Vista, or Windows Server 2003
  • Java SE SDK, version 1.5.0 or later (downloadable from http://java.sun.com/j2se/downloads.htmll)
  • Tomcat 5.0.16 or later (from http://jakarta.apache.org/tomcat)
  • Additional software - please contact us for a detailed setup sheet
  • Note: This outline presumes that Apache Tomcat will be used to execute the servlets and JSPs in this class. However, all code taught will run on any Java platform, including SunONE, BEA WebLogic, and IBM WebSphere. If preferred, one of these platforms can be used as the test server during class.

  • Objectives

     
  • To teach attendees the mechanics of the Jakarta Struts framework, the most popular framework for building JSP applications
  • To facilitate understanding of the Model-View-Controller (MVC) design pattern and how it is best applied to Java Web development
  • To teach students how to follow proper Struts architecture processes in building their Struts applications

  • Outline

    1.  Struts Architecture
     
  • MVC and Model 2
  • Command Pattern
  • Jakarta Struts
  • More XML, Less Java!
  • Action Mappings
  • JavaBeans in Struts
  • Working with Forms
  • Validation
  • Presentation Technology
  • Tiles
  • 2.  Action Mappings
     
  • Command Pattern for Web Applications
  • ActionServlet
  • Action and ActionMapping
  • Struts Configuration
  • Selecting a Forward
  • Global Forwards
  • Declarative Exception Handling
  • Global Exception Handlers
  • 3.  Forms
     
  • Working with HTML Forms
  • Action Forms a/k/a Form Beans
  • Relationship to Input
  • Relationship to Actions
  • Relationship to the Model
  • Relationship to Output
  • DynaActionForm and Map-Backed Forms
  • Validation
  • Coarse-Grained Form Beans
  • 4.  Struts Tag Libraries
     
  • Building View Components
  • Struts Tag Libraries
  • Attributes and Struts Expressions
  • Building Forms
  • <html:form>
  • <html:text> et. al.
  • Forms and Form Beans
  • Scope and Duration of Form Data
  • Managing Hyperlinks
  • Error Messages
  • Logic Tags
  • 5.  The JSP Standard Tag Library
     
  • JSTL Overview
  • JSP Expression Language
  • Core Tags
  • Formatting Tags
  • XML Tags
  • SQL Tags
  • Mixing JSTL, EL, Scripts and Actions
  • Indexed Properties and Struts HTML Forms
  • 6.  Internationalization and Localization td>
     
  • i18n in Java
  • i18n in Actions
  • i18n in JSTL
  • i18n in Validation
  • 7.  Input Validation
     
  • Validation in Web Applications
  • Validation in Struts
  • The Struts Validator Plug-In
  • Validating ActionForm Subtypes
  • Configuring Validation
  • Standard Validators
  • Rules
  • The ActionMessages Class
  • Is <html:form> Necessary?
  • Reporting Errors
  • Multi-Page Validation
  • Client-Side Validation
  • Limitations on the Client Side
  • Implementing a Validator
  • Implementing ActionForm.validate
  • Mapping-Based Validation
  • 8.  Tiles
     
  • Consistent Look and Feel
  • Reusable Layouts and Content
  • The Tiles Framework
  • Instantiating Layouts
  • Body-Wrap Insertions
  • Tiles and Stylesheets
  • Working with Tiles Attributes
  • The Tiles Context
  • Definitions
  • Aggregation and Inheritance
  • The Tiles Plug-In
  • Forwarding to Definitions
  • Performance Considerations
  • 9.  Conclusion
     
      PREV   NEXT  
    TOP