A
Minor Project Report
On
“Library Management System”
Submitted in partial fulfillment for the award of the degree
of
BACHELOR OF COMPUTER APPLICATIONS
from
CHAUDHARY CHARAN SINGH UNIVERSITY, MEERUT
(Session: 2022-23)
Meerut Institute of Technology (Professional Courses), Meerut
Submitted To: Submitted By:
Mr. Lalit Kumar Ashutosh
HOD, BCA Deptt. BCA 5" Sem
Roll No:201110106021TABLE OF CONTENTS
Content
1. Declaration
2. Certificate
3. Acknowledgement
4. Abstract
5. Introduction of the Project
6. Objectives of the Project
7. Hardware and Software Requirements
8. Project Analysis & Designing
-DFD
- ER Diagram
9. Input / Output Screenshot
10. Coding
11. Testing
12. Future Scope
References
Page No.
10
20
50
52
53DECLARATION
I, Ashutosh, bearing roll number 201110106021, hereby declare that the work which is being
presented in the Minor Project, entitled "Library Management System” in partial fulfillment
for award of Degree of “Bachelor of Computer Applications” in Department of Computer
Application is submitted under the Guidance of
“Mr. Manoj Kumar”,
I have not submitted the matter presented in this work anywhere for the award of any other
Degree.
Date: 0
Student Name: Ashutosh
Roll Ni
: 201110106021CERTIFICATE
Certified that the Project Report entitled “Library Management System” — submitted by
Ashutosh bearing roll no 201110106021 in partial fulfillment of the requirements for the award
of the degr tions is a record of the student's own work carried
of Bachelor of Computer Applis
out under my supervision and guidance. To the best of our knowledge, this Minor Project work
has not been submitted anywhere for the award of any other Degree.
It is further understood that by this certificate the undersigned does not endorser approve of any
statement made, opinion expressed or conclusion drawn therein but approve Minor Project for
the purpose for which itis submitted.
Mr. Manoj Kumar Mr. Lalit Kumar
(Project-Coordinator) (HOD, BCA Deptt.)ACKNOWLEDGEME!
Many people have supported me, in different ways, during the work with the minor project. I'd
like to thank my guide Mr. Manoj Kumar & HOD Mr. Lalit Kumar for their kind and active
support and valuable guidance during the work process. My family has, as always, offered me
their unconditional support, during my efforts in completing this Minor Project.
However, it would not have been possible without the kind support of many individuals and
institution.
I would like to extend my sincere thanks to each and every member related to MIT (PC).
Student Name: Ashutosh
BCA V* Sem
Roll No. : 201110106021ABSTRACT
‘Online Library Management System is a system which maintains the information
about the books present in the library, their authors, the members of library to whom
books are issued and all. This is very difficult to organize manually. Maintenance of
all this information manually is a very complex task. Owing to the advancement of
technology, organization of an Online Library becomes much simpler. The Online
Library Management has been designed to computerize and automate the operations
performed over the information about the members, book issues and returns and all
other operations. This computerization of library helps in many instances of its
maintenance. It reduces the workload of management as most of the manual work
done is reduced.INTRODUCTION
The project “Library Management System” is developed in Java with the help of
AWT and Swing packages , which mainly focuses on basie operations in a library like
adding new member, new books, and updating new information books and
members and facility to issue and retumn books. Using this application librarian can
issue and return books easily also with this user can add new books easily.
This System application is reduced as much as possible to avoid errors while entering data, It
also provides an error message while entering invalid data, It is user-friendly as no formal
knowledge is required to use the system.
‘The software keeps track of all the information about the books in the library, their cost, their
complete details and total number of books available in the Library. The user will find it easy in
this automated system rather than using the manual writing system, The system contains a
database where all the information will be stored safely. The system is user-friendly and error
free.PROJECT AIMS AND OBJECTIVES
‘The aims and objectives are as follows:
An Admin login page where admin can add librarian , delete librarian , or view librarian.
A librarian login page where librarians can add new books, view all books available, issue books
-w issue books ,return issue books.
This project system was highly recommended due to the rapid increase of computer
related tools in the industry. With this proposed system features and functions of the
online book shop and the e-library that will be able to accommodate more reliably
consistent and faster in providing a better service to the users.SOFTWARE AND HARDWARE REQUIREMENTS.
HARDWARE REQUIREMENTS :~
PROCESSOR :- INTEL CORE PROCESSOR OR BETTER PERFORMANCE
OPERATING SYSTEM :- WINDOWS VISTA ,WINDOWS7, UBUNTU
MEMORY :- 1GB RAM OR MORE
HARD DISK SPACE :- MINIMUM 3 GB FOR DATABASE USAGE FOR FUTURE
DATABASE :- MY SQL
SOFTWARE REQUIREMENTS
Netbeans IDE
Mysql Database
TOOLS USE
Netbeans IDE v 14
‘MySql V8.0Project Analysis & Designing
DFD (DATA FLOW DIAGRAM)
Fig . Library Management SystemERD
od. 4. <<
ey ¢
SS
Fig . Library Management SystemSCREENSHOTS
Home page :-
This is the home page of the library management system . There are two sections: Admin login
and Librarian login.
Login page
Library Manageme
Admin Login Login
} Librarian Login Login
Admin Login
‘After clicking on admin login the following window opens which ask name of admin and
password of admin.
(@ Admin Login page
Name
Password
LogiAdmin Section
After login with correct details the admin section open there are different option for admin which
includes
LAdd Info > Add Librarian
2. View Info -> View Librarian
3, Delete Info > Delete Librarian
4, Exit > Logout
Info ExitAdd Librarian
By clicking on Add Info admin can add a new Librarian by filling this information.
i Libraon Seo
Name Arun
Password jee
E-mail larun@123gmail.com
Contact 4578121212
Address 10, XYZ colony
sity Meert.UP
Add Librarian Cancel
View Librarian Information
If admin successfully add librarian with correct details .admin can see all the librarian by
clicking on View Info.
Dueranviein
Add Books
2. View Info > View Book || View Issue books
3, Issue Info > Issue Books
4, Retum Info -> Return book 5 Exit> logout
[Add Info. View Info Issue Info Return ExitAdd Book
Librarians can add book by clicking on Add Info and filling the following details
(B) Add Book oo
Peles) 4
[Book No
|Book Name
author E balaguru swami
Publisher |BP publications
|Quantity 50)
Add Book Cancel
‘View Book Information
Librarian can see the available books by clicking on View Info -> View Books
ava talaga Sani 90 Fab 280Issue Book
Librarians an issue the books by clicking on Issue Info and provide this information
sue Book Section =
Book Id 1
a
Book No |
}ook Name Es
jtudent Id 24
jtudent Name oh |
\Student Contact oi
[Book Quantity 50
Issue Book Cancel
View Book Information
Librarians ean view book by clicking on View Issue Book.
stat eaearitt
fon Feb 1882.Return Book
Librarians retum the issue book by clicking on Return Info and provide the following
information.
LLU =L°L9
Return Book
‘View Book Information
Librarians can view the book information by clicking on View Info.
(Gvertaeteanomoe =e xCODING
In this project there are classes used which perform different functions.
1. Connection.Java2. Index.java
tion( 400,200)
See
co
Sees!
sees!
Sees!
arta
EraSa
Sa
tr
eon
ee ETC nCe Oy
eer
es
‘adc
ae
en
eee
ea
See
Eee err cer
setBackground ;
ereoh
ee ee eee
aa
ec
eee eye
eee,
Sears ue untae
cee eereo cst
Basen
See
peasueeone
oe Un eases tate
pesca ace
ec er ee4, Admin.java
eee one
eed)
oes
eects5, AdminSection.java
oink
poee
poe:
Fort on
Preece eee
See ore ete
Peer
et
Temes
eer
ae ee ee
Menu
eee
eee tn
sneer eee ee
eases
oeSeeeeeee
ree6. AddLibrarian.javaeee
ee ee ee eee
tee rer ota
De
peeeyecs
perry
Cee
ce7. View Librarian.java
Sesetiestty8. DeleteLibrarian.java
pater
ees
getstring)
eepirate
aes)
eee
oem rey
See eeenee,
ean
een
pete eee
Eo
eae tees CROye
Cee
Cece
Ceres
Peer eee CRUSTert
coe
reseorse
oo
Seeereerey9, Librarian javaBee ee eee
eee 8
Beenie
5
pot }
{
Sees ene tor
?
en
Peeares tse10. LibrarianSection.javanew ViewssueBook() .cetVicible(erue)
Sue w su
Femi ern eecsreet
reser as
aru
Peeve restse
ass11. AddBook.java
eRe
Soonrerrrrary
ee eecreere12. ViewInfo.java13.IssueBook,java
eee
cers
peter oH
ete scaH
eres ean
crest _
pester rst
Sec oy
cer)
cree)
cree)
cieree)
cere)
boeree)
aoe
eeeenet
Font
prpeenoenest
ae
Sa
easree
—
Sas
eee
eas
eas
—
eee
ee
peer areas
ee toe
reer
econ a
pron
ooSee
a
rest.next!
Ce
Seedponies14. ViewIssueBook.java15. returnBook.java
Berareey
Seen sy
eee
ees
oe
aa
saat
cetera
eee ceDATABASE CODING (MySql Workbench)
CREATE DATABASE library;
use library;
CREATE TABLE admin
¢
username VARCHAR(S0),
password varchar(20)
ds
CREATE TABLE Librarian
(
Id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT,
Name VARCHAR(S0),
Password varchar(20),
Email VARCHAR(S0),
Contact VARCHAR(10),
Address VARCHAR(S0),
City VARCHAR(S0)
ds
CREATE TABLE Issue_Book
c
Id INTEGER ,
Book_No Varchar(10),Book_Name VARCHAR(50),
Student_ld VARCHAR(10),
Student_Name VARCHAR(S0),
Student_Cont VARCHAR(50),
Date VARCHAR(S0)
%
CREATE TABLE Add_Book
(
Id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT,
Book_No VARCHAR(0) ,
Book_Name VARCHAR(S0),
Author varchar(20),
Publisher VARCHAR(S0),
Quantity VARCHAR(10),
Issue_Book INTEGER DEFAULT 0,
Date VARCHAR(S0)
%
INSERT INTO admin values
(admin","pass123");
SELECT * FROM admin;
INSERT INTO Librarian values
("Librarian", "pass 123");UNIT TESTING
Unit testing is undertaken when a module has been created and successfully
reviewed .In order to test a single module we need to provide a complete environment
ie besides the module we would require Unit testing was done on each and every
module that is described under module description of
1, Test For the admin module
‘Testing admin login - This is used for log in of admin of the system.In this we enter
the username and password if both are correct Admin section will open other wise if
any of data is wrong it will show an error redirected back to the login page and again
ask for username and password
‘Testing add new Librarian :- This is used to add new librarian by providing the
correct details . if all details are correct the librarian add to the system other it throws,
error,
‘Testing view librarian :- This is used to see all information of librarians. if it shows
all the data the view librarian is working2. Test for Librarian login module
‘Testing librarian login :
his is used for log in of administrator of the system.tn this
‘we enter the username and password if both are correct Librarian section will open
otherwise if any of data is wrong it will show an error redirected back to the login
page and again ask for
ername and password
Book Addition :
ibrarian can enter details of book and can add the details to
the main book table also he can view the books requests
Book Issue :- librarian can enter details of book and student to issue the book to the
student
Book View :- librarian can see book details like book name, author name, quantity etc.
Book Return :- librarian can enter details of book and student in order to return the book
INTEGRATION TESTING
In this type of testing we test various integration of the project module by providing
the input.The primary objective is to test the module interfaces in order to ensure that
no errors are occurring when one module invokes the other module.FUTURE SCOPE
In adding the design of an online library management system to increase user interaction.
— Add icons on the center of the admin and login section through which users can easily
access the required information.
In adding the more features of the online library management system to develop access
with user’s flexibility.
— To authenticate the users based on the system users list which is maintained by the
operating system
— To restrict the usage of all files by the users based on their privileges on the system
— Adding the functionality of forgot password.
— Show the book issue and remaining book data in graphs.References
‘Youtube :-
hitps://www.youtube.com
JavaTpoint :-
hitps://www,javatpoint.com/java-tutorial
‘W3Schools :
https://www.w3schools.com/sql