• Post Reply Bookmark Topic Watch Topic
  • New Topic

need a GOOD book on threads

 
Eric Edwards
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am teaching myself Java. I haven't had any major problems until I got to threads.
The book I am using has 3 exercises at the end of the chapter on threads. I did the first two without too much problem, but the third one has got me stumped.
Is it possible to get a recommendation on a GOOD book on Threads, so I can maybe get this figured out. I really want to learn this.
Thanks,
Eric
 
Ken Blair
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A lot of books out there do little more than regurgitate the API. This one doesn't. It's a good book, both for learning the API and for learning the methodology. There's also a couple of good articles on the concurrency package that was added in 5.0 over at Developer Works that you might find helpful.
 
Eric Edwards
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the info.
I will check out that book for sure.
Eric
 
Scott Selikoff
author
Bartender
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like the chapter on threads in "Sun Certified Programmer & Developer for Java 2 Study Guide" by Sierra and Bates for an introduction to threading.

I don't recommend it if you all ready know threads and are going to spend the next year building a huge multi-threading application, but if you want a strong foundation for the basics, as well as other java concepts, its a good read.

It teaches you the two basic ways to create threads, implement the Runable interface or extend the Thread class, and provides some good background on them.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would also highly recommend the Threading section of Effective Java. It's a good concentrated antidote for the most common problems people have with threads. Plus you get the rest of the book too, which is excellent for other stuff.
 
Eric Edwards
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to all!
With those books I should be on the way.
I can see how threads are a powerful tool in Java.
Eric
 
Ken Blair
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If books like Effective Java were required reading for students the world would be a better place.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!