Press Room

Press Release: July 1, 2004

"Java Cookbook, Second Edition": What Java Developers Need to Know, When They Need to Know It

Sebastopol, CA--Java developers have a choice: wade their way through lengthy Java tutorials and figure things out by trial and error or pick up a one-of-a kind, helpful book and get to the heart of what they need to know, when they need to know it. Completely revised and updated--and covering the new JDK 1.5--Java Cookbook, Second Edition (O'Reilly, US $49.95) by Ian F. Darwin is that book. Brimming with insider tips and tricks, information on the latest third-party resources, helpful how-tos, and dozens of new recipes, this book is just the thing for keeping development on track.

JDK 1.5 (code named Tiger) is "an exciting change to the Java landscape," says author and seasoned developer Darwin. "JDK 1.5 introduces several major new facilities . . . and a much larger number of smaller but important changes adding up to a new release that is a must for Java developers." In this thorough revision, he delivers essential recipes for the vital new language and API features of 1.5.

No other book does as much to demonstrate Java's capabilities and the ease with which Java developers can put them to use. Whether new to Java or a seasoned Java programmer looking for a new perspective, readers can use this book to make the most of their Java knowledge.

Java Cookbook, Second Edition includes code segments covering many specialized APIs--like those for working with Struts, Ant, and other new popular open source tools. It also includes expanded Mac OS X Panther coverage and serves as a great launching point for Java developers who want to get started in areas outside their specialization.

This comprehensive collection of problems, solutions, and practical examples covers:

  • Compiling, running, and debugging Java programs
  • Packaging apps for deployment
  • Strings and regular expressions
  • Formatter and Scanner (1.5)
  • Arrays and other data collections
  • Programming serial and parallel ports
  • Files, directories, and filesystems
  • Generics, foreach, and enumerations (1.5)
  • Developing network clients and servers
  • Web programming, servlets, and JSP
  • Accessing databases
  • Integrating XML
  • Remote Method Invocation (RMI)
  • Introspection
  • Developing graphical user interfaces
  • Concurrency (1.5)
  • Java developers can learn by example, try out new features, and use succinct sample code to understand how new additions to the language and platform work--and how to put them to work right away. Java Cookbook, Second Edition will become an essential part of any Java developer's library.

    Praise for the first edition:

    "Bottom line: if you program Java, you must have this book. If you manage Java programmers you need to buy them this book so they can stop wasting their time re-inventing code."
    --Netsurfer Digest, July 2001

    "A clear, bright piece of work, bursting at the seams with ideas for connoisseurs and snackers alike."
    --John McLaughlin, CVU, August 2002

    Further reviews can be found here

    Additional Resources:

    Java Cookbook, Second Edition
    Ian F. Darwin
    ISBN 0-596-00701-9, 828 pages, $49.95 US, $72.95 CA
    1-800-998-9938; 1-707-827-7000

    About O'Reilly

    For almost 40 years, O’Reilly Media has provided technology and business training, knowledge, and insight to help companies succeed. Our unique network of experts and innovators share their knowledge and expertise through the company’s Safari training and learning platform and at O’Reilly conferences. As a SaaS learning platform, Safari delivers highly topical and comprehensive technology and business learning solutions to millions of users across enterprise, consumer, and university channels. For more information visit

    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