Professional Documents
Culture Documents
SYSTEM
PROJECT REPORT
Santosh Kumar
Saurabh Gupta
131341
131366
131367
CSE( B4)
CSE(B4)
CSE(B4)
ACKNOWLEDGEMENT
We have taken efforts in this project. However, it would not have been
possible without the kind support and help of many individuals and
organizations. I would like to extend my sincere thanks to all of them.
We are highly indebted to Teachers for their guidance and constant
supervision as well as for providing necessary information regarding the
project & also for their support in completing the project.
We would like to express our gratitude towards our parents & members of
my Project Group for their kind co-operation and encouragement which
help me in completion of this project.
My thanks and appreciations also go to my colleague in developing the
project and people who have willingly helped me out with their abilities
CERTIFICATE
This is to certify that this report of Hotel Reservation System the original work
done by Prabin Gupta, Santosh Kumar and Saurabh Gupta during this project
submission as a partial fulfillment of the requirement for the Software Engineering
Project of B.Tech V Semester, of the Jaypee University Of engineering &
Technology, Guna.
Table of Contents
Introduction
Feasibility Study
Requirement Analysis
System Constraints
11
Design Phase
12
14
Entity-Relationship Diagram
15
Activity Diagram
16
Class Diagram
17
Database Schema
18
21
Testing
45
Conclusion
48
Bibliography
48
Introduction :
This existing system is not providing secure registration and profile management of all
the users properly.
This manual system gives us very less security for saving data and some data may be
lost due to mismanagement.
Proposed System :The development of this new system contains the following
activities, which try to automate the entire process keeping in the view of
database integration approach.
This system maintains users personal info, address, and contact details.
User friendliness is provided in the application with various controls provided by system
rich user interface.
This system makes the overall project management much easier and flexible.
Authentication is provided for this application. Only registered users can access.
This system is providing accessibility control to data with respect to users.
Purpose :The purpose of this document is to present a detailed Hotel Reservation
System. It will explain the different functional as well as non functional
requirements of the system, the interfaces of the system, what the system will
do or how the system will interact with the external users, the constraints under
which it will operate. This Software Requirement Specification document will
provide a clear understanding of what is expected by the client in the proposed
Hotel Reservation System.
Software Development Life Cycle Model :Rapid Prototyping Life Cycle Model :Rapid prototyping is a revolutionary and powerful technology with wide range of
applications .The process of prototyping .The process of prototyping involves quick building up of a
prototype or working model for the purpose of testing the various design features, ideas, concepts,
functionality, Output and performance.
Feasibility is a measure of how beneficial the development of the information system will be to
an organization. This is done by investigating the existing system in the area under investigation
or generally ideas about a new system. It is a test of a system proposal according to its
workability, impact on the organization, ability to meet user needs, and effective use of
7
Specific Requirements:Since the Administrator and the student/user are the main target group of our software, we will
only concern about some important functions for the admin and the user.
Administrator: The administrator is the one who manipulates and maintains the system. He can enter into
the system by entering login name and password.
Again, he can add hotels to the database.
Add new user to the database and issue a valid ID for the user.
8
He is also responsible for sending the response to the email id provided by the user at the
start of his registration.
User Interfaces
Software Interfaces
Hardware Interfaces
User Interfaces:The interface must be easy to understand. The user interface includes: Screen formats/organization: The introductory screen will be the first to be displayed
which will allow the users to do the member registration.
Window format/organization: When the user chooses some other option, then the
information pertaining to that choice will be displayed in a new window which ensures
multiple windows to be visible on the screen and the users can switch between them.
Data format: The data entered by the users will be alpha numeric.
End messages: When there are some exceptions raising error like entering invalid
details, then error messages will be displayed prompting the users to re-enter the details.
System Constraints :-
System Constraints restrict options of design, behavior, appearance or operation. They become
requirements due to factors outside the normal problem domain. System Constraints describe
how the product operates inside various circumstances and limit the options designers have if
building the product. This section specifies design constraints imposed by other standards,
hardware limitations, communication interface limitations, etc. There are a number of attributes
of software that can serve as requirements.
User Interface Constraints
Using this system is fairly simple and intuitive. A user familiar with basic navigation skills
should be able to understand all functionality provided by the system.
Hardware Constraints
The system should work on most home desktop and laptop computers.
Designing: The purpose of the design phase is to plan a solution of the problem specified by the
requirement document. This phase is the first step in moving from problem domain to the
solution domain.
LEVEL 0 :-
12
13
14
15
ADD HOTEL
16
SHOW DETAIL
ADMIN
LOGIN
AUTHENTICATE
GET
REGISTERE
D
RESERVE
ROOM
BOOKING
CONFIRM
USER
CHECK
ROOMS
17
18
19
<title>Home</title>
<link href="Style.css" type="text/stylesheet" rel="stylesheet"/>
<script type="text/javascript">
var v=new Array("hotels1.jpg","hotels2.jpg","hotels3.jpg","hotels4.jpg");
var i=0;
function change Image()
{
if(i<4)
{
document.images[0].src=v[i];
i++;
}
else
i=0;
}
function Start()
{
setInterval("changeImage()",1000);
}
</script>
</head>
<body onload="Start()">
<div align="center">
<center><font size="7" face="chiller" color="red"><h1>Hotel Reservation
System</h1></font></center>
<table class="search" border="3" bordercolor="black">
<tr>
<form action="Searchservlet" method="get">
<td><input type="text" placeholder="Type your City" style="height: 30;"
name="search"/></td>
<td><input type="submit" style="height: 30;" name="Search"
value="Search"></td>
</form>
</tr>
</table>
<b>
<table cellspacing="1">
<tr>
<td><img src="hotels1.jpg" height="330" width="330"/></td>
<td><img src="hotels5.jpg" alt="Rumor Boutique Hotel" height="330"
width="330"/></td>
22
if(v=="")
{
document.getElementById('b').innerHTML="*";
valid=1;
}
else
document.getElementById('b').innerHTML="";
v=document.frm.lnm.value;
if(v=="")
{
document.getElementById('c').innerHTML="*";
valid=1;
}
else
document.getElementById('c').innerHTML="";
v=document.frm.pwd.value;
if(v=="")
{
document.getElementById('d').innerHTML="*";
valid=1;
}
else
document.getElementById('d').innerHTML="";
v=document.frm.dob.value;
if(v=="")
{
document.getElementById('e').innerHTML="*";
valid=1;
}
else
document.getElementById('e').innerHTML="";
v=document.frm.mob.value;
var pwd_reg=/[0-9]$/;
if(pwd_reg.Test(v))
document.getElementById('f').innerHTML="";
document.getElementById('f').innerHTML="*";
valid=1;
document.getElementById('g').innerHTML="*";
valid=1;
}
else
document.getElementById('g').innerHTML="";
if(valid==1)
return false;
else
return true;
}
</script>
</head>
<body background="N2.jpg">
<form name="frm" action="SignUpservlet">
<center><font size="7" face="chiller" color="red"><h1>Hotel Reservation
System</h1></font></center>
<ul>
<li style="border: none;"><a href="Home.jsp">Home</a></li>
<li><a href="Aboutus.jsp">About Us</a></li>
<li><a href="Contactus.jsp">Contact Us</a></li>
</ul>
<b><h2 align="right"><a href="Login.jsp"><font
color="orange">Login</font></a></h2></b>
<%
if(request.getAttribute("msg")!=null)
{
out.print("<b>");
out.print("<center><font size='5'>"+request.getAttribute("msg")
+"</font></center>");
out.print("</b>");
}
%>
<table cellspacing=5 cellpadding=5 align=center>
<tr>
25
</form>
<input type=reset style="height: 30;" name="res">
    </td>
