Book description
While the look and feel of an enterprise web application is certainly important, developers usually find themselves spending far too much time on the front-end presentation before they can get to coding the good stuff--the business logic at the heart of the program. Jakarta Struts addresses this issue by combining Java Servlets, Java ServerPages (JSP), custom tags, and messaging resources (like Java Message Service) into a unified, re-usable framework. The result is a cooperative, synergistic platform that's efficient and suitable for independent developers, large development teams, and everyone in between. The Struts Framework has become a highly popular open source project, but there's still woefully little documentation on the technology. What does exist is far too basic and lacks critical information for developers like you writing today's complex web applications. The revised and expanded Programming Jakarta Struts, 2nd Edition covers everything the successful earlier edition did--including an overview of the concepts involved in writing web applications; installation and configuration instructions for getting Struts up and running; a thorough discussion of how Struts implements the Model-View-Controller (MVC) design paradigm (known as the Model 2 approach) and how to interface with that pattern in your own applications; Logging, Validation, and Exception Handling with Struts; using Tiles; writing internationalization and localization code using Struts; and practical, real-world best practices for web applications--as well as plenty more: now fully up to date with Struts 1.1, this edition covers the latest material on tag libraries and the new JavaServerFaces (JSF) APIs and even includes all-new chapters on JSF, JSTL/EL, and security. With each enterprise system he s developed, author Chuck Cavaness has spent many grueling hours learning invaluable lessons about Struts and figuring out the dos and the don'ts of building web applications. He saves you time and headaches by sharing that invaluable real-world experience here, with his realistic, practical, here's how to do it approach to using the Struts Framework to its fullest potential.
Table of contents
-
Programming Jakarta Struts, 2nd Edition
- Preface
- 1. Introduction
- 2. Inside the Web Tier
- 3. Overview of the Struts Framework
-
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
-
6. Struts Model Components
- The “M” in MVC
- What Is a Business Object?
- Persistence
-
What Does Struts Offer for the Model?
- Building the Storefront Model
- Accessing a Relational Database
- Creating the Storefront Business Objects
- The Storefront Data Model
- Mapping the Business Objects to the Database
- Object-to-Relational Mapping Frameworks
- The Storefront Persistence Framework
- The Business Delegate and DAO Patterns in Action
- Conclusion
- 7. Struts View Components
- 8. JSP Custom Tag Libraries
- 9. Extending the Struts Framework
- 10. Exception Handling
- 11. The Validator Framework
- 12. Internationalization and Struts
- 13. Struts and Enterprise JavaBeans
- 14. Using Tiles
- 15. Logging in a Struts Application
- 16. Packaging Your Struts Application
- 17. Addressing Performance
- 18. JavaServer Faces
-
A. Changes Since Struts 1.0
- ActionServlet and RequestProcessor
- Modifications to the Struts Action Class
- Changes to web.xml and struts-config.xml
- Action Statics Changed
- TagUtils and ModuleUtils
- New Features of Struts 1.1
- The Struts Validator
- Change to Commons Logging
- Removal of Admin Actions
- Deprecation of the GenericDataSource
- Dependency on Commons Projects
- B. Downloading and Installing Struts
- C. Resources
- Index
- Colophon
Product information
- Title: Programming Jakarta Struts, Second Edition
- Author(s):
- Release date: June 2004
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596006518
You might also like
book
Programming Jakarta Struts
Web tier frameworks have really taken off in the past year or so. Developers who used …
book
Jakarta Struts Cookbook
The Jakarta Struts Framework is a popular open source platform for building web applications from top …
article
Use GitHub Copilot: Additional Tips
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …