Java RESTFull api using Jersey