Episodes

Episode 6. Observing the Observers, a talk about patterns, observer and listeners!

In this week’s podcast we talk about Design Patterns (and the Grand Dads of the Software Patterns, the Gang-of-four), and dive into our first design pattern (of many), the Observer pattern. We discussed how to implemented (within Java), and went to describe its use in Java Swing, and why anonymous inner classes for Listeners doesn’t...

Play Episode

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...

Play Episode

Episode 8. What’s your Aspect?

In this episode we go over Aspects (and AspectJ), what really is, and when to use them. It turns out, that there is nothing misterious about them! We also cover how to set-up Aspects for J2SE so you can start using them immediately! Questions, feedback or comments!comments@javapubhouse.com VM Parameter -javaagent:dep/aspectjweaver.jar Example Aspect @Aspect public class...

Play Episode

Episode 9. It’s the Holidays! Let’s Decorate!

In this episode we talk about the Decorator pattern and how it is applied. We cover a couple of caveats (especially when combined with the Observer pattern) and learn how to not be afraid of its verboseness. In all, it’s the season of decorating, so let’s decorate! Questions, feedback or comments!comments@javapubhouse.com Subscribe to our podcast!...

Play Episode

Episode 10. Testing, Testing, 1.2.3! (All about Unit Testing, And Dependency Injection)

For those Unit Testers out there (and those who want to do more unit tests), this podcast is for you! We cover JUnit in general, and explain how to shoe-in unit tests in current (and legacy code). We talked about Dependency Injection (and the Concern of Creation), and Mocking (what it is, and how is...

Play Episode

Episode 11. New Year’s Resolution: Object Thread Safety! + Listener feedback, and the birth of a Google Group!

In this podcast we air our first question/feedback from our listener and dive a little into it (related to Dependency Injection). We also talk about how to create Thread Safe objects (There is the easy way, and the hard way). And at last! we have a Google group where you can add/post comments and open...

Play Episode