• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Master Rancher
Posts: 4806
72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic