Professional Documents
Culture Documents
system
Acknowledgement
We wish to express our profound gratitude and
indebtedness to Prof. Joyita Saha, Department of
Information Technology, WBUT for introducing
the present topic and for their inspiring
guidance , constructive criticism and valuable
suggestion throughout the project work. Last but
not least, our sincere thanks to all our friends who
have patiently extended all sorts of help for
accomplishing this undertaking.
Prepared by:
PUSHPAK KUMAR
SAURAV KUMAR
(3000213023)
(30000212015)
SUMIT KUMAR BURNWAL
(30000212025)
C
ontents
Introduction
System Design
(ER , Data Flow &
UML Diagrams)
SDLC
Coding
Project Scope
Testing
Product Functions
Maintenance
User Classes
Future Scope
Conclusion
References
Purpose
Feasibility Analysis
Assumptions
Requirement Analysis
Introduction
The project Online Library Management System is
developed in J2EE, which mainly focuses on basic
operations in a library like adding new member,
new
books,
and
updating their information,
searching books and members and facility to issue
and return books. Using this web application
registered user can make borrow request for books
and can look for the book either it is available in
library or not.
Purpose
1. It provides "better and efficient" service to members.
2. Reduce the workload of librarian.
3. Faster retrieval of information about the desired book.
4. Provide facility for proper monitoring, reduce paper work
and provide data security.
5. All details will be available on a click for both user and
librarian.
Feasibility Analysis
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.
Economical Feasibility:
Development of this application is highly economically
feasible .The organization needed not spend much m one for
the development of t he system already available. The only
thing is to be done is making an environment for the
development with an effective supervision. If we are doing so,
we can attain the maximum usability of the corresponding
resources .Even after the development, the organization will
not be in a condition to invest more in the organization
.Therefore, the system is economically feasible.
Product Scope
(Guest ,
User Classes
The users of the system are
Librarian (Administrator)
Members
Assumptions
Constraints
Hardware Requirement
Processor: Core 2 Duo or higher
RAM: 512 Mb or more
Hard Drive: 10 GB or more
Monitor : 15 CRT, or LCD monitor
Keyboard : Normal or Multimedia
Mouse: Compatible mouse
Software Requirement
Language : Java
Framework : J2EE
Functional requirements:
Librarian:
Insert book:
This action is done to add new book to library book
collection
Delete member:
Admin can delete a member due to some specific
rules.
Return book:
Admin should confirm the return of books borrowed by
users
Functional Requirements
Normal User :
Register:
When new user enters for the first time then he has to register
Extending borrowing deadline :
Member can extend the borrowing time to some limit decided by Admin
Common Functions :
Login:
Both Admin and members must be logged in before they modify any information
Search for book :
When user or admin wants to search on some book by name, author or subject etc.
Non-Functional requirements :
EFFICIENCY REQUIREMENT
When a library management system will be implemented librarian
and user will
easily access library as searching and book transaction will be very
faster .
RELIABILITY REQUIREMENT
The system should accurately performs member registration ,member
validation ,
report generation, book transaction and search.
USABILITY REQUIREMENT
The system is designed for a user friendly environment so that
student and staff of
library can perform the various tasks easily and in an effective way.
Performance
Requirement
The proposed system that we are going to develop will be used
as the Chief performance system within the library of the
institute which interact with the institutes staff and students.
Therefore, it is expected that the database would perform
functionally all the requirements that are specified by the
institute. The system shall accommodate high number of books
and users without any fault.
Safety Requirement
The database may get crashed at any certain time
due to virus or operating system failure. Therefore, it
is required to take the database backup.
Security Requirement
We are going to develop a secured database for the
university. There are different categories of users namely
teaching staff, administrator, students etc. Depending
upon the category of user the access rights are decided. It
means if the user is an administrator then he can be able
to modify the data, delete, append etc. All the other users
other than administrator only have the rights to retrieve
the information about database . No member users by any
means should be able to break into administrator region.
Planning:
Progress control
Gantt Chart
Pert Chart
Timeline
S
y
s
t
e
m
D
e
s
I
g
ER Diagram
Level
0
DFD
Level
1
DFD
(Book)
Level
1 DFD
(Member)
UML Diagrams
Use Case
Diagram
Class Diagram
Sequence
Diagram
Coding
user login module
<<Login.jsp>>
<html>
<head>
<title>LOGIN</title>
<script>function validate()
{
var uid = document.getElementById('uid').value;
var pwd = document.getElementById('pwd').value;
{
<body>
<jsp:include page="Header.jsp"/>
<form action="Login" method="post" onsubmit='return validate()'>
<table border="1" >
<thead>
<tr>
<th colspan="2">User Login</th>
</tr>
</thead>
<tr>
<td>User Id:</td>
<td><Input type="text" name="uid" id='uid'></td>
</tr>
<tr>
<td>Password :</td>
<td><input type="password" name="pwd" id='pwd'></td>
</tr>
<tr><td colspan="2" ><input type="submit" value="GO"><input type="reset"></td></tr>
<tr><td colspan="2"><a href="UserReg.jsp">New User? click here</a></td></tr>
</table>
</form>
<jsp:include page="Footer.jsp"/>
</body>
</html>
End of Login.jsp
<<Login.java>>
import java.io.*;import java.sql.*;import javax.servlet.*;import javax.servlet.http.*;
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
try{
String status1=null;int count=0;
String uid=request.getParameter("uid");
String pwd=request.getParameter("pwd");
Class.forName("com.mysql.jdbc.Driver");
Connection con=DriverManager.getConnection("jdbc:mysql://localhost/test", "root", "");
PreparedStatement smt1=con.prepareStatement("select status from reg where uid=? and pwd=?");
smt1.setString(1, uid);
smt1.setString(2, pwd);
ResultSet rs=smt1.executeQuery();
while(rs.next())
{status1=rs.getString(1);
++count;}
if(count!=0)
{
if(status1.equals("Allowed"))
{HttpSession session = request.getSession();
session.setAttribute("uid",uid);
RequestDispatcher rd=request.getRequestDispatcher("Home.jsp");
rd.forward(request,response);
}
if(status1.equals("Pending")){
out.print("Sorry! Your Membership Request Is Yet To Be Approved By Admin :(");
RequestDispatcher rd=request.getRequestDispatcher("Login.jsp");
rd.include(request,response);
}
}
else{
out.print("Sorry! Try again........");
RequestDispatcher rd=request.getRequestDispatcher("Login.jsp");
rd.include(request,response);
}
rs.close();
con.close();
} catch(Exception e){
System.out.println("Error:"+e);
}}}
time to launch
XARVIS
TESTING
unit testing
TESTING
unit testing
Integration
Testing
Maintenance
Future Scope
To make Online Submission of Fine possible for members.
To add preview for every book so that users can get a sneakpeek of
the book they are looking for.
To build RFID (Radio-frequency identification )and Bar Code
functionalities in Xarvis. So,that a member with vallid RFID will be
automatically logged in when entering library and at time of book issue
and return,bar code scanning will automatically update database of
library.
Adding Ebooks into Xarvis.
To model the whole j2ee project on Struts framework so that it can be
made enterprise level.
CONCLUSION
Xarvis simplifies the manual workload and ishelpful
in theeffective transactions ofthe library. The work
load of the administrator is reduced to a great extent
by computerized transactions and instant information
about the books in the library. The members of the
library are provided a very interactive interface to
search for the books by title as well as author. The
administrator can instantly make changes to the
database. LMS provides messages whenever required
viz. limit reached of member to borrow books, error
when trying to remove member who still has to pay
fine. Thus the project Xarvis LMS was achieved by
implementing J2EE,CSS,JS,HTML and Mysql database
and tested accordingly.
References