0% found this document useful (0 votes)
42 views

Online Hotel Reservation System: MSE Presentation III Cem Oguzhan

This document outlines an online hotel reservation system project. It includes sections on the project overview, action items from previous presentations, component design, assessment evaluation, user manual, code documentation, project evaluation, lessons learned, and a demo. The project overview states that the system will provide online, travel agent, and administrator services. The action items sections discuss formal specifications, class diagrams, and adding an "any" option for room preferences. The component design section shows the presentation, middle, and data tiers. Assessment evaluation includes test case results and performance testing using JMeter.

Uploaded by

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

Online Hotel Reservation System: MSE Presentation III Cem Oguzhan

This document outlines an online hotel reservation system project. It includes sections on the project overview, action items from previous presentations, component design, assessment evaluation, user manual, code documentation, project evaluation, lessons learned, and a demo. The project overview states that the system will provide online, travel agent, and administrator services. The action items sections discuss formal specifications, class diagrams, and adding an "any" option for room preferences. The component design section shows the presentation, middle, and data tiers. Assessment evaluation includes test case results and performance testing using JMeter.

Uploaded by

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

Online Hotel Reservation

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

The hotel reservation system will provide


service to on-line customers, travel agents,
and an administrator. On-line customers and
travel agents can make searches, reservations
and cancel an existing reservation on the hotel
reservations web site.Administrator can
add/update the hotel and the room
information approve/disapprove a new travel
agents account application and generate a
monthly occupancy rate report for each hotel.

Action Items

Use cases for Formal Specification


Middle Tier class diagram and
Sequence Diagrams
Any option is added for room
preferences

Action Items (cont)


User
userName : String
email : String
password : String
phone : String
address : String
city : String
state : String
zip : String

Administrator
userName : String
password : String
1
+approveAccount
1
Mail

verifyLogin()
isValidUserName()
getUser()

0..*

Hotel

verifyLogin()
getW aitingAgent() +theAdmin
approveAccount()
disApproveAccount() 1
occupancyReport()

+theHotel
0..*

sendMail(e_address : String) : Boolean


approveAccount(e-address : String) : Boolean
disApproveAccount(e_address : String) : Boolean

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()

The class diagram above captures middle-tier, business


specific layer, of the Hotel Reservation System.

getRoomAvl()
getRoomAvl()
getRoomAvl()
getRoomAvlPrice()
getRoomAvlPrice()
getRoom()
getRoom()
getAllRoom()
newRoom()
updateRoom()
isValidDoorNumber()

Action Items (Cont)


: User

: SignIn.aspx

: User

: Database

1: user provides requested information


2: verifyLogin()
3: queryLogin(User)

4: [verifyLogin = true] directRequestedPage

: EditAccount.aspx

Action Items (cont)

Detail View

Action Items (cont)


: CancelReservation.aspx

: User

: Reservation

: Database

: ConfirmCancelReservation.aspx

1: provides requested information


2: getReservation(reservationNumber)
3: queryGetReservation(reservationNumber)
4: [dataSet.Rows.Count >0 && dataSet.Tables["Reservation"].Rows[0]["UserName"] == Session["User"] ]display()

5: cancel
6: cancelReservation(reservationNumber)

7: queryCancelReservation(reservationNumber)

8: [cancelReservation = true] directConfirmCancelReservation.aspx

Action Items (cont)


: Agent

: RequestAccount.aspx

: TravelAgent

: Database

: Mail

1: provide requested information


2: isValidUserName(userName)
3: queryIsValidUserName(userName)
4: [isValid = true] requestAccount()
5: queryInsertAccount()

6: [requestAccount = true] sendMail(e_address)

7: [requestAccount = true] directed ConfirmRequestAccount.aspx

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

Action Items (cont)


: Agent

: SalesReport.aspx

: TravelAgent

: Database

1: provides requested information


2: totalSales(userName, startingDate, endingDate)
3: queryTotalSales(userName, startingDate, endingDate)
4: totalSales
5: salesCommussion(totalSales)
6: commussion

Action Items (cont)

Component Design

The diagram
shows 3-tier type
of architecture.

Component Design (cont)


Presentation tier

Component Design (cont)


Presentation Tier

Component Design (cont)


Presentation Tier

Component Design (cont)


Presentation Tier

Component Design (cont)


Presentation Tier

Component Design (cont)


Presentation Tier

Component Design (cont)


Presentation Tier

Component Design (cont)


Presentation Tier

Component Design (cont)


Presentation Tier

Component Design (cont)


Presentation Tier

Component Design (cont)


Middle Tier

Component Design (cont)


Middle Tier

Component Design (cont)


Middle Tier

Component Design (cont)


Middle Tier

Component Design (cont)


Middle Tier

Component Design (cont)


Middle Tier

Component Design (cont)


Middle Tier

Component Design (cont)


Middle Tier

Component Design (cont)


Data Tier

Assessment Evaluation

Test Case Results

Assessment Evaluation
(cont)

Performance Testing with JMeter

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)

Performance Testing Result


Summary

Assessment Evaluation
(cont)

Performance Analyze

VTune Performance Analyzers is used to


profile of performance of the customer site
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 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

The installation and set up guide and a


detailed walkthrough of the project is
provided in the user manual.

Code Documentation

MSDN-online style web pages

Project Evaluation

SLOC (Actual)

Line of C# code = 3039


Line of auto generated C# code = 741
Line of XML code = 281
Line of HTML code = 120
Line of SQL code = 90
Line of CSS code = 53
Total 4324

SLOC (Predicted)

Phase I (similar examples) = 2400


Phase II (Prototype) = 3200

Project Evaluation (cont)

Project duration (actual)

Phase I = 108.4 hrs


Phase II = 122.84 hrs
Phase III = 257.83 hrs
Total = 489.17 hrs

Project duration (estimate) = 382


hrs

Project Evaluation (cont)

Project Evaluation (cont)

Project Evaluation (cont)

Project Evaluation (cont)

Lesson Learnt

Learning new technologies


Importance of design
Working on project that had 4300
SLOC

Demo

Questions / Comments

You might also like