@Path("/{id}")
 @DELETE
 public void delete(@PathParam("id") long id) {
   personServiceLocal.delete(id);
 }
 @PUT
 @Consumes({APPLICATION_JSON})
 @Produces({APPLICATION_JSON})
 public Person create(Person person) {
   return personServiceLocal.create(person);
 }
 @POST
 @Consumes({APPLICATION_JSON})
 @Produces({APPLICATION_JSON})
 public Person update(Person person) {
   return personServiceLocal.update(person);
 }
 @Path("/{id}")
 @GET
 @Produces({APPLICATION_JSON})
 public Person read(@PathParam("id") long id) {
   return personServiceLocal.read(id);
 }