|Table of Contents|
|Applied Software Engineering Using Apache Jakarta Commons|
|Chapter 2||-||Four-and-a-Half Levels of Granularization|
|Chapter 3||-||Instantiating Objects|
|Chapter 5||-||Serialization of Java Objects|
|Chapter 6||-||Messages and Asynchronous Processing|
|Chapter 7||-||Collections and Searching for Objects|
|Chapter 8||-||Configuration and Logging|
|Chapter 9||-||Computer Algorithms|
|Chapter 10||-||Distributed Internet Services|
|Chapter 11||-||Project Management|
|Appendix A||-||Making Decisions Quantifiable|
|Appendix B||-||About the CD-ROM|
|Appendix C||-||The GNU General Public License (GPL)|
|List of Figures|
|List of Tables|
|List of Listings|
|List of Sidebars|
Applied Software Engineering with Apache Jakarta Commons is a software engineering based guide to the Apache Jakarta Commons components (e.g., Betwixt, Digester, Discovery, Collections), other Apache projects such as Ant, the Axis Web Service toolkit, and the popular JUnit framework. The book emphasis focuses on solutions to complex problems using a simple task-driven approach. In this task-driven approach, the idea is to define a generic problem, for example Java class instantiation, and then provide solutions in multiple contexts, such as Collections-based factories, the Discovery package, or even the Launcher package.
About the Author
Christian Gross has over a decade of experience as a software engineer and consultant in the software development industry. His specialty is in the development of applications that are network dependent (e.g., client/server, distributed precessing, Web services, Internet technologies). He is a regular conference speaker at Software Development and ApacheCon and has co- authored books for Wrox and Apress.
Applied Software Engineering Using Apache Jakarta Commons
CHARLES RIVER MEDIA, INC.
Copyright 2004 by CHARLES RIVER MEDIA, INC.
All rights reserved.
No part of this publication may be reproduced in any way, stored in a retrieval system of any type, or transmitted by any means or media, electronic or mechanical, including, but not limited to, photocopy, recording, or scanning, without prior permission in writing from the publisher.
Editor: David Pallai
Production: DataPage Technologies, Inc.
Cover Design: The Printed Image
CHARLES RIVER MEDIA, INC.
10 Downer Avenue
Hingham, Massachusetts 02043
This book is printed on acid-free paper.
Christian Gross. Applied Software Engineering Using Apache Jakarta Commons .
All brand names and product names mentioned in this book are trademarks or service marks of their respective companies. Any omission or misuse (of any kind) of service marks or trademarks should not be regarded as intent to infringe on the property of others. The publisher recognizes and respects all marks used by companies, manufacturers, and developers as a means to distinguish their products.
Library of Congress Cataloging-in-Publication DataGross, Christian.
Applied software engineering using Apache Jakarta Commons / Christian
ISBN 1-58450-246-0 (Paperback with CD-ROM : alk. paper)
1. Software engineering. 2. Apache (Computer file : Apache Group ) I.
Title.QA76.758 .G75 2003
Printed in the United States of America
03 7 6 5 4 3 2 First Edition
CHARLES RIVER MEDIA titles are available for site license or bulk purchase by institutions, user groups, corporations, etc. For additional information, please contact the Special Sales Department at 781-740-0400.
Requests for replacement of a defective CD-ROM must be accompanied by the original disc, your mailing address, telephone number, date of purchase and purchase price. Please state the nature of the problem, and send the information to CHARLES RIVER MEDIA, INC., 10 Downer Avenue, Hingham, Massachusetts 02043. CRM's sole obligation to the purchaser is to replace the disc, based on defective materials or faulty workmanship, but not on the operation or functionality of the product.
When I was two I was quiet and did not speak a word.
When I was ten I could not be quiet and spoke too many words.
When I was eighteen I thought I knew the world.
When I was twenty-six I knew I did not know the world.
When I was thirty-four I knew the world was my wife.
Thanks Isabelle for believing in me when things looked bleak!
A journey takes somebody from point a to point b.
Sometimes that journey passes through points c, d, and e.
When does a point become a home?
The answer is when a point becomes a place where there are people that wave at
you, houses that look familiar, trees that grow in front of your eyes, and dogs that
eagerly await your return.
Then you know that you have found a home.
LIMITED WARRANTY AND DISCLAIMER OF LIABILITY
THE CD-ROM WHICH ACCOMPANIES THE BOOK MAY BE USED ON A SINGLE PC ONLY. THE LICENSE DOES NOT PERMIT THE USE ON A NETWORK (OF ANY KIND). YOU FURTHER AGREE THAT THIS LICENSE GRANTS PERMISSION TO USE THE PRODUCTS CONTAINED HEREIN, BUT DOES NOT GIVE YOU RIGHT OF OWNERSHIP TO ANY OF THE CONTENT OR PRODUCT CONTAINED ON THIS CD-ROM. USE OF THIRD PARTY SOFTWARE CONTAINED ON THIS CD-ROM IS LIMITED TO AND SUBJECT TO LICENSING TERMS FOR THE RESPECTIVE PRODUCTS.
CHARLES RIVER MEDIA, INC. ("CRM") AND/OR ANYONE WHO HAS BEEN INVOLVED IN THE WRITING, CREATION, OR PRODUCTION OF THE ACCOMPANYING CODE ("THE SOFTWARE") OR THE THIRD PARTY PRODUCTS CONTAINED ON THE CD-ROM OR TEXTUAL MATERIAL IN THE BOOK, CANNOT AND DO NOT WARRANT THE PERFORMANCE OR RESULTS THAT MAY BE OBTAINED BY USING THE SOFTWARE OR CONTENTS OF THE BOOK. THE AUTHOR AND PUBLISHER HAVE USED THEIR BEST EFFORTS TO ENSURE THE ACCURACY AND FUNCTIONALITY OF THE TEXTUAL MATERIAL AND PROGRAMS CONTAINED HEREIN. WE, HOWEVER, MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, REGARDING THE PERFORMANCE OF THESE PROGRAMS OR CONTENTS. THE SOFTWARE IS SOLD "AS IS " WITHOUT WARRANTY (EXCEPT FOR DEFECTIVE MATERIALS USED IN MANUFACTURING THE DISK OR DUE TO FAULTY WORKMANSHIP).
THE AUTHOR, THE PUBLISHER, DEVELOPERS OF THIRD PARTY SOFTWARE, AND ANYONE INVOLVED IN THE PRODUCTION AND MANUFACTURING OF THIS WORK SHALL NOT BE LIABLE FOR DAMAGES OF ANY KIND ARISING OUT OF THE USE OF (OR THE INABILITY TO USE) THE PROGRAMS, SOURCE CODE, OR TEXTUAL MATERIAL CONTAINED IN THIS PUBLICATION. THIS INCLUDES, BUT IS NOT LIMITED TO, LOSS OF REVENUE OR PROFIT, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THE PRODUCT.
THE SOLE REMEDY IN THE EVENT OF A CLAIM OF ANY KIND IS EXPRESSLY LIMITED TO REPLACEMENT OF THE BOOK AND/OR CD-ROM, AND ONLY AT THE DISCRETION OF CRM.
THE USE OF "IMPLIED WARRANTY" AND CERTAIN "EXCLUSIONS" VARY FROM STATE TO STATE, AND MAY NOT APPLY TO THE PURCHASER OF THIS PRODUCT.