Java Cookbook
Solutions and Examples for Java Developers
By Ian F. Darwin
Publisher: O'Reilly Media
Released: June 2001
Pages: 888

The Java Cookbook is a comprehensive collection of problems, solutions, and practical examples for anyone programming in Java. Developers will find hundreds of tried-and-true Java "recipes" covering all of the major APIs as well as some APIs that aren't as well documented in other Java books.

The Java Cookbook, like the bestselling Perl Cookbook, covers a lot of ground, and offers Java developers short, focused pieces of code that can be easily incorporated into other programs. The idea is to focus on things that are useful, tricky, or both. The book includes code segments covering many specialized APIs--like media and servlets--and should serve as a great "jumping-off place" for Java developers who want to get started in areas outside of their specialization.

The book provides quick solutions to particular problems that can be incorporated into other programs, but that aren't usually programs in and of themselves.

Table of Contents
Product Details
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyJava Cookbook
 
4.7

(based on 9 reviews)

Ratings Distribution

  • 5 Stars

     

    (6)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 9 customers

Sort by

Displaying reviews 1-9

Back to top

 
4.0

Java Cookbook Review

By Barry H

from Undisclosed

Comments about oreilly Java Cookbook:

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.

 
5.0

Java Cookbook Review

By Detlev Gogler

from Undisclosed

Comments about oreilly Java Cookbook:

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.

 
4.0

Java Cookbook Review

By Rizwan Ahmed

from Undisclosed

Comments about oreilly Java Cookbook:

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.

 
5.0

Java Cookbook Review

By Mike Cross

from Undisclosed

Comments about oreilly Java Cookbook:

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.

 
5.0

Java Cookbook Review

By Pete Nelson

from Undisclosed

Comments about oreilly Java Cookbook:

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!

 
4.0

Java Cookbook Review

By Justin Case

from Undisclosed

Comments about oreilly Java Cookbook:

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!

(2 of 2 customers found this review helpful)

 
5.0

Java Cookbook Review

By Gregg Obst

from Undisclosed

Comments about oreilly Java Cookbook:

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.

 
5.0

Java Cookbook Review

By dave

from Undisclosed

Comments about oreilly Java Cookbook:

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!

(1 of 1 customers found this review helpful)

 
5.0

Java Cookbook Review

By Harry Foxwell

from Undisclosed

Comments about oreilly Java Cookbook:

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.

Displaying reviews 1-9

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?