ashishnew25
ashishnew25
Project Title:
Submitted By:
Rajalaxmi Mohanty
BSc Computer Science
Loisingha Degree College, Bolangir
Date of Submission:
28.12.2024
Content Table
1. Project Summary
2. Details of Process/Project
6. References
1. Project Summary
The E-Library Management System is designed to streamline the processes in managing books and
user interactions within a library. This system allows users to search for books, borrow them, and
keep track of their due dates. Administrators can manage the collection of books, monitor user
activity, and generate detailed reports regarding the library’s transactions.
Project Goals:
• To provide an intuitive and user-friendly interface for both students and administrators.
Technologies Used:
Project Overview:
• User Module: Handles tasks like searching for books, borrowing/returning books, and
viewing history.
• Admin Module: Provides features for managing books, users, and generating reports.
System Architecture:
The system follows a client-server architecture, with the client-side consisting of JavaFX/Swing for
the user interface, and the server-side responsible for managing business logic and connecting to the
MySQL database.
• Client-Side: Facilitates interaction with the system, enabling users to perform tasks such as
book borrowing and searching.
• Server-Side: Manages the business logic like book issue/return, updating user records, and
database connectivity.
Functional Overview:
1. User Features:
o Book Search: Allows users to search books by title, author, genre, etc.
o Borrow and Return: Users can borrow and return books, with due dates.
2. Admin Features:
o Transaction Management: Admins track borrowed books, due dates, and overdue
returns.
System Design:
• Frontend: JavaFX/Swing is used to create the GUI, offering an intuitive user interface for
users and admins.
• Backend: Java handles the core business logic, including user authentication, book
transactions, and generating reports.
• Database: MySQL stores data such as book records, user information, and transaction logs.
• The system connects to the database to store and retrieve necessary data.
• User Actions: Users perform searches, borrow books, and view transaction history.
• Admin Actions: Admins manage books, monitor user activity, and generate reports.
Key Algorithms:
o Process: Check if the book is available, then log the borrowing transaction.
Input Datasets:
• User Information: Attributes include user name, email, user ID, and password.
Output Datasets:
• Transaction Logs: Detailed information on borrowed and returned books, including overdue
fines.
• User Reports: A list of books borrowed by a specific user and their return status.
Screenshots:
• Login Page: Screenshot of the user login interface.
Sample Code:
java
Copy code
try {
Class.forName("com.mysql.cj.jdbc.Driver");
e.printStackTrace();
return null;
java
Copy code
String sql = "INSERT INTO books (title, author, genre, status) VALUES (?, ?, ?, ?)";
stmt.setString(1, book.getTitle());
stmt.setString(2, book.getAuthor());
stmt.setString(3, book.getGenre());
stmt.setString(4, book.getStatus());
6. References