Skip to content
Paperback Java Cookbook: Solutions and Examples for Java Developers Book

ISBN: 0596001703

ISBN13: 9780596001704

Java Cookbook: Solutions and Examples for Java Developers

Select Format

Select Condition ThriftBooks Help Icon

Recommended

Format: Paperback

Condition: Good

$6.39
Save $38.56!
List Price $44.95
Almost Gone, Only 3 Left!

Book Overview

Java continues to grow and evolve, and this cookbook continues to evolve in tandem. With this guide, you'll get up to speed right away with hundreds of hands-on recipes across a broad range of Java... This description may be from another edition of this product.

Customer Reviews

5 ratings

Great source for how to code specific situations

Anyone who has been involved in programming very long soon comes to realize the value of the various programming cookbooks. The cookbooks are not for the person who wants to learn how to program in a particular language, but are very useful for programmers with a basic knowledge of the language. The idea is simple, take the most common problems people deal with and put the solutions into a book. Simply state the problem and then show the code to resolve it. So, if you need to know how to do something you can look it up, enter the code, and test it. Some of the chapter subjects include Interacting with the Environment, Strings and Things, Pattern Matching, Numbers, Dates and Times, Object-Oriented Techniques, Directory and Filesystem Operations, Graphics and Sound, Network Clients, Server-Side Java, Database Access, XML, and Threaded Java. Typical of any of the programming cookbooks, it is a quick and easy source for answers. Each item has a short explanation of the problem and then goes straight to the code to demonstrate how it works. A great time saver and required resource for Java programmers, Java Cookbook, 2nd Edition is highly recommended.

My favorite type of supplemental reference manual...

I make no apologies about being an "R & D" developer... "Rob & Duplicate". I learn best by seeing something that works, and then adapting it to my own needs. Therefore, a book like Java Cookbook by Ian Darwin (O'Reilly) is the exact type of book I look for and use on a regular basis. The chapter breakdown: Getting Started; Interacting With The Environment; Strings and Things; Pattern Matching with Regular Expressions; Numbers; Dates and Times; Structuring Data with Java; Data Structuring with Generics, foreach, and Enumerations; Object-Oriented Techniques; Input and Output; Directory and Filesystem Operations; Programming External Devices: Serial and Parallel Ports; Graphics and Sound; Graphical User Interfaces; Internationalization and Localization; Network Clients; Server-Side Java: Sockets; Network Clients II: Applets and Web Clients; Java and Electronic Mail; Database Access; XML; Distributed Java: RMI; Packages and Packaging; Threaded Java; Introspection, or "A Class Named Class"; Using Java with Other Languages For those unfamiliar with the "Cookbook" style, the chapters have a series of real-life problems, such as playing a sound file, playing a video clip, and printing in Java. The problem is followed by a short one or two line solution and an expanded discussion of the issue complete with code. This approach makes it really easy to find something that is similar to the issue you're facing and to see how someone else would solve it. For me, the quality of this book is really high. It's a second edition covering the Java 1.5 package, so it's fully up on the current technology. In fact, the Generics chapter deals exclusively with new features in 1.5. Some of the solutions are code classes developed by the author and made available for download. But unlike some books I've reviewed where the author supplies code, this isn't an attempt to push their company or product. It's just a clean way to use a solution that someone else has worked through. This isn't a book you'd use to learn Java from scratch, but it's a book you'll use on a regular basis as you continue to expand your Java knowledge. Highly recommended.

Much better than the first version

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.

Practical Examples Beyond Basics

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!

Code To Go

If I'd had this book two years ago, I would have saved myself weeks of work. As a software developer of some twenty years, I find that the ever-present problem of `looking things up' is the major factor that impedes progress. I've spent hours trying to track down `how-to' solutions only to find in the end all that's required is a few elusive lines of code. Well, the Java Cookbook is filled with such code along with insightful explanations.I'm impressed by how comprehensive the coverage is: 26 chapters covering such things as file i/o, Swing, RMI, applets, Java Servlets, JSP, e-mail, JDBC, XML, multi-threading... At 48 pages, the index is HUGE, just what you need to look things up!The author assumes you know Java but not as well as you ought to! He explains all those things that I really should know but I never get around to figuring out properly: the correct handling of dates/times, internationalization, floating point numbers, etc. Thankfully, the book is concise and easy to read so you can quickly plug a bunch of gaps in your knowledge by browsing over chapters.This book will quickly pay for itself. Enjoy.
Copyright © 2023 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured