0% found this document useful (0 votes)
103 views21 pages

Document Hotel Manage Management Java Netbeans

The document describes a hotel management system that allows users to book hotel rooms online. Some key points: 1. The system allows users to search for room availability, check rates, and book reservations in real-time on the website. 2. Administrators can manage hotel listings, room types, and bookings through an admin panel. They can also generate reports on booking statistics. 3. The system aims to automate the hotel booking process for both customers and staff for improved efficiency compared to a manual system. It allows online booking, payment, and confirmation of reservations.

Uploaded by

visrani999
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views21 pages

Document Hotel Manage Management Java Netbeans

The document describes a hotel management system that allows users to book hotel rooms online. Some key points: 1. The system allows users to search for room availability, check rates, and book reservations in real-time on the website. 2. Administrators can manage hotel listings, room types, and bookings through an admin panel. They can also generate reports on booking statistics. 3. The system aims to automate the hotel booking process for both customers and staff for improved efficiency compared to a manual system. It allows online booking, payment, and confirmation of reservations.

Uploaded by

visrani999
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 21

1.

Introduction

Hotel Management System is a system that


provides us to reserving rooms, checking whether
the rooms are vacant are or not etc by using online
browsing. This system is very useful to all
especially for business people.
For Business people they don’t have sufficient time
for these then they can use these type of online
Hotel Management Systems. By this project we will
reduce the faults in bills of their expenditure and
decrease time of delay to give the bills to the
customers. We can also save the bills of the
customer. By this project we can also include all the
taxes on the bills according to their expenditures. It
has a scope to reduce the errors in making the bills.
Computerized bill can be printed within fraction of
seconds. Online ordering of Booking is possible by
using this software. This Project is based on php. If
any one wants to book the room for few days then
they can specify the specific number by seeing the
types of rooms we have. The bill of this online
booking is based on the type of room they can
select is displayed.
HOTEL MANAGEMENT SYSTEM is a hotel
reservation site script where site users will be able
to search rooms availability with an online booking
reservations system. Site users can also browse
hotels, view room inventory, check availability, and
book reservations in real-time.Site users enter check
in date and check out date then search for
availability and rates. After choosing the right room
in the wanted hotel – allbooking and reservation
process is done on the site and an SMS is sent to
confirm the booking.
Administrator Panel
Account Manager
Administrator – Administrator can add / edit and
manage administrator accounts.
Hotels Manager
Hotels – Administrator can manage hotels that will
appear on the site with the hotel name, description,
facilities, phone and fax
Room Types – Administrator can define the type of
rooms in the hotels, rooms prices and upload an
image for each room.

Hotel Rooms – For each Hotel the administrator can


define the rooms
available, rooms number, max occupants and
remarks on the specific
room.
Bookings – All booking and reservations maid on
the site are displayed
with all booking details: arrival date, departure date,
hotel name, room type,
number of passengers, price.
Available rooms – Administrator can also search
for room availability from
the administrators panel and does not have to go on
the site Reports.
Booking Statistics – Administrator can view
statistics of booking on bar
charts that show the difference in bookings
according to months.
Site Settings – Here the administrator can define if
to use paypal on the
site and if yes then what will be the pay-pal email
address used, the
administrator can also define the administrator
email address where all
reservation emails will be sent to.
1.1 Purpose
The purpose of hotel booking system is to automate
the existing manual system by the help
computerized equipments and full fledged computer
software, fulfilling their requirement, so that their
valuable or information can be stored for a longer
period with easy accesing and manipulating of the
same . The required software and hardware are
easily available and easy to work with.
This proposes that efficiency of hotel organizations
could be improved by integrating service-oriented
operations service-oriented operations with project
management principles. Such integration would
instill innovation, proactive attitudes and regulated
risk-taking needed to pursue ongoing improvement
and proactive response to change. By managing
each change as a project, embedded in smoothly
running operations, hotels would extend their life
span by continuously reinventing themselves.
1.1.1 Advantages:
The advantages of booking a hotel online add up
long before your arrival.
Our legendary customer service extends to the web
One advantage of booking with the hotel directly is
the use of the hotel's full cancellation policy as well
as not needing a deposit in most situations. Read
reviews and compare prices for Online Hotel
Booking.
The most important advantage of online hotel
booking is convenience, you can book your room
by simply sitting in home. Internet helps you to
browse through the hotels around the world and
compare the facilities and rates easily.
1.2 Scope
1.2.1 Existing System with Limitations:
In this step, we provide a detailed description about
the existing system and the problems faced in the
existing system. This stage there is no existing
system previously; we are developing a new
system. Till now no system is available with this
type of features and facilities. This system is
developed for the all types of users with highly
flexible and configurable product is envisaged to
ensure global marketing
1.2.2 Proposed System Features:
Some of the service providers won't allow you to
choose your hotel, theyonly allow you to select
location and quality of the hotel.
Considerablediscounts on hotels may be available
in off-seasons.Utilize the serve of online hotel
booking service providers when you areplanning for
a trip.
Each and every customer looks to book their hotel
rooms early and conveniently.
User can Post, update and delete the links in the all
categories.Online hotel booking is the best ways to
book rooms in your favourite hotels.Planning a
vacation has never been easier and more reasonable
than now. Easiness, affordable pricing, and simple
comparison shopping make online
hotel bookings accepted to all

