restful service using jersey