Press Room

Press Release: October 11, 2000

17,900 Lines of Java Code Written by David Flanagan - $29.95 (oh, and a book, too)

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
Online Resources:

Java Examples in a Nutshell, 2nd Edition
By David Flanagan
2nd Edition October 2000
0-596-00039-1, 582 pages, $29.95 (US)

About O’Reilly

O’Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O’Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying “faint signals” from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.

Return to: O’Reilly Press Room

Press Contacts


Sara Winge
1-800-998-9938 x7109

Media Relations – North America & Conferences

Maureen Jennings
1-800-998-9938 x7083

Media Relations – Japan

Fumi Yamakawa
+81 3-3356-5227

Media Relations – United Kingdom

Helen Coding
+44 (0) 1252 721284