// PUT api/books/:id
 @PUT
 @Path("/{bookID}")
 @Consumes(MediaType.APPLICATION_JSON)
 @Produces(MediaType.APPLICATION_JSON)
 public Book updateBook(@PathParam("bookID") String book_id, Book book) {
   return service.updateBook(book_id, book);
 }
 // DELETE api/books/:id
 @DELETE
 @Path("/{bookID}")
 @Produces(MediaType.TEXT_PLAIN)
 public String DeleteBook(@PathParam("bookID") String book_id) {
   return service.DeleteBook(book_id);
 }
 // GET api/books/:id
 @GET
 @Path("/{bookID}")
 @Produces(MediaType.APPLICATION_JSON)
 public Book getBookById(@PathParam("bookID") String book_id) {
   return service.getBookById(book_id);
 }
 // POST api/books
 @POST
 @Consumes(MediaType.APPLICATION_JSON)
 @Produces(MediaType.APPLICATION_JSON)
 public Book addBook(Book book) {
   return service.addBook(book);
 }
 // GET api/books
 @GET
 @Produces(MediaType.APPLICATION_JSON)
 public List<Book> getBooks() {
   return service.getBooks();
 }