+612 9045 4394
JSP Examples and Best Practices : Expert's Voice - Andrew Patzer

JSP Examples and Best Practices

Expert's Voice

Paperback Published: 25th April 2002
ISBN: 9781590590201
Number Of Pages: 336

Share This Book:
Ships in 5 to 9 business days

WHEN 1 WROTE MY FIRST BOOK covering JavaServer Pages and Java Servlet tech- nology, there was a great deal of uncharted territory to cover. Today, much of what 1 wrote is not only outdated, but completely obsolete. The technology has grown tremendously fast and, with it, a legion of Java developers eager to stay on the cutting edge of Java development. Although this is certainly a good thing, it does however create a problem. Quite often, in a rush to implement the latest technology, little thought is given to good design and architecture. This book attempts to provide a framework for developing quality software using JavaServer Pages technology. Chapters 1 and 2 lay the groundwork for using JSP. Chapters 3 and 4 explore the separation of roles between page designer and Java developer using both JavaBeans and custom tag extensions. Chapters 5,6,7, and 8 present several design patterns for the presentation tier. These patterns are applied using JavaServer Pages and Java Servlets. Chapters 9 and 10 walk through the basics of testing and deploying web applications using open-source tools. The book concludes with the development of an application framework along with a complete reference implementation in Chapters 11 and 12.

About the Authorp. xi
About the Technical Reviewerp. xi
Acknowledgmentsp. xiii
Introductionp. xv
JSP Foundationsp. 1
Developing Web Applicationsp. 1
Developing J2EE Web Applicationsp. 5
Patterns for Web Application Developmentp. 7
Learning JSP Basicsp. 10
Setting Up a JSP Environmentp. 15
Building a Simple JSP Applicationp. 19
Summaryp. 25
Using JSPp. 27
Handling Errorsp. 27
Including Other Filesp. 32
Processing Form Datap. 36
Controlling Page Navigation with JSPp. 40
Maintaining Statep. 42
Summaryp. 46
Role Separation with JavaBeansp. 47
Introducing JavaBeansp. 47
Dealing with Large Sets of Datap. 53
Standardizing Form Handlingp. 66
Summaryp. 82
Role Separation with Custom Tagsp. 83
Using Custom Tagsp. 83
Looking at a Simple Tag Examplep. 86
Processing Body Contentp. 91
Nesting Tagsp. 97
Summaryp. 103
Development Using Patternsp. 105
Why Use Patterns?p. 105
Introducing the J2EE Patterns Catalogp. 106
Looking at Presentation Design Patternsp. 107
Understanding Model-View-Controller (MVC)p. 109
Summaryp. 129
The Decorating Filter Patternp. 131
Defining the Patternp. 132
Applying Strategiesp. 133
Applying the Decorator Filter Patternp. 134
Summaryp. 150
The Front Controller Patternp. 151
Defining the Patternp. 151
Developing Strategiesp. 152
Applying the Front Controller Patternp. 158
Summaryp. 176
The View Helper Patternp. 177
Defining the Patternp. 177
Implementing View Helper Pattern Strategiesp. 179
Applying the View Helper Patternp. 182
Summaryp. 199
Testing Techniquesp. 201
Why Is Testing So Important?p. 201
Building a Unit Testing Frameworkp. 203
Testing for Performancep. 210
Summaryp. 214
Deployment Techniquesp. 215
Managing the Development Processp. 216
Automating the Build Process with Antp. 220
Summaryp. 230
Application Frameworksp. 231
Designing a Frameworkp. 231
Building a Web Application Frameworkp. 232
Deploying a Frameworkp. 255
Summaryp. 258
Putting It All Togetherp. 259
Building an Online Catalogp. 259
Logging in to the Applicationp. 269
Viewing the Catalogp. 271
Accessing the Shopping Cartp. 286
Summaryp. 295
Indexp. 297
Table of Contents provided by Syndetics. All Rights Reserved.

ISBN: 9781590590201
ISBN-10: 1590590201
Series: Expert's Voice
Audience: General
Format: Paperback
Language: English
Number Of Pages: 336
Published: 25th April 2002
Publisher: Apress
Country of Publication: US
Dimensions (cm): 23.47 x 18.77  x 2.11
Weight (kg): 0.64