Java Cookbook, Second Edition
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)


Book description
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
You have a choice: you can wade your way through lengthy Java tutorials and figure things out by trial and error, or you can pick up Java Cookbook, 2nd Edition and get to the heart of what you need to know when you need to know it.
With the completely revised and thoroughly updated Java Cookbook, 2nd Edition, Java developers like you will learn by example, try out new features, and use sample code to understand how new additions to the language and platform work--and how to put them to work for you.
This comprehensive collection of problems, solutions, and practical examples will satisfy Java developers at all levels of expertise. Whether you're new to Java programming and need something to bridge the gap between theory-laden reference manuals and real-world programs or you're a seasoned Java programmer looking for a new perspective or a different problem-solving context, this book will help you make the most of your Java knowledge.
Packed with hundreds of tried-and-true Java recipes covering all of the major APIs from the 1.4 version of Java, this book also offers significant first-look recipes for the most important features of the new 1.5 version, which is in beta release. You get practical solutions to everyday problems, and each is followed by a detailed, ultimately useful explanation of how and why the technology works.
Java Cookbook, 2nd 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 of their specialization.
In this major revision, you'll find succinct pieces of code that can be easily incorporated into other programs. Focusing on what's useful or tricky--or what's useful and tricky--Java Cookbook, 2nd Edition is the most practical Java programming book on the market.
Browse within this book
Cover
| Table of Contents
| Colophon
Featured customer reviews

Still A Great Java Resource!,
August 11 2007
Submitted by
Dave Walz-Burkett
[
Respond |
View]
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
Submitted by
Derrick Petzold
[
Respond |
View]
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
Submitted by
Val
[
Respond |
View]
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)
Read all reviews
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
Read all reviews