glassfish restful methods