Month: February 2012

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 fungus!). If you ever considered using ObjectOutput/InputStream, or are actively using in your current projects, take a listen!

https://github.com/eishay/jvm-serializers/wiki/ (Serialization performance comparison for Java, pick one!)

Questions, feedback or comments!comments@javapubhouse.com

Subscribe to our podcast! (http://javapubhouse.libsyn.com/rss)
ITunes link (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
Java 7 Recipes book! (http://www.amazon.com/gp/product/1430240563/ref=as_li_ss_il?ie=UTF8&tag=meq-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430240563)

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 isn’t a consensus (what is beauty anyways), at least there is a baseline for code that is not ugly (hint. It’s maintainable). At least a conversation starter, this podcast covers the very minimum that code has to be to not be ugly!

 

 

Questions, feedback or comments!comments@javapubhouse.com
Subscribe to our podcast! (http://javapubhouse.libsyn.com/rss)
ITunes link (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
Java 7 Recipes book! (http://www.amazon.com/Java-7-Recipes-Problem-Solution-Approach/dp/1430240563)

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 this podcast out, and add another pattern to your toolkit!

 

 

State Pattern (http://en.wikipedia.org/wiki/State_pattern)

 

Questions, feedback or comments!comments@javapubhouse.com
Subscribe to our podcast! (http://javapubhouse.libsyn.com/rss)
ITunes link (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
Java 7 Recipes book! (http://www.amazon.com/Java-7-Recipes-Problem-Solution-Approach/dp/1430240563)