J2EE Home

J2EE Articles

J2EE Books

J2EE Tools

J2EE Keywords

J2EE

Programming Jakarta Struts

See more Amazon Details

Contents Listing

Preface
1. Introduction
A Brief History of the Web
What Are Java Servlets?
JavaServer Pages
JSP Model 1 and Model 2 Architectures
Why Is Model-View-Controller So Important?
What Is a Framework?
Alternatives to Struts
2. Inside the Web Tier
An Architecture Overview
The HTTP Request/Response Phase
Struts and Scope
Using URL Parameters
Forward Versus Redirect
3. Overview of the Struts Framework
A Banking Account Example
Looking at the Big Picture
Struts Controller Components
Struts Model Components
Struts View Components
Multiple Application Support
Summary
4. Configuring Struts Applications
The Storefront Application
What Is a Web Application?
The Web Application Directory Structure
The Web Application Deployment Descriptor
Configuring the web.xml File for Struts
The Struts Configuration File
The Digester Component
The Struts Console Tool
Reloading the Configuration Files
5. Struts Controller Components
The Controller Mechanism
The Utilities Classes
6. Struts Model Components
The "M" in MVC
What Is a Business Object?
Persistence
What Does Struts Offer for the Model?
7. Struts View Components
What Is a View?
What Are ActionForms?
Using ActionErrors
Performing Presentation Validation
Using the DynaActionForm Class
Looking Ahead to JavaServer Faces
8. JSP Custom Tag Libraries
Custom Tags Overview
Tag Libraries Included with Struts
Using JavaBeans with Struts Tags
Struts HTML Tags
Logic Tags
Bean Tags
Nested Tags
Other Useful Tag Libraries
The JSP Standard Tag Library (JSTL)
9. Extending the Struts Framework
What Are Extension Points?
General Extension Points
Controller Extension Points
Extending View Components
Downsides to Extending the Framework
10. Exception Handling
Java Exception Handling
Performance Impact of Exception Handling
System Versus Application Exceptions
Using Chained Exceptions
Exception Handling Provided by Struts
Tying Up the Loose Ends
Conclusion
11. The Validator Framework
The Need for a Validation Framework
Installing and Configuring the Validator
Using an ActionForm with the Validator
Creating Your Own Validation Rules
The Validator and JSP Custom Tags
Internationalizing the Validation
Using the Validator Outside of Struts
12. Internationalization and Struts
What Is Internationalization?
Support for I18N in Java
Internationalizing Your Struts Applications
Exception Handling and Internationalization
13. Struts and Enterprise JavaBeans
Implementing the Storefront Service Using EJB
Interfacing Struts to EJB
Conclusion
14. Using Tiles
Understanding Templates
Installing and Configuring Tiles
Using Tiles
The Tiles Tag Library
Using Definitions
Internationalization Support with Tiles
15. Logging in a Struts Application
Logging in a Web Application
Using the Servlet Container for Logging
Jakarta Commons Logging
Using the log4j Package
Using Commons Logging in JSP Pages
The Performance Impact of log4j
Third-Party log4j Extensions
Java 1.4 Logging API
16. Packaging Your Struts Application
To Package or Not to Package
Packaging the Application as a WAR File
Building Your Struts Applications with Ant
Creating an Automated Build Environment
Restarting Your Server Remotely
17. Addressing Performance
What Is Good Performance?
Performance Versus Load Testing
Performance- and Stress-Testing Tools
Testing the Storefront Application
Performance and Scalability Gotchas
18. JavaServer Faces
Struts and JavaServer Faces
Overview of JSF Architecture
Installing and Running the Example Struts-Faces Application
Converting Existing Struts Applications to JSF
Further Reading
A. Changes Since Struts 1.0
B. Downloading and Installing Struts
C. Resources
Index

Google
Web www.objectoriented.force9.co.uk

Contents
View a contents listing.

Short
Short Description.


Keyword Pages
HTTP
JavaServer Faces
JSP
Servlets
Web Application

Keyword Bestsellers

HTTP

JavaServer Faces

JSP

Servlets

Web Application

J2EE Bestsellers
The bestselling books on Amazon.

Articles

Consolidation in Clearing

Visit our site of the month Load Testing at loadtesting.force9.co.uk
Visit our site of the month Load Testing at loadtesting.force9.co.uk