A PROJECT REPORT FILE ON
LIBRARY MANAGEMENT SYSTEM
BACHELOR OF COMPUTER APPLICATION
PROJECT LAB
Session 2023-2024
Submitted To:- Submitted By:-
Mr. Deepak kakkar Miss Charu Bansal,
(Head of Computer Department) Miss Deepika Chalana
( BCA final year )
SHRI AATM VALLABH JAIN GIRLS (PG) COLLEGE, SRI GANGANAGAR
AFFILATED TO MGSU, BIKANER
CANDIDATE DECLARATION
I hereby declare that the project which is presented in this report entitled “Library Management
System” submitted in BCA from the Maharaja Ganga Singh University, Bikaner, is an authentic record of
my work carried out through “Mrs. Sunita Limba “ (Assistant Professor) instructor. The material embodied
in this project has not been submitted to any other university or institute for the award of any degree.
This statement was made by me to the best of my knowledge and ability.
Approved By:-
Candidate Signature
Mrs. Sunita Limba
(Assistant Professor)
ACKNOWLEDGEMENT
With due respect and regards, we wish to express our deep sense of gratitude, indebtedness, and sincere
phases of thanks with innate humility to Mrs. Sunita Limba (Assistant Professor), who helped us learn the
various aspects of developing the project and completing the project in the stipulated time.
My sincere thanks to Mrs. Sunita Limba (Assistant Professor), Project Manager for providing me
with an excellent opportunity to undertake this project at Shri Aatm Vallabh Jain Girls (PG) College, Sri
Ganganagar (Raj.).
My heartfelt gratitude also goes to Shri Aatm Vallabh Jain Girls (PG) College for providing me an
opportunity to avail the excellent facilities and infrastructure. Lastly, I would like to thank my parents and
family members who encouraged me to work hard during the project work.
CHARU BANSAL
DEEPIKA CHALANA
PREFACE
This project work is extended to those who are interested in Website Development. This project work
includes "Library Management System” as able to proceed with the report you know the language of the
package, you may be able to proceed more quickly programmers and other professionals may find this work
helpful.
Although the concepts about the new system are discussed in various chapters but knowledge of the
computer is required to follow the comments of this project work. Mrs. Sunita Limba (Assistant Professor)
gives me some ideas, on how to prepare this project.
We will update this project in the future and welcome your comments, criticism, and suggestion.
CHARU BANSAL
DEEPIKA CHALANA
A WORD OF GRATITUDE
To put emotion on paper is incredibly difficult. Words perhaps fail to express the deep sense of gratitude
I owe to my Revered Teacher and Elite Guide Mrs. Sunita Limba (Assistant Professor).
Who has inspired me with the spirit of devotion, precision, and unbiased observation, essentially a
cornerstone of any scientific study. Without his able guidance and keen personal interest e in the critical
examination of the manuscript, this word would not have attended the present shape. His generous help at every
stage of the work accounted for the successful completion of this project. His unflinching patronage,
inspiration, and encouragement shall ever remain a treasure in my memory
CHARU BANSAL
DEEPIKA CHALANA
ABSTRACT
The project "Library Management System” is developed in 'JAVA' scripting including the various
features of Graphics. The project deals with Books and Information for Students.
The project presents various options in front of the customer to select which facility he wishes to use and the
customer selects among them and gets his notes.
The specifications of this project are as follows:
Front End Used: JAVA Development Kit
Back End Used:- MYSQL and Apache
Platforms:- Windows 10
Database server:- Apache SERVER
Websites used:- Java from W3school, geeks for geeks
Table of Contents
INTRODUCTION TO THE PROJECT.............................................................................................................8
SYSTEM STUDY..................................................................................................................................................9
Feasibility study.................................................................................................................................................9
PROBLEM WITH EXISTING SYSTEM........................................................................................................11
SYSTEM REQUIREMENTS.............................................................................................................................12
OBJECTIVE AND CONCENTRATION OF THE SYSTEM........................................................................13
ADVANTAGES OF THE PROPOSED SYSTEM...........................................................................................14
BRIEF OVERVIEW OF THE LANGUAGE...................................................................................................15
INTRODUCTION TO THE JAVA...................................................................................................................15
DATA FLOW DIAGRAM.................................................................................................................................20
SYSTEM REQUIREMENTS.............................................................................................................................23
SCREENSHOTS.................................................................................................................................................24
PREFACE............................................................................................................................................................28
CONCLUSION....................................................................................................................................................29
SOURCE CODE..................................................................................................................................................30
BIBLIOGRAPHY
INTRODUCTION TO THE PROJECT
Library Management System is an application which refers to library systems which are generally small
or medium in size. It is used by librarian to manage the library using a computerized system where he/she can
add new books, videos and Page sources.
Books and student maintenance modules are also included in this system which would keep track of the
students using the library and also a detailed description of the books a library contains. With this computerized
system, there will be no loss of book record or member record which generally happens when a non-
computerized system is used.
All these modules can help librarians manage the library with more convenience and in a more efficient
way as compared to library systems which are not computerized.
PROCESSOR INTEL CORE PROCESSOR FOR BETTER
PERFORMANCE
OPERATING SYSTEM WINDOWS 10
MEMORY 1GB RAM OR MORE
HARD DISK SPACE MINIMUM 3 GB FOR DATABASE USAGE FOR
FUTURE
DATABASE MY SQL
SYSTEM STUDY
It is a report about the project "Library Management System" which is prepare in the BCA course at
MGSU University. This is a brief discussion about the Library Management System on How to manage library
information electronically.
This document especially contains details about objectives, scope limitations, proven model primary
requirements, team development, possible project risks, project schedule, and finally monitoring and reporting
mechanisms.
We will discuss and analyze the developing process of the Library Management System including
software requirement specification (SRS) and a comparison between existing and proposed systems. The
functional and non-functional requirements are included in the SRS part to provide a complete description and
overview of system requirements before the developing process is carried out. Besides that, existing vs
proposed provides a view of how the proposed system will be more efficient than the existing one
Feasibility study
An important outcome of the preliminary Investigation is the determination that the system requested is
feasible or not. There are three aspects in the feasibility study portion of the preliminary investigation.
The first study aspect is whether the current project is technically feasible ie, can the work for the project
be done with the current equipment, existing software technology, and available personnel? If' a new
technology is required then what is the likelihood that it can be developed?
The second study aspect probes whether the project is economically feasible ie.. are there sufficient
benefits in creating the system to make the costs acceptable? Or, are the costs of creating the system so
great that the project must be undertaken.
The third study aspect probes whether the project is operationally feasible or not ie.. will the system be
used if it is developed and implemented, or whether, there will be any resistance from the users that may
undermine the possible application benefits.
The following is the feasibility study report, which was undertaken for the Job for employees.
Technical Feasibility:
The following technical feasibility areas were probed during the feasibility study phase:
a. As a software requirement, the proposed system needs database technology like Microsoft SQL,
Server 2005/ MySQL, and tools like Java and Windows Operating System/Linux OS for running
the system.
b. As a hardware requirement the system needs the complete computer system (Monitor, Keyboard,
CPU, Hard disk, RAM, etc.). This equipment has the technical capacity to hold the data required for
using the new system.
c. The system is expandable in many dimensions with respect to the addition of more functionality,
features, etc.
Economical Feasibility:
Economic justification is generally the "bottom line" consideration for most Systems. For a System to
be Economically Feasible a Cost-Benefit Analysis - An assessment of the Economic justification for a
System or the benefits obtained from the system against the cost incurred to develop the system has to be
carried out. Actually, the company does all these procedures manually and it takes so much time for the
examiner and admin so compared to all costs this project cost is so much smaller so it is feasible.
Operational Feasibility:
The following areas have been probed to declare the proposed System as operationally feasible:
1. There is sufficient support for the proposed system from the management and the users as well.
2. The results produced by the proposed system will be more effective and efficient in terms of speed.
3. The system will work when it is developed and installed and there are no major barriers to its
implementation within the whole organization. This accounts for the operational feasibility of the
proposed system.
PROBLEM WITH EXISTING SYSTEM
In the present Library Management, it is difficult to store the information related to books available,
issued to students, and deposited. As there is too much information when someone tries to access any of the
stored information it becomes a difficult and time-consuming task. While these days librarians have more work
than just taking care of bookkeeping it is difficult for both students and faculty to monitor them. Whereas
storing and retrieving information is a difficult task, it also requires a large amount of unnecessary work to do
the task.
SYSTEM REQUIREMENTS
A Library Management System Software is basically designed and developed to simplify the daily activities of
schools. While an extensive number of Library Management System Software have stepped into the market
competing with each other, it doesn't really mean that they serve the requirements of all schools. It is a known
fact that the requirements of schools differ from one another, greater schools and tinier schools have been
hunting down ways to adopt a Library Management System Software that meets their requirements.
A perfect Library Management System software is the one that fits the system of all schools of any size.
Identifying the need of various schools for a complete school management software that suits best the system of
any school.
OBJECTIVE AND CONCENTRATION OF THE SYSTEM
The project aims and objectives that will be achieved after completion of this project are
discussed in this subchapter. The aims and objectives are as follows:
After the computerized system is implemented less human force will be required to maintain the library
thus reducing the overall cost.
A search column to search availability of books.
Facility able to view and perform any required action.
Students can easily enquire according to their respective roles.
An Admin login page where admin can add books, issue them to students and get back.
Librarian is able to search record by using few clicks of mouse and few search keywords thus saving his
valuable time.
ADVANTAGES OF THE PROPOSED SYSTEM
Following are the advantages of the proposed system:
1. Data abstraction:
The proposed system is fully secured, giving authentication to its administrator and students.
2. Instant Information Access Mechanism:
Fast searching mechanism for accessing data, accounts and details related to all library related activities.
3. Time Saving:
The user can get helpful details within short time using enquiring page.
4. Cost Effective:
System reduces the communication cost and saving time.
5. Efficient:
The system is efficient for its users like students and teachers.
6. Flexibility:
Admin and Students can easily interact with the system and can access required permissible
information.
BRIEF OVERVIEW OF THE LANGUAGE
INTRODUCTION TO THE JAVA
The Java Programming Language
Java is an object-oriented language which gives a clear structure to programs and allows code to be reused,
lowering development costs. java is a popular programming language, created in 1995. It is owned by Oracle,
and more than 3 billion devices run Java.
As Java is close to C++ and C#, it makes it easy for programmers to switch to Java or vice versa.The Java
programming language is a high-level language that can be characterized by all of the following buzzwords:
Simple
Architecture neutral
Object oriented
Portable
Distributed
High performance
Interpreted
Multithreaded
Robust
Dynamic
Secure
With most programming languages, you either compile or interpret a program so that you can run it on
your computer. The Java programming language is unusual in that a program is both compiled and interpreted.
With the compiler, first you translate a program into an intermediate language called Java bytecodes the
platform- independent codes interpreted by the interpreter on the Java platform. The interpreter parses and runs
each Java bytecode instruction on the computer. Compilation happens just once; interpretation occurs each time
the program is executed. The following figure illustrates how this works.
You can think of Java bytecodes as the machine code instructions for the Java Virtual Machine (Java VM).
Every Java interpreter, whether it's a development tool or a Web browser that can run applets, is an
implementation of the Java VM.
Java bytecodes help make "write once, run anywhere" possible. You can compile your program into bytecodes
on any platform that has a Java compiler. The bytecodes can then be run on any implementation of the Java
VM. That means that as long as a computer has a Java VM, the same program written in the Java programming
language can run on Windows 2000, a Solaris workstation.
Java Platform
A platform is the hardware or software environment in which a program runs. We’ve already mentioned some
of the most popular platforms like Windows 2010, Linux, and MacOS. Most platforms can be described as a
combination of the operating system and hardware. The Java platform differs from most other platforms in that
it’s a software only platform that runs on top of other hardware-based platforms.
The Java platform has two components:
o The Java Virtual Machine (Java VM)
o The Java Application Programming Interface (Java API)
Java Virtual Machine(JVM):-
Java JVM is the base for the Java platform and it ported onto various hardware-based platforms.
Java Application Programming Interface (Java Api):-
The Java API is a large collection of ready-made software components that provide many useful capabilities,
such as graphical user interface (GUI) widgets. The Java API is grouped into libraries of related classes and
interfaces, these libraries are known as packages. The next section highlights what functionality some of the
packages in the Java API provide.
The following figure depicts a program that's running on the Java platform. As the figure shows, the Java API
and the virtual machine insulate the program from the hardware
Native code is code that after you compile it, the compiled code runs on a specific hardware platform. As a
platform-independent environment, the Java platform can be a bit slower than native code. However, smart
compilers, well-tuned interpreters, and just-in-time bytecode compilers can bring performance close to that of
native code without threatening portability.
What Can Java Technology Do?
The most common types of programs written in the Java programming language are applets and applications. If
you've surfed the Web, you're probably already familiar with applets. An applet is a program that adheres to
certain conventions that allow it to run within a Java-enabled browser.
However, the Java programming language is not just for writing cute, entertaining applets for the Web. The
general-purpose, high-level Java programming language is also a powerful software platform. Using the
generous API, you can write many types of programs.
An application is a standalone program that runs directly on the Java platform. A special kind of application
known as a server serves and supports clients on a network. Examples of servers are Web servers, proxy
servers, mail servers, and print servers. Another specialized program is a servlet. A servlet can almost be
thought of as an applet that runs on the server side. Java Servlets are a popular choice for building interactive
web applications, replacing the use of CGI scripts. Servlets are similar to applets in that they are runtime
extensions of applications. Instead of working in browsers, though, servlets run within Java Web servers,
configuring or tailoring the server.
Every full implementation of the Java platform gives you the following features:
The essentials: Objects, strings, threads, numbers, input and output, data structures, system properties,
date and time, and so on.
Applets: The set of conventions used by applets.
Networking: URLs, TCP (Transmission Control Protocol), UDP (User Datagram Protocol) sockets, and
IP (Internet Protocol) addresses.
Internationalization: Help for writing programs that can be localized for users worldwide. Programs
can automatically adapt to specific locales and be displayed in the appropriate language.
Security: Both low level and high level, including electronic signatures, public and private key
management, access control, and certificates.
Software components: Known as JavaBeans, can plug into existing component architectures.
Java Database Connectivity (JDBCTM): Provides uniform access to a wide range of relational
databases.
Features of JAVA Technology
Get started quickly: Although the Java programming language is a powerful object-oriented
language it's easy to learn, especially for programmers already familiar with C or C++.
Write less code: Comparisons of program metrics (class counts, method counts, and so on)
suggest that a program written in the Java programming language can be four times smaller than
the same program in C++.
Write better code: The Java programming language encourages good coding practices, and its
garbage collection helps you avoid memory leaks. Its JavaBeans component architecture, and its
wide-ranging, easily extendible API let you reuse other people's tested code and introduce fewer
bugs.
Develop programs more quickly: Your development time may be as much as twice as fast
versus writing the same program in C++. Why? You write fewer lines of code and it is a simpler
programming language than C++.
Avoid platform dependencies with 100% Pure Java: You can keep your program portable by
avoiding the use of libraries written in other languages. The 100% pure JAVA is a repository of
historical process manuals, white papers, brochures, and similar materials online.
Write once, run anywhere: Because 100% Pure Java programs are compiled into machine-
independent bytecodes, they run consistently on any Java platform.
Distribute software more easily: You can upgrade applets easily from a central server. Applets
take advantage of the feature of allowing new classes to be loaded "on the fly," without
recompiling the entire program.
Database
A database is a separate application that stores a collection of data. Each database has one or more distinct APIs
for creating, accessing, managing, searching, and replicating the data it holds. Other kinds of data stores can be
used, such as files on the file system or large hash tables in memory but data fetching and writing would not be
so fast and easy with those types of systems.
So nowadays, we use Relational Database Management Systems (RDBMS) to store and manage huge
volumes of data. This is called a Relational Database because all the data is stored in different tables and
relations are established using primary keys or other keys known as foreign keys.
A Relational Database Management System (RDBMS) is a software that: Enables you to imponent a database
with tables, columns, and indexes. Guarantees the Referential Integrity between rows of various tables. Updates
the indexes automatically.
RDBMS Terminology:
Before we proceed to explain MySQL. Database system, let's revise a few definitions related to databases.
Database: A database is a collection of tables, with related data.
Table: A table is a matrix with data. A table in a database looks like a simple spreadsheet.
Column: One column (data element) contains data of the same kind, for example, the column
postcode.
Row: A row (tuple, entry, or record) is a group of related data, for example, the data of one
subscription.
Redundancy: Storing data redundantly to make the system faster.
Primary Key: A primary key is unique. A key value cannot occur twice in one table. With a
key, you can find at most one row.
Foreign Key: A foreign key is the linking pin between two tables.
Compound Key: A compound key (composite key) is a key that consists of multiple columns
because one column is not sufficiently unique.
Index: An index in a database resembles an index at the back of a book.
Referential Integrity: Referential Integrity makes sure that a foreign key value always points to
an existing row.
MySQL Database:
MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses. MySQL is developed,
marketed, and supported by MySQL AB, which is a Swedish company. MySQL is becoming so popular
because of many good reasons:
MySQL is released under an open-source license. So, you have nothing to pay to use it. MySQL is a very
powerful program in its own right. It handles a large subset of the functionality of the most expensive and
powerful database packages.
MySQL. uses a standard form of the well-known SQL data language. MySQL works on many operating
systems and with many languages including PHP. PERL, C, C++, JAVA, etc. MySQL works very quickly
and works well even with large data sets. MySQL is very friendly to PHP. The most appreciated language for
web development, MySQL supports large databases, up to 50 million rows or more in a table.
The default file size limit for a table is 4GB, but you can increase this (if your operating system can handle it)
to a theoretical limit of 8 million terabytes (TB). MySQL is customizable. The open-source GPL. license allows
programmers to modify the MySQL software to fit their own specific environments.
DATA FLOW DIAGRAM
Block Diagram
ADMIN
HOME PAGE
STUDENTS
Admin Login
DETAILS ABOUT LIBRARY MANAGEMENT
STUDENTS BOOKS LOGIN DETAILS ANALYSIS
CHANGE BOOKS
NEW RECORD NEW BOOK PASSWORD
BOOKS
MODIFY BOOK LOGOUT ISSUED
RECORD ISSUE
STUDENTS (6-
10)
BOOK DEPOSIT
DELETE RECORD
STUDENTS (11-
12)
PHP Server
REQUEST QUERY
RESPONSE
Web Browser SEND
REQUEST
If Internet Connection is
available
Display FrontPage
with All Choices
Student Login
DETAILS ABOUT LIBRARY MANAGEMENT
BOOKS LOGIN
BOOKS CHANGE
AVAILABLE PASSWORD
BOOKS LOGOUT
ISSUED
PHP Server
REQUEST QUERY
RESPONSE
Web Browser SEND
REQUEST
If Internet Connection is
available
Display FrontPage
with All Choices
SYSTEM REQUIREMENTS
Before running the project "Library Management", the following points should be kept in concern:
1. Dual Core processor or higher
2. Front End: Java SE
3. Your Operating System must be one of the following:
Windows XP
Windows 7
Windows 10
4. SQL-Server/MY SQL/XAMPP/WAMP
5. Compatible input device.
6. Text Editor
SCREENSHOTS
Login Page
Create Account
PHP Local Host Server
Admin Login Main Screen
Student New Record
New Book Record
Student Login Main Screen
PREFACE
CURRENT STATUS OF PROJECT:-
This project is 80 percent developed and we will work on it in the future according to the upcoming
developments
It contains a lot of hard work and time for the two of us and we are so amused by the outcomes of our hard
work., this project is basically working on the management of the library.
FUTURE RECOMMENDATIONS:-
This project is quite flexible and we will definitely try to push our boundaries to make it more secure and
trustworthy for the students and the other users.
We enable the administrator and users to establish a direct contact with the library activities and it is a
a very easy and comfortable way to enquire about the library activities just by sitting on your couch.
In the future we will try to make our project more attractive to visit and increase its compatibility and
flexibility.
TEAM STRUCTURE:-
We have divided our tasks according to the specialization and interest.
There is very fine coordination between me and my co-partner.
The coding, frontend and backend issues of this project is done by (me) Charu Bansal the task linked
with project and testing and the designing by Deepika Chalana.
CONCLUSION
My Project "Library Management" is very easy to learn. It is user-interactive and very portable as you need to
install XAMPP or any of the PHP application on the server, MYSQL software to run it on your system.
Working on this minor project provided us a technical platform to comprehend the knowledge of technical
world. This provided us opportunity to brush up our skills in the areas of 'Java' and ‘Databases’.
SOURCE CODE
login
().toString();
rs=st.executeQuery("Select * from student_10 where class="+clas+" &&
name='"+n+"'");
if(rs.next()){
t3.setText(rs.getString("roll"));
t4.setText(rs.getString("fname"));
t6.setText(rs.getString("email"));
t7.setText(rs.getString("cls_teacher"));
else{
JOptionPane.showMessageDialog(null,"
return false;
return pat.matcher(email).matches();
}
BIBLIOGRAPHY
Books And Websites:
Java:-
1. Java – The Complete Reference
2. Geek for Geeks
3. Java T Point
4. Java by KA002EMugal
Database Management System:
1. Database Management by S. Chand
2. SQL Server 2005 MCSE Edition
3. W3 Schools.com
4. Database System Concepts by Henry F. Korth
5. Structured Query Language by Roger S. Pressman