CARVIEW |
By Ian F. Darwin
June 2001
Pages: 882
Series: Cookbooks
ISBN 10: 0-596-00170-3 |
ISBN 13: 9780596001704
(Average of 9 Customer Reviews)
This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.
The latest edition is also available on Safari Books Online.
This book offers Java developers short, focused pieces of code that are easy to incorporate into other programs. The idea is to focus on things that are useful, tricky, or both. The book's code segments cover all of the dominant APIs and many specialized APIs and should serve as a great "jumping-off place" for Java developers who want to get started in areas outside their specialization.
Full Description
Featured customer reviews
Java Cookbook Review, October 11 2003





This book is excellent, for a second Java book you can't go anywhere else. Full of ideas, explainations and solutions to the kind of problems the novice Java programmer would face as well as catering for the more experienced Java programmer with a broad spectrum of examples and tips. The only reason it isn't definitive is because it doesn't specialise on one aspect and therefore doesn't go into the depth you would expect of something that would be called definitive(But if they replaced 'Definitive!' with 'Very Very Good' then it would have got that). If you are a Java programmer looking to clear up those 'unclear' parts of Java(and harnessing it's full potential) or looking for inspiration this book is for you. The recipes are set out in a short concise manner with minimum fluff, it's these kind of books that can make programming more fun.
Java Cookbook Review, April 28 2003





It is really a cookbook with a lot of samples not only useful for beginners but also for experienced programmers. You will save tons of time; just have a look in this book instead of searching hours in the web or trying to figure out things by yourself.
Java Cookbook Review, April 10 2003





The Java Cookbook is a collection of hundreds of solutions to problems that Java programmers frequently face. The book assumes that the reader is familiar with Java. The book aims at the Java 2 platform. The recipes range from simple tasks to entire programs that for example demonstrate how to use the incorporate email into your application.
The book is organized in a simple, clear and easy to read style. The first couple of chapters provide an an introduction to compiling, running, debugging and interacting with the environment then goes on to discussing the core API's like Strings, Arrays, Wrappers, Files I/O, Collections, AWT etc. before moving on to advanced topics like server side Java, database JDBC access, RMI, multithreaded applications, native code interactions, XML applications, Enterprise Java (J2EE) etc.
Overall a very good book and handy reference for development with Java. However, the book does provide lop sided coverage providing lots of coverage in certain areas like JavaMail but very little on JSP, Servlets, XML and almost nothing on Web Services. J2EE and other server side developers are sure to be disappointed. There is negligible discussion on design patterns. However, no other single book does as much to demonstrate with examples Java's capabilities in such a nutshell. A handy reference to have in your shelf.
Java Cookbook Review, January 30 2002





Excellent book filled with useful examples and tips. I'd recommend this book to both beginner's and experienced programmers. The writing style is excellent; clear, concise and surprisingly readable.
Java Cookbook Review, October 30 2001





I've been waiting for this book since I first picked up The Perl Cookbook, so I purchased it as soon as I saw it was out.
The disadvantage of The Java Cookbook vs. The Perl Cookbook is the requirements and scope of the language. With only The Perl Cookbook in my hand (plus some online documentation), I was able to achieve some pretty useful tasks in a very short time. With the Java Cookbook, I've found I've had to do a lot more digging. In fact, halfway through the Java Cookbook, I ended up purchasing Java Swing, as recommended by the author. And I still have a long list of complementary books I still need to pick up.
I would discourage anyone from using this book as an intro to Java. Although the first chapter seems aimed at the new user, many of the complexities of Java are deferred to other books (in general, a good idea for a cookbook). I'm not saying a beginner wouldn't benefit from this book, but that this book would probably be better utilized as a companion to a more standard introductory book.
But for those who have already waded through countless java books looking for answers, this one, much like its perl counterpart, cuts right to the chase and gets to the point. Organized by task, you can easily jump to the section you need. Answers are strait-forward, and easy to understand.
I also very much enjoyed Ian Darwin's writing style - very personable, and easy to understand. You can tell he enjoys the language, and wants to help you do the same.
Yet another excellent book from O'Reilly!
Java Cookbook Review, August 06 2001





If you learned to write your first CGI program from O'Reilly's Perl Cookbook, you probably still have it and still use it. The Java Cookbook is of the same caliber. For the self-taught-gurus of the world, this learn by example book is a must-have, must-read, must-keep. Networking, JDBC, Applets, JSP/Servlets, Java Server programming, threads, file handling, XML, debugging -- all covered.(and then some...)
Thanks, Ian!
Java Cookbook Review, July 20 2001





Simply put, if you value your time at all and you do serious Java development then RUN, don't walk to your local bookstore and buy this book ! You will save a ton of time not beating your head against a wall trying to figure out things that are thoroughly demonstrated in this book. Already one of the most worn Java books on my shelf.
Java Cookbook Review, July 11 2001





After having read the Perl Cookbook after reading Learning Perl I figured why not stick with what works and read Learning Java, and now the Java Cookbook. Needless to say I was not disappointed in anyway. In fact, I was suprised at how well the author setup Java in the recipe style: in is easier to write a cookbook for Perl, which is more tailored to short snack cooking, than Java, which is the tool of a chef cooking for the masses.
The book includes many things that you will not see elsewhere like how to make Java cooperate with other languages, regular expressions (thank god someone has good documentation for this now), and many other nice tidbits. The author reduces the hype and shows Java as a tool, which is refreshing but what I expect from Oreilly.
Thanks!
Java Cookbook Review, July 10 2001





If you've progressed beyond the beginner stage of Java programming
and need a comprehensive reference of programming solutions, this book
is an outstanding choice. Extremely well written in a friendly,
conversational style, it includes several hundred code and program
examples for common tasks. The book is thoroughly indexed and
cross-referenced, and you can get all the source code from the publisher's
website. Each of the "recipes" clearly describes a programming task
and suggests one or more solutions. The introductory chapter includes
valuable suggestions on program development and debugging.
For a long time my standard Java help book had been Flanagan's
"Java Examples in a Nutshell". While that is still a good reference,
Java Cookbook is what I'll be using from now on.
Media reviews "...a clear, bright piece of work, bursting at the seams with ideas for connoisseurs and snackers alike."--John McLaughlin-Cvu, August 2002
"I'm very into a method of programming called 'R&D;'...that stands for 'Rob And Duplicate.' I'd rather not invent or reinvent something if I can 'borrow' someone else's solution. Given that as my mindset, I LOVE this book! While the hardcore reference books are necessary, all too often the beleaguered developer is left asking for a simple example of how something works in a real program. Sometimes it's nice just to be able to see a class (like the Java I/O classes) used in the context of a complete solution. From there, you can figure out how to start using the class in your own program. That's the real value of this book. I may conceptually understand what a class does, but it's sometimes hard to translate that knowledge into syntactically correct code. Seeing an example helps me get a grasp of how it is really used...Regardless of where you are at in your Java career, you should have this book. If you're a Java newbie, it will help you bridge the gap between reference manuals and real programs. If you're an experienced Java programmer, it will give you different perspectives on how a problem could be solved."
--Thomas Duff, Portland Domino/Notes User Group, July 2002
?I want to begin by saying that a copy of the Java Cookbook should be on everyone's shelf regardless of your skill level in Java. This is an important technical resource and goes next to my Perl Cookbook. But just like any cookbook, this is not the magic grimoire that will unlock the mysteries of the Java Gurus. Instead, its a book you will flip through when you are unsure of how to do something. For example:
Frank: How do I format a string into a specific date format
Jim: Frank, look up the section on Dates in the Cookbook
... two minutes pass ...
Frank: Cool! Thanks Jim!
Jim: No prob.
The Java Cookbook is an excellent ?Great Book!?
--Bryan, www.redhooksolutions.com
Read all reviews
- Table of Contents
- Examples
- Author's Article
- Author's Web Site
- Colophon
- Register Your Book
- View/Submit Errata
- View/Submit Review
Got a Question?
![]() © 2008, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly Privacy Policy Contacts Customer Service Authors Press Room Jobs User Groups Academic Solutions Newsletters Writing for O'Reilly RSS Feeds Terms of Service |
Other O'Reilly Sites O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone O'Reilly FYI makezine.com craftzine.com hackszine.com perl.com xml.com |
Sponsored Sites Inside Aperture Inside Lightroom Inside Port 25 InsideRIA java.net |