A sample of rest service using Jersey API.