Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Professional Java.JDK.5.Edition (Wrox)

.pdf
Скачиваний:
31
Добавлен:
29.02.2016
Размер:
12.07 Mб
Скачать

Professional Java™, JDK™ 5 Edition

W. Clay Richardson

Donald Avondolio

Joe Vitale

Scot Schrager

Mark W. Mitchell

Jeff Scanlon

Professional Java™, JDK™ 5 Edition

Professional Java™, JDK™ 5 Edition

W. Clay Richardson

Donald Avondolio

Joe Vitale

Scot Schrager

Mark W. Mitchell

Jeff Scanlon

Professional Java™, JDK™ 5 Edition

Published by

Wiley Publishing, Inc.

10475 Crosspoint Boulevard

Indianapolis, IN 46256-5774 www.wiley.com

Copyright ♥ 2005 by John Wiley & Sons, Inc. All rights reserved.

Published simultaneously in Canada

ISBN: 0-7645-7486-8

Manufactured in the United States of America

10 9 8 7 6 5 4 3 2 1

1MA/RR/QR/QV/IN

No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department,

Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, e-mail: brandreview@wiley.com.

LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEB SITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEB SITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEB SITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ.

For general information on our other products and services please contact our Customer Care Department within the United States at (800) 762-2974, outside the United States at (317) 572-3993, or fax (317) 572-4002.

Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.

Library of Congress Cataloging-in-Publication Data

Professional Java, JDK 5 Edition / W. Clay Richardson . . . [et al.].— p. cm.

Includes bibliographical references and index. ISBN 0-7645-7486-8 (paper/web site)

1. Java (Computer program language) I. Richardson, W. Clay, 1976QA76.73.J38P7623 2004

005.13'3—dc22

2004022626

Trademarks: Wiley and the Wiley Publishing logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates. Java is a trademark of Sun Microsystems, Inc. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.

About the Authors

W. Clay Richardson is a software consultant concentrating on agile Java solutions for highly specialized business processes. He has fielded many Java solutions, serving in roles including senior architect, development lead, and program manager. He is a coauthor of More Java Pitfalls and Professional Portal Development with Open Source Tools (Wiley). As an adjunct professor of computer science for Virginia Tech, Richardson teaches graduate-level coursework in object-oriented development with Java. He holds degrees from Virginia Tech and the Virginia Military Institute.

Donald Avondolio is a software consultant with over 19 years of experience developing and deploying enterprise applications. He began his career in the aerospace industry developing programs for flight simulators and later became an independent contractor, crafting health-care middleware and low-level device drivers for an assortment of mechanical devices. Most recently, he has built e-commerce applications for numerous high-profile companies, including The Home Depot, Federal Computer Week, the U.S. Postal Service, and General Electric. He is currently a technical architect and developer on several portal deployments. Don serves as an adjunct professor at Virginia Tech, where he teaches progressive object-oriented design and development methodologies, with an emphasis on patterns.

Joe Vitale has been working as a developer for the last ten years. He has worked significantly with the latest Java technologies and also the most-popular open source technologies on the market. Besides being a developer, Vitale is coauthor of Professional Portal Development with Open Source Tools (Wiley), which had a strong focus on open source development and the Java Portlet API formally known as JSR 168. Joe currently works for McDonald Bradley as a development manager, where he manages more than 50 developers.

Scot Schrager has consulted extensively in the domains of pharmaceuticals, supply chain management, and the national security market. He has led and participated in various project teams using Java and Object Oriented Analysis & Design techniques. Most recently, Schrager has been focused on distributed application architecture using J2EE technology.

Mark W. Mitchell has extensive experience in enterprise application integration, particularly Web Services integration between Java and the Microsoft platform. He has developed and deployed several mission-critical Web applications. Mitchell holds a degree in computer science from the University of Virginia.

Jeff Scanlon is a senior software engineer at McDonald Bradley in Herndon, Virginia. Scanlon holds both the Sun Certified Java Developer and Microsoft Certified Solutions Developer certifications and has been published in Software Development magazine.

Credits

Executive Editor

Project Coordinator

Robert Elliott

Erin Smith

Development Editor

Graphics and Production Specialists

Eileen Bien Calabro

Beth Brooks

Technical Editor

Amanda Carter

Sean Decker

Dreamtech

Kelly Emkow

Production Editor

Lauren Goddard

Denny Hager

William A. Barton

Joyce Haughey

Copy Editor

Jennifer Heleine

Barry Offringa

Luann Rouff

Quality Control Technicians

Editorial Manager

John Greenough

Kathryn A. Malm

Susan Moritz

Vice President and Executive Group Publisher

Media Development Specialist

Richard Swadley

Angie Denny

Vice President and Publisher

Text Design and Composition

Joseph B. Wikert

Wiley Composition Services

Executive Editorial Director

Proofreading and Indexing

Mary Bednarek

TECHBOOKS Production Services

This book is dedicated to all those who make the daily sacrifices, especially those who have made the ultimate sacrifice, to ensure our freedom and security.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]