Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Java Threads 3rd Edition

3.5 out of 5 stars 47 customer reviews
ISBN-13: 978-0596007829
ISBN-10: 0596007825
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$13.99 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$28.45 On clicking this link, a new layer will be open
More Buying Choices
31 New from $12.60 42 Used from $0.01
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Barron's
Navigate global markets with Barron's digital membership Learn more
$28.45 FREE Shipping. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Frequently Bought Together

  • Java Threads
  • +
  • Java Concurrency in Practice
  • +
  • Java Performance: The Definitive Guide
Total price: $93.24
Buy the selected items together

Editorial Reviews

Amazon.com Review

Building sophisticated Java applets means learning about threading--if you need to read data from a network, for example, you can't afford to let a delay in its delivery lock up your entire applet. Java Threads introduces the Java threading API and uses non-computing analogies--such as scenarios involving bank tellers--to explain the need for synchronization and the dangers of deadlock. Scott Oaks and Henry Wong follow up their high-level examples with more detailed discussions on building a thread scheduler in Java, dealing with advanced synchronization issues, and handling exceptions. --This text refers to an out of print or unavailable edition of this title.

From Library Journal

O'Reilly books have a reputation among programmers for providing some of the best technical information for professionals. No exception, these three web-related books will only enhance O'Reilly's reputation. JavaScript is not Java, but it is very useful because JavaScript code does not need to be compiled and the scripts can be embedded directly into an HTML document. Flanagan's work is an excellent book for programmers interested in learning it quickly. Grand, meanwhile, provides an exceptionally clear discussion of Java itself that is particularly useful for a working programmer moving from C++ to Java. Threads are what makes Java a particularly useful language for multiprocessing?the ability to appear to do more than one thing at a time?which is what the Internet is all about. The tricky part of threads is that the concept is new for most users. Oaks offers a very clear discussion of how to spawn a process, when to spawn, and how to synchronize and schedule it, all illustrated with good network examples.
Copyright 1997 Reed Business Information, Inc. --This text refers to an out of print or unavailable edition of this title.
NO_CONTENT_IN_FEATURE

New York Times best sellers
Browse the New York Times best sellers in popular categories like Fiction, Nonfiction, Picture Books and more. See more

Product Details

  • Paperback: 362 pages
  • Publisher: O'Reilly Media; 3 edition (September 20, 2004)
  • Language: English
  • ISBN-10: 0596007825
  • ISBN-13: 978-0596007829
  • Product Dimensions: 7 x 0.9 x 9.2 inches
  • Shipping Weight: 1 pounds (View shipping rates and policies)
  • Average Customer Review: 3.5 out of 5 stars  See all reviews (47 customer reviews)
  • Amazon Best Sellers Rank: #851,263 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

By Eric Wuehler on September 28, 2004
Format: Paperback
I also have an old copy of the 2nd Edition, which I would have given 3 stars. However, the 3rd Edition might as well have been published as a new book. I was pleasantly surprised to see that the organization, chapter layout and code examples are essentially all new - not just tweaked from the previous edition. If you're looking for a good book on threads, this is it.

The example code is well done, and the concepts are illustrated satisfactorily. If you download the examples from the web site, each chapter has a list of the code samples and the ant tasks to run to use them, which was a nice touch. While the concepts behind Java Threads apply to most versions of Java, I'd say this book is really geared toward the J2SE 5.0 environment.

It's too bad Amazon can't reset the rating for each edition, as the 3rd Edition is quite an improvement. Be sure to check out reviews starting in September 2004, when this book was published.
Comment 32 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
This isn't the best O'Reilly book in the Java series, but it will provide a reasonably good overview of the subject. I wouldn't recommend this book to beginning programmers, because the topic of threading is overly complex for beginners. Look for a general Java book that gives you some simple templates for using threads, if you need them for something. I also wouldn't recommend this for advanced programmers who have special needs in the area of threading. A more advanced book would survey how real JVMs actually perform thread scheduling, comparing them and provide tips for programmers who ned really precise timing or scheduling optimization. Likewise, if you know most of the ins and outs of preventing deadlocks off the top of your head, this book isn't going to teach you very much.
Who this book is good for is experienced programmers who need to understand the ins and outs of making their applications threadsafe. If you don't have much (or any) background in threading or you've forgotten some things, this book will cover the topic thoroughly, and demonstrate common pitfalls. It's ideal for people who need to code up things like database connection pools, complex synchronized-access data structures, and statically-accessed resources. As others have mentioned, some of the examples are kind of synthetic and fake, but the book is still extremely usable, and it's an easy read.
This book is also effective at covering timed and recurring tasks in Java 1.1 and 1.2, though Java 1.3 now has new helper classes (Timer and TimedTask) that this book doesn't cover. Then again, if you understand how to do it in 1.1 and 1.2 (and really, even if you don't), understanding the new 1.3 classes is dead easy.
Comment 26 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
This book is not academic, nor does it offer a very rigorous approach to the subject of Concurrent Programming. This book will not work for everyone. However, I believe it does offer basic, solid threading to many new people for most everyday programming tasks.
Threading is not an incredibly difficult or complex topic. Threading is an advanced programming topic. Solid programming knowledge is prerequiste.
If you already are proficient in writing threaded code in other languages, I would not recommend (buying) this book. Simply reading the interface for Thread and Runnable may suffice. Java's threading support is quite elegant; you shouldn't have major problems figuring things out.
Threading is kind of confusing at first because it involves calling procedures for the sole purpose of timing. That is, a correctly written program will use a set of procedures in such a way that when a call returns, it will be safe to access shared data.
This book is not concise as it could be, but if you are a reasonably experienced and intellegent programmer, you should be able to handle most basic sychronization tasks after reading this book. It is written in style that goes like this:
1. It introduces a problem.
2. It briefly shows a solution a student might suggest.
3. It then explains why this doesn't work.
4. It finally explains the proper solution.
You need to understand why something is correct or not, not only how to do it correctly. Whether or not you like the particular approach used in this book is a matter of personal preference.
After reading this book, I would recommend a good textbook on concurrent programming to further and more rigorously study issues of sychronization, starvation, control, and deadlock.
Comment 20 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
By A Customer on March 22, 1999
Format: Paperback
It not only covers the threads API, it also covers how they work and advanced tricks to using them.

The problem which most of the threading material related to Java I've read in other books has contained errors. "Java Threads" as well as Doug Lea's "Concurrent Programming in Java" are the only accurate books that I know of although their focus is very different. Another good thing about this book is that it has much otherwise hard to find information about how threads actually work in Java.

I highly recommend this book to anytone working with Java threads. I'm sure you will find information in here that you previously didn't know.
Comment 15 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Book provides basic useful information. Other than that, some of the contrived examples and sample classes are bad and wrong. Some of the stuff will not even work. The utility classes like TargetNotify are not useable. It would be better if they had tried to use them in some sample programs.
Comment 19 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Java Threads
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Java Threads