Restful API using Jersey