Intro to the Hadoop Stack @ April 2011 JavaMUG
View more presentations from David Engfer
Also here is the bit.ly link bundle of things to check out from the deck: http://bit.ly/ieCeCm
If you are going to use a String equality comparison that involves a hardcoded string, you might as well save yourself from some NullPointerExceptions and the extra null pointer check, put the hardcoded string as the method call-e instead of the parameter.
Instead of:
if ( foo.equals( "some static string" ) ){...}
or...
if ( foo != null && foo.equals( "some static string" ) ){...}
use:
Continue reading

You have some program that needs to access some data sources that are managed by JBoss and accessed via JNDI, but when you start that program, it can’t find that JNDI reference or you get a javax.naming.NoInitialContextException with the message “Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial”