Updated the sample to run with latest Jersey 2 milestone release and GlassFish 4 latest promoted build.