Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Programming Jakarta Struts
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Programming Jakarta Struts

Programming Jakarta Struts

Chuck Cavaness

458 pages, parution le 05/02/2003

Résumé

Web tier frameworks have really taken off in the past year or so. Developers who used to spend hours and hours writing low-level features have realized the enormous benefits of using well-written frameworks to build the presentation tier so they can get to coding the "good stuff", the business logic at the core of the program.

The Struts Framework, originally created by Craig R. McClanahan and donated to the Apache Software Foundation's Jakarta project in 2000, has become one of the most popular presentation frameworks for building web applications with Java Servlet and JavaServer Pages (JSP) technology. It encourages application architecture based on the Model-View-Controller (MVC) design paradigm, colloquially known as the Model 2 approach.

As popular as Struts is becoming, the online documentation is inadequate, focusing on the most basic functionality and leaving out information crucial to developers writing today's complex web applications. O'Reilly's Programming Jakarta Struts was written by Chuck Cavaness after his internet company decided to adopt the framework, then spent months really figuring out how to use it to its fullest potential. He calls the books, "the culmination of lessons learned (the hard way) during the building of our application."

Readers will benefit from the real-world, "this is how to do it" approach Cavaness takes to developing complex enterprise applications using Struts, and his focus on the 1.1 version of the Framework makes this the most up-to-date book available.

Programming Jakarta Struts covers:
  • An overview of the concepts involved in writing web applications
  • Detailed installation and configuration instructions to get Struts up and running quickly
  • A thorough discussion of how Struts implements the Model-View-Controller pattern, and how to interface with that pattern in your own applications
  • JSP and Jakarta Tag Libraries for authoring complex web pages
  • Logging, Validation, and Exception Handling with Struts
  • Using the new Struts template framework, Tiles.
  • Writing internationalization and localization code using Struts
  • Practical, real-world best practices for web applications

Craig McClanahan, originator of Struts, says of the book, "One thing a lot of open source packages lack is a comprehensive guide to all of the features -- something that goes far enough past "hello, world" to get you into solving real application design problems, and it looks like you've hit just the right level for a lot of people."

Contents

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?
  • Creation of the Struts 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 org.apache.struts.config Package
  • 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?
  • Building the Storefront 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
  • Template 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
  • Extending Model Components
  • Downsides to Extending the Framework
10. Exception Handling
  • Java 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
  • Overview of 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
  • Deciding How to Package Your Application
  • 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
A. Changes Since Struts 1.0
B. Downloading and Installing Struts
C. Resources

L'auteur - Chuck Cavaness

Chuck Cavaness is a graduate from Georgia Tech with degrees in computer engineering and computer science, has built Java-based enterprise systems in the healthcare, banking, and B2B sectors. Working at an Internet company to design and develop software architecture, Chuck has spent many frustrating hours figuring out the dos and the don'ts of web applications. With each enterprise system he's developed, Chuck has learned several valuable lessons about building "real-world" web applications, information that he's made available to developers who haven't had the opportunity to work on large systems.
Chuck is the co-author of Special Edition Using Java 1.3 and Special Edition Using EJB 2.0, both available from QUE.

Caractéristiques techniques

  PAPIER
Éditeur(s) O'Reilly
Auteur(s) Chuck Cavaness
Parution 05/02/2003
Nb. de pages 458
Format 17,7 x 23,3
Couverture Broché
Poids 740g
Intérieur Noir et Blanc
EAN13 9780596003289

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav.client@eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription