GI403 Design and develop web applications using Struts 2.0.

Course currently not scheduled

List of currently scheduled courses click here


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.

Topics

  • The modern web application framework
    1. Web applications: a quick study
    2. Frameworks for web applications
    3. The Struts 2 framework
    4. Summary
  • Saying hello to Struts 2
    1. Declarative architecture
    2. A quick hello
    3. HelloWorld using annotations
    4. Summary
  • Working with Struts 2 actions
    1. Introducing Struts 2 actions
    2. Packaging your actions
    3. Implementing actions
    4. Transferring data onto objects
    5. File uploading: a case study
    6. Summary
  • Adding workflow with interceptors
    1. Why intercept requests?
    2. Interceptors in action
    3. Surveying the built-in Struts 2 interceptors
    4. Declaring interceptors
    5. Building your own interceptor
    6. Summary
  • Data transfer: OGNL and type conversion
    1. Data transfer and type conversion: common tasks of the web application domain
    2. OGNL and Struts 2
    3. Built-in type converters
    4. Customizing type conversion
    5. Summary
  • Building a view: tags
    1. Getting started
    2. An overview of Struts tags
    3. Data tags
    4. Control tags
    5. Miscellaneous tags
    6. Using JSTL and other native tags
    7. A brief primer for the OGNL expression language
    8. Summary
  • UI component tags
    1. Why we need UI component tags
    2. Tags, templates, and themes
    3. UI Component tag reference
    4. Summary
  • Results in detail
    1. Life after the action
    2. Commonly used result types
    3. JSP alternatives
    4. Global results
    5. Summary
  • Integrating with Spring and Hibernate/JPA
    1. Why use Spring with Struts 2?
    2. Adding Spring to Struts 2
    3. Why use the Java Persistence API with Struts 2?
    4. Summary
  • Exploring the validation framework
    1. Getting familiar with the validation framework
    2. Wiring your actions for validation
    3. Writing a custom validator
    4. Validation framework advanced topics
    5. Summary
  • Understanding internationalization
    1. The Struts 2 framework and Java i18n
    2. A Struts 2 i18n demo
    3. Struts 2 i18n: the details
    4. Overriding the framework's default locale determination
    5. Summary
  • Extending Struts 2 with plug-ins
    1. Plug-in overview
    2. Common plug-ins
    3. Internal component system
    4. Writing a breadcrumb plug-in
    5. Summary
  • Best practices
    1. Setting up your environment
    2. Unit-testing your actions
    3. Maximizing reuse
    4. Advanced UI tag usage
    5. Summary
  • Migration from Struts Classic
    1. Translating Struts Classic knowledge
    2. Converting by piecemeal
    3. Summary
  • Advanced topics
    1. Advanced action usage
    2. Dynamic method invocation
    3. Using tokens to prevent duplicate form submits
    4. Displaying wait pages automatically
    5. A single action for CRUD operations
    6. Tiles and Struts 2