</tr>
<tr>
<td colspan=2 align=center>© <b>HRS</b></td>
</tr>
</table>
</body>
</html>
<ul>
<li style="border: none;"><a href="Home.jsp">Home</a></li>
<li><a href="Aboutus.jsp">About Us</a></li>
<li><a href="Contactus.jsp">Contact Us</a></li>
</ul>
<b><h2 align="right"><a href="SignUp.jsp"><font color="black">Sign Up</font></a></h2></b>
<br /><% out.print("<font size=5 color=black><b>");
if(request.getAttribute("msg1")!=null){
out.println(request.getAttribute("msg1"));
out.print("</font></b>");
}%>
<center>
<% out.print("<font size=5 color=black><b>");
if(request.getAttribute("msg")!=null){
out.println(request.getAttribute("msg"));
out.print("</font></b>");
}%></center>
<table align="center">
<tr>
<td colspan="2"><h2>LOGIN</h2></td></tr>
<tr>
<td><b><font size="5">User Type</font></b></td>
<td>
<select style="height: 30; width: 173;" name=Utype>
<option>Admin</option>
<option>Hotel</option>
<option selected>Customer</option>
</select>
</td>
</tr>
<tr>
</table>
</form>
</body>
</html>
29
Detail of Customer :-
<br />
<table border="0" cellspacing="0" cellpadding="1">
<tr id="id1"><td><font color="red" size="5" face="arial">About <font
face="italic" color="yellow" size="7"> HRS</font></font></td></tr>
</table>
<br />
<font color="teal" face="Cooper Black" size="5">
Positioned as a brand that believes in "Creating Happy Booking",
HRS.com provides information, pricing, availibility and booking facility for a
few very popular Hotels in India.
<br />
<br />
The Hotels are highly facilitated with Air-Conditioned, Wi-Fi services,Swimming
pool, Mineral Water and with some other Basic Facilities.
The most important thing is the Security, world class security with Cameras
providing clear vision during bad weather.
<br />
<br />
Through continued excellence in providing booking solutions, responses to booking
hotel online through HRS.com have also reached in new heights.
</font>
</body>
</html>
32
}
</div>
<br>
34
</td>
<td width="300">
<%= plist.get(3)%>
</td>
<td width="300">
<%= plist.get(4)%>
</td>
<td width="300">
<%= plist.get(5)%>
</td>
<td width="300">
<%= plist.get(6)%>
</td>
<%
if(session.getAttribute("user")!=null)
{
%>
<td width="300">
<a href="Bookform.jsp?hotelid=<%= plist.get(0)%>">BOOK NOW</a>
</td>
<%
}else{
%>
<td width="300">
<a href="Login.jsp?hotelid=<%= plist.get(0)%>">BOOK NOW</a>
</td>
<%
}
}
}
if(i==0){
<tr>
%>
36
<tr>
<td colspan="1"><b><font size="5">Room</font></b></td>
<td>
<select style="height: 30; width: 250;" name=room>
<option selected>Single Bed</option>
<option>Double Bed</option>
</select>
</td>
</tr>
<br>
<tr>
<td colspan="1"><b><font size="5">Category</font></b></td>
<td>
<select style="height: 30; width: 250;" name=category>
<option selected>Non Deluxe</option>
<option>Deluxe</option>
</select>
</td>
</tr>
<tr>
<td><b><font size="5">No. of Rooms</font></b></td>
<td><input type="text" style="height: 30; width: 250;" name="nor"
placeholder="Enter no of Room" required></td>
</tr>
<tr style="height: 50;">
<td colspan="2" align="right"><input type="submit" style="height: 30;"
name="booking" value="BOOKING"></td>
</tr>
</table>
</form>
</body>
</html>
39
40
<tr>
<td width='300'>
<h3><%= plist.get(0)%></h3>
</td>
<td width='300'>
<h3><%= plist.get(1)%></h3>
</td>
<td width='300'>
<h3><%= plist.get(2)%></h3>
</td>
<td width='300'>
<h3><%= plist.get(3)%></h3>
</td>
<td width='300'>
<h3><%= plist.get(4)%></h3>
</td>
<td width='300'>
<h3><%= plist.get(5)%></h3>
</td>
<td width='300'>
<h3><%= plist.get(6)%></h3>
</td>
<td width='300'>
<h3><%= plist.get(7)%></h3>
</td>
<td width='300'>
</tr>
<%}
}
else{
%>
<tr>
<td colspan=3 align="center" style="background-color: #66ff66"<b><
%=request.getAttribute("msg")%> </b>
</table>
<%
}else{
%>
<b><h2 align="right"><a href="Login.jsp"><font
color="white">Login</font></a> <a href="SignUp.jsp"><font
color="white">Sign Up</font></a></h2></b>
<%
}
%>
</body>
</html>
43
Logout Page :-
INTRODUCTION: Testing is a set of activities that can be planned in advance and conducted
systematically testing requires that the developer discard preconceived notations of the
correctness of the software just developed and overcome a conflict of interest that occurs when
errors are encountered. Testing also provides the main objective of our project and understand
the risk of implementation. Testing is a process of technical investigation, performed on behalf
of stakeholder that is intended to reveal
quantity related information about the product with respect to the context in which it is intended
to operate. Testing is the process of executing a program or an application with an intent of
finding an error or bugs. Testing can be stated as the process of validating and verifying that a
software program/application/product:
TEST PLAN: Test plan will describe about the scope and activities of our modules in the
project .We must plan the test plans in the starting of our project. It will provide a unique
identifier for our document. Testing should begin in small and proceeds in the large.
Exhaustive testing is not possible. Provides an overview of our test plan. Specify the
goals/objectives/constraints.
Our project has eight modules. So, we will do testing from the starting phase itself .The main
aim of test plan is to produce a correct code with all users requirements satisfied.
UNIT TESTING:
Unit testing is used to test or verify the functionality of specific section of code. This is written
by the developers to ensure that specific function is working or not. A unit is the smallest part of
an application. Unit tests are created by programmers or Occasionally by white box testers
during the development process.
INTEGRATION TESTING:
Integration testing (sometimes called Integration and Testing, abbreviated "I&T") is the phase in
software testing in which individual software modules are combined and tested as a group. It occurs
after unit testing and before validation testing. Integration testing takes as
system testing. Integration testing is a type of software that seeks to verify the interface between
components.
The components are integrated in an iterative way. Integration testing will allow the interface to find
the issues more quickly and fixed. It works to expose defects in the interfaces and interaction between
integrated components (Modules).
46
ALPHA TESTING:
Alpha testing is carried out by the test team within the developing organization.
BETA TESTING:
Beta testing is performed by a selected group of friendly customers.
VALIDATION TESTING:
While verification is a quality control process, quality assurance process carried out before the
software is ready for release is known as validation testing. The validation testing goals is to
validate and be confident about the software product or system, That it fulfills the requirements
given by the customer. The acceptance of the software from the end customer
software engineering. Answers is, "Is the deliverable fit for purpose". In other words, does the
software system provide the right solution to the problem? Therefore, often the testing activities
are introduced early in the software development life cycle. The two major areas, when
validation testing should take place are in the early stages of software development and towards
the end, when the product is ready for release. In other words, it is acceptance testing which is a
part of validation testing.
Conclusion:-
Our project provides facility to conduct Hotel Reservation. It saves time as it allows number of
customer to register for different rooms and to get room booked at any time and the booking
detail is displayed as the confirm booking gets over.It is automatically generated by the server.
Administrator has a privilege to create, modify and delete the customer detail and its particular
booking. User can register, login and give the test with his specific id, and can see the results as
well.
Bibliography: Stackoverflow.com
JavaTutorials.com
Apache.org
Youtube.com
W3Schools.com
48