server example with jersey 2.x