A Cataloging-in-Publication data record for this book can be obtained from the Library of Congress.
Senior Managing Editor:
Cover Design Director:
Bryan Gambrel/Kate Hargett
2003 Pearson Education, Inc.
Publishing as Prentice Hall PTR
Upper Saddle River, NJ 07458
Prentice Hall books are widely used by corporations and government agencies for training, marketing, and resale.
For information regarding corporate and government bulk
Corporate and Government Sales: (800) 382-3419 or email@example.com
All products mentioned herein are trademarks or registered trademarks of their respective
All rights reserved. No part of this book may be reproduced, in any form or by any means, without permission in writing from the publisher.
Printed in the United States of America
10 9 8 7 6 5 4 3 2 1
Pearson Education Ltd.
Pearson Education Australia Pty., Ltd.
Pearson Education Singapore, Pte. Ltd.
Pearson Education North Asia Ltd.
Pearson Education Canada, Ltd.
Pearson Educaci ³n de Mexico, S.A. de C.V.
Pearson Education ”Japan
Pearson Education Malaysia, Pte. Ltd.
For Lil' G ”
A perfect instance of Girl.
Well, someone has finally dared to use the J-word in a book written for the ColdFusion developer community. I couldn't be
But wait ”
? Hasn't Macromedia spent a great deal of effort reassuring ColdFusion developers that they won't need to learn Java to use ColdFusion? They
There are any number of very practical reasons that you might want to learn Java. That you're holding this book in your hands rather than another indicates that you're probably well aware of them. For many of us, the most compelling reasons are the increased job opportunities and better pay that knowing Java represents.
Like it or not, we developers work in a field where our current knowledge has a finite lifetime of
The inescapable fact is that this new knowledge
Yes ”that Java. Java represents a
Building on the best practices that proceeded it, OO provides not only some new languages (e.g., Eiffel, Smalltalk, and Java), but a new way of approaching how we create software. During my career, OO has moved from being a quirky, ivory-tower science project to the dominant paradigm for building commercial software. And Java stands as the unchallenged 800-
Financial considerations aside, I find that developers are very creative people who enjoy the thrill of making scale-
All right; you've decided to take the plunge. If Java is the future, you're ready to embrace it. Why this book, though? There's certainly no shortage of Java books around. Some are bigger, some are cheaper, some even have a snazzier cover! Or does it even matter? Having made the decision to learn Java, does the choice of book really make much of a difference?
I believe it does. Learning a new language is not easy. Consider the difficulties
Had that been all there was to the stone, very little consideration would have been given to it. It dated from about 195
., but such ancient artifacts endowed with hieroglyphs were
You might think of this book as a type of Rosetta stone ”one that will help you to decipher Java. It begins with what you know ”ColdFusion ”and uses this as a key to help you understand Java. I can think of no better way to learn a new language.
Building on this excellent idea, Eben uses clear language,
This book won't teach you everything about Java. No book can. As a friend of mine says, "Saying 'I know Java' is like saying, 'I know science.'" There's plenty of material to work with for years to come. But this book will give you a working knowledge of Java basics and a firm foundation on which to increase your knowledge. If you're a ColdFusion programmer looking to learn Java, I can offer no better advice than to buy this book and study it.