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 43. Don't cross the Streams (Streams in Java 8)

    Episode 43. Don't cross the Streams (Streams in Java 8)

    So now we deep dive into what the "Real" advantages of Java 8 are :). The lambdas were just a head-fake (to quote Randy Pausch), the real meat is all the support that was brought because of lambdas, most importantly Streams. Streams are now pervasive in Java 8, and thanks to the way it was implemented is mostly backwards compatible! Oh boy, take a listen to start really tapping into the power of Lambdas and Java 8!

    Follow us! @fguime , and @bobpaulin

    Help us pay for bandwidth! (Or a beer!)

     

     

    Questions, feedback or comments! (comments@javapubhouse.com)

    Subscribe to our podcast!

     

    Java Pub House
    enMay 09, 2014

    Episode 42. Oh Lambda, Lambda, Lambda (no Omega Muu)

    Episode 42. Oh Lambda, Lambda, Lambda (no Omega Muu)

    Lambdas... You have heard about it, it's like those celebrities that are everywhere (Tom Selleck). Well, is time to go and actually meet the great start. In this episode, me (Freddy) and Bob go deep into Lambdas, what they really are (are they magical?) and why would you want to use them. So Join in and let's listen to the most awaited feature of Java 8!

    (And yes, the title is a reference to the "Revenge of the Nerds", how appropiate isn't it :)

    Oracle Lambda Tutorial

    Java Pub House
    enApril 25, 2014

    Episode 41. Ah, Java 8 (and what it brings) + Streams and OSGI

    Episode 41. Ah, Java 8 (and what it brings) + Streams and OSGI

    And we are ramping up again! This is an exciting time to be developing in Java. With the advent of Java 8, lambdas, streams, Jigzaw and the Internet of Things, we are coming back big! In this episode we introduce our co-host Bob Paulin, and offer a glimpse of Java 8, Jigsaw, Streams, and OSGI Standard.

    Follow
    Me
    on
    Twitter! (@fguime)

    And @Bobpaulin

     

    Ah, beer, it's April, and we just finished taxes ($!)

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


    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 19, 2014

    Episode 40. Don't you hate when static gives you an unexpected jolt? (Discussion on static methods,classes, and inner classes)

    Episode 40. Don't you hate when static gives you an unexpected jolt? (Discussion on static methods,classes, and inner classes)

    So you have programmed for a while, and may even never realized that you have been using them, but there are static methods (which in turn can create static classes), inner classes and static inner classes. Sometimes is hard to understand why or when to use these, but never fear! After listening to this episode you will never get an unexpected static surprise!


    Follow
    Me
    on
    Twitter! (@fguime) (thanks!)

    It's now cold, oh, how I wish for a beer? (Have any?) beer...beer...beeeeeer.....:)

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


    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& amp;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
    enNovember 19, 2013

    Oh My Gosh, is that Arun Gupta, Bruno Souza, Danno Ferrin, Hanz Dockter, Charles Nutter and Yoav Landman? Session Previews (and reviews) from JavaOne

    Oh My Gosh, is that Arun Gupta, Bruno Souza, Danno Ferrin, Hanz Dockter, Charles Nutter and Yoav Landman? Session Previews (and reviews) from JavaOne

    So, here's the deal, I went down from Chicago to JavaOne 2013, and took Bob Paulin along. There are sooo many sessions and such great content that it was really hard to know when to start. So we decided to do something cool! We set-up shop in the heart of JavaOne and grab unsuspecting speakers and ask them to spare a couple of minutes to tell us about their sessions (all awesomeness!). 

    And the good news is that Oracle will make all of the presentations referred in this talk (and much more) available for everyone! Take a listen and prepare to be amazed by the awesome presenters of JavaOne.

     - Arun Gupta (@arungupta)

     - Bruno Souza (@brjavaman)

     - Danno Ferrin (@shemnon)

     - Hanz Dockter (@gradleware)

     - Charles Nutter (@headius)

     - Yoav Landman (@yoavlandman)

    Java Pub House
    enSeptember 26, 2013

    Episode 39. Do I really have to database it?

    Episode 39. Do I really have to database it?

    It happens all the time, you are working and suddenly you need to database an object. And maybe you have a fancy O/R Mapper or something like that, but we seldomly ask 'do we really need this in a relational format?'. There are actual alternatives (from byte serialization to xml, to, oh, my, NoSql databases). Here we explore the reasons why you may want to skip the Object Relational mapping and concentrate more on ease of development!

    Follow
    Me
    on
    Twitter! (@fguime)(thanks!)

     

    Hey it's Freaking HOT outside! beer...beer...beeeeeer.....:)


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


    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
    enJuly 18, 2013

    Episode 38. Hyperthreading, L1/L2 caching, cache busting, thread trashing, and priority bumping!

    Episode 38. Hyperthreading, L1/L2 caching, cache busting, thread trashing, and priority bumping!

    So we hear about HyperThreading and how it is sooo cool, well, it is and it isn't. If you are really trying to squeeze performance out of your application HyperThreading might not be what you're looking for. There are so many other things that happens at the CPU level that have so weird names (like Thread Thrashing, 'say whaaaat?'). If you are really serious on squeezing every worthy CPU cycle of your app (or if you're interesting on what really really goes under the hood) take a listen! (ah! and treat me a beer, if you like what you hear!)

    Follow
    Me
    on
    Twitter! (@fguime)(thanks!)

     

    Hey it's ALMOST SUMMER! and I would love to get a beer :)


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


    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 15, 2013

    Episode 37. Of Bits and Masks and Bytes and Trees and Games

    Episode 37. Of Bits and Masks and Bytes and Trees and Games

    Have you ever wonder how bit masking work (or what is that?) and why do you need it? Or why a tree structure exists? (or what is breadth first vs depth first), or what are game trees? We put our Computer Science hat and go "depth first" in some fundamental compsci concepts, and, more importantly their utility, ending with Game trees (and they are not only used for games)!

    Follow
    Me
    on
    Twitter! (@fguime)(thanks!)

     

    Hey it's SPRING! and I would love to get a beer :)


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


    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 12, 2013

    Episode 36. An Intro to Multithreading Programming

    Episode 36. An Intro to Multithreading Programming

    This is a presentation I did for the Chicago Java Users Group on the topic of multithreading. There are some solid foundations in here to start tackling multithreading programming. Some of it might've been already been seen in depth from our other episodes, but in all, it has good foundations for anyone that does multithreading programming.

    Follow
    Me
    on
    Twitter! (@fguime)(thanks!)

    Hey it's winter (and not too many reasons to be outside, so might as well stay home and drink a few!) If you like what you hear, treat me a beer ! :) (It's the Java pub house after all :) 

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


    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)

    Java Pub House
    enMarch 03, 2013

    Episode 35. Recursion, Doubles and Strings (A little for everyone!)

    Episode 35. Recursion, Doubles and Strings (A little for everyone!)

    You remember recursion right? that ugly, confusing thing they made you do either on CS-300, or at job interviews. Have you ever wondered how to make it safe and right? and why do we really use recursion? In this episode we go into proper recursion programming (and lose the fear of making it wrong), and understand why stacks get filled with it, and what problems do they really solve (answer, not many).

    In addition we talk about the nature of Double objects, vs double the primitive (And why it is so hard to do == comparisons in doubles), plus some little known things about Strings (like interning). In all it has a little bit for everyone, so take a listen!

    Follow
    Me
    on
    Twitter! (@fguime)(thanks!)

    And if you like what you hear, treat me a beer!

     

    Hey it's winter (and not too many reasons to be outside, so might as well stay home and drink a few!) If you like what you hear, treat me a beer ! :) (It's the Java pub house after all :)



    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
    enFebruary 02, 2013

    Episode 34. New Year's (2013) Resolution! Less bugs and more coverage!

    Episode 34. New Year's (2013) Resolution! Less bugs and more coverage!

    Episode 34. New Year's (2013) Resolution! Less bugs and more coverage! ----

    Ok, so we all celebrated (but may not remember) the end of the old year and the beginning of a new year! This is a time for starting new things, and trying to be a little better. How about starting by looking at our code and squish some bugs! By using findbugs we can easily test for the 'duh' (and some not so duh) bugs quickly by looking and automatically analyzing our code. After adding Findbugs, we can then add Emma, which will look and measure our unit test code coverage (if you are into such a thing). These two tools are like the Richard Simmons that let us lose the unwanted bug weight in this new year!

    If you just joined us, remember to follow me on Twitter! (@fguime)

    Beer of the Episode: Anchor Brewing's Liberty Ale

    |~|P |~|P |~|P |~|P |~|P |~|P |~|P Anchor Brewing's Liberty Ale
    |_|  |_|  |_|  |_|  |_|  |_|  |_|

     

    Hey it's winter (and not too many reasons to be outside, so might as well stay home and drink a few!) If you like what you hear, treat me a beer ! :) (It's the Java pub house after all :)


    |~|P |~|P |~|P |~|P |~|P |~|P |~|P Anchor Brewing's Liberty Ale
    |_|  |_|  |_|  |_|  |_|  |_|  |_|


    Tweet, Tweet! (https://twitter.com/#!/fguime)
    Findbugs
    Findbugs Ant (check out the excludeFilter attribute to include/exclude stuff
    Emma
    Emma User's Guide (2.3 is what we discussed in the podcast!)

    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
    enJanuary 14, 2013

    Episode 33. Does code dream when it hibernates? A quick look on the big things of Hibernate

    Episode 33. Does code dream when it hibernates? A quick look on the big things of Hibernate

    Episode 33. Does code dream when it hibernates? A quick look on the big things of Hibernate ----

    Databases have been around forever! (or at least from the 1970s) and there are many things that try to hook Object Objected Programming with Relational Databases (namely, O/R mappers). Hibernate is the most known O/R mapper and, while effective sometimes it can be confusing. In this podcast we delve on how to understand our misunderstood friend, and finally fix those pesky weird Hibernate exceptions once and for all!

    If you just joined us, remember to follow me on Twitter! (@fguime)

    and, well, it is Xmas! if you feel generous, and like what you hear, treat me a beer!



    Tweet, Tweet! (https://twitter.com/#!/fguime)
    Hibernate Mappings (Annotations)
    Hibernate Mappings (Annotation Cheat Sheet)
    Hibernate Mappings (on hbm)
    Database Normalization
    Database Normalization

    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
    enDecember 03, 2012

    Episode 32. Java 6 is sooooo Last Year. A guide on the features and how-to migrate to Java 7

    Episode 32. Java 6 is sooooo Last Year. A guide on the features and how-to migrate to Java 7


    Shout out to the Chicago Java User's Group! Glad to be part of the Board!

    And Shout out to Peter Hendriks and Tim Prijn for their presentation!(https://oracleus.activeevents.com/connect/sessionDetail.ww?SESSION_ID=4153). If interested, click on the 'media' icon on the right side!

    With the establishment of Java 7 as the de-facto JRE of Oracle, the clock is ticking down for Java 6! It will be End-Of-Life around February 2013, so we better get going and upgrade! In this episode we cover how to migrate to Java 7, and cover some of the most notable Java 7 features (Networking nuts, your prayers have been answered!) while preparing a path to upgrade. If you have a Java 6 (or 5 or 4) project, this is mandatory listening!

    If you just joined us, remember to follow me on Twitter! (@fguime)

    and IF you really really really really really really really really really really really really really REALLY like what you hear, treat me a beer!




    Tweet, Tweet! (https://twitter.com/#!/fguime)
    Java 7 Features
    Compatibility issues (At least glance at this section!)
    Oracle session: CON4153 - Migrating Real-World Million-Line Code Bases to Java 7: Lessons Learned

    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
    enOctober 28, 2012

    Episode 31. Know your bounds! Generic bounds that is (a story that extends super!)

    Episode 31. Know your bounds! Generic bounds that is (a story that extends super!)


    Big shout-out to everyone I met at JavaOne (including some avid podcast listeners!). Thanks for listening and for a great time down at JavaOne! Don't worry, we will be sharing all the stuff I learned on new episodes of the podcast.

    It is also our Birthday (We have been airing episodes for a year!)! Happy to celebrate with everyone a year of the podcast (and if you want to celebrate it, treat me a beer! :) ).

    With this episode we wrap the concept of generics and bounds (super / extends) and talk about type erasure (and compiler warnings that goes 'Hm, dunno what you're doing but I can't make sure it's right'

    And, that...is that!

    If you just joined us, remember to follow me on Twitter! (@fguime)

    and IF you like what you hear, treat me a beer!

    Beer of the Episode: Still hung-over from JavaOne's big concert (Go Pearl Jam!)


    Tweet, Tweet! (https://twitter.com/#!/fguime)
    Oracle Java Generics (what we're following on this podcast) http://docs.oracle.com/javase/tutorial/java/generics/
    Dr Venkat presentation on Generics (Click on the "Media" at the right side for the presentation, a great presentation
    Agile Developer (Dr Venkat's Must-check website and blog
    Angelika Langer FAQ on Generics

    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
    enOctober 11, 2012

    Episode 30. I always thought Generics were as good as brand name Erasers (Java Generics part 1)

    Episode 30. I always thought Generics were as good as brand name Erasers (Java Generics part 1)

    Episode 30. I always thought Generics were as good as brand name Erasers (Java Generics part 1) ----
    Hi there! Finally back on a (hopefully) standard schedule. I have been moving a house with three kids, two cats, one wife, one dog, and one grandma (they are heavy!, just kidding!) and just found the box with the podcast equipment! we hit the ground running with Generics. What are the benefits (and potential pitfalls) of Generics? Why do we even need them at all? The syntax looks pretty confusing, but with some Jedi Mind tricks one can actually start seeing how they work. If you use Generics (Almost everyone does :)) you should take a listen!

    Ah! and if you are going to JavaOne check my t-shirt on the previous post

    And if you just joined us, remember to follow me on Twitter! (@fguime)

    Also, we are getting close to our first

    BIRTHDAY!

    If you have followed us all year long, or just recently join us, and like what you hear, treat me a beer!

    Beer of the Episode: No beer, just coffee (it's hard to move a whole house



    Tweet, Tweet! (https://twitter.com/#!/fguime)
    Oracle Java Generics (what we're following on this podcast) http://docs.oracle.com/javase/tutorial/java/generics/

    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
    enSeptember 14, 2012

    Episode 29. Scope (or how far away can you call), Inheritance, marker interfaces, and overrides!

    Episode 29. Scope (or how far away can you call), Inheritance, marker interfaces, and overrides!

    We go and visit the Primordial Java Concepts. As rules set in stone we explore the concept of multiple inheritance, method and variable scope (including the final keyword), abstract methods and @override. This is good for those starting up their Mad Java SkillZ (We're L33T, u K|\|0w?), or for those who were always curious why the language is this way.

    And if you like the podcast, subscribe to my Twitter Feed! http://www.twitter.com/fguime

    Beer of the Episode: Leinenkugel's Sunset Wheat
    |~|P |~|P |~|P |~|P |~|P |~|P |~|P Leinenkugel's Sunset Wheat
    |_|  |_|  |_|  |_|  |_|  |_|  |_|

     

    It's THE END OF SUMMER! If you like what you hear, DEFINITIVELY, 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
    |~|P |~|P |~|P |~|P |~|P |~|P |~|P Leinenkugel's Sunset Wheat
    |_|  |_|  |_|  |_|  |_|  |_|  |_|

     

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

    Scopeshttp://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html

    Override annotationhttp://stackoverflow.com/questions/94361/when-do-you-use-javas-override-annotation-and-why

    Abstract Methods and Classeshttp://docs.oracle.com/javase/tutorial/java/IandI/abstract.html

    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
    enAugust 21, 2012

    Episode 28. Extra! Extra! JMS Delivering Messages to your App! Extra! Extra!

    Episode 28. Extra! Extra! JMS Delivering Messages to your App! Extra! Extra!

    Episode 28. Extra! Extra! JMS Delivering Messages to your App! Extra! Extra! ----

    Java Message Service (or JMS for short) is a collection of APIs and implementations that allows you to send "messages" across your applcation. But why is it so popular?, and what exactly is it trying to solve (what is a message anyways)? In this episode, we take our bycicle, and trace the delivery route of JMS to figure out the good, and avoid some JMS potholes along the way, making for a smooth message delivery experience!

    Beer of the Episode: Leinenkugel's Summer Shandy
    |~|P |~|P |~|P |~|P |~|P |~|P |~|P Leinenkugel's Summer Shandy
    |_| |_| |_| |_| |_| |_| |_|

     

    It's SUMMER! If you like what you hear, DEFINITIVELY, 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


    |~|P |~|P |~|P |~|P |~|P |~|P |~|P Leinenkugel's Summer Shandy
    |_|  |_|  |_|  |_|  |_|  |_|  |_|

     

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

    Enterprise Integration Patternshttp://www.amazon.com/Enterprise-Integration-Patterns-Designing-Deploying/dp/0321200683

    Intro to JMS Conceptshttp://docs.oracle.com/javaee/1.3/jms/tutorial/1_3_1-fcs/doc/basics.html

    Apache ActiveMQhttp://activemq.apache.org/

    ActiveMQ Language Clients (ActionScript, Ajax, C, C++, C#, .Net, Delphi, Erlang, Flash, Haskell, Javascript, Perl, PHP, Pike, Python, Ruby, Smalltalk, Websockets)http://activemq.apache.org/cross-language-clients.html

    RabbitMQ http://www.rabbitmq.com/

    JMS Description and Implementationhttp://en.wikipedia.org/wiki/Java_Message_Service

    Embed ActiveMQ Broker in codehttp://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html

    JMS Tutorialhttp://docs.oracle.com/javaee/1.4/tutorial/doc/JMS.html#wp84181

    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
    enAugust 06, 2012

    Episode 27. There's a Log File in the folder in the middle of the App

    Episode 27. There's a Log File in the folder in the middle of the App

    Episode 27. There's a Log File in the folder in the middle of the App ----

    (Sing to the children's song There's a hole in the middle of the sea)
    Logging is part of everyday production debugging life. If you ever had to troubleshoot a production application, the you most likely have looked at log files. These log files can either be a salvation, or an inmense source of frustration. In this podcast we delve into the different logging frameworks, and more importantly, what to log and not to log (and how to log it).


    |~|P |~|P |~|P |~|P |~|P |~|P |~|P Beer! (or Mai Tais!)
    |_|  |_|  |_|  |_|  |_|  |_|  |_|

     

    It's SUMMER! If you like what you hear, DEFINITIVELY, 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
    |~|P |~|P |~|P |~|P |~|P |~|P |~|P Beer! (or Mai Tais!)
    |_|  |_|  |_|  |_|  |_|  |_|  |_|

     

    Tweet, Tweet! (https://twitter.com/#!/fguime) Java Logging Frameworkhttp://en.wikipedia.org/wiki/Java_logging_framework

    SLF4J (The facade frameworkhttp://www.slf4j.org/

    Log4Jhttp://logging.apache.org/log4j/1.2/index.html

    Java Logging APIhttp://docs.oracle.com/javase/1.4.2/docs/guide/util/logging/

    The linux utilities for windows! (Cygwin)http://www.cygwin.com/

    Grep! Grep grepping grep!http://en.wikipedia.org/wiki/Grep

    More Grephttp://www.cyberciti.biz/faq/howto-use-grep-command-in-linux-unix/

    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

    Episode 26. I take Exception to that statement! A quick overview of Exception quirkiness

    Episode 26. I take Exception to that statement! A quick overview of Exception quirkiness

    As developers, we have to deal with Exceptions every day (or at least every other day). In this episode we dive a bit on exception (and exception handling), plus we talk about certain behaviors that are not so well-understood (try returning from a finally block, or why exception stack traces sometimes misteriously disappears). A good review for those who already know, and a great primer for those diving into Exceptions, this episode is sure to show some surprises!

    (~)P (~)P (~)P (~)P (~)P (Beer) (~)P (~)P (~)P (~)P

    It's SUMMER! If you like what you hear, DEFINITIVELY, 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

    (~)P (~)P (~)P (~)P (~)P (Beer) (~)P (~)P (~)P (~)P

     

    Tweet, Tweet! (https://twitter.com/#!/fguime) Try-with-resources constructhttp://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html

    Exception Definitionhttp://docs.oracle.com/javase/tutorial/essential/exceptions/definition.html

    Checked vs Unchecked Exceptions Debatehttp://www.ibm.com/developerworks/java/library/j-jtp05254/index.html

    More Exception Debates from C vs C++, still a useful read. http://www.250bpm.com/blog:4

    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
    enJune 25, 2012

    Episode 25. Reflection and vampire classes, and compiling Java from within Java.

    Episode 25. Reflection and vampire classes, and compiling Java from within Java.

    Episode 25. Reflection and vampire classes, and compiling Java from within Java.

    We have heard the word "Reflection" thrown around, what does it mean? it is a new Twilight series? is it about Vampires? In all, we shed sunlight into what reflection is (and more importantly why in the world you want to use it). And also cover a technique to compile and load programs within your program. Javascript guys had access to this by doing eval("your program here"), and while Java doesn't have an eval function, there are ways of achieving similar results (and very specific reasons to do this crazy technique. Mostly performance)

     

    It's SUMMER! If you like what you hear, DEFINITIVELY, 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

     

    Nimbus code to get the dang CacheMode (considered a private variable)

    public class ButtonPainter extends AbstractRegionPainter {
        public ButtonPainter() {
    
            Class c = null;
            PaintContext ctx = new PaintContext(new Insets(0,0,0,0), new Dimension(100,100), false, null, Double.POSITIVE_INFINITY, 2.0 );
    
            try {
                c = Class.forName("javax.swing.plaf.nimbus.AbstractRegionPainter$PaintContext$CacheMode");
            } catch (ClassNotFoundException e) {
                e.printStackTrace();
            }
            if (c != null) {
                Object cacheMode = c.getEnumConstants()[2];			// NINE_SQUARE_SCALE
                for (Field field : ctx.getClass().getDeclaredFields()) {
                    if (c.getName().equals(field.getType().getName())) {        // if Field is the CacheMode
                        try {
                            // the following lines would not be necessary for example if
                            // AbstractRegionPainter.cacheMode were protected or public.
    
                            field.setAccessible(true);                          // make it accessible so that we can set it
                            field.set(ctx, cacheMode);                          // set the cachemode
                            // this is equivalent as sayin "ctx.cacheMode = CacheMode.NINE_SQUARE_SCALE" if it were public/protected
                            break;
                        } catch (IllegalAccessException e) {
                            e.printStackTrace();
                        }
                    }
                }
            }
    
        }
    
        @Override
        protected PaintContext getPaintContext() {
            return null;  //To change body of implemented methods use File | Settings | File Templates.
        }
    
        @Override
        protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) {
            //To change body of implemented methods use File | Settings | File Templates.
        }
    }
    
    
    
    
    
    

    Code to get instance from a source file

        public static Object getInstanceForSource(String className, String sourceForRule) {
            String filename = "tmp/" + className + ".java";
            File file = new File(filename);
            writeFile(filename, sourceForRule);				
            String classPath = System.getProperty("java.class.path");
            String[] args = new String[]{
                    "-classpath", classPath,
                    filename
            };
    
    
            StringWriter compilerOutput = new StringWriter();
            int status = com.sun.tools.javac.Main.compile(args,new PrintWriter(compilerOutput));
            additionalInfo.value = compilerOutput.toString();
            switch (status) {
                case 0:  // OK
                    // Make the class file temporary as well
                    File classFile = new File("./tmp/");
                    try {
                        // Try to access the class and run its main method
                        URLClassLoader loader = new URLClassLoader(new URL[] {classFile.toURI().toURL()});
                        Class clazz = loader.loadClass(className);
                        return clazz.newInstance();
                    } catch (Exception ex) {
                        additionalInfo.value = "Exception in main: " + Utilities.exceptionToString(ex)+"\n"+additionalInfo.value;
                    }
                    break;
                case 1:
                    System.out.println ("Status: Error" +"\n"+additionalInfo.value);
                    break;
                case 2:
                    System.out.println ("Status: CMDERR" +"\n"+additionalInfo.value);
                    break;
                case 3:
                    System.out.println ("Status: SYSERR" +"\n"+additionalInfo.value);
                    break;
                case 4:
                    System.out.println ("Status: ABNORMAL" +"\n"+additionalInfo.value);
                    break;
                default:
                    System.out.println ("Status: UNKNOWN" +"\n"+additionalInfo.value);
                    break;
            }
            return null;
        }
    
        public static void writeFile(String fileName, String content) {
            Writer writer;
            File file = new File(fileName);
            try {
                writer = new BufferedWriter(new FileWriter(file));
                writer.write(content);
                writer.close();
            } catch (IOException e) {
               System.out.println ("I/O exception "+e);
            }
        }
    
    
    

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

    Reflection 'trail' http://docs.oracle.com/javase/tutorial/reflect/index.html
    Create dynamic applications with javax.tools http://www.ibm.com/developerworks/java/library/j-jcomp/index.html
    URLClassLoaders (loads .class files generatedhttp://docs.oracle.com/javase/6/docs/api/java/net/URLClassLoader.html

    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
    enJune 07, 2012
    Logo

    © 2024 Podcastworld. All rights reserved

    Stay up to date

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