Logo

    Java Pub House

    This podcast talks about how to program in Java; not your tipical system.out.println("Hello world"), but more like real issues, such as O/R setups, threading, getting certain components on the screen or troubleshooting tips and tricks in general. The format is as a podcast so that you can subscribe to it, and then take it with you and listen to it on your way to work (or on your way home), and learn a little bit more (or reinforce what you knew) from it.
    en104 Episodes

    People also ask

    What is the main theme of the podcast?
    Who are some of the popular guests the podcast?
    Were there any controversial topics discussed in the podcast?
    Were any current trending topics addressed in the podcast?
    What popular books were mentioned in the podcast?

    Episodes (104)

    Episode 24. Usability for Engineers. A simple way to achieve usability for the hardcore engineer

    Episode 24. Usability for Engineers. A simple way to achieve usability for the hardcore engineer

    Designers will come to you, and say "Hm, I think your program is not as user-friendly". And sometimes, when you ask them to elaborate, they seem to follow a hidden and cryptic ritual. They are right, yet, is hard to see how did they come up with those usability suggestion. Alas, behind every usability magician, there is a magic trick! and on this podcast we reveal in plain sight what makes interfaces usable (and quote a lot from Alan Cooper's book). Once you see the trick, you would never be daunted on spotting usability yourself, and making things much more usable before passing them on. Usability magic for all of us!

    If you like what you hear, treat me a beer! https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z8V2ZWV93UMW4

    Twitter, twitter, twitter, twitter!(https://twitter.com/#!/fguime)

    The immates are running the asylum (Alan Cooper) http://www.amazon.com/The-Inmates-Are-Running-Asylum/dp/0672316498
    Don't make me think http://www.amazon.com/Dont-Make-Me-Think-Usability/dp/0321344758/ref=sr_1_1?s=books&ie=UTF8&qid=1336346454&sr=1-1

    Vote for us in iTunes (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)

    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)

    Hey! if you like what you hear, treat me a beer! (It's the Java pub house after all :) https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z8V2ZWV93UMW4

    Java Pub House
    enMay 06, 2012

    Episode 23. Who is interrupting me while I sleep in the waiting room? (A talk on wait/notify and interruptedExceptions)

    Episode 23. Who is interrupting me while I sleep in the waiting room? (A talk on wait/notify and interruptedExceptions)

    It always starts when you do your first Thread.sleep(). Why do I have to check for InterruptedException? is it serious? why do I have to catch it? We start with answering these questions and step down the rabbit hole to discover the inner workings of Wait/Notify (and what the IllegalMonitorStateException really means). If you ever have to work with more than one thread (who doesn't nowadays?) take a listen! You'll be notify()ed of your success!

    Twitter, twitter, twitter, twitter!(https://twitter.com/#!/fguime)

    Wait/Notify http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait()
    Concurrency Utilities http://java.sun.com/developer/technicalArticles/J2SE/concurrency/
    Thread description from the JVM Specshttp://docs.oracle.com/javase/specs/jvms/se5.0/html/Threads.doc.html#22488

    Vote for us in iTunes(http://itunes.apple.com/us/podcast/java-pub-house/id467641329)

    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)

    Hey! if you like what you hear, treat me a beer! (It's the Java pub house after all :) https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z8V2ZWV93UMW4

    Java Pub House
    enApril 22, 2012

    Episode 22. Garbage man! An introduction on the finer details Garbage Collection

    Episode 22. Garbage man! An introduction on the finer details Garbage Collection

    Garbage collections are like the engine of a car, we know it works, we know that it powers the car, but not much else, but once it breaks down, we usually don't have a too much of a clue on how to fix it. In this episode we talk about how garbage collections happen, the things it looks for, and more importantly, how it changes your code (there are certain things that you can do to make your code garbage collector friendly). Having this knowledge will help you in the long road on troubleshooting any garbage collection issues (including tuning!), so take a listen to the garbage man!

    There is a new band in town! Lambda Expression. Listen to me, and my one-man band in facebook (www.facebook.com/lambdaexpression). And LIKE! (doesn't cost anything!)

    Hey! if you like what you hear, treat me a beer! (It's the Java pub house after all :) https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z8V2ZWV93UMW4

    Vote for us in iTunes (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
    Follow us in Twitter!https://twitter.com/#!/fguime

    The holy grail of JVM Tuning http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html
    YourKit Java memory profiler http://www.yourkit.com/
    Charlie Hunt Java performance bookhttp://www.amazon.com/Java-Performance-Charlie-Hunt/dp/0137142528

    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)

    Java Pub House
    enApril 08, 2012

    Episode 21. The JVM Crashed...Now what?!

    Episode 21. The JVM Crashed...Now what?!

    So you're programming along when suddenly support calls and says that the application just "disappeared", or, the server process is not there anymore, both of them leaving you with a hprof.pid file. You have just witnessed the murder of a Java Virtual Machine, and now is your turn to figure out what happen, and what can we do to prevent such senseless crashes. We cover the main reasons for crashes (most likely not your fault), and best of all, ways around it! So put on your detective hat and let's solve the mysteries surrounding JVM Crashes once and for all!

    Hey! if you like what you hear, treat me a beer! (It's the Java pub house after all :) https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z8V2ZWV93UMW4

    Vote for us in iTunes (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
    Follow us in Twitter!https://twitter.com/#!/fguime

    Most JVM Options http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
    Troubleshooting tips http://www.oracle.com/technetwork/java/javase/index-137495.html
    -XX:+ShowMessageBoxOnError http://www.oracle.com/technetwork/java/javase/clopts-139448.html#gbmui
    .hotspot_compiler to stop compilation of methods
    More JVM Options (-Xint to disable JIT compiling)

    Java 7 recipes book made it to the Java Magazine!http://www.oraclejavamagazine-digital.com/javamagazine/20120304?pg=3#pg10

    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)

    Java Pub House
    enMarch 23, 2012

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

    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 for (1000*60*60*24 anyone?). In all, if you have used date extensively you probably already migrated to JodaTime, but if you are a casual user, then take a listen, just to make sure you are not bitten by the Date traps!

    Vote for us in iTunes (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
    Follow us in Twitter!https://twitter.com/#!/fguime

    http://joda-time.sourceforge.net/ (Joda Time)
    http://www.wolkje.net/2010/01/06/java-date-and-time-api-and-jsr-310/(New Date JSR + what goes under the covers)

    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)

    Java Pub House
    enMarch 09, 2012

    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 discover there isn't too much to it. If you are persisting and/or transmitting, listen to the shocking conclusion (gasp!) of serialization!

    Rate us in  iTunes (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
    Follow us in Twitter! https://twitter.com/#!/fguime

    http://java.sun.com/developer/technicalArticles/Programming/serialization/ (Serialization/Deserialization)
    http://docs.oracle.com/javase/1.5.0/docs/guide/serialization/spec/version.html#6678 (Compatible/Incompatible serialization changes)
    http://java.sun.com/products/jfc/tsc/articles/persistence4/(XMLEncoder/Decoder)

    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)

    Java Pub House
    enMarch 02, 2012

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

    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)

    Java Pub House
    enFebruary 17, 2012

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

    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)

    Java Pub House
    enFebruary 10, 2012

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

    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)

    Java Pub House
    enFebruary 03, 2012

    Episode 15. Java Swing and Performance. It's not slow!

    Episode 15. Java Swing and Performance. It's not slow!

    Taking the performance theme, we move into the dark corners of Java Swing and discover that it is not a lame horse at all! Swing is very fast (with support for directX and OpenGL!), but sometimes is hard to get it to perform right. In this podcast we talk about how to make sure of respecting the EDT, offloading from the EDT, we explain how the EventQueue works, and show THE technique for fast GUI performance. If you know what Swing is, tune in! We will dispell Swing's performance myths!

    Using Aspects to debug Swing Apps (http://weblogs.java.net/blog/alexfromsun/archive/2006/02/debugging_swing.html)
    Java Flags for DirectX and OpenGL (http://docs.oracle.com/javase/1.5.0/docs/guide/2d/flags.html)
    InvokeLater, InvokeAndWait(http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html)

    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)

    Java Pub House
    enJanuary 27, 2012

    Episode 14. Optimizing for Performance - The tools

    Episode 14. Optimizing for Performance - The tools

    In the second part of optimization, we talk about the tools (or more properly algorithms) that you can use to optimize a piece of code. Ever wonder how to make a piece of code faster? or difference between caching and Divide-and-Conquer? then tune in! You'll become the McGyver of code optimization.

    Fork/Join Java 7 (http://docs.oracle.com/javase/tutorial/essential/concurrency/forkjoin.html)
    Guava (http://code.google.com/p/guava-libraries/)
    Charlie Hunt's book (http://www.amazon.com/Java-Performance-Charlie-Hunt/dp/0137142528)
    OpenCL for Java (http://www.jocl.org/)
    Aparapi(http://developer.amd.com/zones/java/aparapi/Pages/default.aspx)

    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)

    Java Pub House
    enJanuary 20, 2012

    Episode 13. Optimizing for Performance

    Episode 13. Optimizing for Performance

    We all love speed, code speed that is! In this podcast we delve into code optimizations, and what does it mean to optimize for speed. We go over what is the mind-state that you need as you optimize code and offer sneaky shortcuts that allows 10-fold improvement with very little code change (Caching, or pregenerating, or timed-updates). More importantly we go over the process on defining when you have "arrived" at a good optimization point, and hopefully help you optimize what is really important (measuring for performance). If you need to scale up/out and around, listen to this episode!

    If you feel you would like to share your optimization experience, go to https://groups.google.com/group/javapubhouse, and post!

    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)

    Java Pub House
    enJanuary 15, 2012

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

    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 view alway update from the model state. Lastly we talk about where to store view information (such as window size and colors, etc. Hint: not in the model). In all, if you ever needed to touch MVC code, this will help you light the path to awesome interaction! (and ease of unit testing)

    http://googletesting.blogspot.com/2009/02/with-all-sport-drug-scandals-of-late.html(Google reference to the MVP 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)

    Java Pub House
    enJanuary 05, 2012

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

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

    Our new Google Groups
    http://groups.google.com/group/javapubhouse/

    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 Pub House
    enDecember 16, 2011

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

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

    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 it used). In all, if you ever wondered why creating unit tests in your current code is hard, or why are people talking about Dependency Injection (DI), come in, and listen!

    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)

    Java Pub House
    enDecember 09, 2011

    Episode 8. What's your Aspect?

    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 OrderAspect {

    @Before("execution(* *.*(Order))") // must qualify
    public void anyCall() {
    System.out.println("Was called from anywhere");
    }
    }

    Example aop.xml file

              







    Example Folder Structure

    src
    |
    |-META-INF
    |
    |-aop.xml

    References:

    http://www.eclipse.org/aspectj/doc/released/adk15notebook/ataspectj-pcadvice.html

    http://www.eclipse.org/aspectj/doc/next/quick5.pdf

    http://blog.espenberntsen.net/2010/03/20/aspectj-cheat-sheet/

    (Using aspects with annotations)
    http://stackoverflow.com/questions/2011089/aspectj-pointcut-for-all-methods-of-a-class-with-specific-annotation

    Java Pub House
    enNovember 17, 2011

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

    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!

    Java Pub House
    enNovember 11, 2011

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

    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 create memory leaks (most of the time anyways). In all a great introduction to a first pattern (see what they are all about!)

    Java Pub House
    enNovember 06, 2011
    Logo

    © 2024 Podcastworld. All rights reserved

    Stay up to date

    For any inquiries, please email us at hello@podcastworld.io