Professional Documents
Culture Documents
UNIVERSITY OF PUNE
A
PROJECT REPORT
ON
THE WEBSITE DEVELOPMENT FOR
LIBRARY MANAGEMENT SYSTEM
WITH SPECIAL REFERENCE TO
MASTER AND USER SETTINGS MODULE
SUBMITTED BY
Mr. SIDDHARTH J. DUBEY
UNDER THE GUIDANCE OF
Prof. JALAJ KUMAR PANDEY
SUBMITTED TO
UNIVERSITY OF PUNE
IN THE PARTIAL FULFILLMENT
FOR THE AWARD OF DEGREE OF
MASTER OF COMPUTER APPLICATION
(MCA SCIENCE FACULTY)
THROUGH
THE PRINCIPAL
ASMS
ACKNOWLEDGMENT
DECLARATION
I undersigned Mr. SIDDHARTH J. DUBEY hereby declare that the project work
entitled LIBRARY MANAGEMENT SYSTEM with special reference to Sun
Soft Solutions Pvt Ltd, Pune is conducted under the guidance of Mr. Jalaj Kumar
Pandey (HOD-CSIT College). It is my original work and has not been copied from
any other source or project work submitted to the University.
Place:
Date:
INDEX
S.
Topic
No.
INTRODUCTION
1.1
Company Profile
1.2
Existing System
1.3
Scope of Project
1.4
Operating Environment Hardware and
Software
1.5
Detail Description of Technology Used
Page
No.
PROPOSED SYSTEM
2.1
Proposed System
2.2
Feasibility Study
2.2.1 Technical Feasibility
2.2.2 Economics Feasibility
2.2.3 Operational Feasibility
2.3
Objective of the System
2.4
User Requirement
ANALYSIS AND DESIGN
3.1
DFD
3.2
Use Case Diagram
3.3
Class Diagram
3.4
Sequence Diagram
3.5
Activity Diagram
3.6
Deployment Diagram
3.7
User interface design(Screen shots)
3.8
Table Specification
3.8.1 ER Diagram
3.9
Data Dictionary
USER MANUAL
4.1
User Manual
4.2
Test Procedures and cases
DRAWBACKS AND LIMITATIONS
PROPOSED AND ENHANCEMENT
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
CONCLUSIONS
BIBLIOGRAPHY
INTRODUCTION
COMPANY PROFILE
EXISTING SYSTEM
System Analysis is a detailed study of the various operations performed by a
system and their relationships within and outside of the system. Here the key
question is- what all problems exist in the present system? What must be done to
solve the problem? Analysis begins when a user or manager begins a study of the
program using existing system.
During analysis, data collected on the various files, decision points and
transactions handled by the present system. The commonly used tools in the
system are Data Flow Diagram, interviews, etc. Training, experience and common
sense are required for collection of relevant information needed to develop the
system. The success of the system depends largely on how clearly the problem is
defined, thoroughly investigated and properly carried out through the choice of
solution. A good analysis model should provide not only the mechanisms of
problem understanding but also the frame work of the solution. Thus it should be
studied thoroughly by collecting data about the system. Then the proposed system
should be analyzed thoroughly in accordance with the needs.
System analysis can be categorized into five parts.
1. System planning and initial investigation
2. Information Gathering
3. Applying analysis tools for structured analysis
4. Feasibility study
5. Cost / Benefit analysis.
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
In our existing system all the transaction of books are done manually, So
taking more time for a transaction like borrowing a book or returning a book and
also for searching of members and books. Another major disadvantage is that to
preparing the list of books borrowed and the available books in the library will
take more time, currently it is doing as a one day process for verifying all records.
So after conducting the feasibility study we decided to make the manual Library
management system to be computerized.
SCOPE OF SYSTEM
OPERATING ENVIRONMENT
HARDWARE SPECIFICATION
Processor
Pentium IV 630MHz
RAM
Hard Disk
40GB
Monitor
15 Color monitor
Key Board
122 Keys
Printer
256 MB
SOFTWARE SPECIFICATION
Operating System :
Language
HTML,STRUTS.
Database
MySql Server5.5.
10
Software
Browser
11
Another key concern of the Java EE 5 specification has been the alignment of its
web tier technologies, namely Java Server Pages (JSP), Java Server Faces (JSF),
and Java Server Pages Standard Tag Library (JSTL).
The outcome of this alignment effort has been the Unified Expression Language
(EL), which integrates the expression languages defined by JSP 2.0 and JSF 1.1.
Java Servlet
Java Servlet technology provides Web developers with a simple, consistent
mechanism for extending the functionality of a Web server and for accessing
existing business systems. A servlet can almost be thought of as an applet that runs
on the server side--without a face. Java servlets make many Web applications
possible.
The reference implementation is included in the Java EE 5 SDK and also in the
open-source Java Platform, Enterprise Edition (Java EE) application server,
available through the Glassfish project, on java.net. The reference implementation
source code for Servlet technology is available from the svn repository on java.net.
Additional information on all web tier technologies in Glassfish can be found at
the Glassfish Web tier page.
STRUTS
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
12
The Apache Struts web framework is a free open-source solution for creating Java
web applications. Web applications differ from conventional websites in that web
applications can create a dynamic response. Many websites deliver only static
pages. A web application can interact with databases and business logic engines to
customize a response.
Web applications based on Java Server Pages sometimes commingle database
code, page design code, and control flow code. In practice, we find that unless
these concerns are separated, larger applications become difficult to maintain.
One way to separate concerns in a software application is to use Model-ViewController (MVC) architecture.
The Model represents the business or database code, the View represents the page
design code, and the Controller represents the navigational code. The Struts
framework is designed to help developers create web applications that utilize
MVC architecture.
The framework provides three key components:
1.
2.
3.
JAVA SCRIPT
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
13
Java code needs to be compiled while JavaScript codes are all in text.
JQUERY
JQuery is a fast, small, and feature-rich JavaScript library. It makes things like
HTML document traversal and manipulation, event handling, animation, and Ajax
much simpler with an easy-to-use API that works across a multitude of browsers.
With a combination of versatility and extensibility, JQuery has changed the way
that millions of people write JavaScript.
JQuery is a multi-browser JavaScript library designed to simplify the client-side
scripting of HTML. As of November 2012 it is used by over 55% of the 10,000
most visited websites. JQuery is the most popular JavaScript library in use today.
If you already have a solid understanding of the language or are coming here after
already attending the workshop feel free to skip ahead to the frequently asked
questions and supplementary resources sections.
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
14
Object Oriented:
In java everything is an Object. Java can be easily extended since it is based on the
Object model.
Platform independent:
Unlike many other programming languages including C and C++ when Java is
compiled, it is not compiled into platform specific machine, rather into platform
independent byte code. This byte code is distributed over the web and interpreted
by virtual Machine (JVM) on whichever platform it is being run.
Simple:
Java is designed to be easy to learn. If you understand the basic concept of OOP
java would be easy to master.
Secure:
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
15
Java compiler generates an architecture-neutral object file format which makes the
compiled code to be executable on many processors, with the presence Java
runtime system.
Portable:
Multi-threaded:
Java byte code is translated on the fly to native machine instructions and is not
stored anywhere. The development process is more rapid and analytical since the
linking is an incremental and light weight process.
High Performance:
16
HTML5 is intended to subsume not only HTML 4, but also XHTML 1 and DOM
Level 2 HTML.
Following its immediate predecessors HTML 4.01 and XHTML 1.1, HTML5 is a
response to the observation that the HTML and XHTML in common use on the
World Wide Web are a mixture of features introduced by various specifications,
along with those introduced by software products such as web browsers, those
established by common practice, and the many syntax errors in existing web
documents. [4] It is also an attempt to define a single markup language that can be
written in either HTML or XHTML syntax. It includes detailed processing models
to encourage more interoperable implementations; it extends, improves and
rationalizes the markup available for documents, and introduces markup and
application programming interfaces (APIs) for complex web applications.[5] For
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
17
the same reasons, HTML5 is also a potential candidate for cross-platform mobile
applications. Many features of HTML5 have been built with the consideration of
being able to run on low-powered devices such as smart phones and tablets. In
December 2011, research firm Strategy Analytics forecast sales of HTML5
compatible phones will top 1 billion in 2013.[6] In particular, HTML5 adds many
new syntactic features. These include the
elements, as well as the integration of scalable vector graphics (SVG) content (that
replaces the uses of generic <object> tags) and Math ML for mathematical
formulas. These features are designed to make it easy to include and handle
multimedia and graphical content on the web without having to resort to
proprietary plugins and APIs. Other new elements, such as <section> , <article>
, <header> and<nav>, are designed to enrich the semantic content of documents.
New attributes have been introduced for the same purpose, while some elements
and attributes have been removed.
Some elements, such as <a>, <cite> and <menu> have been changed, redefined or
standardized. The APIs and Document Object Model (DOM) are no longer
afterthoughts, but are fundamental parts of the HTML5 specification. HTML5 also
defines in some detail the required processing for invalid documents so that syntax
errors will be treated uniformly by all conforming browsers and other user agents.
CSS (Cascading Style Sheets)
18
Styles are normally saved in external .css files. External style sheets enable
you to change the appearance and layout of all the pages in a Web site, just
by editing one single file!
MYSQL
MySQL is currently the worlds most popular and widely used open source
database technology and data storage system. MySQL offers great reliability and
ease of use. It is free, and comes with free documentation as well as thousands of
programmers that share their code that relates to communicating with a MySQL
database.
You can think of a MySQL database as a container that holds string (text based)
data. Images, media files, audio files, and things of that nature really should not be
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
19
stored in a database. The trick is to put those files on the server in folders and just
reference their name and path in the database. Here are a few of the types of
applications PHP and MySQL can help you create:
Website Blogs.
Guest books.
on Solaris,
Linux, Mac
OS
X or Windows. Since
the
introduction of Java platform, it has been by far the most widely used Software
Development Kit (SDK).On 17 November 2006.
Sun announced that it would be released under the GNU General Public
License (GPL), thus making it free software. This happened in large part on 8 May
2007, when Sun contributed the source code to the Open JDK.
JRE (Java Runtime Environment)
The Java Runtime Environment (JRE), also known as Java Runtime, is part of the
Java Development Kit (JDK), a set of programming tools for developing Java
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
20
21
Modification Exception occurs while checking for memory leaks when a web
application is being stopped.
PROPOSED SYSTEM
22
FEASIBILITY STUDY
Whatever we think need not be feasible .It is wise to think about the feasibility of
any problem we undertake. Feasibility is the study of impact, which happens in the
organization by the development of a system. The impact can be either positive or
negative. When the positives nominate the negatives, then the system is considered
feasible. Here the feasibility study can be performed in two ways such as technical
feasibility and Economical Feasibility.
Technical Feasibility
We can strongly says that it is technically feasible, since there will not be much
difficulty in getting required resources for the development and maintaining the
system as well. All the resources needed for the development of the software as
well as the maintenance of the same is available in the organization here we are
utilizing the resources which are available already.
Operational Feasibility
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
23
An estimate should be made to determine how much effort and care will go into
the developing of the system including the training to be given to the user. Usually,
people are reluctant to changes that come in their progression. The computer
initialization will certainly affected the turn over, transfer and employee job status.
Hence an additional effort is to be made to train and educate the users on the new
way of the system.
Economical Feasibility
24
OBJECTIVES OF SYSTEM
The library management system will provide the librarian with easy to manipulate
their daily work by automating it. The library management system will have
following features.
I. Easy user interface: If the user of library a new user. They are not much familiar with
operating system. Therefore the need for good user interfaces arises.
Providing regarding success or failure of it makes the operators task
easier.
I. Keep the records of users: This is task is done by our system, where it keeps the all records of
the users.
25
I. Management of detailed information: This module enables the management for keeping the detailed
information about the user which comes to library. This contains the
information such as user residential information, his billing
information etc.
USER REQUIREMENTS
26
27
28
II.
EMPLOYEE:
III.
LIBRARIAN:
29
OTHERS:
30
CLASS DIAGRAM
I.
LOGIN:
II.
BOOK:
III.
RACK
31
SEQUENCE DIAGRAM
32
33
34
ACTIVITY DIAGRAM
35
36
DEPLOYMENT DIAGRAM
37
COMPONENT DIAGRAM
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
TABLE SPECIFICATIONS
ER DIAGRAM
99
DATA DICTIONARY
User Master
Id
Name
Password
Type
MemberId
Integer
Varchar (20)
Varchar (100)
Tinyint
Int
Auto
(F Key)
(F Key)
0
0
100
EmployeeId
Last Login
Last Password Change
Failed Attempted
Failed Date time
Int
Date Time
Date Time
Tinyint
Date time
(F Key)
User Details
Id
UserId
CollegeId
User Level Id
IsAdmin
Integer
Int
Tinyint
Tinyint
BIT
User Level
Id
Name
Sequence
Form Rights
IsDeleted
Tinyint
Varchar(20)
Tinyint
Varchar(1000)
Bit
Auto
Form Master
Id
Name
Navigate Form
NavigateURL
IsParent
IsVisible
Sequence
Parent Form Id
IsVisible
Smallint
Varchar(20)
Varchar(150)
Varchar(200)
Bit
Bit
Tinyint
Smallint
Bit
Auto
Employee Master
Id
FirstName
LastName
Gender
DoB
Address
Phone
Mobile
EmailId
Int
NVarchar(25)
NVarchar(25)
NVarchar(7)
Datetime
Nvarchar(50)
Varchar(20)
Varchar(20)
Varchar(30)
Auto
(F Key)
(F Key)
(F Key)
Primary,
Not
Null
Not Null
0
0
Primary,
Not
Null
Not Null
0
0
0
0
0
Auto
101
Employee Details
Id
EmployeeId
EmployeeNo
DepartmentId
CollegeId
Designation
StaffType
Phone
Ext
EmailId
Int
int
Varchar(20)
Smallint
Tinyint
NVarchar(25)
Tinyint
Varchar(20)
Varchar(10)
Varchar(30)
Auto
Student Master
Id
FirstName
LastName
Gender
DoB
Address
Phone
Mobile
Bigint
NVarchar(25)
NVarchar(25)
NVarchar(7)
Datetime
Nvarchar(50)
Varchar(20)
Varchar(20)
Auto
EmailId
Varchar(30)
Student Details
Id
StudentId
Bigint
Bigint
Auto
RegistrationNo
ValidFrom
ValidUpto
ClassId
Class_Master
Id
ShortName
Course
Year
DIV
0
0
Not Null
0
Varchar(30)
Datetime
Datetime
Smallint
Smallint
Varchar(10)
NVarchar(30)
Varchar (10)
Varchar(10)
Not Null
Not Null
Auto
Primary, Not Null
(Ex. MCA I, MBA Not Null
Not Null
II)
(Ex 1st ,2nd ,3rd
)
102
Subject
NVarchar(20)
Smallint
Varchar(10)
NVarchar(30)
Tinyint
Not Null
Auto
Bigint
Auto
NVarchar(30)
Smallint
(Ex. Book/CD/DVD.)
Smallint
Smallint
Smallint
Varchar(20)
NVarchar(100)
Smallint
(e.g. Novel, Course Book)
Primary, Not
Not
NullNull
Not Null
Book..)
Media Details
Id
MediaId
CollegeId
TotalQty
AvailableQty
IssueLimitation
Bigint
Bigint
Tinyint
Smallint
Smallint
Smallint
Auto
Auto
103
Member_Master
Id
FirstName
LastName
Gender
DoB
Address
Phone
Mobile
EmailId
Type
StudentId
EmployeeId
JoinDate
ExitDate
ReferenceNo
IdCardNo
Bigint
NVarchar(25)
NVarchar(25)
NVarchar(7)
Datetime
Nvarchar(50)
Varchar(20)
Varchar(20)
Varchar(30)
Tinyint
Int
Int
Datetime
Datetime
Varchar(20)
Varchar(20)
Auto
0
0
Bigint
Bigint
Datetime
Tinyint
Datetime
Datetime
Smallint
Tinyint
Tinyint
Auto
0
0
smallint
Auto
104
Name
Amount
Validity
TotalPriceLimit
TotalQtyLimit
CollegeId
Varchar(20)
Smallint
Smallint
Smallint
Tinyint
Tinyint
Plan_Details
Id
PlanId
MediaTypeId
PriceLimit
QtyLimit
AllowDays
smallint
smallint
Smallint
Smallint
Tinyint
Tinyint
Not Null
0
0
0
0
Auto
Auto
(F Key)
Auto
(F Key)
0
0
105
Id
Smallint
Name
Varchar(20)
CollegeId
Tinyint
>> Holidays Master
Holiday_Master
Id
Day
Date
IsHalfDay
Collegeid
Samllint
Varchar(20)
Datetime
Bit
Tinyint
WeeklyOff_Master
Id
Samllint
Day
Tinyint
IsHalfDay
Bit
Collegeid
Tinyint
ValidFrom
Datetime
ValidUpTo
Datetime
Auto
Auto
Auto
(Ex. 1.Sun, 2.Mon,
3.Tus)
Bigint
Auto
NVarchar(50) (Vendors / Donor
Varchar (50) Name)
Varchar(20)
NVarchar(50)
Bit
106
Purchase_Master
Id
VendorId
Date
Qty
TotalAmount
BillRefenceNo
Bigint
Bigint
Datetime
Smallint
Int
Varchar(20)
Auto
Bigint
Bigint
Bigint
Smallint
Int
Int
Int
Datetime
Datetime
Tinyint
Auto
d
>>Book/Media Issue
Media_Issue
Id
MemberId
IssueDate
ExpReturn
ActualRetrunDate
CollegeId
Bigint
Bigint
Datetime
Datetime
Datetime
Tinyint
Auto
107
Tinyint
Auto
(In Days)
Auto
Bigint
Bigint
Bigint
Bigint
Datetime
Smallint
Smallint
Tinyint
Bit
0
0
0
0
108
USER MANUAL
Install Apache Tomcat 7
1. To install Apache Tomcat 7, first click on apache-tomcat-7.0.21 installer.
2. Next, the welcome window will appear. Now click on [Next >] button.
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
109
110
5. If want, you can enter user name and password. Click on [Next >] button.
111
6. Browse the path where java runtime environment (jre) is installed. And click
on [Next >] button.
112
113
7. Now, browse the path where you want to install Apache Tomcat. And click
on [Install] button.
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
TC_L
MS_L
ogin_
01
Login
Book
Siddharth D
Amit D
Test Steps
Objecti
ve
Open Browser
Checking
login for
currect
user
name
and
password
Prerequis
ite
Test
Data
Enter url
http://localhost:8
080/LMS
Enter user
name
admin
Enter password
admin
Click on submit
button
Rac
k
Expec
ted
Result
should
display
login
page
Should
display
admin
home
page
A St
ct at
u us
al
R
es
ul
t
dis
pl
ay
ed
pr
op
erl
y
dis
pl
ay
ed
pr
Re
ma
rks
Pa
sse
d
Pa
sse
d
Pa
sse
d
Pa
sse
d
134
Open Browser
Checking
login for
invalid
user
name
and valid
password
Pa
sse
d
Enter url
http://localhost:8
080/LMS
Enter invalid
user name
Admiistrator
Enter valid
password
admin
Click on submit
button
TC_L
MS_B
ook_0
1
Click on book
tab
Enter book
code
Enter book
name
Enter author
Click on submit
button
should
display
login
page
dis
pl
ay
ed
pr
op
erl
y
Should
display
Error
messag
e that
"Userna
me or
passwo
rd
invalid"
dis
pl
ay
ed
pr
op
erl
y
Should
insert
records
into
databas
e
St
or
ed
pr
op
erl
y
Pa
sse
d
Pa
sse
d
Pa
sse
d
Pa
sse
d
Checking
existing
book and
add new
book
JAVA-B
Programmin
g in Java
Balguruswa
mi
Pa
sse
d
135
Click on book
tab
Checking
validatio
n for
book
entry
without
book
code
Enter blank
book code
Enter book
name
Enter author
Click on submit
button
TC_L
MS_R
ack_0
1
Click on Rack
tab
Programmin
g in Java1
Mc-Hill
Click on Rack
tab
Enter blank
rack no
Enter Degree
Enter
Department
dis
pl
ay
ed
pr
op
erl
y
Pa
sse
d
Should
insert
records
into
databas
e
St
or
ed
pr
op
erl
y
Pa
sse
d
Checking
existing
racks
and add
new rack
Enter rack no
Enter Degree
Enter
Department
Click on submit
button
TC_L
MS_R
ack_0
2
Should
display
Error
messag
e that
"Please
enter
book
code"
MCA(Sci)
Computer
Science
Checking
validatio
n for rack
entry
without
rack no
MBA
Engineering
136
Should
display
Error
messag
e that
"Please
enter
rack
no"
dis
pl
ay
ed
pr
op
erl
y
Pa
sse
d
137
Through the system was developed keeping in mind many objectives, some of
them have not been completed that will be limitations and drawback of the system.
This system doesnt facilitate change of password,this has to be done at
backend level and only database administration can do this.
Online purchase of the book are not possible in this software.
Advance purchase facility is not provided.
Payment through order of books facility is not provided.
Cannot Customize the application environment to desired level.
PROPOSED ENHANCEMENT
Our project is only a humble venture to satisfy the needs in a library. Several user
friendly coding have also adopted. This package shall prove to be a powerful
package in satisfying all the requirements of the organization.
ASMS COLLEGE OF COMMERCE, SCIENCE & INFORMAITON TECHNOLOGY,
PUNE-19
138
BIBLIOGRAPHY
139
140
MCA PROGRAMME
OF PUNE
UNIVERSITY
141