hotel management project in java (report)
TRANSCRIPT
INDUSTRIAL TRAINING
HOTEL MANAGEMENT SYSTEM
IKON INFOSYSTEMS,GHAZIABAD
SUBMITTED BY: NAKUL GUPTA
B.Tech( Computer Engineering)
I.D. No. 32430
COMPUTER ENGINEERING DEPARTMENT
COLLEGE OF TECHNOLOGY
G.B.P.U.A&T PANTNAGAR
UTTARAKHAND
COMPLETED ON 30th June’08
ACKNOWLEDGEMENT
It is with great pleasure that I take this opportunity to bow my head in respect and gratitude for
all those who helped us in making this project a great success.
I take this opportunity to grace me from the benign self of Mr. Amit Bakshi, Ikon Infosystems,
for ushering me from theoretically to practicality. No one can replace what he has done for me
and the way he has helped me in bringing out this project. I will always be indebted to him all
my long life.
I also like to thank Mr. Jalaj Sharma,Training and Placement Head,Computer Engg. for helping
me in what ever way possible through their expert advices and encouraging me to go even deeper
in the project.
Nakul Gupta
Final year Computer Engineering
College of Technology
G.B.P.U.A.T
Pantnagar
CONTENTS
1. Abstract
2. Project Features
3. Flowcharts
4. Snapshots of Hotel Management System
5. Test Conditions
6. Limitations
7. Error Handling
ABSTRACT
Ikon Infosystems offers systematic escalation management to customers with current service
agreements. This ensures that the appropriate resources within Ikon Infosystems are utilized to resolve
outstanding technical problems as efficiently as possible.
The objective of the Hotel management system is to develop a project which maintain booking of rooms and handle account of a hotel. It is a window based application to be implemented by a client of Ikon Infosystems.
The project namely “Hotel Management System” is a window based application developed in Java. The
tools being used in the development process are:
1. JDK 5.0
2. Oracle 8i as the Database System.
PROJECT FEATURES:
2.1 HOTEL’S ROOM INFORMATION:
It provide User to easily search about room’s availability , its type, category & easy updating of the room’s records.
2.2 BILLING FACILITY
Operator, using this project can easily generate the bill for the customer,
He need not make any calculation for it
2.3 REPORT GENERATION
This feature help in easy maintenance of record of customer & their
report Generation
2.4 PASSWORD PROTECTED
This feature provide privacy to customer’s personal detail information
2.5 DIFFERENT LOGIN LEVELS
This feature provide protected login at different levels.
2.5.1 ADMINISTRATOR:
Administrator can add and delete rooms.
2.5.2 USER
User can do everything except adding & deleting the rooms records.
3.EXTENSIBLITY
3.1 CUSTOMER’S INFORMATION:
Operator has information of customer for providing rebate
or Discount for their regular customer ,if they provide any
such scheme in future.
3.2 NEW BRANCHES
This feature provides confirm advance booking of room in
another branch of that hotel .
3.3 NEW USERThis feature allows for the addition of a new user.
4. FORMS AND MODULE DESCRIPTION
4.1 LOGIN FORM
This form is used to verify the authenticity of the
user or administrator by checking the Password.
This form consists of following modules:
Welcome_click() This module is used to verify password
for adminstrator or user.
This form calls the form admin_win form
or user_win form.
Exit_click() This module is used to exit from this
form
Text1_change() This module is used to type password .
4.2 USER_WIN FORM As the user login into the project the this form.
This form contains all menus by which user c
can switch over to any of the desired form.
This form contains following modules:
rb_click()
This module invoke room booking form.
update_click() This module load update form.
cancle_click() This module load cancellation form.
bills_click() This module is used to display billing form.
avail_click()This module is used to display availability
Form.
All_click() This module is used to display information
about all guests.
4.3 ROOM BOOKING
This form is used to check which types of rooms a guest want & whether they are
available or not.
This form contains following modules:
Calendar1_Click()This module is used to get the date from
Calendar.
Combo1_click()This module is to used to select room type pr
perty .
Combo2_click()This module is used to select room catogery
Property.
Combo3_click()This module is used to list the available ro_
oms.
4.4 GUEST ENTRY FORM
When a room no is assigned to guest a entry
Form is filled by the guest
This form contain following modules:
cmdAmount_Click()This module display the amount of room
acoording to room type and room category.
submit_Click()
This module inform the user that room is bo_
oked and store the information in information
table.
exit_Click()This module is used to unload he form.
4.5 CANCELLATION
This form is used to cancel the guest entry form
Information table.
This form consists of following modules:
cmdGetDate_Click() This module is used to get all information
about which we want to delete from the
table.
CmdCancel_Click() It cancle the guest informstiom from table.
Command2_Click()This module is used to unload the form
4.6 BILL FORM
This form is used to calculate actual bill of guest .
This form consista of following modules:
Command1_Click()This module give actual bill of guest.
Command2_Click()This module is used to unload the form
4.7ADD FORM
This form is used to add room to the room table.
This form consista of following modules
Combo2_Change()This module is to used to select room type pr
perty .
Combo1_Click()This module is used to select room catogery
Property.
Command1_Click()It add new rooms imformation in room
Table.
Command2_Click() This module is used to unload the form
4.8 DELETE FORM
This form used is used to delete room from room
table
This form consists of following modules
Command1_Click()It invokes CONFIRM form .
Command2_Click()This module is used to unload the form.
4.9 AVAILABILITY
This form gives information about all available
rooms and their cost.
FLOW CHARTS
1. LOGIN FORM
no
yes
START
USERNAME=ADMINISTRATOR
USERNAME=USER
PASSWORD=” “
IF
USERNAME=AD
MINISTRATORENTER THE PASSWORD
IF
CORRECT PASSWORD
DISPLAY
“INCORRECT
PASSWORD”
USERNA
ME=USER
CLICK
WELCOME BUTTON
2.ROOM BOOKING FORM
LOAD MDI FORM
START
Enter room no,room type ,room category
Cick on fill the form button
Load GUEST ENTRY form
3. GUEST ENTRY FORM
no
START
ENTER DATE,
ROOM TYPE,
ROOM CATEGORY,
ROOM NO
CLICK
FILL FORM
Room booking form
Is loaded
Enter the customer
information Click amount button
Click submit button
If any entry is empty
Display
“room is booked”
yes
4.ADD FORM
no
yes
Display
“ please fill the entry”
Start
Enter the entries
room for the new room
If
room
is not
alread
y
Exits
This record set is stored in database
Enter another room no.
5.DELETE FORM
no
START
Enter room no,room type,room category
Click on delete button
Display”are u sure u want to delete this room
If YES
Or
NO
Click on No button
yes
6. CANCELLATION FORM
no
yes
start
Enter the room no to be deleted
Click get
information button
Click cancel button
Are u sure
exit
Click on No Button
SNAPSHOTS OF HOTEL MANAGEMENT SYSTEM
1.Login page
This is the first window that appears on executing the project. It is used from security purposes so that only the administrator can enter in the “HOTEL MANAGEMENT SYSTEM” project.
TEST- CONDITIONS
Sr. No.
Test Condition Pre-requisite data Expected Test Result
1. Check for entry in password
Login form is opened. User enters incorrect password and presses OK button
“Incorrect Password”
Message is prompted
3. Check for entry in username and password
Login form is open. User enters combination of correct user name and password and presses OK button
Main form is displayed to the user, consisting of menu options enabled.
4. Check for guest entries in room booking
All entries are filled Message “ room is booked”.
5. Invalid Data Type User has entered the invalid data type.
Warning to enter correct data type.
6. Check for guest entries in room booking
User has left the entries to be fulfilled, blank
Message “ fill all the entries.
7. Check entries for adding new room
User fill entry for already existing room
Message “ room is already existing”.
8. Check entries for updating of room
User update entries for the empty room.
Message “ room is not booked”.
9. Check entries for cancellation of room
User delete the entries for the empty room
Message “room is not booked”.
LIMITATIONS
1. This project can’t be used for hotel having different branches.
2. This project doesn’t assigns unique id to each customer to distinguish between him or her. Selecting the id from some given list. However, both the methods of specifying the product are too vague.
ERROR HANDLING
Error no Message Error Correction
1 Fill entry properly Cannot enter alphabets and some special symbols in this field
Enter numbers ,
- hyphen, ( opening bracket or
) closing bracket
2 Fill entry properly Cannot enter numbers and special symbols in this field
Enter only alphabets
3 Entry already existing Duplicate value entered. Cannot enter already existing values in room add form.
Enter other unique
Room no.
4 Enter LOGIN and PASSWORD
Enter LOGIN and PASSWORD field do not match.
Enter same value in LOGIN and PASSWORD fields