Online Hotel Reservation System: MSE Presentation III Cem Oguzhan
Online Hotel Reservation System: MSE Presentation III Cem Oguzhan
System
MSE Presentation III
Cem Oguzhan
Outline
Project Overview
Action Items from Presentation2
Component Design
Assessment Evaluation
User Manual
Code Documentation
Project Evaluation
Lesson Learnt
Demo (Hotel Reservation System)
Questions / Comments
Project Overview
Project Statement
Action Items
Administrator
userName : String
password : String
1
+approveAccount
1
Mail
verifyLogin()
isValidUserName()
getUser()
0..*
Hotel
verifyLogin()
getW aitingAgent() +theAdmin
approveAccount()
disApproveAccount() 1
occupancyReport()
+theHotel
0..*
1 +theUser
+theHotel
1
0..*
0..*
Customer
firstName : String
lastName : String
cardType : String
cardNumber : long
experationDate : String
+requestAccount
findHotel()
getHotel()
newHotel()
updateHotel()
numberOfRoom()
occupancyRate()
isValidHotelID()
1+theHotel
TravelAgent
companyName : String
status : String
+theRoom 1..*
Room
requestAccount()
totalSales()
salesCommission()
createAccount()
updateAccount()
hotelID : String
name : String
address : String
city : String
state : String
zip : String
phone : String
rating : Integer
Reservation
Guest
+theReservation
reservationNumber : long
0..*
getGuest()
reservationNumber()
deleteGuest()
makeReservation()
agentMakeReservation()
getReservation()
cancelReservation()
calculateTotal()
calculateTax()
Error
EVENT_LOG_SOURCE : String = "HRS"
Log()
roomNumber : Integer
price : Double
bedType : String
smoking : String
handicab_access : String
roomLock : Date
+theReservation
reservationNumber : Integer
checkIn : Date
checkOut : Date
resvDate : Date
price : Double
totalCost : Double
0..*
+allocation
+theReservation
0..*
Database
conString()
queryLogin()
queryIsValidUserName()
queryIsValidAgentUserName()
queyGetUserInfo()
queryGetGuestInfo()
querySaveNewCustomer()
queyUpdateCustomerAccount()
querySaveNewReservation()
querySaveAgentReservation()
querySaveGuestInfo()
queryLoginAdmin()
queryNumOfReserv()
queryFindHotel()
queryGetHotel()
queryIsValidHID()
querySaveNewHotel()
queryUpdateHotel()
queryNumberOfRoom()
queryIsValidDoorNumber()
queryGetAllRoom()
getRoomAvl()
getRoomAvl()
getRoomAvl()
queryRoomAvlPrice()
queryRoomAvlPrice()
queryGetRoom()
querySaveNewRoom()
queryCreateRoomID()
queryUpdateRooml()
queryGetReservation()
queryCancelReservation()
queryDeleteGuest()
queryGetWaitingAgent()
queryApproveAccount()
queryDisApproveAccount()
queryTotalSales()
queryRequestAccount()
getRoomAvl()
getRoomAvl()
getRoomAvl()
getRoomAvlPrice()
getRoomAvlPrice()
getRoom()
getRoom()
getAllRoom()
newRoom()
updateRoom()
isValidDoorNumber()
: SignIn.aspx
: User
: Database
: EditAccount.aspx
Detail View
: User
: Reservation
: Database
: ConfirmCancelReservation.aspx
5: cancel
6: cancelReservation(reservationNumber)
7: queryCancelReservation(reservationNumber)
: RequestAccount.aspx
: TravelAgent
: Database
The sequence diagram shows that the travel agent successfully applies to an account.
Operation Signature:
requestAccount(userName : String, email : String, password : String, companyName : String, status : String, phone : String, address : String, city : String, state : String,
zip : String) : Boolean
queryInsertAccount (userName : String, email : String, password : String, companyName : String, status : String, phone : String, address : String, city : String, state :
String, zip : String) : Boolean
: ConfirmRequestAccount.aspx
: SalesReport.aspx
: TravelAgent
: Database
Component Design
The diagram
shows 3-tier type
of architecture.
Assessment Evaluation
Assessment Evaluation
(cont)
Test Scenario
Search hotel
List hotels for particular search
Select an hotel
List available rooms
Reserve rooms
Login
Place the reservation
Display confirmation numbers
Assessment Evaluation
(cont)
1 user, 14 http
request, 5 repeat
Deviation = 17 ms
Throughput =
1606.73 /min
Average = 33 ms
CPU usage = 30 %
Assessment Evaluation
(cont)
10 user, 14 http
request, 5 repeat
Deviation = 113
ms
Throughput =
1548.72 /min
Average = 372 ms
CPU usage = 100
%
Assessment Evaluation
(cont)
30 user, 14 http
request, 5 repeat
Deviation = 123
ms
Throughput =
2792.24 /min
Average = 526 ms
CPU usage = 100
%
Assessment Evaluation
(cont)
Assessment Evaluation
(cont)
Performance Analyze
Search hotel
List hotels for particular search
Select an hotel
List available rooms
Reserve rooms
Login
Place the reservation
Display confirmation numbers
Assessment Evaluation
(cont)
1 user , 14 http
request and 5
repeat
CPU usage 100 %
Assessment Evaluation
(cont)
Assessment Evaluation
(cont)
10 user , 14 http
request and 5
repeat
CPU usage 100 %
User Manual
Code Documentation
Project Evaluation
SLOC (Actual)
SLOC (Predicted)
Lesson Learnt
Demo
Questions / Comments