Amazon.com: Java Cookbook: Ian Darwin: Books


Digital Delivery
(How does this work?)
 

Java Cookbook
 
 

Java Cookbook [Download: PDF] [Digital]

Ian Darwin (Author)
4.4 out of 5 stars  See all reviews (34 customer reviews)

Price: $39.99
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Available for download now.
Ships from and sold by Amazon.com.
Edition: e-document (Learn more)

Customers Who Viewed This Item Also Viewed


Editorial Reviews

Review

"...a clear, bright piece of work, bursting at the seams with ideas for connoisseurs and snackers alike." John McLaughlin, Cvu, August --This text refers to an out of print or unavailable edition of this title.

About the Author

Ian F. Darwin has worked in the computer industry for three decades. He wrote the freeware file(1) command used on Linux and BSD and is the author of Checking C Programs with Lint, Java Cookbook, and over seventy articles and courses on C and Unix. In addition to programming and consulting, Ian teaches Unix, C, and Java for Learning Tree International, one of the world's largest technical training companies.

--This text refers to an out of print or unavailable edition of this title.

Product Details

    Do you have the free reader for this item?
    Adobe Reader
  • Format: Adobe Reader (PDF)
  • Printable: Yes. This title is printable
  • Mac OS Compatible: OS 9.x or later
  • Windows Compatible: Yes
  • Handheld Compatible: Yes. Adobe Reader is available for PalmOS, Pocket PC, and Symbian OS.
  • Digital: 862 pages
  • Publisher: O'Reilly Media (November 21, 2007)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (34 customer reviews)
  • Amazon Best Sellers Rank: #4,130,619 Paid in Books (See Top 100 Paid in Books)
  • Required Free Software: Adobe Reader

Inside This Book (learn more)
Browse and search another edition of this book.
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
java cookbook, process one file, plotter class, deprecation warnings, simple main program, convenience routine, anonymous inner classes, void println, public static void, boolean close, public void write, void dump, public void close, public void run, echo server, public void paint, boolean accept, soundex algorithm, regex pattern, default locale, void log, lava class, public void stop, action handler, void process
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Solution Use, Ian Darwin, Hello World, Java Virtual Machine, Java Web Start, Addison Wesley, Discussion While, Ian's Basic Steps, Java Plug-in, Java Swing, Solution Write, Sun's Java, Mountain View, Hello Applet, Solution Construct, Solution Get, Cancel Figure, Elliotte Rusty Harold, Font Chooser, Learning Tree, Bean Scripting Framework, Introduction Java, Java Communications, Java Data Objects, Network Logging
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:




Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(288)
(27)

Your tags: Add your first tag
 

 

Customer Reviews

34 Reviews
5 star:
 (23)
4 star:
 (5)
3 star:
 (2)
2 star:
 (4)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.4 out of 5 stars (34 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

84 of 88 people found the following review helpful:
5.0 out of 5 stars Practical Examples Beyond Basics, October 22, 2001
By 
Bruce Van Horn II (The Colony, Tx United States) - See all my reviews
This review is from: Java Cookbook (Paperback)
OK, you've learned the basics. You know 'public static void main string args' from a hole in th ground. What now? I teach Java at a college. Only a small percentage of my students are CS majors. Most introductory java books lack good practical problems to solve. The Java Cookbook is a list of common problems and code examples on how to solve them. I learned more in two days with this book than I did with several very good java books because I need to see examples and how things work in context. If you're like that too, you'll love this book. I pack it with my laptop so I'm never without it when I need it -- it's that useful to me!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


116 of 124 people found the following review helpful:
3.0 out of 5 stars Half-Baked Recipes, August 2, 2001
By 
"schapel" (Hillsborough, NJ USA) - See all my reviews
This review is from: Java Cookbook (Paperback)
The idea of a Java Cookbook is a good one. This book is very similar to the popular and widely acclaimed Perl Cookbook. Even though Perl is more useful for short stand-alone programs and Java is most effective in large-scale systems, a lot of Java code can follow a standard "recipe". For example, writing an equals method is a very common and surprisingly difficult task, so having a standard template available along with a discussion of important points is necessary for all but the most advanced Java programmers.

To judge the quality of the recipes, I checked out some very basic and common Java problems, such as writing equals and clone methods, synchronizing threads, and comparing floating point numbers. In most cases, I found flaws in the code or accompanying explanations. The discussion of equals doesn't mention that the hashCode method needs to be compatible with it. The recipe for clone has the method unnecessarily throw a CloneNotSupportedException. The explanation of synchronizing threads says that locks are held on methods, instead of correctly pointing out that locks are held on objects. The code for floating point comparison requires that the user keep track of the magnitude of the numbers being compared.

By using the term "Cookbook" in the title, I expected to find a collection of the best standard code templates. Instead, I found code samples that merely demonstrated a basic concept, and that they serve as only a starting point for understanding Java. Together with the misleading explanations, this book has the potential for confusing beginning Java programmers as much as it guides them. This book is best used as merely a guide to get the beginning Java programmer started. The "recipes" should be viewed as started points to be improved upon -- using them as is will result in less than optimal Java code.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


22 of 23 people found the following review helpful:
5.0 out of 5 stars Much better than the first version, July 28, 2004
I'm blown away by how much better the second version has improved from the first. I was so disappointed by the first edition that I swore off O'Reilly for a little while. One of my major gripes, the rampant use of classes provided by the author in libraries has all but vanished. In addition the anti-patterns of bad SQL use that are so rampant in other Java books are nowhere to be found, and in their place are recipes that show sane and proper use of JDBC.

I heartily recommend this practical work for Java engineers. For those not familiar with the first edition this is a solid practical work that covers a wide range of Java programming challenges. For those turned off by the first edition, you should take a look at the second, the improvement is profound.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject

Search Books by subject:



i.e., each book must be in subject 1 AND subject 2 AND ...