Search
Follow Us: Facebook linkedin twitter
Course Description

Java Struts 2 (Jakarta/Apache)

Course Code
JSSTR
Description:

This course shows JSP and Servlet developers how to build web applications using the Apache Struts framework. Students learn to use the Struts architecture to develop web applications using the Model-View-Controller (MVC) design pattern and Struts custom tags to create JSPs and Servlets that adhere to an industry standard.
This course is for Java 2 Platform, Enterprise Edition (J2EE) application developers. 
PREREQUISITE: Students should be familiar with Java Servlets and JavaServer Pages (JSPs), and have experience with Web application development.

Syllabus:

Chapter 1: The Evolution of a Web Application
What Is a Web Application?
A Static HTML Resource
HTML Forms
Servlets
JavaServer Pages (JSP)
JavaBeans, Custom Tags, and JSTL
Web Application Frameworks
Chapter 2: Overview of the Struts 2 Framework
Tiered Architectures
Model-View-Controller (MVC) Architecture
The Struts 2 Framework
Bundling the Struts 2 Libraries
Creating a Basic Struts 2 Web Application
Chapter 3: Struts Configuration Files
An Overview of Struts Configuration Files
The struts.xml Configuration File
The package Element
The action Element
The result Element
The struts.properties Configuration File
A HelloStruts Application
Examining the HelloStruts Application
Chapter 4: Actions in Detail
POJOs as Actions
Implementing the Action Interface
Actions Accessing Resources
A "ResourceFull" Application
The ActionSupport Class
Chapter 5: Results and Result Types
The result Element
Standard Result Types
Global Results and Exception Mappings
SearchingForResults Application
A ButtonBuilder Application
Chapter 6: Interceptors
An Overview of Interceptors
Struts Predefined Interceptors
A Simple Example
Interceptor Details
A Progress Meter Example
Programmatic Validation of Data
Chapter 7: OGNL and the Value Stack
An Overview of OGNL
An Overview of the Value Stack
OGNL with Java Collections and Maps
OGNL With Collections and Maps
Additional OGNL Features
Chapter 8: Generic Tags
Generic Data Tags
Generic Control Tags
Data and Control Tags Reference
Chapter 9: Form Tags
Form Tags
Shared Form Tag Attributes
Form Tags Reference
Appendix A: Software Libraries Reference Sheet
Installed Software Directories
Appendix B: Developing Java Web Applications With Eclipse
What is Eclipse™?
Starting Eclipse
Configuring the Workspace
Configuring a Server in Eclipse
Configuring the Apache Tomcat Server
Installing the GlassFish Plug-in for Eclipse
Configuring the GlassFish Application Server
Configuring the JBoss Application Server
Configuring Server Publishing
Starting and Stopping Servers in Eclipse
Configuring Apache Derby in Eclipse
Configuring MySQL in Eclipse
Creating a Dynamic Web Project
Creating an HTML Page
Creating a JSP Page
Creating a Servlet
Configuring the Build Path
Appendix C: HTML Reference
Introduction
A Simple HTML Document
Basic Tags
Formatting Tags
Links
Forms
Appendix D: Web Accessibility
What is Accessibility?
What is Section 508?
Accessibility Initiatives and Related Legislation
Types of Disabilities
Assistive Technologies
Benefits of Accessible Design
General Coding Practices
Other Recommendations