Restful API with jersey 1.8