By Ian F. Darwin
Second Edition
June 2004
Pages: 862
Series: Cookbooks
ISBN 10: 0-596-00701-9 |
ISBN 13: 9780596007010
![]()
![]()
![]()
![]()
(Average of 3 Customer Reviews)
Java Cookbook, 2nd Edition gets you to the heart of what you need to know when you need to know it. The completely revised and updated recipes in Java Cookbook, 2nd Edition cover all of the major APIs from Java 1.4 as well as the new 1.5 version. It includes many specialized APIs--like those for working with Struts, Ant, and other Open Source tools--and delivers expanded Mac OS coverage.
Full Description
Cover | Table of Contents | Colophon
Featured customer reviews
Still A Great Java Resource!, August 11 2007
I bought the first version of the Java Cookbook many years ago and it was a huge find back then. There were few online resources at the time loaded with really great, consistent sample code, like http://www.javaalmanac.com. The book filled a need then and it fills a need now.
The book covers subjects of interest for programmers with any level of Java expertise. It is written in the classic 'cookbook' format. Each chapter concentrates on a specific area, like 'String and Things', 'Pattern Matching with Regular Expressions', 'Object-Oriented Techniques', 'Network Clients', 'Database Access', 'Threaded Java', etc.
Within each chapter, several problems are tackled. One or more pages are devoted to each problem, with a general format of: 'Problem', 'Solution', and 'Discussion'. Many of the problems build on previous solutions. Nearly every solution contains a Java example and the code tends to be simple enough to grok at a glance.
The book has been updated to cover some 1.4 and 1.5 goodies, but not nearly as much as I would have liked. However, the most fundamental topics are covered well - certainly well enough for an 800+ page cookbook with 312 recipes that cover a wide range of topics.
If you are like me and spend a lot of time learning by example, you will find this book an excellent resource.
Very Good, December 20 2006
This book is excellent. If it had more swing stuff I'd probably be using it exclusively.
Review of "Java Cookbook, 2nd", March 20 2006
Ever gotten tired of wading through endless reference books or crawling the web seeking for small code snippets that solve common and ever-recurring problems? Don't look further, this book is for you. In this second and revamped version of the Java Cookbook, you will find tons of very valuable resources for your everyday programming tasks. The author, a long-time practitioner, adopts a "learn-by-example" approach by providing small code recipes which cover almost all APIs from the 1.4 version as well as some new killer features of Java 5.
The number of subjects the author delves into is truly impressive. Apart from the traditional topics like effective string manipulation, threading, I18N and L10N, GUIs, RMI and networking, I/O and file system operations, and many more, the author also focuses on external devices and serial/parallel port programming, electronic mail, reflection and introspection, graphics and sound, pattern matching, generics, autoboxing, packaging and how to use Java with other languages.
I really enjoyed reading this very helpful resource and I would definitely recommend it to Java programmers of any level in urgent need of some code ammo to put in their backpack.
More reviews on Val's blog (http://radio.javaranch.com/val)
Media reviews
"The book covers subjects of interest for programmers with any level of Java expertise and is written in the classic 'cookbook' format...If you are like me and spend a lot of time learning by example, you will find this book an excellent resource."
-- Dave Walz-Burkett, Albuquerque Ruby Group
"I really enjoyed reading this very helpful resource and I would definitely recommend it to Java programmers of any level in urgent need of some code ammo to put in their backpack."
--Valentin Crettaz, JavaRanch.com, August 2004
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=49&t=000140








