File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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.

Thanks.


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.
http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 1966
    
    7

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/OCM-JD OCPJP7
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
Marshal

Joined: Mar 22, 2005
Posts: 39551
    
  27
It is a very good book; there's also Oaks/Wong: Java Threads.


Ping & DNS - updated with new look and Ping home screen widget
Ashu Sharma
Ranch Hand

Joined: Apr 03, 2001
Posts: 53
Miklos Szeles wrote:I think you need Java Concurrency in Practice.
http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601


This is really good book
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thread book
 
Similar Threads
WAS 4.0.7 migration to WAS 5.1.1.3
Stopped threads waiting on DriverManager.getConnection()
Threads 002
Thread
Threads 003: Server-Side Strategies