Professional Documents
Culture Documents
Project Report
On
ONLINE HOTEL BOOKING SYSTEM
Submitted by
Ms. Laxmi Maroti Badkhal
Roll No.: 21202
Class: MCA- I
Guided by
Dr. Milind Godase
For the Academic Year 2021-22
SINHGAD INSTITUTE OF
MANAGEMENT,
This is to certify that Ms. Laxmi Maroti Badkhal, has successfully completed her project
work entitled “Online Hotel Booking System” in partial fulfillment of MCA-I SEM-I Mini
Project for the year 2021-2022. She has worked under our guidance and direction.
Examiner 1 Examiner 2
Date:
Place:
I certify that the work contained in this report is original and has been done by us under the
guidance of my supervisor(s).
The work has not been submitted to any other Institute for any degree or diploma.
I have followed the guidelines provided by the Institute in preparing the report.
I have conformed to the norms and guidelines given in the Ethical Code of Conduct of
the Institute.
Whenever I have used materials (data, theoretical analysis, figures, and text) from
other sources, I have given due credit to them by citing them in the text of the report
and giving their details in the references.
It is my pleasure in expressing our sincerest and deepest sense of gratitude towards our guide
Dr. Milind Godase for the assistance, valuable guidance and co- operation in carrying out this
Project successfully. I have developed this project with the help of Faculty members of our
institute and we are extremely grateful to all of them. I also take this opportunity to thank Dr.
Chandrani Singh, Director SIOM(MCA), for providing the required facilities in completing
this project. I am greatly thankful to my parents, friends and faculty members for their
motivation, guidance and help whenever needed.
Thank You,
1.The existing system is manual system. This system requires more time for the getting
customers.
2.In the existing system all the tracking of booking is done manually.
3.The inventory management in this system is done physically were manager have to check
the availability.
4.When the order is placed by the customer the manager have to prepare the inventory chart
so its takes more time and requires paper work.
5.In this system there might be a chance of mistake done by manager while making bill for
customer.
6.Without digital system implementation they have to face old models products loss.
In this particular proposed system the customers can directly view hotel rooms
from their comfortable homes and book the rooms without any hassle.
Customer can also see first of all if the room are available or not. They can
check and then select whichever room they prefer.
Customers can pay using any mode and then they can see their particular
booking details on the site and then they can collect the generated receipt.
They can also delete their booking and get a refund under the hotel policies as
per the hotel guidelines which they can find online.
• Software Requirement:
• Operating System : Windows 8 or above Database
• Database : MySQL Database
• Software : MySQL-Connector, eclipse
• Hardware Requirement:
• Processor : 2nd generation Intel Core CPU with support Windows
• RAM : 4 GB RAM
Admin Module
Customer’s Module
Room Module
Reservation Module
Hotel Booking System is to manage the details of Hotel, Payments, Room, Services,
Customers. It manages all the information about Hotel, Booking, Customers, Hotel. The
project is totally built at administrative end and thus only the administrator is guaranteed the
access. The purpose of the project is to build an application program to reduce the manual
work for managing the Hotel, Payments, Booking, Rooms, It tracks all the details about the
Rooms, Services, Customers.
Class Diagram
10
11
12
13
14
1.Admin Module
15
16
17
1. Admin Module:
18
19
20
21
22
TABLE : guest
FIELD DATA TYPE SIZE CONSTRAINT
guest_id Int 11 PRIMARY KEY
firstname Varchar 50 NOT NULL
middlename Varchar 30 NOT NULL
lastname Varchar 40 NOT NULL
address Varchar 50 NOT NULL
contactno Varchar 13 NOT NULL
23
TABLE : travel
FIELD DATA TYPE SIZE CONSTRAINT
id Int 11 PRIMARY KEY
apply_date Date NULL
day Int 11 NULL
departure_date Date NULL
status Varchar 45 NULL
room_id Int 11 NULL
room_no Int 11 NULL
extra_bed Int 11 NULL
bill Double NULL
24
travel
Home:
Contact Page:
Admin Login:
Admin Home:
Create Account:
Customer Registration:
View of Reservation:
After Reservation:
1.Pending Status:
2.Check-In Status:
3.Check-Out Status:
Add Room :
Sample Code
AddAccount
package com.admin;
import java.io.IOException;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import com.connection.DatabaseConnection;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpSession;
@WebServlet("/CustomerLogin")
try {
HttpSession hs = request.getSession();
Statement st = con.createStatement();
if (rs.next()) {
hs.setAttribute("uname", username);
response.sendRedirect("home.jsp");
} else {
response.sendRedirect("customerLogin.jsp");
} catch (Exception e) {
e.printStackTrace();
} 40
41
Book Reference:-
Web Reference:-
http://www.w3schools.com/java/
http://www.mysql.com/products/connector/
42