Thursday, November 10, 2011

Episode 7. Threads, Priorities, and Swing's Golden Rule

In this episode we talk about Threads and Threading, the difference between Daemon and User Threads, and why changing priorities is not for the weak of heart. Also we cover Swing's golden Threading rule (with the Event Dispatching Thread). If you ever typed new Thread(), or if you heard to be careful about Swing and Threading, this episode is for you!


  1. Hi - great episodes. Keep up the good work. I have not worked in concurrent programming since college days, so this is a great reminder of some of these principles, plus lots of really useful practical suggestions.

    Could you perhaps put a link to each episode in the shownotes - an email would be good so people with smartphones can press the link and give you immediate feedback.

    On topics - Aspects would be interesting. How about a bit more on the basics - I.e basic locking / sleeping etc. - does java use monitors / semaphores etc. or is that Old Skool?! Finally, could you cover the Actor model? Pros and Cons, available for frameworks etc. This really is a great springboard for learning, so as I said - keep up the good work - it is really appreciated.

    Oh - and one suggestion. As this seems like more of a tutorial podcast, why not ask people if they would like to talk to you on Skype and ask questions - maybe even just pick one person and they can ask you for clarifications where necessary - which listeners may be wondering about themselves. It also breaks things up a bit and makes it feel more participatory and engaging - even for listeners not involved. If you want to get more episodes behind you before tackling anything like that, then that's fine. The delivery is great, and your passion for sharing knowledge comes across well, so that's great in itself.

    Again, keep up the good work. You are now a permanent fixture on my Android phone!

    All the best


  2. Thanks for the great comment! it's definitively nice to see that the podcast is being well received (and challenges me to always make the best effort on each episode). Definitively, I'm going to start looking at ways of incorporating an email for feedback/questions in the shownotes. It is a concidence that for Episode seven I was either thinking Threads or Aspects, will definitively do aspects for next week.

    Thanks for the comments!


  3. Hello Freddy,

    Wonderful podcast. I heard of your blog from the Java Posse podcast. I have been programming for over 20 years but I am new to java. The amount of detail you cover is fantastic. It helps to "light the path ahead" as I learn java.

    I look forward to each episode and thank you for sharing your knowledge with us.

  4. Ted, thanks for the encouraging comment!