Java Themes for Beginners
I was trying to explain Java threads to a colleague who has never been exposed to multithreading, but apparently I'm not a very good teacher.
Can anyone recommend a good online or offline resource that can explain flows in a simple, step by step way? I know this is a tricky topic, but surely there is an article, book, or other explanation that can lead to "Aha! I finally got it!" moment.
a source to share
besides the official sun guide you can check them out
http://www.devshed.com/c/a/Java/The-Basics-of-Multiple-Threads-in-Java/
http://www.javabeginner.com/learn-java/java-threads-tutorial
a source to share
Here's an old but good one, got me Aha, I get an effect
http://www.javaworld.com/javaworld/jw-04-1996/jw-04-threads.html
a source to share
If you are using Swing check out SwingWorker as well:
http://java.sun.com/docs/books/tutorial/uiswing/concurrency/worker.html
a source to share