Java EE7 RESTful application