Fouridiots Online Library Management System
October 31
2009
Sri Jayachamrajendra College Of Engineering, Mysore (Karnataka) Team Mentor Anand Raj Ulle Team Members
Amit Kumar Roushan Arpit Rohatgi Birendra Kumar Prateek Chandra Roy
SRS Version 1.0
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
REVISION HISTORY Date 31/10/2009
Fouridiots
Version 1.0
Description Synopsis
KARNATAKA/TGMC 2009
Author Fouridiots
Page | 2
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Table of Contents 1. Introduction 1.1 Purpose 1.2 Scope 1.3 Definitions, Acronyms and Abbreviations 1.4 References 1.5 Technologies used 1.6 Tools used 1.7 Overview
2. Overall Description 2.1 Use Case Model Survey 2.2 Class diagram 2.3 Activity Diagram 2.4 Sequence diagram 2.5 ER Diagram 2.6 Assumptions and Dependencies
3. Specific Requirements 3.1 Use Case Reports
Fouridiots
KARNATAKA/TGMC 2009
Page | 3
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
1. Introduction Online Library Management System (LiMS):-
This project is an Intranet based application that can be accessed throughout the campus. This system can be used to search for books/magazines, reserve books, find out who is having a particular book, put in requests to buy a new book etc. This is one integrated system that contains both the user component and the librarian component
1.1 Purpose:The purposes of this application are as follows: • The software is for automation of library. • It provides following facilities to Operator: • Can enter details related to a particular book. • Can provide membership to members. Administrator: • Can read and write information about any member. • Can update, create and delete the record of membership as per requirement and implementation plants Students and Faculty: • Can login to his account
Fouridiots
KARNATAKA/TGMC 2009
Page | 4
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
• Can update his profile ,search for a books, CDs, journals etc and even issue & reserve them • Can even place requests for purchasing new books to the library. Author & Publisher: • Can login to the system and publish advertisement for their books • Can request the administrator to add their new books
1.2 Scope The different areas where we can use this application are: • Any education institute can make use of it for providing information about author, content of the available books. • It can be used in offices and modifications can be easily done according to requirements.
1.3 Definitions, Acronyms and Abbreviations • User – A general user ID is provided to operator, administrator, students, faculty, author and publishers. • Data flow diagrams – It shows the data flow between entities. • Unique key – Used to differentiate entries in a database. • HTML – Hypertext Markup Language is to create static websites. • J2EE – Java 2 Enterprise Edition is a programming platform and it is the part of the java platform for developing and running distributed java applications. • WAS – Web sphere application server community edition is an application server that runs and supports the J2EE and web service applications. • RSA – Rational Software Architect is a designer toolkit which is designed for develop more complex projects by providing fully dynamic web service.
Fouridiots
KARNATAKA/TGMC 2009
Page | 5
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
•
• •
• • •
:
DB2 – Database 2 is the database management system that provides a flexible and efficient database platform to erect strong on demand business applications. XML - Extensive Markup Language used for data transfer and XML is stored naturally in DB2 EJB – Enterprise java bean, it is architecture for the development and deployment of transactional, distributed object applications-based, serverside software components. HTTP – Hypertext transfer protocol is a transaction oriented client/server protocol between web browser and a web server. HTTPS – Secure hypertext transfer protocol is a hypertext transfer protocol over secure socket layer. TCP/IP – Transmission control protocol/internet protocol is the communication protocol used to connect hosts on the internet.
1.4 References • •
IEEE SRS format Project specification requirement (provided by IBM)
1.5 Technologies used • HTML – Hyper Text Markup Language • Java Script – Script Language • XML – Extensive Mark Up Language • JAVA – Application architecture • J2EE – Application architecture • EJB – Enterprise Java Bean • AJAX – Asynchronous Java script And XML 1.6 Tools used • RSA – Rational Software Architect 7.0
Fouridiots
KARNATAKA/TGMC 2009
Page | 6
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
• DB2 Express – ‘C’ – Database • WAS – Websphere Application Server 6.0 • TSM – Tivoli Storage Manager 1.7 Overview • Project is related to library management which provides reading services to its members. • Any person can become a member of the library by filling a prescribed form. • They can get the book issued, so that they can take home and return them.
Fouridiots
KARNATAKA/TGMC 2009
Page | 7
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
2.1 USE CASE MODEL SURVEY View Log Files
Add Books
Add Member
Remove old books
Remove Member
Fine collection on late submission
Send e-mail reminder
Change DB Location
Librarian
Advertize for Books
Publisher
View Help Update Profile Login Change password Sign up
Logout
Search of books through OPAC
Student
Reservation for a book
Faculty
Author
Cancellation of reserved book
Request for a new book Get feedback from other members Status of the book issued
Issue of book Fouridiots
Return of books
KARNATAKA/TGMC 2009
Page | 8
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
2.2 CLASS DIAGRAM access •
createAccount () updateAccount () deleteAccount ()
access
LIBRARIAN
DATABASE
Maintenance ()
BOOKS DATABASE bookname : String isbn : String author : String publisher : String price : Float bookCode : String noOfBooks : Int rackNo : Int subjectCode : String
access
provide service
Can register 1 0..1
USER
*
addBook () removeBook () showBokDetail () showIssueHistory ()
search ()
LOGIN loginID : String password: String verifyLogin () forgotPassword () logout () changePassword ()
STUDENT
PUBLISHER
search () reserve () cancel () issue () status () return () request ()
search () advertise ()
FACULTY search () issue () status () return () request ()
REFERNCE BOOKS DATABASE bookname : String isbn : String author : String publisher : String price : Float bookCode : String noOfBooks : Int rackNo : Int subjectCode : String
AUTHOR
addBook () removeBook () showBookDetail ()
search () getFeedback ()
0..1
Register loginID : String password : String fname : String lname : String e-mail : String age : Int sex : String securityquestion : String agreement : Boolean setprofile() getProfile() deleteProfile() verifyProfile()
Fouridiots
KARNATAKA/TGMC 2009
Page | 9
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
2.3 ACTIVITY DIAGRAM OF EACH OPERATION 2.3.1 Student class
• Add Student : add a new student
validateStudent
[ exists ]
return error message
[ not exists ]
add the student record to Student table
return success message
• Delete Student : delete an existing student
validat eStudent
[ not exists ]
return error message
[ exists ]
delete t he student record to Student table
Fouridiots
return success message
KARNATAKA/TGMC 2009
Page | 10
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
• Update Student : update information of existing student
Update the student record in the Student table
• Search Student : search students Query the student record in Student table
return Resultset
Fouridiots
KARNATAKA/TGMC 2009
Page | 11
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
• Validate Student : validate student Query the student in Student table according to studentID
Return Resultset
[ not empty ]
Return true
[ empty ]
Return false
2.3.2 BOOK CLASS ADD BOOK: ADD A NEW BOOK TO DATABASE
Check Book record in database
exist
yes
Return "Book already exist" message
no Insert book record in database
return success message
Fouridiots
KARNATAKA/TGMC 2009
Page | 12
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Exist: Check if the book record already exist in database.
Search Book record in database
found record?
no
return not exist message
yes return exist message
Fouridiots
KARNATAKA/TGMC 2009
Page | 13
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Search Book: Search books in database
search book record in database
return resultset
Update Book: modify book info
update record in database
return success message
Fouridiots
KARNATAKA/TGMC 2009
Page | 14
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Delete Book: Delete a book in database
check existence
exist?
no
yes
delete the record
return fail message
return success message
Fouridiots
KARNATAKA/TGMC 2009
Page | 15
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
2.4 SEQUENCE DIAGRAM:
• USER LOGIN Case 1: EXCEPTIONAL CASE
User user
service Librarian provi
Admin DB
1: enter username and password
2: forward 3: verify
4: login incorrect
5: login failed
Fouridiots
KARNATAKA/TGMC 2009
Page | 16
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Case 2: NORMAL FLOW FOR USER LOGIN
User user
servivce Librarian provider
AdminDB DB Admin
1: enter username and password
2: forward
3: verify
4: confirmed 5: login successful
Fouridiots
KARNATAKA/TGMC 2009
Page | 17
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
• REGISTERATION/SIGNUP Case 1: EXCEPTIONAL CASE 1
User user
service Librarian provi
AdminDB DB Admin
1: request register
2: enter details 3: submit details
4: verify 5: registration failed (Incomplete data)
Fouridiots
KARNATAKA/TGMC 2009
Page | 18
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Case 2: EXCEPTIONAL CASE 2
Librarian Service provi
User user
Admin Admin DB DB
1: request register
2: Enter details 3: Submit details 4: forward 5: verify register
6: registered user already exists
7: registration failed
Fouridiots
KARNATAKA/TGMC 2009
Page | 19
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Case 3: NORMAL FLOW FOR USER REGISTRATION
User user
Service provi Librarian
Admin DB
1: request register
2: Enter details 3: submit details
4: forward 5: verify
6: confirm 7: registration successful
Fouridiots
KARNATAKA/TGMC 2009
Page | 20
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
•
:
SEARCH THROUGH OPAC Case 1: EXCEPTIONAL CASE
User user
service Librarian prov
Admin AdminDB DB
1: request search for books 2: forward 3: verify availabilty
4: not available
5: display message
Fouridiots
KARNATAKA/TGMC 2009
Page | 21
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Case 2: NORMAL FLOW FOR SEARCH
User user
service provi Librarian
Admin AdminDB DB
1: request for search
2: forward search 3: verify the availability
4: available 5: display search result
Fouridiots
KARNATAKA/TGMC 2009
Page | 22
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
• ISSUE OF BOOKS Case 1: EXCEPTIONAL CASE
User user
service Librarian provi
Admin AdminDB DB
1: request for issue 2: forward 3: verify the availability
4: Not available 5: request failed
Fouridiots
KARNATAKA/TGMC 2009
Page | 23
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Case 2: NORMAL FLOW FOR ISSUE BOOKS
User user
service Librarian provi
Admin AdminDB DB
1: request for issue 2: forward 3: verify the availability
4: available 5: book issued
Fouridiots
KARNATAKA/TGMC 2009
Page | 24
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
• RETURN OF BOOKS Case 1: RETURN WITH FINE
User user
service Librarian provi
Admin AdminDB DB
1: request for return 2: forward 3: verify due date
4: date>due date 5: fine
6. Payment
7. Verify
8. Return
Fouridiots
KARNATAKA/TGMC 2009
Page | 25
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
Case 2: NORMAL FLOW FOR RETURN WITHIN DUE DATE
User user
service Librarian provi
Admin AdminDB DB
1: request for return 2: forward 3: verify due date
4: date<=due date 5: return
Fouridiots
KARNATAKA/TGMC 2009
Page | 26
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
• ADDITION OF NEW BOOKS
User user
service Librarian provi
Admin AdminDB DB
1. Enter details of new book 2: verify
3. Book added 4. ready for access
Fouridiots
KARNATAKA/TGMC 2009
Page | 27
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
•
:
REMOVAL OF OLD BOOKS
User user
service provi Librarian
Admin AdminDB DB
1. Enter details of old book 2: verify
3. Book removed
Fouridiots
KARNATAKA/TGMC 2009
Page | 28
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
•
:
RESERVATION OF BOOKS
User tourist
Service Librarian provi
Admin AdminDB DB
1: reserve the book
2: verify login 3: yes
4: enter reservation details 5: forward
6: verify reservation
7: confirm
8: confirm
Fouridiots
KARNATAKA/TGMC 2009
Page | 29
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
•
:
CANCELLATION OF PREVIOUS REGISTRATION
User tourist
Admin DB DB Admin
Service Librarian provi
1: enter username and password 2: verify login 3: yes
4: enter cancellation details 5: forward
6: verify cancellation
7: confirm
8: confirm
Fouridiots
KARNATAKA/TGMC 2009
Page | 30
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
•
:
CHANGE PASSWORD
User tourist
Admin DB DB Admin
Service Librarian provi
1: enter username and password 2: verify login 3: yes
4: enter new password 5: forward
6: verify new password
7: confirm
8: confirm
2.5 E-R DIAGRAM
Fouridiots
KARNATAKA/TGMC 2009
Page | 31
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
Journals
No. of books
Library
Magazines
:
Rack no
ISBN Reference Section
Newspaper
Contains
Subject code
Book Issue Section
Book code
Book name
Books
Author
Price
Publisher Issue
Date of Issue
Login ID
Amount
Status
Return
Issue
Member amm
Department
Department Date of Expiry
Type Name
Book Code
Book Code
ID No.
Status of Return
Date of Issue
Fouridiots
Book Name
Status of Issue
ID No.
Date of Issue
Date of Expiry
KARNATAKA/TGMC 2009
Book Name
Date of Expiry Page | 32
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
2.5 ASSUMPTIONS AND DEPENDENCIES • The end user should have a basic knowledge of English and computer usage. • The end user should be able to provide the appropriate information as per the request made by the services like book name during the subscription. • Administrator is created in the system already. • Roles and tasks are predefined.
3.0 SPECIFIC REQUIREMENTS 3.0.1 USE CASE REPORTS STUDENT/FACULTY • Sign Up: In order to register for various facility of the library he must enter all the details like username, email, member ID, password and various personal details.
• Sign In: After getting the username and password, end users can log on to their account, can change password and access the library.
• Open profile: End user can open their profile which contains the personal details which he/she provided during Sign up.
• View profile: End user can view their profile which contains the personal details which he/she provided during Signup. • Update profile:
Fouridiots
KARNATAKA/TGMC 2009
Page | 33
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
End user can update their profile which contains the personal details which he/she provided during Sign up if any update required.
• Change password: The end user can change the password after signing in.
• Issue Books: The end user can issue the books from issue section of the library.
• Return Books: The end user can return the books. Fine is charged if he/she submits the book after the due date. • Request for a new Book: The end user can place a request to add a new book to the library.
• Reserve Books: The end user can reserve the books prior to its issue if the book is unavailable in the library at present.
• Cancel Books: The end user can cancel the reservation made. • Search Books through OPAC: The books in the library can be searched through parameters like book name, book code, Author, subject name and department.
• Status of a Book: The end user can check the status of any book.
• Help: The terms and conditions, rules and FAQs are listed in this category and can be accessed from the end user.
• Sign out: The user can exit from the application after the book transaction is completed.
Fouridiots
KARNATAKA/TGMC 2009
Page | 34
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
LIBRARIAN • Sign in: The librarian can sign in and do the various jobs.
• Maintenance: The librarian maintains the databases of the books, members and gets the feedback from the users.
• Add Books: Add new books to the library with all the details of the book.
• Remove Books: The old and damaged books are removed from the library and kept to the warehouse.
• Add Member: The members are added through the confirmation of the librarian only.
• Remove Member: The members are removed if he/she does exist in the college.
• Search: The librarian can search the users and books with any parameters.
• View Log Files: The librarian can check the record of the previous database.
• Send email reminder: The reminder is sent to the users four days prior to due date of the book. • Fine collection: The fine is collected from the user if he/she has submitted the book after the due date.
• Change database location: The librarian can change the location of the database stored.
• Sign Out: After completing all the work the librarian comes out of the application.
Fouridiots
KARNATAKA/TGMC 2009
Page | 35
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
AUTHOR • Sign Up: In order to register for various facility of the library he must enter all the details like username, email, member ID, password and various personal details.
• Sign In: After getting the username and password, end users can log on to their account, can change password and access the library.
• Open profile: End user can open their profile which contains the personal details which he/she provided during Sign up.
• View profile: End user can view their profile which contains the personal details which he/she provided during Signup. • Update profile: End user can update their profile which contains the personal details which he/she provided during Sign up if any update required.
• Change password: The end user can change the password after signing in. • Search Books through OPAC: The books in the library can be searched through parameters like book name, book code, Author, subject name and department.
• Help: The terms and conditions, rules and FAQs are listed in this category and can be accessed from the end user.
• Get Feedback: The Author can get feedback from the readers and do the corrections in his next edition. Fouridiots
KARNATAKA/TGMC 2009
Page | 36
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
• Sign out: The user can exit from the application after the book transaction is completed.
PUBLISHER • Sign Up: In order to register for various facility of the library he must enter all the details like username, email, member ID, password and various personal details.
• Sign In: After getting the username and password, end users can log on to their account, can change password and access the library.
• Open profile: End user can open their profile which contains the personal details which he/she provided during Sign up.
• View profile: End user can view their profile which contains the personal details which he/she provided during Signup. • Update profile: End user can update their profile which contains the personal details which he/she provided during Sign up if any update required.
• Change password: The end user can change the password after signing in. • Search Books through OPAC: The books in the library can be searched through parameters like book name, book code, Author, subject name and department.
• Help:
Fouridiots
KARNATAKA/TGMC 2009
Page | 37
Online Library Management System
Version :
1.0
Software Requirements Specification
Date
October 31, 2009
:
The terms and conditions, rules and FAQs are listed in this category and can be accessed from the end user.
• Advertise: The publisher can advertise his/her books by placing add on the application.
• Sign out: The user can exit from the application after the book transaction is completed.
Fouridiots
KARNATAKA/TGMC 2009
Page | 38