REST sample with jersey 2.x