Training project, web application for the library
Rewrite Project 1 (A local library) using Hibernate and Spring Data JPA. There should not be a single SQL query in your project. The entities (@Entity) Book and Person, repositories and services must be implemented. PersonDao and BookDAO should be empty and should not be used, all work with the database through the services.
Add pagination for books. There may be many books, and they may not fit on the same page in the browser. To solve this problem, the controller method must be able to output not only all books at once, but also split the output into pages. Add sorting of books by year. The controller method should be able to output books in sorted order. Create a book search page. We enter the initial letters of the book title in the field on the page, we get the full title of the book and the name of the author. Also, if the book is currently in someone's possession, we get the name of this person. Add an automatic check that the person has overdue the return of the book.