This book assumes that you know some Java, but that you have a particular problem that you need to solve. You could either post the question at JavaRanch, or look it up in this book. The format is great! It is organized with a specific problem, a quick explaination of the solution to the problem, and an in detail discussion of the solution including samples and complete code as needed. The topics range from fairly simple things such as dealing with Strings, to complex things such as using RMI, XML, sending e-mail with Java etc. His overview of Servlets and JSP was great. There was a lot of code that you could borrow and use, but no CD with the book, however it was all available on his website. On the whole, this book will be one of the ones that gets references over and over. It has something for everybody. (Cindy Glass - Bartender, October 2001) More info at Amazon.com More info at Amazon.co.uk More info at FatBrain.com
<pre> Title :Java Cookbook, second edition Author/s : Ian F. Darwin Publisher : O'Reilly Category :Miscellaneous Java Review by : Valentin Crettaz Rating : 9 horseshoes</pre> 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.