ebook img

Art of Java Web Development: Struts, Tapestry, Commons, Velocity, JUnit, Axis, Cocoon, InternetBeans, WebWork PDF

626 Pages·2003·6.225 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Art of Java Web Development: Struts, Tapestry, Commons, Velocity, JUnit, Axis, Cocoon, InternetBeans, WebWork

TEAM LinG - Live, Informative, Non-cost and Genuine! Art of Java Web Development TEAM LinG - Live, Informative, Non-cost and Genuine! TEAM LinG - Live, Informative, Non-cost and Genuine! Art of Java Web Development STRUTS, TAPESTRY, COMMONS, VELOCITY, JUNIT, AXIS, COCOON, INTERNETBEANS, WEBWORK N F EAL ORD MANNING Greenwich (74° w. long.) TEAM LinG - Live, Informative, Non-cost and Genuine! For online information and ordering of this and other Manning books, go to www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact: Special Sales Department Manning Publications Co. 209 Bruce Park Avenue Fax: (203) 661-9018 Greenwich, CT 06830 email: [email protected] ©2004 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books they publish printed on acid-free paper, and we exert our best efforts to that end. Manning Publications Co. Copyeditor: Liz Welch 209 Bruce Park Avenue Typesetter: Dottie Marsico Greenwich, CT 06830 Cover designer: Leslie Haimes ISBN: 1-932394-06-0 Printed in the United States of America 1 2 3 4 5 6 7 8 9 10 – VHG – 08 07 06 05 04 03 TEAM LinG - Live, Informative, Non-cost and Genuine! To Chuck, who still teaches me stuff daily TEAM LinG - Live, Informative, Non-cost and Genuine! TEAM LinG - Live, Informative, Non-cost and Genuine! brief contents PART I THE EVOLUTION OF WEB ARCHITECTURE AND DESIGN....................................................... 1 1 (cid:1) State-of-the-art web design 3 2 (cid:1) Building web applications 27 3 (cid:1) Creating custom JSP tags 61 4 (cid:1) The Model 2 design pattern 91 PART II WEB FRAMEWORKS ........................................ 131 5 (cid:1) Using Struts 133 6 (cid:1) Tapestry 159 7 (cid:1) WebWork 199 8 (cid:1) InternetBeans Express 227 9 (cid:1) Velocity 261 10 (cid:1) Cocoon 283 11 (cid:1) Evaluating frameworks 311 vii TEAM LinG - Live, Informative, Non-cost and Genuine! viii BRIEF CONTENTS PART III BEST PRACTICES............................................ 327 12 (cid:1) Separating concerns 329 13 (cid:1) Handling flow 371 14 (cid:1) Performance 409 15 (cid:1) Resource management 445 16 (cid:1) Debugging 475 17 (cid:1) Unit testing 521 18 (cid:1) Web services and Axis 543 19 (cid:1) What won’t fit in this book 563 TEAM LinG - Live, Informative, Non-cost and Genuine! contents preface xvii acknowledgments xix about the book xxi about the cover illustration xxx PART I THE EVOLUTION OF WEB ARCHITECTURE AND DESIGN....................................................... 1 1 State-of-the-art web design 3 1.1 A brief history of Java web development 4 1.2 The importance of design patterns 6 The Model-View-Controller design pattern 7 (cid:1) The emergence of Model 2 9 (cid:1) Evolution 10 1.3 Using frameworks 11 A flavor of the Struts framework 12 (cid:1) A flavor of the Turbine framework 14 (cid:1) Objectively choosing a framework 20 1.4 Best practices 20 Business rules 20 (cid:1) Where should the rules reside? 22 Leveraging best practices 24 1.5 Summary 25 ix TEAM LinG - Live, Informative, Non-cost and Genuine!

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.