Adding jaxrs try feature