ANALYSIS
Requirement analysis for web applications
encompasses three major tasks:formulation,
requirements gathering and analysis modeling.
Duringformulation, the basic motivation and goals
for the web application are identified, and the
categories of users are defined. In the requirements
gathering phase, the content and functional
requirements are listed and interaction scenarios
written from end-user’s point-of-view are
developed. This intent is to establish a basic
understanding of why the web application is built,
who will use it, and what problems it will solve for
its users.
2.1
Software requirement Specification
A set of programs associated with the operation of a
computer is called software. Software is the part of
the computer system, which enables the user to
interact with several physical hardware devices.
The minimum software requirement specifications
for developing this
project are as follows:
Operating System
: Windows XP/Vista/2000, Linux.
Presentation layer
: PHP, CSS, HTML, JSP, FLASH
Database
: My SQL
Presentation
: Power Point 2003
Documentation Tools : Ms Office
2.1 Hardware Requirement Specification:
The collection of internal electronic circuits and
external physical devices used in building a
computer is called the Hardware.
The minimum hardware requirement specifications
for developing this
project are as follows:
Processor : Standard processor with a speed of 1.6
GHz
RAM : 256 MB RAM or more
Hard Disk : 20 GB or more
Monitor : Standard color monitor

2.2Functional Requirements
Module Description
The HOTEL MANAGEMENT SYSTEM consists
of 2 modules and 3 categories.
The categories are as follows:
Advanced Search
Booking
Payment
The modules are
Administrator
User
Admin Module:
The Functionalities of the Administrator is:
The administrator should login into the system with
unique his/her password and username.
If the username and password is validated then he
can gain access to the system. View the hotels can
update and delete the hotels. Post the special offers,
add new hotel to the hotels list. Insert /View the
Availability and Price. Post the links. Adding the
links to the hotels and as well view the links.
Blocks the user view the status of the users. Restrict
the user to the see the more information with out
login.
The Administrator can do the following actions:
Login
Change Password
Admin Functionalities
View Hotels
Add Hotels
Post Special Offers
Edit / Delete Hotels
Upload Hotel Images.
Logout

User Module:
The Functionalities of the User is:
A new User can register with the application by
entering his appropriate details. The User should
login into the system with unique his/her password
and username. If the username and password is
validated then he can gain access to the system. The
User can change his password, To change the
password, it should ask for the old password, new
password and confirm new password View the
Categories.
The User can do the following actions:
Register
Login
Change Password
User Functionalities
Advanced Search
Booking
Payment
Logout

Source code:

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Scanner;

class Food implements Serializable


