Programming Jakarta Struts, 2nd Edition [Electronic resources]

Chuck Cavaness

نسخه متنی -صفحه : 181/ 3
نمايش فراداده

Table of Contents
Index
Reviews
Reader Reviews
Errata
Academic
Programming Jakarta Struts, 2nd Edition
By Chuck Cavaness
Publisher: O'Reilly
Pub Date: June 2004
ISBN: 0-596-00651-9
Pages: 470

Copyright
Preface
Organization
Conventions Used in This Book
Using Code Examples
Comments and Questions
Acknowledgments
Chapter 1. Introduction
Section 1.1. A Brief History of the Web
Section 1.2. What Are Java Servlets?
Section 1.3. JavaServer Pages
Section 1.4. JSP Model 1 and Model 2 Architectures
Section 1.5. Why Is Model-View-Controller So Important?
Section 1.6. What Is a Framework?
Section 1.7. Alternatives to Struts
Chapter 2. Inside the Web Tier
Section 2.1. An Architecture Overview
Section 2.2. The HTTP Request/Response Phase
Section 2.3. Struts and Scope
Section 2.4. Using URL Parameters
Section 2.5. Forward Versus Redirect
Chapter 3. Overview of the Struts Framework
Section 3.1. A Banking Account Example
Section 3.2. Looking at the Big Picture
Section 3.3. Struts Controller Components
Section 3.4. Struts Model Components
Section 3.5. Struts View Components
Section 3.6. Multiple Application Support
Section 3.7. Summary
Chapter 4. Configuring Struts Applications
Section 4.1. The Storefront Application
Section 4.2. What Is a Web Application?
Section 4.3. The Web Application Directory Structure
Section 4.4. The Web Application Deployment Descriptor
Section 4.5. Configuring the web.xml File for Struts
Section 4.6. The Struts Configuration File
Section 4.7. The Digester Component
Section 4.8. The Struts Console Tool
Section 4.9. Reloading the Configuration Files
Chapter 5. Struts Controller Components
Section 5.1. The Controller Mechanism
Section 5.2. The Utilities Classes
Chapter 6. Struts Model Components
Section 6.1. The "M" in MVC
Section 6.2. What Is a Business Object?
Section 6.3. Persistence
Section 6.4. What Does Struts Offer for the Model?
Chapter 7. Struts View Components
Section 7.1. What Is a View?
Section 7.2. What Are ActionForms?
Section 7.3. Using ActionErrors
Section 7.4. Performing Presentation Validation
Section 7.5. Using the DynaActionForm Class
Section 7.6. Looking Ahead to JavaServer Faces
Chapter 8. JSP Custom Tag Libraries
Section 8.1. Custom Tags Overview
Section 8.2. Tag Libraries Included with Struts
Section 8.3. Using JavaBeans with Struts Tags
Section 8.4. Struts HTML Tags
Section 8.5. Logic Tags
Section 8.6. Bean Tags
Section 8.7. Nested Tags
Section 8.8. Other Useful Tag Libraries
Section 8.9. The JSP Standard Tag Library (JSTL)
Chapter 9. Extending the Struts Framework
Section 9.1. What Are Extension Points?
Section 9.2. General Extension Points
Section 9.3. Controller Extension Points
Section 9.4. Extending View Components
Section 9.5. Downsides to Extending the Framework
Chapter 10. Exception Handling
Section 10.1. Java Exception Handling
Section 10.2. Performance Impact of Exception Handling
Section 10.3. System Versus Application Exceptions
Section 10.4. Using Chained Exceptions
Section 10.5. Exception Handling Provided by Struts
Section 10.6. Tying Up the Loose Ends
Section 10.7. Conclusion
Chapter 11. The Validator Framework
Section 11.1. The Need for a Validation Framework
Section 11.2. Installing and Configuring the Validator
Section 11.3. Using an ActionForm with the Validator
Section 11.4. Creating Your Own Validation Rules
Section 11.5. The Validator and JSP Custom Tags
Section 11.6. Internationalizing the Validation
Section 11.7. Using the Validator Outside of Struts
Chapter 12. Internationalization and Struts
Section 12.1. What Is Internationalization?
Section 12.2. Support for I18N in Java
Section 12.3. Internationalizing Your Struts Applications
Section 12.4. Exception Handling and Internationalization
Chapter 13. Struts and Enterprise JavaBeans
Section 13.1. Implementing the Storefront Service Using EJB
Section 13.2. Interfacing Struts to EJB
Section 13.3. Conclusion
Chapter 14. Using Tiles
Section 14.1. Understanding Templates
Section 14.2. Installing and Configuring Tiles
Section 14.3. Using Tiles
Section 14.4. The Tiles Tag Library
Section 14.5. Using Definitions
Section 14.6. Internationalization Support with Tiles
Chapter 15. Logging in a Struts Application
Section 15.1. Logging in a Web Application
Section 15.2. Using the Servlet Container for Logging
Section 15.3. Jakarta Commons Logging
Section 15.4. Using the log4j Package
Section 15.5. Using Commons Logging in JSP Pages
Section 15.6. The Performance Impact of log4j
Section 15.7. Third-Party log4j Extensions
Section 15.8. Java 1.4 Logging API
Chapter 16. Packaging Your Struts Application
Section 16.1. To Package or Not to Package
Section 16.2. Packaging the Application as a WAR File
Section 16.3. Building Your Struts Applications with Ant
Section 16.4. Creating an Automated Build Environment
Section 16.5. Restarting Your Server Remotely
Chapter 17. Addressing Performance
Section 17.1. What Is Good Performance?
Section 17.2. Performance Versus Load Testing
Section 17.3. Performance- and Stress-Testing Tools
Section 17.4. Testing the Storefront Application
Section 17.5. Performance and Scalability Gotchas
Chapter 18. JavaServer Faces
Section 18.1. Struts and JavaServer Faces
Section 18.2. Overview of JSF Architecture
Section 18.3. Installing and Running the Example Struts-Faces Application
Section 18.4. Converting Existing Struts Applications to JSF
Section 18.5. Further Reading
Appendix A. Changes Since Struts 1.0
Section A.1. ActionServlet and RequestProcessor
Section A.2. Modifications to the Struts Action Class
Section A.3. Changes to web.xml and struts-config.xml
Section A.4. Action Statics Changed
Section A.5. TagUtils and ModuleUtils
Section A.6. New Features of Struts 1.1
Section A.7. The Struts Validator
Section A.8. Change to Commons Logging
Section A.9. Removal of Admin Actions
Section A.10. Deprecation of the GenericDataSource
Section A.11. Dependency on Commons Projects
Appendix B. Downloading and Installing Struts
Section B.1. The Binary Versus Source Distributions
Section B.2. Tips on Installing Struts in Tomcat
Section B.3. Tips on Installing Struts in WebLogic
Section B.4. Tips on Installing Struts in WebSphere
Appendix C. Resources
Section C.1. The Struts Mailing Lists
Section C.2. The Struts Resource Web Page
Section C.3. Tiles Site
Section C.4. Nested Tags Site
Section C.5. The Struts Console
Section C.6. Easy Struts Project
Colophon
Index