Art of Java Web Development pdf

50 313 0
Art of Java Web Development pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

MANNING Neal Ford STRUTS TAPESTRY COMMONS VELOCITY JUNIT AXIS COCOON INTERNETBEANS WEBWORK ART OF JAVA WEB DEVELOPMENT Art of Java Web Development Art of Java Web Development STRUTS, TAPESTRY, COMMONS, VELOCITY, JUNIT, AXIS, COCOON, INTERNETBEANS, WEBWORK NEAL FORD MANNING Greenwich (74° w. long.) 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: orders@manning.com ©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 To Chuck, who still teaches me stuff daily vii brief contents PART ITHE EVOLUTION OF WEB ARCHITECTURE AND DESIGN 1 1 ■ State-of-the-art web design 3 2 ■ Building web applications 27 3 ■ Creating custom JSP tags 61 4 ■ The Model 2 design pattern 91 PART II WEB FRAMEWORKS 131 5 ■ Using Struts 133 6 ■ Tapestry 159 7 ■ WebWork 199 8 ■ InternetBeans Express 227 9 ■ Velocity 261 10 ■ Cocoon 283 11 ■ Evaluating frameworks 311 viii BRIEF CONTENTS PART III BEST PRACTICES 327 12 ■ Separating concerns 329 13 ■ Handling flow 371 14 ■ Performance 409 15 ■ Resource management 445 16 ■ Debugging 475 17 ■ Unit testing 521 18 ■ Web services and Axis 543 19 ■ What won’t fit in this book 563 [...]... Next, we examine web application frameworks (which are the topic of part 2 of this book) Finally, we examine best practices (the focus of part 3), along with a hot-button issue that falls under that heading The main goal of this book is to show you how to apply best software-engineering practices to the development of web applications in Java 1.1 A brief history of Java web development Java began life... lots of moving parts working together seamlessly The best practices in this book are presented in the context of a working e-commerce xxi xxii ABOUT THE BOOK application, with all the places that the real world intersects with the academia of the pattern discussed How this book is organized Art of Java Web Development consists of three parts It begins with coverage of the history of the architecture of. .. architecture of web applications, highlighting the uses of the standard web API to create applications with increasingly sophisticated architectures The discussion leads to the development of industry-accepted best practices for architecture Instead of simply pronouncing one architecture as the best, Art of Java Web Development shows the history and evolution of each architecture The second part of the book... 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 1.2 The importance of design patterns The Model-View-Controller design pattern Model 2 9 Evolution 10 4 6 7 I The emergence of I 1.3 Using frameworks 11 A flavor of the Struts framework 12 A flavor of the Turbine framework 14 Objectively... rule of thumb are applications that illustrate particular J2EE features not found in Tomcat For example, chapter 12 features Enterprise JavaBeans and uses the JBoss application server instead of Tomcat In any case, the samples all run in any servlet engine or application server that matches the standard J2EE architecture The frameworks Part 2 of Art of Java Web Development covers various web development. .. the entire book Chapter 2 covers the evolution of web development in Java; chapter 3 explores that evolution through custom JSP tags Chapter 4 discusses the preferred design and architecture option, Model 2, along with some architectural options State -of- the -art web design This chapter covers I A brief history of Java web development I The importance of design patterns I An introduction to the Struts... of the basic architecture of most of the frameworks and the common elements used to build them However, as you will see, the framework makes a tremendous difference in the implementation of a web application Sample setup Art of Java Web Development is an intermediate to advanced book on web frameworks and best practices As such, we do not cover the basics of setting up a development environment for... restaurants (sometimes enjoying combinations of the above) He has also been known to sit in front of a computer for vast amounts of time When at home, Neal enjoys the company of his wife, Candy, and two cats, Winston and Parker about the cover illustration The figure on the cover of Art of Java Web Development is a "Nukahiviens avec un Tatouage Tout Different," a resident of Nukahiva Island in the Marquesas... Both of these influential books offered a comprehensive look at the current thinking in their fields Each covered a variety of topics, discussing specific techniques and underlying theories They included concrete, practical advice, and they talked about the tools available to make the job of warfare (or cooking) easier Art of Java Web Development strives for the same breadth and depth of coverage for web. .. coverage for web development in Java It is not a random selection of topics Rather, it encompasses topics that web developers must master to deliver state -of- the -art software It also examines the evolution of the cutting edge in web development architecture and design, describes the best tools (or weapons) available to developers, and explains specific, practical techniques for improving your web applications . Ford STRUTS TAPESTRY COMMONS VELOCITY JUNIT AXIS COCOON INTERNETBEANS WEBWORK ART OF JAVA WEB DEVELOPMENT Art of Java Web Development Art of Java Web Development STRUTS, TAPESTRY, COMMONS, VELOCITY, JUNIT, AXIS, COCOON, INTERNETBEANS, WEBWORK NEAL. cover illustration xxx PART ITHE 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. make the job of warfare (or cooking) easier. Art of Java Web Development strives for the same breadth and depth of coverage for web development in Java. It is not a random selection of topics.

Ngày đăng: 27/06/2014, 12:20

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan