Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.
The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.
The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact:
U.S. Corporate and Government Sales
For sales outside the U.S., please contact:
The Safari® Enabled icon on the cover of your favorite technology book means the book is available through Safari Bookshelf. When you buy this book, you get free access to the online edition for 45 days.
Safari Bookshelf is an electronic reference library that lets you easily search thousands of technical books, find code samples, download chapters, and access technical information whenever and wherever you need it.
To gain 45-day Safari Enabled access to this book:
If you have difficulty registering on Safari Bookshelf or accessing the online edition, please e-mail email@example.com.
Visit us on the Web: www.phptr.com
Library of Congress Catalog Number: 2004115642
Copyright © 2005 Sun Microsystems, Inc.
All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise.
For information regarding permissions, write to:
Pearson Education, Inc.
Text printed in the United States on recycled paper at Phoenix Book Tech.
First printing, February 2005
Sun Microsystems Press Publisher: Myrna Rivera
Sun Microsystems Press
A Prentice Hall Title
To Paree for your infinite wisdom and support, and to Ryan, Dylan, and Megan for the most enjoyable and encouraging massages.
To my parents and my wife Priya for their support and encouragement. To my kids Sonam and Mihiryou make it all worthwhile.