Initial commit of java examples