17,900 lines of Java code (oh, and a book, too)

54

Author: JT Smith

Sebastopol, CA — 17,900 lines of densely commented, professionally
written
Java code; coverage of 20 distinct Java APIs (including servlets, JSP,
XML, Swing, and Java 2D); and 164 complete, practical examples make up
the new second edition of bestselling Java author David Flanagan’s
“Java Examples in a Nutshell” (O’Reilly, $29.95).Designed for those who learn best by example, “Java Examples in a
Nutshell” is packed with real-world programs that not only serve as
great learning tools, but can also be modified for individual use.
“Java Examples in a Nutshell” stands-alone as a terrific compilation of
hands-on examples, but it is also an excellent tutorial companion to
“Java in a Nutshell.” Add to that pairing “Java Foundation Classes in a
Nutshell” and “Java Enterprise in a Nutshell” and you have a complete
Java reference library.

“This book was a lot of fun to write,” says Flanagan. “The first
edition came out when Java 1.1 was released at more than double the
size of Java 1.0. While I was busy writing additional examples for the
second edition of “Java in a Nutshell”, the engineers at Sun were busy
turning Java into something that could no longer fit into a nutshell.
We were able to include some examples in “Java in a Nutshell”, but we
had to cut many more than we could include. The decision to create a
book devoted entirely to examples was a good one. Given the freedom to
write an entire book of examples, I was able to go into more depth than
I ever would have before, and write all the examples I really wanted to
write. I found myself really enjoying the exploration and
experimentation that went into developing these examples.”

“Java Examples in a Nutshell” doesn’t hold the readers’ hand or supply
detailed explanations of Java syntax or method calls; it simply
delivers well-commented working examples for exploring the wide range
of what’s possible with Java. Each chapter concludes with programming
exercises that suggest avenues for building further knowledge.

“Java Examples in a Nutshell” includes:

Examples that demonstrate basic Java functionality and the
essential Java APIs, including I/O, threads, networking,
security, reflection, serialization, and security;

Programs that use the graphical user interface and graphics
features of Java, highlighting the Swing, Java 2D, printing,
data
transfer, JavaBeans, and applet APIs;

Examples that illustrate key enterprise APIs in Java,
including remote method invocation (RMI), database
connectivity (JDBC), servlets, JavaServer Pages (JSP), and XML;

An example index that lets users look up a programming concept
or Java class and find any examples in the book that
demonstrate that concept or use that class.

Chapter 19, XML, is available free online at:
http://www.oreilly.com/catalog/jenut2/chapter/ch19.html.