my dog learned polymorphism
The moose likes Threads and Synchronization and the fly likes Thread book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Thread book" Watch "Thread book" New topic

Thread book

Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Hi All,

I am maintaining a desktop application that is multi threaded. It has lots of threads running on the background
and access some shared resource(objects).

Often times I encounter issues related to sychronization and I find it hard to debug a multi threaded application
especially I dont encounter issues when I am testing but the problem arises when it is in production run.

I have gone through the Java Sun tutorial and I think I got myself the basics. But I am making myself a favor
by buying a book that I could read so that I could understand what is happening in my application and hopefully
change something.. for the better.

I can only manage to purchase one book. Can you share with me a good book that does not assume that you are
already adept at using threads and would teach you from ground up?

I have read several free resource that Javas implementation of threads might be confusing so a good design is a must.


Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
Miklos Szeles
Ranch Hand

Joined: Oct 21, 2008
Posts: 142
I think you need Java Concurrency in Practice.
K. Tsang

Joined: Sep 13, 2007
Posts: 3042

Miklos is right, this book is great. I'm reading it now (just started a few days ago) even though my so-called multi-threading/concurrency issue is solved.

K. Tsang JavaRanch SCJP5 SCJD OCPJP7 OCPWCD5 OCPBCD5 OCPWSD5 OCMJEA5 part 1 part 2/3
Adam Michalik
Ranch Hand

Joined: Feb 18, 2008
Posts: 128
+1 from me for that book. It goes deep in each concurrency topic I can imagine. And it's easy to read and to understand
Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Hi Guyz,

Thanks a lot. I already asked my cousin abroad to buy me 1 copy.

I've seen some good reviews from amazon and from the bartenders here also

so I think this is the best book investment to buy.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
It is a very good book; there's also Oaks/Wong: Java Threads.
Ashu Sharma
Ranch Hand

Joined: Apr 03, 2001
Posts: 53
Miklos Szeles wrote:I think you need Java Concurrency in Practice.

This is really good book
I agree. Here's the link:
subject: Thread book
It's not a secret anymore!