Code sample for Rest using Rest easy and Spring