code and demos for javaone 2014