{
int itemno;
int quantity;
float price;
Food(int itemno,int quantity)
{
this.itemno=itemno;
this.quantity=quantity;
switch(itemno)
{
case 1:price=quantity*50;
break;
case 2:price=quantity*60;
break;
case 3:price=quantity*70;
break;
case 4:price=quantity*30;
break;
}
}
}
class Singleroom implements Serializable
{
String name;
String contact;
String gender;
ArrayList<Food> food =new ArrayList<>();

Singleroom()
{
this.name="";
}
Singleroom(String name,String contact,String gender)
{
this.name=name;
this.contact=contact;
this.gender=gender;
}
}
class Doubleroom extends Singleroom implements Serializable
{
String name2;
String contact2;
String gender2;

Doubleroom()
{
this.name="";
this.name2="";
}
Doubleroom(String name,String contact,String gender,String
name2,String contact2,String gender2)
{
this.name=name;
this.contact=contact;
this.gender=gender;
this.name2=name2;
this.contact2=contact2;
this.gender2=gender2;
}
}
class NotAvailable extends Exception
{
@Override
public String toString()
{
return "Not Available !";
}
}

class holder implements Serializable


{
Doubleroom luxury_doublerrom[]=new Doubleroom[10]; //Luxury
Doubleroom deluxe_doublerrom[]=new Doubleroom[20]; //Deluxe
Singleroom luxury_singleerrom[]=new Singleroom[10]; //Luxury
Singleroom deluxe_singleerrom[]=new Singleroom[20]; //Deluxe
}

class Hotel
{
static holder hotel_ob=new holder();
static Scanner sc = new Scanner(System.in);
static void CustDetails(int i,int rn)
{
String name, contact, gender;
String name2 = null, contact2 = null;
String gender2="";
System.out.print("\nEnter customer name: ");
name = sc.next();
System.out.print("Enter contact number: ");
contact=sc.next();
System.out.print("Enter gender: ");
gender = sc.next();
if(i<3)
{
System.out.print("Enter second customer name: ");
name2 = sc.next();
System.out.print("Enter contact number: ");
contact2=sc.next();
System.out.print("Enter gender: ");
gender2 = sc.next();
}

switch (i) {
case 1:hotel_ob.luxury_doublerrom[rn]=new
Doubleroom(name,contact,gender,name2,contact2,gender2);
break;
case 2:hotel_ob.deluxe_doublerrom[rn]=new
Doubleroom(name,contact,gender,name2,contact2,gender2);
break;
case 3:hotel_ob.luxury_singleerrom[rn]=new
Singleroom(name,contact,gender);
break;
case 4:hotel_ob.deluxe_singleerrom[rn]=new
Singleroom(name,contact,gender);
break;
default:System.out.println("Wrong option");
break;
}
}

static void bookroom(int i)


{
int j;
int rn;
System.out.println("\nChoose room number from : ");
switch (i) {
case 1:
for(j=0;j<hotel_ob.luxury_doublerrom.length;j++)
{
if(hotel_ob.luxury_doublerrom[j]==null)
{
System.out.print(j+1+",");
}
}
System.out.print("\nEnter room number: ");
try{
rn=sc.nextInt();
rn--;
if(hotel_ob.luxury_doublerrom[rn]!=null)
throw new NotAvailable();
CustDetails(i,rn);
}
catch(Exception e)
{
System.out.println("Invalid Option");
return;
}
break;
case 2:
for(j=0;j<hotel_ob.deluxe_doublerrom.length;j++)
{
if(hotel_ob.deluxe_doublerrom[j]==null)
{
System.out.print(j+11+",");
}
}
System.out.print("\nEnter room number: ");
try{
rn=sc.nextInt();
rn=rn-11;
if(hotel_ob.deluxe_doublerrom[rn]!=null)
throw new NotAvailable();
CustDetails(i,rn);
}
catch(Exception e)
{
System.out.println("Invalid Option");
return;
}
break;
case 3:
for(j=0;j<hotel_ob.luxury_singleerrom.length;j++)
{
if(hotel_ob.luxury_singleerrom[j]==null)
{
System.out.print(j+31+",");
}
}
System.out.print("\nEnter room number: ");
try{
rn=sc.nextInt();
rn=rn-31;
if(hotel_ob.luxury_singleerrom[rn]!=null)
throw new NotAvailable();
CustDetails(i,rn);
}
catch(Exception e)
{
System.out.println("Invalid Option");
return;
}

Output screen:
BIBILIOGRAPHY

WWW.CODERSPACKET.COM
WWW.ACADEMIA.EDU.COM
WWW.CODE-PROJECTS.COM
WWW.CSTUTORIAL POINT.COM

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy