Enterprise Java Development on a Budget.pdf

(24810 KB) Pobierz
674444338 UNPDF
Development on a Budget:
Leveraging Java Open
Source Technologies
BRIAN SAM-BODDEN AND CHRISTOPHER JUDD
Enterprise Java
674444338.063.png 674444338.074.png 674444338.085.png 674444338.096.png 674444338.001.png 674444338.012.png 674444338.015.png 674444338.016.png 674444338.017.png 674444338.018.png 674444338.019.png 674444338.020.png 674444338.021.png 674444338.022.png 674444338.023.png 674444338.024.png 674444338.025.png 674444338.026.png 674444338.027.png 674444338.028.png 674444338.029.png 674444338.030.png
Enterprise Java Development on a Budget: Leveraging Java Open Source Technologies
Copyright © 2004 by Brian Sam-Bodden and Christopher Judd
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any
means, electronic or mechanical, including photocopying, recording, or by any information
storage or retrieval system, without the prior written permission of the copyright owner and
the publisher.
ISBN (pbk): 1-59059-125-9
Printed and bound in the United States of America 10987654321
Trademarked names may appear in this book. Rather than use a trademark symbol with every
occurrence of a trademarked name, we use the names only in an editorial fashion and to the
benefit of the trademark owner, with no intention of infringement of the trademark.
Technical Reviewer: Jeff Linwood
Editorial Board: Steve Anglin, Dan Appleman, Gary Cornell, James Cox, Tony Davis,
John Franklin, Chris Mills, Steve Rycroft, Dominic Shakeshaft, Julian Skinner, Jim Sumser,
Karen Watterson, Gavin Wray, John Zukowski
Project Manager: Sofia Marchant
Copy Manager: Nicole LeClerc
Copy Editor: Mark Nigara
Production Manager: Kari Brooks
Production Editor: Janet Vail
Compositor: Susan Glinert
Proofreader: Linda Seifert
Indexer: Rebecca Plunkett
Artist: Kinetic Publishing Services, LLC
Cover Designer: Kurt Krames
Manufacturing Manager: Tom Debolski
Distributed to the book trade in the United States by Springer-Verlag New York, Inc., 175 Fifth
Avenue, New York, NY 10010 and outside the United States by Springer-Verlag GmbH & Co. KG,
Tiergartenstr. 17, 69112 Heidelberg, Germany.
In the United States: phone 1-800-SPRINGER, e-mail orders@springer-ny.com , or visit
http://www.springer-ny.com. Outside the United States: fax +49 6221 345229,
e-mail orders@springer.de , or visit http://www.springer.de.
For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219,
Berkeley, CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com , or visit
http://www.apress.com .
The information in this book is distributed on an “as is” basis, without warranty. Although every
precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall
have any liability to any person or entity with respect to any loss or damage caused or alleged to
be caused directly or indirectly by the information contained in this work.
The source code for this book is available to readers at http://www.apress.com in the
Downloads section.
ii
674444338.031.png 674444338.032.png 674444338.033.png 674444338.034.png 674444338.035.png 674444338.036.png 674444338.037.png 674444338.038.png 674444338.039.png 674444338.040.png 674444338.041.png 674444338.042.png 674444338.043.png 674444338.044.png 674444338.045.png 674444338.046.png 674444338.047.png 674444338.048.png 674444338.049.png 674444338.050.png 674444338.051.png
To the memory of my father Gilberto,
To the courage of my mother Arlene,
To the love of my sisters Karen and Krystel,
To my “Tia” Donna,
To my wife and best friend Anne,
And to my baby boy Michael.
—Brian
To my supportive wife and best friend Sue,
To all the individuals and organizations who have contributed
their time, talents, and treasures to Open Source,
And to my Heavenly Father for all the blessings
he has bestowed upon me.
—Chris
674444338.052.png 674444338.053.png 674444338.054.png 674444338.055.png 674444338.056.png 674444338.057.png 674444338.058.png 674444338.059.png 674444338.060.png 674444338.061.png 674444338.062.png 674444338.064.png 674444338.065.png 674444338.066.png 674444338.067.png 674444338.068.png 674444338.069.png 674444338.070.png 674444338.071.png 674444338.072.png 674444338.073.png
674444338.075.png 674444338.076.png 674444338.077.png 674444338.078.png 674444338.079.png 674444338.080.png 674444338.081.png 674444338.082.png 674444338.083.png 674444338.084.png 674444338.086.png 674444338.087.png 674444338.088.png 674444338.089.png 674444338.090.png 674444338.091.png 674444338.092.png 674444338.093.png 674444338.094.png 674444338.095.png 674444338.097.png
Contents at a Glance
Foreword .................................................................................................................. xi
About the Authors ............................................................................................. xiii
About the Technical Reviewer .......................................................................xv
Acknowledgments ................................................................................................ xvii
Preface .................................................................................................................. xix
Chapter 1 The Open Source and Java Synergy ................................. 1
Chapter 2 Design with ArgoUML ........................................................... 27
Chapter 3 Development and Build System with Ant .................... 79
Chapter 4 Testing ................................................................................... 125
Chapter 5 Business Tier with JBoss .............................................. 149
Chapter 6 Data Storage Options ....................................................... 265
Chapter 7 Object-Relational Mapping ............................................ 333
Chapter 8 MVC Frameworks and the PresePntation Tier ......... 407
Chapter 9 Web Services and Mobile Clients ............................... 449
Chapter 10 Rich Clients with the SWT and JFace ...................... 481
Appendix A Open Source Catalog ......................................................... 561
Appendix B CVS Primer ............................................................................. 565
Index ...................................................................................................................... 579
v
674444338.098.png 674444338.099.png 674444338.100.png 674444338.101.png 674444338.102.png 674444338.103.png 674444338.104.png 674444338.105.png 674444338.106.png 674444338.002.png 674444338.003.png 674444338.004.png 674444338.005.png 674444338.006.png 674444338.007.png 674444338.008.png 674444338.009.png 674444338.010.png 674444338.011.png 674444338.013.png 674444338.014.png
Zgłoś jeśli naruszono regulamin