| Average Rating: |
|
| Sales Rank: | 816781 (lower is better) |
| Price as of: | 10/06/2008 5:10:04 PM MDT |
| Price Used: | $0.01 |
| Shipping: | Free Shipping on most orders over $25* |
| Availability: | |
| Label: | O'Reilly |
| UPC: | 636920924876 |
| Pages: | 666 |
| Binding: | Paperback |
| Publication Date: | 1999-11 |
| Published By: | O'Reilly |
| ASIN: | 1565924878 |
| Category: | Book |
This book also includes O'Reilly's classic-style, quick-reference material for all of the classes in the essential Java packages, including java.lang, java.io, java.beansjava.math, java.net, java.security,java.text, java.util, and javax.crypto. This reference material covers all of the new classes in Java 1.2 and 1.3. Once you've learned Java, you'll keep this book next to your keyboard for handy reference while you program.
This book is part of the two-volume set of quick references that every Java programmer needs. It is an essential companion to Java Foundation Classes in a Nutshell, which covers the graphics and graphical user interface APIs in the Java 2 platform, including Swing, AWT, and Java 2D. A third volume, Java Enterprise in a Nutshell, focuses on the Java Enterprise APIs and is of interest to programmers working on server-side or enterprise Java applications.
Though primarily a reference, the book starts off with a thorough, fast-paced introduction to Java, exploring all the key topics, including syntax, object-oriented programming, security, beans, and tools. These discussions are brief and very information-dense, and if you are buying this book to learn the language, you will probably be overwhelmed by the speed of this initiation.
This book intends to document quite a bit of Java, and it easily succeeds with broad coverage of Java programming in Part I, and API cataloging broken down by package in Part II. For example, discussions in Part I explain Types, Reflection, and Dynamic Loading. The handling of these topics takes a little over a page, but the book gives a useful overview with code examples that clearly illustrate the points made. It is one of the clearest and most concise treatments of these three topics available.
The chapters in Part II include an introduction, diagrams, and sections for each class in the package. The sections for each class can be very informative, as in the discussion of the Socket class in the java.net chapter, which includes how to instantiate a Socket object, getting I/O streams from the object you instantiated, and how to alter the behavior of sockets. This discussion, like most in this book, is brief, clear, and to the point.
If you are looking for a Java reference, this is a solid volume that will provide lasting value. --John Keogh
Topics covered: Part I, "Introducing Java," provides broad coverage of Java programming topics, including data types, syntax, classes, and objects; Java file structure; inner classes; interfaces; packages; creating and initializing objects; destroying and finalizing objects; input/output; cryptography; networking; security; threads; JavaBeans; JavaDoc; and tools that come with Java 1.2 SDK.
Part II, "The Java API Quick Reference," includes chapters on the following Java packages: java.beans, java.beans.beancontext, java.io, java.lang, java.lang.ref, java.lang.reflect, java.math, java.net, java.security, java.security.acl, java.security.cert, java.security.interfaces, java.security.spec, java.text, java.util, java.util.jar, java.util.zip, javax.crypto, javax.crypto.interfaces, javax.crypto.spec, and a final chapter, which provides an index for classes, methods, and fields.
I'm now taking a college class and find Java a slippery beast to get one's hands around. Our text introduces snidbits that create so many unanswered questions my head swims. Reading these chapters layed a great foundation for understanding where Java's creators are coming from and why.
There were many very insightful tips that lifted some very dense fog for me. He builds one's knowledge from the ground up. If you manage to get through it (ie: you have had lots of prior programming experience and about 5 days to read 165 pages) you are left with a pretty good idea of why the syntax and practices are the way they are. I'm sure other books are equally insightful, but this one sure says a lot in only a few words.
Buy this book if you like to know that each sentence was written because the author had something to convey, not just because he wants another crack at clearing up the confusion he just created. Mr Flanagan (the author of Nutshell) says it crystal clear the first time. (note: He does bother to repeat a few very important concepts, but its rare).
The remainder of the book is a library reference of selected Java packages. I'm not sure the usefulness of the list other than to see the headers and method signatures that are available. I would liken it to having a pocket dictionary - sometimes its all you need and sometimes the definition isn't useful and you have to break out the Webster.
However, the presentation in the initial 8 chapters is so outstanding that I would give it 5+ stars if allowed. This is where to find the magical explanation to clear the smoke.
The opening few chapters of the book are really good at setting the stage for the beginning Java programmer. While it probably isn't simple enough for someone who is a complete newcomer to the language, it is excellent for people who already know a little bit and require more information. The sections on Java syntax are quite thorough and understandable. The Object Oriented Programming portions are readable and informative, without bogging the reader down with endless detail. The background information on Java (the structure, the way methods/variables work, the flow of programs, etc) is all handled brilliantly. Part One of this book is definitely something you'll want to treasure.
Part Two, the bulk of the book (Chapters 9 though 29, and covering a staggering three hundred, seventy-six out of six hundred, forty-eight pages), is devoted to what is referred to as the "API Quick Reference". It's the self-proclaimed "real heart" of the text. Unfortunately, this is the portion where the book really falls flat. What David Flanagan has done is to go through the most common Java packages/classes/APIs and cut them down to a bare listing of all their methods, exceptions, hierarchies, etc. While this covers a broad amount of information, it does not cover it deeply at all. I agree with his choice of most-used APIs, but he doesn't go in to nearly enough detail about them. Almost all of the methods are given no description; they're just named. If you are using this to look up the precise spelling/capitalization of your favourite methods, then this will do nicely. However, if you're curious as to what each method actually does, you won't find any enlightenment here. When one boils down the Java documentation this far, one finds that there really isn't much left at all. Certainly nothing that's actually useful.
The first part of this book is first rate. It's easy to understand, well-organized and great for beginners learning the language as well as for experienced programmers who require reference material. The second part of the book is not so good. For any detailed information you require, you'll find yourself forced to consult other sources (probably Sun's own API specifications which are available for free on their webpage). Make sure you know what you're buying. The first half of this nutshell is excellent, but you'll need something else to go with it to have a completely worthwhile reference.