Library management system based on Java language Servlet technology

Source code download
Baidu Netdisk: https://pan.baidu.com/s/1-0vk8HscZYlESQwsst-IUw?pwd=38fx
GitHub: https://github.com/codermast/Library-Manage-System/raw/master/%E5%9B%BE%E4%B9%A6%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F-JavaWeb.rar
Project Introduction
This project is a book borrowing management system based on Java language, Servlet, Jsp, MySQL and other technologies that I have learned about Java Web in my junior year. In order to summarize and master the knowledge points, I have written a book borrowing management system based on Java language, Servlet, Jsp, MySQL and other technologies. It is also my first project to independently complete its functions.
This project mainly completes functional modules such as member management, book management, book type management, book borrowing management..., which can realize the addition, deletion, modification and search of basic member, book, and book types, as well as the completion of member borrowing book functions.
The implementation of some functions in the project will inevitably have minor flaws, and will be marked and recorded at the end of the article, which will facilitate subsequent reconstruction and optimization, and also facilitate the learning and reference of friends.
Project environment
- Windows 11
- IntelliJ IDEA 2021.3.1
- Java:JDK1.8
- Tomcat 8.5.60
- Servlet:3.1
- Mysql:5.6
- JSP
Project dependency
- c3p0-0.9.5.5
- commons-dbutils-1.7
- commons-fileupload-1.4
- commons-io-2.8.0
- fastjson-1.2.47
- jstl-1.2
- mchange-commons-java-0.2.19
- mysql-connection-java-5.1.42-bin
- standard-1.1.0
- servlet-api-3.1
Project structure
Main project modules and functions
Member Management (Completed)
- Membership card opening: that is, member registration
- Member management: Modification and deletion of members
- Member recharge: Recharge the member balance
Book Management (Completed)
Query the book list and add books
- Book List: All Information about Books
- Add a book: Add a book to inventory
Book Type Management (Completed)
- Type List: Display of Book Types
- Add type: Add a book type
Borrowing Management (Completed)
- Book Borrowing
- Book return
- Borrowing record query
Individual Center (Completed)
- Modify password: Modify user password
Project technical points
- Java file upload
- Use of cookies and sessions
- Add, delete, modify and check SQL statements
- MVC project process control
- Front and backend data interaction using Json format
Project summary
Disadvantages and deficiencies
- For some data operations, no transactions are used, which will cause unpredictable risks in some operations.
- The front-end page is not beautiful enough
- The project requirements are not rigorous enough
- The data tables in the database do not associate some related tables.
Harvest
- The project design is from front to back, that is, from user needs to backend development
- The core of the project is project design, not project development.
- Good design of the project can determine the integrity and rigor of the project
- Learned the architectural pattern of MVC, decoupling business, thereby increasing scalability and logic
Project operation steps
Pull the project to local

Add a local environment server to the project

Add artifacts for the project


Run the project

The project will run normally