integrates rest functionalities provided by jersey 2 in a JAVAEE Glassfish environment