Java in a Nutshell, Deluxe Edition is a Java programmer's dream come true in one small package. The heart of this Deluxe Edition is the Java Reference Library on CD-ROM, which brings together five volumes for Java developers and programmers, linking related info across books. It Exploring Java, 2nd Edition , Java Language Reference, 2nd Edition , Java Fundamental Classes Reference , Java AWT Reference , and Java in a Nutshell, 2nd Edition , included both on the CD-ROM and in a companion desktop edition. Java in a Nutshell, Deluxe Edition is an indispensable resource for anyone doing serious programming with Java 1.1.The Java Reference Library alone is also available by subscription on the World Wide Web. Please see javaref/ for details.The electronic text on the Web and on the CD is fully searchable and includes a complete index to all five volumes. It also includes the sample code found in the printed volumes. Exploring Java, 2nd Edition introduces the basics of Java 1.1 and offers a clear, systematic overview of the language. It covers the essentials of hot topics like Beans and RMI, as well as writing applets and other applications, such as networking programs, content and protocol handlers, and security managers.The Java Language Reference, 2nd Edition is a complete reference that describes all aspects of the Java language, including syntax, object-oriented programming, exception handling, multithreaded programming, and differences between Java and C/C++. The second edition covers the new language features that have been added in Java 1.1, such as inner classes, class literals, and instance initializers.The Java Fundamental Classes Reference provides complete reference documentation on the core Java 1.1 classes that comprise the java.lang , java.io , java.net , java.util , java.text , java.math , java.lang.reflect , and java.util.zip packages. These classes provide general-purpose functionality that is fundamental to every Java application.The Java AWT Reference provides complete reference documentation on the Abstract Window Toolkit (AWT), a large collection of classes for building graphical user interfaces in Java. Java in a Nutshell, 2nd Edition , the bestselling book on Java and the one most often recommended on the Internet, is a complete quick-reference guide to Java, containing descriptions of all of the classes in the Java 1.1 core API, with a definitive listing of all methods and variables, with the exception of the still-evolving Enterprise APIs. These APIs will be covered in a future volume.Highlights of the library System The CD-ROM is readable on all Windows and UNIX platforms. Current implementations of the Java Virtual Machine for the Mac platform do not support the Java search applet in this CD-ROM. Mac users can purchase the World Wide Web version (see javaref/ for more information). A Web browser that supports HTML 3.2, Java, and JavaScript, such as Netscape 3.0 or Internet Explorer 3.0, is required.
David Flanagan is a computer programmer who has spent much of the last 20 years writing books about programming languages. He now works at Mozilla. David lives with his wife and children in the Pacific Northwest, between the cities of Seattle and Vancouver.
I know what you're thinking... "Why did you read the 4th edition in 2010? It only covers up to Java 1.4 - and it was published 8 years ago." My answer? "It was what my library had. And it covered what I needed to learn."
I suppose I should have known better, considering the O'Reilly "Nutshell" format. A couple hundred pages of "nutshell" overview material to digest some high-level concepts -- but you're wading through generic code samples. Then several hundred more pages of what is basically an index of core API stuff. And so almost all of it makes your eyes glaze over. It isn't bad or badly written; it's that the book has a target audience of which I am not really a member.
“Java in a Nutshell” has been updated for Java 11. It has everything you'd expect from the prior editions – syntax, examples and a great reference. New features from Java 8+ are highlighted. Some design patterns and tradeoffs are explained. A lot of concepts, like garbage collection, are covered as well.
I particularly liked the examples of common methods. There were a few in Collections that I could use and didn't realize existed. I also learned about a trick to with var and anonymous inner classes (that I hope not to see in real code). And of course, I like that big O notation was used in discussing collections. Many new features were covered well including method handles and modules.
A number of garbage collectors were discussed. I was surprised the g1 garbage collector didn't get more attention. It was well explained but didn't have a section header. I was also surprised to see an appendix that covered Nashorn since it a deprecated feature.
Overall, this is a great book and I recommend it for your Java learning/reference.
I read the 8th edition but didnt see it as an option on Goodreads and don't feel like manually creating an entry for it.
Great book, except the code examples did not include expected output. For example, it would have some System.out.println statements and say something like, you can see XYZ behavior from this, but you can't, unless you compile the code and run it yourself. I want to read the book standalone, not with a laptop open so I can type out and run these snippets. It would make a book trivially longer to include the output (usually only a few lines per example), but well worth it from a reader's perspective.
This book presents a survey of the Java technology as evolved up to java 8. At the point I am writing this Java 11 is already released. So as it happens with technology books, they get older by the day. The presentation of all new features is not deep, but it is comprehensive enough to get a good idea of what is out there and offers good pointers to get more info as necessary. A good time saver and good starting point for a refresher.
Nicely done. Author gives the balance between too much boring detail and skimming the surface. Book updated with newest featues like stream api, nashorn engine, diamond, method handles and all other java7/8 features. Not a great way to learn generics and collections topic especially with lambdas/streams, book did not do a great job on those topics.
It's hard to meaningfully evaluate a book about Java 1.1 in 2008. This book was certainly at my side throughout CS 1502 (Introduction to Programming), and I imagine newer editions are similarly strong. Then again, there's really no need for this book, given the great Sun documentation.
The first third of the book is a pleasantly terse primer on the language and some of the more common platform features, including a section on the features that were new to Java 5. The rest is an API reference which mainly serves to keep the book heavy and expensive.
Like all the O'Reilly Nutshell books, this is clear, helpful, and human. It's not a take-you-by-the-hand tutorial, but it's tutorial enough if you've already mastered a language or two, and it'll be well worth keeping on your shelf after you're trained and effective.
A good mid-level overview of the Java language. I haven't read the summaries on the core libraries yet, but that would be the only reason to read the reference area. The rest you can get, more updated, off the web.
Having a background in C and C++, I foolishly tried to learn Java with this book. It is pretty much unusable as a Java text. And the reference in the back is unnecessary even back then because the javadoc was available online.
A must-read to keep up with the ever growing JDK. The latest (6th) edition addresses Java 7 and 8. I enjoyed learning more about lambda expressions, NIO, Async I/O and Meta-programming (Classloading and Reflection).