Goals
- Learn about MVC and MVC architectures 2
- Learn to use the Struts Framework 1
Program
Principle of MVC and MVC 2 architectures
Overview of MVC2 frameworks: Struts, JSF, …
Struts 1: presentation, architecture, version
Development environment, plugins, JEE application server
Workshop: Installation of the development environment
Struts 1 project: libraries and dependencies
Log management
Configuration of the ActionServlet in the web.xml
Configuration of Struts taglibs Configuration
file struts-config.xml
Action-Model-Vue flow and configuration
Workshop: Creation and execution of a Struts 1 project
Struts 1 actions: types, implementation
Management of parameters, return values
Mapping of actions: results, parameters
Management of errors
Panorama of form tags
Integration of forms: ActionForm and mapping
Validation of forms
Management of error messages
Dynaforms (beans dynamics)
Upload
management Download management
Properties files and internationalization of views (i18n)
Integration of
Panorama plugins and integration of libraries: Struts Layout
Workshop: Implementation of several forms: creation, validation, processing
Persistence spaces: page, request, session, application Session
handling: adding and retrieving attributes
Defining and using application variables
Creating and retrieving cookies
Workshop: Using the available persistence spaces
Struts-Tiles: presentation, interest
Setup: configuration (tiles-def.xml)
Model page and use
Inheritance of Tiles
Forward
Other alternatives to Tiles: Sitemesh
Workshop: Integration of templates and use
Struts 2: presentation, contributions
Struts 1 vs Struts 2
Migration process Demonstration
Workshop: presentation of a Struts 2 application
Duration
3 days
Price
£ 1600
Audience
Java / JEE Developers
Prerequisites
Knowledge of servlets and JSP
Reference
JAV1096-F
Sessions
Contact us for more informations about session date