SE LAB Exp-2-1
SE LAB Exp-2-1
BOOK BANK
SYSTEM
A Book Bank lends books and magazines to member, who is registered in the system.
Also it handles the purchase of new titles for the Book Bank. Popular titles are brought into
multiple copies. Old books and magazines are removed when they are out of date or poor in
condition. A member can reserve a book or magazine that is not currently available in the
book bank, so that when it is returned or purchased by the book bank, that person is notified.
The book bank can easily create, replace and delete information about the tiles, members,
loans and reservations from the system.
SPECIFICATION: 1.0
INTRODUCTION
Book Bank is the interface between the students and Librarian. It aims at improving
the efficiency in the Issue of books or magazines and reduce the complexities involved in it to
the maximum possible extent.
PURPOSE
If the entire process of 'Issue of Books or Magazines' is done in a manual manner then
it would take several months for the books or magazines to reach the applicant. Considering
the fact that the number of students for Book Bank is increasing every year, an Automated
System becomes essential to meet the demand. So this system uses several programming and
database techniques to elucidate the work involved in this process. The system has been
carefully verified and validated in order to satisfy it.
SCOPE
The System provides an online interface to the user where they can fill in their
personal details and submit the necessary documents (may be by scanning). The authority
concerned with the issue of books can use this system to reduce his workload and process the
application in a speedy manner.
Librarian - Refers to the super user who is the Central Authority who
has been vested with the privilege to manage the entire system.
1
Student - One who wishes to obtain the Books or Magazines.
HTML - Markup Language used for creating web pages.
1
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.
HTTP -Hyper Text Transfer Protocol
TCP/IP - Transmission Control Protocol/Internet Protocol is
the communication protocol used to connect hosts on the
Internet.
REFERENCES
TECHNOLOGIES TO BE USED
● Visual Basic
● Oracle 11g
TOOLS TO BE USED
OVERVIEW
Overall description will describe major role of the system components and inter-
connections.
OVERALL DESCRIPTION:
PRODUCT PERSPECTIVE
The SRS acts as an interface between the 'Students' and the 'Librarian'. This system
tries to make the interface as simple as possible and at the same time not risking the
security of data stored in. This minimizes the time duration in which the user receives
the books or magazines.
SOFTWARE INTERFACE
The server is directly connected to the client systems. The client systems have
access to the database in the server.
SYSTEM FUNCTIONS
● Librarian can generate reports from the information and is the only
authorized personnel to add the eligible application information to the
database.
USER CHARACTERISTICS
● Student - They are the people who desire to obtain the books and submit
the information to the database.
● Librarian - He has the certain privileges to add the books and to approval of
the reservation of books.
CONSTRAINTS
(III)USE-CASE DIAGRAM:
The book bank use cases are:
1. book_issue
2. book_return
3. book_order
4. book_entry
5. search book_details
ACTORS INVOLVED:
1. Student
2. Librarian
3. Vendor
USECASE NAME : SEARCH BOOK_DETAILS
The librarian initiates this use case when any member returns or request the book and
checking if the book is available.
Precondition: The librarian should enter all Book details.
Normal Flow: Build message for librarian who search the book.
Post Condition: Send message to respective member who reserved the book.
Initiated by librarian when any member wants to borrow the desired book. If the book
is available, the book is issued.
Precondition: Member should be valid member of library.
Normal Flow: Selected book will be issued to the member.
Alternative Flow: If book is not available then reserved book use case should be initiate.
Post Condition: Update the catalogue.
Initiated by librarian when the requested book is not available in the library at that moment.
The book is reserved for the future and issued to the person when it is available.
Precondition: Initiated only when book is not available.
Normal Flow: It reserved the book if requested.
Post Condition : Mention the entry in catalogue for reservation.
The purchase book use-case when new books invoke it or magazines are added to the library.
Precondition: Not available or more copies are required.
Normal Flow: Enter bookid,author information, publication information,
purchased date, prize and number of copies.
Post Condition: Update the information in catalogue.
book_order
book_issu
e
stude
nt Fig libraria
3.1 USE-CASE DIAGRAM FOR BOOK BANK SYSTEM
n
book_retur
n
book_entr
y
vendo
search r
book_details
(IV) ACTIVITY DIAGRAM:
Activity diagrams are graphical representations of workflows of stepwise activities and
actions with support for choice, iteration and concurrency. In the Unified Modeling
Language, activity diagrams can be used to describe the business and operational step-by-step
workflows of components in a system. An activity diagram shows the overall flow of control.
An activity is shown as an rounded box containing the name of the operation. This activity
diagram describes the behaviour of the system.
Fig4.1shows
ACTIVITY
id card DIAGRAM [BORROW BOOK]
is book available?no
enquires for alternative book
yes
if satisfied?
borrows book
yes
no
no
yes
place order
takes delivery
pays fine
yes
2
(V) CLASS DIAGRAM:
The class diagram, also referred to as object modeling is the main static analysis
diagram. The main task of object modeling is to graphically show what each object will do in
the problem domain. The problem domain describes the structure and the relationships among
objects.
1) STUDENT:
It consists of twelve attributes and three operations. The attributes are enrollno, name,
DOB, fathername, address, dept name, batch and book limits. The operations of this class are
addStInfo(), deleteStInfo(), modifyStInfo().
2) BOOK:
It consists of ten attributes and four operations. This class is used to keep book
information such as author, title, vendor, price, etc
3) ISSUE:
It consists of eight attributes and two operations to maintain issue details such as,
issue date, accno of issued book, name of the student who borrowed book.
4) RETURN:
It consists of eight attributes and two operations to maintain issue details such as,
issue date, accno of issued book, name of the student who borrowed book.
5) STUDENTS:
The attributes of this class are name, dept ,year ,bcode no The operation is display
students().
6) DETAIL:
The attributes of this class are book name, author, bcode no The operations are delete
details().
Fig.5. CLASS DIAGRAM FOR BOOK BANK SYSTEM
(VI) SEQUENCE DIAGRAM:
An event also is considered to be any action by an object that sends information. The
event line represents a message sent from one object to another, in which the “form” object is
requesting an operation be performed by the “to” object. The “to” object performs the
operation using a method that the class contains.
It is also represented by the order in which things occur and how the objects in the
system send message to one another.
: student : librarian : issue : return search D
B
1: request book
5: not avilable
6: not available
8: check availability
9: check availabilty
10: available
11: avilable
12: avilable
4:
22: return status updated notavilable
10:availab
le
: return search
It consists of state, events and activities. State diagrams are a familiar technique to
describe the behavior of a system. They describe all of the possible states that a particular
object can get into and how the object's state changes as a result of events that reach the
object
ve nd or su pplie s bo o k to
student returns book to library[
pays fine if needed]
student takes book
Fig.8.1.DEPLOYMENT DIAGRAM
{
private integer
accno; private string
author; private string
title; private string
edition;
private integer publicationid;
private double price;
private date purchaseDate;
private integer vendorId;
private string vendorName;
private integer isReference;
public return1 theReturn1;
public vendor1
theVendor1;
/**
@roseuid 51187CA503B2
*/
public book()
{
/**
@roseuid 510F44A7007E
*/
public void viewBookDetails()
{
/**
@roseuid 510F44B50217
*/
public void addbookinfo()
{
/**
@roseuid 510F44BD0063
*/
public void deletebookinfo()
{
/**
@roseuid 510F44C60045
*/
public void modifybookinfo()
{
}
}
/**
void book1.newbookdetails(){
void book1.modify(){
}
void book1.add(){
}
void book1.viewBookDetails(){
}
void book1.bookEntry(){
}
void book1.delete(){
*/
/**
@roseuid 5100DE750281
*/
public issue()
{
}
}
//void issue.modify(){
//
// }
//void issue.bookissue(){
//
// }
/**
@roseuid 50F92E4D0177
*/
public return1()
{
/**
@roseuid 50F91C69005D
*/
public void bookreturn()
{
/**
@roseuid 50F91C6C0000
*/
public void modify()
{
}
}
/**
@roseuid 50F92E4D00FA
*/
public student()
{
/**
@roseuid 50F918E6000F
*/
public void add()
{
/**
@roseuid 50F918EB03A9
*/
public void delete()
{
/**
@roseuid 50F918EE029F
*/
public void modify()
{
}
}
/**
@roseuid 5118C814009C
*/
public vendor1()
{
/**
@roseuid 5118B75100AB
*/
public void bookOrder()
{
/**
@roseuid 5118B75702BF
*/
public void modify()
{
}
}
//void vendor1.bookorder(){
//
// }