Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Taming Java Threads
 
 

Taming Java Threads [Paperback]

Allen Holub
4.3 out of 5 stars  See all reviews (11 customer reviews)
List Price: CDN$ 38.50
Price: CDN$ 25.93 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 12.57 (33%)
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
In Stock.
Ships from and sold by Amazon.ca. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want it delivered Wednesday, May 30? Choose One-Day Shipping at checkout.

Product Details


Product Description

Book Description

Learning how to write multithreaded applications is the key to taking full advantage of the Java platform. In Taming Java Threads, well-known columnist and Java expert Allen Holub provides Java programmers with the information they need to write real multithreaded programsprograms with real code. Holub provides an in-depth explanation of how threads work along with information about how to solve common problems such as deadlocks and race conditions. He not only explains common problems, but also provides the uncommon solutions that mark the difference between production-level code and toy demos.

Topics covered in this book include the architecture of threads; the mutex and lock management; condition variables and counting semaphores; timers, alarms, and swing thread safety; observers and multicasters; singletons, critical sessions, and reader/writer locks; threads in an object-oriented world; and object-oriented threading architectures.

While it is essential to build support for threading into a Java program from the very beginning, most books on the subjects of Java-UI construction and Java networking barely touch on threading topics. Along with being a basic Java reference, this book is a must-read for any Java developer.

From the Author

Allen Holub is a design consultant, programmer, educator and author specializing in Object-Oriented Design, Java, C++, and systems programming. A recognized authority in Java programming, he has worked in the computer field since 1979 and was an early adopter of Java - programming in it since 1995. At the time of this publication, Holub is a contributing editor for JavaWorld, and he is a popular columnist appearing in many computer magazines including: Dr. Dobb's Journal, Microsoft Systems Journal, Programmers Journal, BYTE, Windows Tech Journal, Mac Tech Journal, and C Gazette.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

 

Customer Reviews

11 Reviews
5 star:
 (6)
4 star:
 (3)
3 star:
 (1)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (11 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most helpful customer reviews

1 of 1 people found the following review helpful
3.0 out of 5 stars Assumes you know about threads already, Dec 1 2003
By A Customer
This review is from: Taming Java Threads (Paperback)
What it is: a brief introduction to threads, and then a lot of strategies for re-implementing some of the thread-related classes that Sun provides (or fails to provide). If you are running up against the limitations of Sun's thread-related code and want to re-implement some of it, this book might be just what you're looking for. If you want to learn a lot about threads and how to use them correctly, another book might be better.

What I liked: I found the writing to be relatively clear and concise. I didn't like much else about the book, but that's probably because I was really looking for a different type of book.

What I didn't like: the author spends a lot of time complaining about things, some relating to threading and some not. I really don't care about the author's opinion of whether Sun should have made the default access for a method to be "package". The author comes across as a whiner because of all this complaining. Also, a big chunk of the book is taken up by copyright notices he sprinkles throughout his code. Finally, he doesn't use Sun's code style conventions. There is a reason Sun created these conventions: it's so all Java code would look similar and the reader doesn't get slowed down by an unfamiliar format. It doesn't matter so much for private code, but for publishing code in a book, there's no excuse for using a different style. (And of course the author wastes a few paragraphs complaining about Sun's code style too.)

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


4.0 out of 5 stars Read Another Thread Book First, Oct 1 2003
By 
This review is from: Taming Java Threads (Paperback)
This is an in depth detailed book. It is packed with insights and the nitty gritty you cannot find in most places. However, unless you have already studied threads and worked with them, the explanations can sometimes miss the mark. Early in the book an example of a Simple_notifying_queue is explained well, but quickly transforms into a discussion of the nuances of wait(). I was still hanging in until the next class, to help solve the wait() problem was difficult to follow. I finally realized he was using an anonymous inner class as a method parameter which implemented an interface and required variables in the method to be marked final in order to be able to use them. Ok, that was a good refresher, but why complicate threads with a first example using esoteric features of Java, negative logic for a conditional test that is suppose to return true, and all this after a discussion of thread priorities and process priorities and how bad NT is. If Java only has 10 priorities and NT has 7, they both sound a little weak compared to Solaris. But when you don't yet know threads, it is a discussion that leaves one baffled. I think you have to build slow, picking up steam as you lay a foundation. This book starts off addressing fellow thread experts. I do have to rate it high for the detail and depth, I only say it is not the first book you should read on threads. You have to already be accomplished to get it. Keep your level of understanding of threads in mind when purchasing and save this one after some decent exposure.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5.0 out of 5 stars THE BEST Java/Thread book, Dec 20 2001
By 
Vinit Carpenter "j2eegeek.com/blog" (Brookfield, WI USA) - See all my reviews
(REAL NAME)   
This review is from: Taming Java Threads (Paperback)
Taming Java Threads by Allen Holub is THE best book dealing with Java and threads. Typically you can just pick any O'Reilly book for any subject matter and just assume it is going to be one of the best books out there. That is not the case here - Allen has written a very comprehensive book on threads in Java and covering issues related to multithreaded programming not covered anywhere else.

Unlike a lot of people, I got exposed to Allen's writings via. his JavaWorld articles on Threading. That 9 part article offered a great treatment on Java threads and probably was a basis for this book. But the book is far more comprehensive and offers a great understanding of the basics of threads, and how to work with them correctly. This book is very extensive touching on every aspect of multithreading programming including AWT and Swing. This book is a must for anyone programming multithreaded applications in Java.

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
Want to see more reviews on this item?
 Go to Amazon.com to see all 15 reviews  3.7 out of 5 stars 
 
 
Most recent customer reviews









Only search this product's reviews



Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges