Java in a Nutshell : A Desktop Quick Reference (Java Series) (3rd Edition)

by O'Reilly

$29.95
99% off
buy from amazon.com
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

Authors

Editorial Reviews and Product Descriptions

Product Description

This bestselling quick reference contains an accelerated introduction to the Java language and its key APIs, so seasoned programmers can start writing Java code right away. The third edition of Java in a Nutshell covers Java 1.2 and Java 1.3 beta and includes:

  • A description of the syntax of the Java language, written in a tight, concise style, that can serve as both a fast-paced tutorial and a language reference.
  • An explanation of the object-oriented features of Java that does not assume any prior object-oriented programming experience.
  • An overview of the essential Java APIs that shows how to perform common tasks, such as string manipulation, input/output, and thread handling, with the classes and interfaces that comprise the Java 2 platform.
  • Documentation for the Java development tools shipped with Sun's Java SDK.

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.

Amazon.com Review

The 3rd edition of the well-known reference, Java in a Nutshell, covers the essential APIs of Java 1.2, including networking, security, input and output, and basic language and utility classes. Due to the size of the Java 1.2 API, graphics and graphical user interface classes are now examined in a volume called Java Foundation Classes in a Nutshell, and server-side and enterprise programming are detailed in Java Enterprise in a Nutshell.

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.

Customer Reviews

Inexpensive Knowledge Repository - Reviewed on 2002-10-11
* * * * *
2 customers found this review not to be helpful.
A long time fan of O'Reilly books, the CD bookshelves and this deluxe edition are one of the best ideas I've seen from a publisher. If you don't mind reading onscreen these will save you money. If you do pick this up in addition to the hardcopy simply for the search capabilities. A great reference tool from any serious programmer.
The Jr. Bible of Java - Reviewed on 2002-06-26
* * * * *
3 customers found this review helpful, 1 did not.

I've read the first 4 chapters as my introduction to Java. It was a struggle, but worth it.

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.

use the sdk documentation instead. - Reviewed on 2001-12-21
*
5 customers found this review helpful, 4 did not.

it is much better to use a jdk documentation which you can download instead of this reference book.
"Help! I'm in a nutshell!" - Reviewed on 2001-12-20
* * *
12 customers found this review helpful, 2 did not.

JAVA IN A NUTSHELL (THIRD EDITION) is one of those computer science books that I had always been told was excellent. Professors, friends and co-workers all recommended it to me so many times that I eventually bought it soon after I began programming in Java. Having used this book as a reference on numerous occasions, I must say that it doesn't quite live up to its hallowed reputation, although it does have a number of positive points in its favour.

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.

Incomplete, badly organized, terrible index - Reviewed on 2001-11-14
*
2 customers found this review helpful, 3 did not.

Avoid this book. Although there is no indication on the cover, it completely skips major sections of the language, such as everything pertaining to Sql and databases. It is organized around package names, which makes it difficult to look anything up. The index is incomplete and doesn't indicate what pages classes are actually defined on.(...)
Read More Customer Reviews »
Go To Amazon Product Page

* - See Amazon Product Page for shipping and pricing details.


Book Subjects