JEE 7 RESTful API sample