O’Reilly news

"Java Examples in a Nutshell, Third Edition": Bringing Focused, Supremely Practical Code up to Java 1.4 Standards

February 5, 2004

Sebastopol, CA--Many a developer has been hesitant to implement Java 2 Version 1.4, daunted by the complexity of the language and the overwhelming number of APIs. Fear no more: Java Examples in a Nutshell, Third Edition (O'Reilly, US $39.95) by David Flanagan provides a wealth of practical code examples that show developers the full range of what is possible with Java today.

In this new edition, best-selling author David Flanagan has added coverage of regular expressions (new to the core Java API), updated Java internationalization information, and included extensive coverage of the new Java GUI features. Java Examples in a Nutshell is the perfect companion volume to Flanagan's other books, including the best-selling Java in a Nutshell, Java Foundation Classes in a Nutshell, and Java Enterprise in a Nutshell. "I wrote Java Examples in a Nutshell to pick up where those books leave off, providing a suite of complete working examples, ready to compile and run, suitable for novice Java programmers and experts alike," says Flanagan.

His comprehensive new third edition demystifies Java 1.4 (including assertions, logging, preferences, SSL, and more) and contains 193 complete, practical examples--more than 21,900 lines of densely commented, professionally written Java code covering 20 distinct client-side and server-side APIs. It includes all-new coverage of the New I/O and Java Sound APIs and completely rewritten chapters on XML and servlets to incorporate the latest versions of the specifications and to demonstrate best practices for Java 1.4.

Java Examples in a Nutshell contains both new and updated working examples with succinct and accessible explanations covering:

  • Core APIs, including I/O, New I/O, threads, networking, security, serialization, and reflection
  • Desktop APIs, highlighting Swing GUIs, Java 2D graphics, preferences, printing, drag-and-drop, JavaBeans, applets, and sound
  • Enterprise APIs, including JDBC (database access), JAXP (XML parsing and transformation), Servlets 2.4, JSP 2.0 (JavaServer Pages), and RMI
  • This essential, learn-as-you-go tutorial invites new and seasoned Java developers to let go of worries about the complexity and sophistication of Java 1.4 and simply jump in and try effective new programming techniques and code. From the introductory examples demonstrating structured and object-oriented programming techniques to the unique and convenient "Example Index" in the very last chapter (where one can look up a class, method, or programming topic to find relevant examples), the content in the new edition of "Java Examples in a Nutshell" won't disappoint.

    Praise for the previous edition:

    "An excellent book and a superb learning aid for Java programmers at any level."
    --Elizabeth Zinkann, Sys Admin, March 2001

    "Another fine example of the O'Reilly style of writing...If you take the time to work through this book, you should come out with a very good understanding of Java, JavaBeans, Applets, Servlets, JSP and XML and its uses for Web Designing. As technology moves into the use of these, this would be a book you wouldn't want to miss. I rate this book a 10."
    --Barbara Rhoades, St. Louis Web Developers and Web Designers Organization, January 2001

    "An outstanding collection of code samples that are designed to help you improve your programming skills--by studying code that works. With over 150 expert examples that illustrate a wide range of Java APIs, this volume definitely can bring your knowledge of Java to the next level. This is a worthy and up-to-date resource for all levels of Java programmers."
    --Richard Dragan, Amazon.com Delivers Computer Programming, November 2000

    Further reviews of this book

    Additional Resources:

    Java Examples in a Nutshell, Third Edition
    David Flanagan
    ISBN 0-596-00620-9, 720 pages, $39.95 US, $57.95 CA
    1-800-998-9938; 1-707-827-7000

    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.

    Email a link to this press release