Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread book

 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Miklos Szeles
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need Java Concurrency in Practice.
http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601
 
K. Tsang
Bartender
Posts: 3524
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Adam Michalik
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
+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
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a very good book; there's also Oaks/Wong: Java Threads.
 
Ashu Sharma
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic