Java in a Nutshell, Fifth Edition
By David Flanagan
March 2005
Pages: 1254
Series: In a Nutshell
ISBN 10: 0-596-00773-6 |
ISBN 13: 9780596007737




(Average of 4 Customer Reviews)


Description
Java in a Nutshell, 5th Edition, covers all the extensive changes implicit in 5.0, the latest and greatest version of Java yet. This classic remake has also undergone a complete editorial makeover in order to more closely meet the needs of the modern Java programmer. Among the improvements: more discussion on tools and frameworks, and new code examples to illustrate the working of APIs.
Full Description
With more than 700,000 copies sold to date, Java in
a Nutshell
from O'Reilly is clearly the favorite resource amongst the legion of
developers and programmers using Java technology. And now, with the
release of the 5.0 version of Java, O'Reilly has given the book that
defined the "in a Nutshell" category another impressive tune-up.
In this latest revision, readers will find Java in a
Nutshell,
5th Edition, does more than just cover the extensive changes implicit in
5.0, the newest version of Java. It's undergone a complete makeover--in
scope, size, and type of coverage--in order to more closely meet the
needs of the modern Java programmer.
To wit, Java in a Nutshell, 5th Edition
now places less emphasis on coming to
Java from C and C++, and adds more discussion on tools and frameworks.
It also offers new code examples to illustrate the working of APIs,
and, of course, extensive coverage of Java 5.0. But faithful readers
take comfort: it still hasn't lost any of its core elements that made
it such a classic to begin with.
This handy reference gets right to the
heart of the program with an accelerated introduction to the Java
programming language and its key APIs--ideal for developers wishing to
start writing code right away. And, as was the case in previous
editions, Java in a Nutshell, 5th Edition is once again chock-full of
poignant tips, techniques, examples, and practical advice. For as long
as Java has existed, Java in a Nutshell has helped
developers maximize the capabilities of the program's newest versions.
And this latest edition is no different.
Featured customer reviews

