A Java-based Library Management System built using JDBC, Servlets, JSP, following the MVC pattern, and using MySQL for the database. The system allows admin and user roles, enabling users to search, issue, and return books while tracking transactions.
- Add, view, and remove books
- View all users and issued books
- Manage transactions (issue/return records)
- Search for books
- Issue available books
- Return books
- View issued book history
- Login system for admin and users
- MVC architecture ensures clean separation of concerns
- Connection pooling with HikariCP for efficient database connections
- Backend: Java, JDBC, Servlets
- Frontend: JSP, HTML, CSS
- Database: MySQL
- Server: Apache Tomcat
- IDE: Eclipse
- Libraries: HikariCP for database connection pooling
git clone https://github.com/RishiChamarthi/Library-Management-System.gitOpen Eclipse IDE β File β Import β Existing Projects into Workspace β Select the project folder.Open MySQL Workbench (or any MySQL client).
Run the database β schema.sql file from this repo to create tables
Run the database β data.sql file from this repo to create the sample dataOpen src β main β webapp β WEB-INF β config β config.properties Update:
url = jdbc:mysql://localhost:3306/LibraryManagementSystem
user = root
password = your_mysql_passwordRight-click project β Run As β Run on Server β Apache Tomcat.
Access via: http://localhost:8080/LibraryManagementSystem/-
users β Stores user and admin credentials
-
books β Stores book information
-
book_transactions β Stores issue and return records
-
Add search by category and pagination
-
Add remove user option for Admin
-
Enhance UI with Bootstrap/TailwindCSS