aspose file tools*
The moose likes Threads and Synchronization and the fly likes What's your BEST learning resource on Java (multi)threading / Concurrency? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "What Watch "What New topic
Author

What's your BEST learning resource on Java (multi)threading / Concurrency?

Ronald Vermeij
Ranch Hand

Joined: Sep 05, 2009
Posts: 37
Goodmorning Java enthausiasts
I am studying for my SJCA certificate, and I am looking for far better educational learning resources on Java Multithreading / Concurrency that the stuff from the Sun Microsystems website @ http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html

Most of the (online avialable) 'educational" material jump DEEP right into the matter, without covering the simple thread basics first with crystal clear examples + graphics ! Most (not all) authors assume that you already have knowledge about threads. This assumption from the writers side makes it hard (for me) to grasp the concept of thread from the group up :-(

What am i looking for?
The educational material i am looking for is CRYSTAL CLEAR on the basics of Threads like:
- What is a Thread( the complete object)? / What is a Runnable(interface)?
- When do I use a Thread, when do I use a Runnable interface? and why?
- When to use Threads (and when not)?
- COMPLETE code examples (and not fragments only) on
-- how to create, kill a thread
-- how to start, pause/sleep, stop terminate a thread
-- how one thread can exchange data with another thread
So...the very but al so essential thread basics...


Question to you all
Which resources (websites, books, course, tutorials) have you use to learn Java Multi threading / Concurrency??

Thanks for sharing your hints, tips and tricks
Ronald
Steven Rodeo
Ranch Hand

Joined: Mar 06, 2008
Posts: 72

By far the best book on concurrency is : Concurrency in Practice ( Brian Goetz ). But for SCJP it might be an over kill.

Also you can look up Brian Goetz articles, specifically IBM

HTH
-SM
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 3018
    
  10
Java Concurrency in Practice is great. However it's a short, focused book that assumes you've already got a good grasp of thread essentials, and takes you further through the things that not many people understand well. In contrast, another excellent book is Java Threads by Scott Oaks and Henry Wong. I don't know this Scott Oaks guy, but I know Henry really knows his stuff. This book is bigger, and wider in scope. It includes much better introductory material if you don't already have a good grasp of the essentials. And I believe it has more code examples along the way. I don't really know how much detail it gets into on the really advanced stuff - I haven't read all of it. Nowadays Java Concurrency in Practice seems to get most of the attention, and I suspect it may be better for really advanced stuff. But from the original post in this thread, I suspect Java Threads may be a better fit.
chaitanya yavvari
Greenhorn

Joined: Jun 29, 2010
Posts: 2
I believe if you try to solve some actual problem involving threads, and thread communication you will learn more and lasting knowledge.
For a good quick thorough overview of threads I find the chapter on Threads in SCJP book by Kathy Sierra to be good.
Good Luck!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What's your BEST learning resource on Java (multi)threading / Concurrency?