A Java-based console application that manages library books using JDBC and MySQL. This project demonstrates backend development concepts such as database connectivity, CRUD operations, and modular Java application architecture.
The Library Management System allows users to manage books in a library through a command-line interface. The system interacts with a MySQL database using JDBC, enabling persistent storage and management of book records.
This project showcases practical backend development skills including:
- Java Object-Oriented Programming
- Database integration with JDBC
- CRUD operations implementation
- Structured application design
✔ Add new books to the library ✔ View all available books ✔ Issue books to users ✔ Return issued books ✔ Delete books from the library ✔ Menu-driven console interface ✔ Persistent storage using MySQL database
Technology| Purpose Java| Core programming language JDBC| Database connectivity MySQL| Data storage NetBeans IDE| Development environment
Library-Management-System │ ├── src │ └── librarymanagement │ ├── Book.java │ ├── BookManager.java │ ├── DatabaseConnection.java │ └── LibraryApp.java │ ├── nbproject ├── build.xml ├── manifest.mf └── README.md
CREATE DATABASE library_db;
USE library_db;
CREATE TABLE books ( id INT PRIMARY KEY AUTO_INCREMENT, title VARCHAR(100), author VARCHAR(100), status VARCHAR(20) );
The status field tracks whether the book is:
Available Issued
- Clone the repository
- Import the project into NetBeans or IntelliJ IDEA
- Create the MySQL database using the provided SQL script
- Update database credentials in "DatabaseConnection.java"
- Run "LibraryApp.java"
----- Library Management System -----
1 Add Book 2 View Books 3 Issue Book 4 Return Book 5 Delete Book 6 Exit
- Implement Search Book feature
- Add GUI version using Java Swing / JavaFX
- Convert application into a Spring Boot REST API
- Add user authentication and role-based access
- Build a web-based library system
Puli Sai Srinivasa Teja
Aspiring Software Development Engineer (SDE) passionate about building backend systems using:
- Java
- JDBC
- MySQL
- Spring Boot
⭐ If you find this project useful, feel free to star the repository.