@Test() public void testServerStatus(){ bookResourceClient.addBook(new Book(1,"TomEE Book")); }
@POST @Path("/books") public void addBook(Book newBook) { bookBean.addBook(newBook); }
BookResource { @POST @Path("/books") public void addBook(Book newBook) { bookBean.addBook(newBook); } }
BookResource { @POST @Path("/books") public void addBook(Book newBook) { bookBean.addBook(newBook); }  }
BookResource { @POST @Path("/books") public void addBook(Book newBook) { bookBean.addBook(newBook); }  @GET String status(); @POST @Path("/books") void addBook(Book newBook); @DELETE @Path("/books/{id}") void deleteBook(@PathParam("id") int id); @PUT @Path("/books") void updateBook(Book updatedBook); @GET @Path("/books/{id}") Book getBook(@PathParam("id") int id); @GET @Path("/books") List<Book> getListOfBooks(); }
BookResource { @POST @Path("/books") public void addBook(Book newBook) { bookBean.addBook(newBook); }  @GET String status(); @POST @Path("/books") void addBook(Book newBook); @DELETE @Path("/books/{id}") void deleteBook(@PathParam("id") int id); @PUT @Path("/books") void updateBook(Book updatedBook); @GET @Path("/books/{id}") Book getBook(@PathParam("id") int id); @GET @Path("/books") List<Book> getListOfBooks();  }