Superb as a textbook too,
May 21 2007
Submitted by Anonymous Reader [
Respond |
View]
I use the 5th edition of Java in a Nutshell as the textbook for an undergraduate course on Java programming which focusses on concurrency and other "advanced" features of the language. Some of the students find the style intimidating initially, but they mostly adapt quite quickly. The very focussed tutorial material at the start of the book gives an excellent run through for anyone who can already program, and the API reference material at the back is extremely helpful for novices who need to browse to find out more about what the libraries can do. I think this is a
superb teaching resource for anyone learning Java as a second or subsequent language. The on-line APIs are important too, but having a book to hand can make all the difference and this is the book to have.
A book you will use throughout your career,
February 15 2007
Submitted by
Matthew Mark Miller
[
Respond |
View]
I disagree that this book is "not good for beginners." This is the book I learned Java from. The first few hundred pages constitute a condensed but never diluted tutorial with short and to the point examples on how to do everything in the language. There's no dalliance on minor points, no exercises, no workbook -- just the facts you need to get started WORKING with Java.
For a while there wasn't a day when I didn't rely on this book to fill in when my knowledge was lacking. Even now, as a certified developer in his eighth year working with this stuff, there are times when I grab for the book to get an overview over some relatively obscure API or language feature.
This is not a deep book. It does not proffer information that you can't get from other places. The API documentation is no replacement for a link to the platform API nor the tutorial a replacement for the language spec. Regardless, this book organizes essential information in an eminently usable way, and for that I give it highest marks. And then I'm buying yet another copy.
Excellent Reference,
September 12 2006
Submitted by Anonymous Reader [
Respond |
View]
This is one of the best books I've ever seen. I am a computer science and computer engineering double major ready to enter the workforce after this semester, and while I've read computer book after computer book during my educational years, I have seen very few like this one.
For me, this book had two key parts: A syntax overview portion in the front of the book and a very large reference to the Java API farther in. I was able to very quickly learn the essentials of programming in Java using the syntax chapters early (it should be noted that I had a lot of previous programming experience in other object oriented language). It gave me exactly what I needed without a lot of extra verbosity, and it used concise, well commented examples to help me see the basics. Once I started programming, the API reference was really helpful. It was faster to use than Sun's documentation, and it was selective in how much it would list for a class, which tended to make it much easier to find relevant information. I used this book constantly, and I know it saved me many hours of frustration. In short, if you are going to program in Java, this is the book you must have.
Read all reviews
A COMPLETE reference guide,
June 02 2005
Submitted by
Mitch R.
[
Respond |
View]
Java in a Nutshell, Fifth Edition
By David Flanagan
Fifth Edition March 2005
Series: In a Nutshell
ISBN: 0-596-00773-6
1264 pages, $44.95 US
http://www.oreilly.com/catalog/javanut5/
This has to be one of the thickest "Quick Reference" books I've ever seen. The 5th Edition to Java in a Nutshell was updated to cover Java 5.0. The cover of this book under Java in a Nutshell reads "A Desktop Quick Reference". I understand how this book is more of a reference guide to Java rather than a run through of what Java is about, but the thickness of this book doesn't agree too well with being quick reference. There is a lot of this book to dig through and almost would benefit from a CD-rom version for the search functions.
If you need a complete reference book to Java including Java 5.0, this book is for you. This book starts with an intro to Java and goes right into the syntax of Java from the ground up and Java programs from the Top Down. Chapter 4 covering Java 5.0 Language features is a nice addition to this 5th edition book. Chapter 5 covers the Java platform and then Chapter 6 goes into the security of Java including security risks. The different Java Development Tools are covered in Chapter 8 which is where a lot of beginners will probably want to glance over.
The second part of this book is entirely a API Quick Reference, and here is where the book grows in thickness. I'm glad they added the first part of this part, "How to use this quick reference". Without this section, navigating between pages 385 through 1076 would be a bit more difficult when it comes to understanding how information is organized.
This massive book contains 2700 lines of cleanly commented code that demonstrates how common tasks can be accomplished. Demonstration code is always an added bonus in a reference book as it'll give you the chance to see how certain things are put together rather than just reading about them individually. It'd be nice if this book was a bit lighter but atleast it covers everything it needs to cover and then some, along with being fairly easy to navigate. This book combined with a few Step-by-step Java books would make a completely Java CD Bookshelf and would make navigation of the information a lot easier.
I'd recommend this book to anyone looking for Java information but this is definitely not the book for beginners to learn Java from.
Mitch Randall
Pensacola Linux User's Group
Media reviews
"...this book was a tremendous help when I first started using Java and continues to be an outstanding reference as I become more experienced in Java. I feel the book is laid out well with an easy to follow format and has tons of good coding examples. I also like how OReilly created a class index that is separate from the regular index. this is really helpful when looking up items related to a specific class. In short, this is a very good book for both beginners and experienced Java programmers."
-- Dave Fecak,
Philadelphia Area Java Users' Group
"Here's a classic that just keeps on keep up with the state of the language...Flanagan has once again done an outstanding job in providing a succinct reference manual that covers the latest version of the Java language. He's added a new chapter to cover Java 5.0 features such as generic types, enumerated types, and annotations. There is also coverage of some new features in chapter 2, such as autoboxing and the new for/in statement. This coverage method (most of the new stuff in one area) means that readers who are upgrading their copy can easily flag the new material they need to read."
--Thomas Duff,
Duffbert's Random Musings, April 2005
"One has to wonder about an 'In a Nutshell' book that goes over 1000 pages, but that aside, this is one of the best Java books out there, no matter what your goals are."
--S. Pow, Jr., Amazon.com review, June 2005
"... it remains a classic, a classic renewed."
--Nicola Pedot,
JUG Trento, June 2005
Read all reviews