Rest API using Jersey