Java in a Nutshell, Deluxe Edition (In a Nutshell (O'Reilly)) - Softcover

Flanagan, David

  • 3.85 out of 5 stars
    1,112 ratings by Goodreads
 
9781565923041: Java in a Nutshell, Deluxe Edition (In a Nutshell (O'Reilly))

Synopsis

Java in a Nutshell, Deluxe Edition, brings together on CD-ROM five volumes for Java developers and programmers, linking related info across books. Exploring Java, 2nd Edition, covers Java basics. Java Language Reference, 2nd Edition, Java Fundamental Classes Reference, and Java AWT Reference provide a definitive set of documentation on the Java language and the Java 1.1 core API. Java in a Nutshell, 2nd Edition, our bestselling quick reference, is included both on the CD-ROM and in a companion desktop edition. This deluxe library is an indispensable resource for anyone doing serious programming with Java 1.1.

"synopsis" may belong to another edition of this title.

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.

Review

The release of Java 1.1 brings many new features to the Java language. Java in a Nutshell, 2nd Edition, a worthy successor to the author's bestselling first edition of the book, offers an excellent way to keep up with most of them.

You'll find that the second edition carries over many strong points from the original, including a quick-start introduction to Java for C or C++ programmers and the handy quick-reference format. It also details the many new features of Java 1.1, including extensions to the object model and the new release of the Abstract Windowing Toolkit (AWT), Inner Classes, Java Beans, and Java ARchive (JAR) files. The book does not attempt to cover "enterprise" application programming interfaces (API), such as Java's new commerce-related security features, Java Database Connectivity (JDBC) and Remote Method Invocation (RMI). The author plans to document these features in a separate volume.

The second half of Java in a Nutshell, 2nd Edition, is a quick reference to all the packages that comprise the Java API. In the course of over 300 pages, the author introduces each package with a summary and a graphical hierarchy diagram. He then documents each package's component classes and interfaces in detail. For cases where you know the name of a class, but not its package, an index of classes, methods, and fields provide a useful cross-reference to the packages that contain them. This edition removes some of the example code of the previous edition, but provides many samples that cover new language features.

"About this title" may belong to another edition of this title.

Other Popular Editions of the Same Title

9781199000408: JAVA in a Nutshell - A Desktop Quick Reference

Featured Edition

ISBN 10:  119900040X ISBN 13:  9781199000408
Publisher: O'Reilly & Associates, 1997
Softcover