// DELETE ITEM
StringValue bookId = parameters.get("bookId");
if (!bookId.isEmpty()) {
BookService bookService = (BookService) ApplicationContextProvider.getApplicationContext().getBean("bookService");
bookService.deleteBook(bookService.findBookById(bookId.toLong()));
setResponsePage(ShowAllBook.class);
}
BookService bookService = (BookService) ApplicationContextProvider.getApplicationContext().getBean("bookService");
RepeatingView repeating = new RepeatingView("repeating");