Episodes: Beginner

Episode 20. Excuse me, do you know what Date it is, or what Date is? A discussion about Date and Calendar in Java

In this podcast we turn and talk of that embarassing uncle that every API has (java.util.date), you know, the one that you have to live with because is family, but don’t really like that much? We dive into what to avoid when using Date (and Calendar), and the most common pitfalls that we have falled...

More Info

Episode 19. But Wait, there’s more! SerialVersionUID! XMLEncoder/Decoder! Java Beans!

Episode 19. But Wait, there’s more! SerialVersionUID! XMLEncoder/Decoder! Java Beans! We finish our discussion on the ObjectOutputStream by covering the SerialVersionUID, and then move onto ObjectOutputStream’s citadine cousin, XMLEncoder and Decoder (and why would you go and hang out with it). We also make a quick introduction to “The Bean” (Java Beans that is), and...

More Info

Episode 18. Ahh, the perils of Serialization and Deserialization in Java

We all have the need to serialize/deserialize objects (either through the “wire” or to file). In this podcast we go and analyze what exactly happens when we create an ObjectOutputStream and write to it, and more importantly what pitfalls are there to avoid (Out ot memory errors, stale object updates, Not Serializable Exceptions, and toenail...

More Info

Episode 17. What is beauty? A discussion about beautiful code

Every developer at one point in time runs into the question, what is beautiful code? Is it code that is expressed concisely? is it code that does a lot in a few lines of code. Well, while we’re not the DeveloperPeople’s magazine at least there are fundamental concepts that describe code beauty. And while there...

More Info

Episode 16. Let’s talk about the STATE of things. A brief intro to the State pattern

The State pattern is very useful, it’s just hard to spot, and at the beginning a little hard to understand. On this podcast we cover the state pattern with a specific example of its use, plus tips on how to spot when to use it (really that’s the hardest part of the state pattern). Check...

More Info

Episode 12. Giving the Model a Controlling View (The Model-View-Controller pattern)

In this podcast we talk about the Model-View-Controller pattern (and is prettier cousin, the Model-View-Presenter), and go over how to go about implementing the MVC/MVP Pattern (really, what to instantiate first, and how to wire the whole thing). We also cover the caveats of implementing the MVC, including escaped references in construction, and making the...

More Info

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

More Info

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

More Info

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

More Info

Episode 5. Producing and Consuming, ThreadPoolExecutor, and Latency vs Throughput

In this podcast we dive into the age-old producer and consumer problem, talked about the different aspects of it (what does it really solve?), and explain the difference between throughput vs latency. Lastly we discuss the ThreadPoolExecutor and how to fine tune it for your particular project needs!  

More Info

Episode 4: List, Set, Maps, HashCode, Equals and ConcurrentMap! Everything to know about Collections!

In this episode we describe the most used collections in the Java framework, and how can they help you out. We also talk about maps (and the importance of immutable keys), and the equals/hashcode contract (why are these anyways? :). Finally we discuss how to safely access these collections/maps from different threads (and cover the...

More Info