Spielman | The Struts Framework | E-Book | sack.de
E-Book

E-Book, Englisch, 137 Seiten, Web PDF

Spielman The Struts Framework

Practical Guide for Java Programmers
1. Auflage 2002
ISBN: 978-0-08-051901-2
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark

Practical Guide for Java Programmers

E-Book, Englisch, 137 Seiten, Web PDF

ISBN: 978-0-08-051901-2
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark





Struts is an open-source framework that integrates with standard Java technologies and lets developers build web applications quickly and effectively. In much the same way that Java has overtaken C++, Struts is well poised to become the framework for web application development because of its ability to address the types of issues engineers face when building large-scale web applications.

The Struts Framework: Practical Guide for Java Programmers meets the needs of this large audience--estimated today at 2.5 million Java programmers and growing. It provides the systematic exploration required by newcomers as well as the step-by-step instruction for more experienced readers eager to exploit Struts to the fullest. Devoted to the latest version of the framework (v. 1.1) and vividly illustrated with a thorough sample application throughout, this book is an essential resource for all programmers who want to be part of the next stage in the evolution of the web.

* Hard-to-find, practical coverage from a highly visible figure in the Java development world.
* Among the first books to cover the latest release of Struts, version 1.1.
* Reviews all the technologies comprising Struts, including JavaServer Pages, Servlets, XML, Custom Tags, and web and application servers.
* Teaches readers the development practices-including design, debugging, internationalization, and implementation-essential to Struts development.
* Via a companion web site, provides downloadable sample code and data for use in a Struts-based database application.

Spielman The Struts Framework jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


1;Front Cover;1
2;The Struts Framework: Practical Guide for Java Programmers;4
3;Copyright Page;5
4;Contents;8
5;Preface;12
6;Chapter 1. Struts and Enterprise Web Technologies;16
6.1;1.1 Technology Stew;16
6.2;1.2 Model-View-Controller;20
6.3;1.3 Introduction to Struts;23
6.4;1.4 Moving On;24
7;Chapter 2. Framework Components Overview;26
7.1;2.1 Controlling Flow with the ActionServlet Component;26
7.2;2.2 Working with the Model Components;27
7.3;2.3 View Components;33
7.4;2.4 Summary;34
8;Chapter 3. Struts Development Plan;36
8.1;3.1 The Premise;36
8.2;3.2 Identify the Applicability;37
8.3;3.3 Ten-Step Development Program;38
8.4;3.4 Gather and Define the Application Requirements;38
8.5;3.5 Define and Develop Each Screen Requirement;39
8.6;3.6 Determine All the Access Paths for Each Screen;40
8.7;3.7 Define the ActionMappings;41
8.8;3.8 Create the ActionForms;41
8.9;3.9 Develop Actions;41
8.10;3.10 Develop the Application Business Logic;42
8.11;3.11 Create JSPs;42
8.12;3.12 Build the Appropriate Configuration Files;43
8.13;3.13 Build, Test, Deploy;44
8.14;3.14 Summary;44
9;Chapter 4. Creating and Building Actions;46
9.1;4.1 Creating an Action;47
9.2;4.2 Execute Method;48
9.3;4.3 Execution Steps in Execute;50
9.4;4.4 When Bad Things Happen to Good Actions;53
9.5;4.5 Handling Tokens;56
9.6;4.6 Design Rules of Thumb;57
9.7;4.7 Summary;58
10;Chapter 5. Creating and Building ActionForms;60
10.1;5.1 Defining ActionForms;61
10.2;5.2 ActionForm validate() method;63
10.3;5.3 ActionForm reset() Method;64
10.4;5.4 Design Rules of Thumb;65
10.5;5.5 Wizards, and We’re Not Talking Oz;66
10.6;5.6 Other Wizard Variations;71
10.7;5.7 DynaActionForms;72
10.8;5.8 Summary;73
11;Chapter 6. Configuring Struts;74
11.1;6.1 Web.xml;74
11.2;6.2 Struts-config.xml;81
11.3;6.3 Summary;89
12;Chapter 7. Building Struts-Enabled JSPs;90
12.1;7.1 Setting Up a JSP;91
12.2;7.2 Taglib Definitions;92
12.3;7.3 Summary;93
13;Chapter 8. Working with the Struts Custom Tag Libraries;94
13.1;8.1 When Tags Throw Exceptions;95
13.2;8.2 Using Property Referencing;95
13.3;8.3 Using the Struts-html Tag Library;96
13.4;8.4 Using the Struts-bean Tag Library;103
13.5;8.5 Using the Struts-logic Tag Library;106
13.6;8.6 Using the Struts-nested Tag Library;112
13.7;8.7 Using the Struts-template Tags;115
13.8;8.8 Summary;118
14;Chapter 9. Internationalizing Your Struts Application;120
14.1;9.1 However You Say It: Hello, Bon Jour, Hola, Ni Hao;120
14.2;9.2 UTF-8;121
14.3;9.3 Locales;121
14.4;9.4 PropertyResourceBundles;122
14.5;9.5 Formatted Messages;124
14.6;9.6 The MessageResources Class;125
14.7;9.7 Summary;125
15;Chapter 10. Configuring, Testing, and Rolling out Your Application;126
15.1;10.1 The WAR File;126
15.2;10.2 Building to Deploy;128
15.3;10.3 Jar Files;128
15.4;10.4 Using Logging for Debugging;129
15.5;10.5 Unit Testing;131
15.6;10.6 Maintaining Your Application;133
15.7;10.7 Summary;134
16;Chapter 11. Additional Useful Struts Packages and Extensions;136
16.1;11.1 Tiles;136
16.2;11.2 Validator;137
16.3;11.3 Uploading Files;138
16.4;11.4 Commons Utilities;138
16.5;11.5 Workflow;140
16.6;11.6 Other Items of Interest;140
16.7;11.7 Summary;141
16.8;11.8 Closing Thoughts;141
17;A Struts 1.1 UML Diagram;142
18;B Web Resources;144
18.1;B. 1 Development Tools;144
18.2;B.2 Design Patterns;144
18.3;B.3 EJB;144
18.4;B.4 JavaBeans;145
18.5;B.5 JSP/Servlets;145
18.6;B.6 Helpful Tools and Resources;145
18.7;B.7 I18N;146
18.8;B.8 Logging and Testing;146
18.9;B.9 MVC;146
18.10;B. 10 Sample Application;146
18.11;B.ll Struts Extensions;146
18.12;B.12 Struts Mailing List;147
18.13;B.13 UML;147
18.14;B.14 Upcoming Technologies;147
18.15;B.15 XML;147
19;Index;148



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.