You are on page 1of 52

Online Hotel Reservation

System
MSE Presentation III
Cem Oguzhan

Outline

Project Overview

Action Items from Presentation

Com!onent "esign

Assessment Evaluation

#ser Manual

Co$e "ocumentation

Project Evaluation

%esson %earnt

"emo &Hotel Reservation System'

(uestions ) Comments

Project Overview

Project Statement

*he hotel reservation system will !rovi$e


service to on+line customers, travel agents,
an$ an a$ministrator- On+line customers an$
travel agents can ma.e searches, reservations
an$ cancel an e/isting reservation on the hotel
reservation0s we1 site-A$ministrator can
a$$)u!$ate the hotel an$ the room
information a!!rove)$isa!!rove a new travel
agent0s account a!!lication an$ generate a
monthly occu!ancy rate re!ort for each hotel-

Action Items

#se cases for 3ormal S!eci4cation

Mi$$le *ier class $iagram an$


Se5uence "iagrams

6Any7 o!tion is a$$e$ for room


!references

Action Items &cont'
*he class $iagram a1ove ca!tures mi$$le+tier, 1usiness
s!eci4c layer, of the Hotel Reservation System-
Customer
firstName : String
lastName : String
cardType : String
cardNumber : long
experationDate : String
createAccount()
updateAccount()
Mail
sendMail(e_address : String) : oolean
appro!eAccount(e"address : String) : oolean
disAppro!eAccount(e_address : String) : oolean
Database
conString()
#uery$ogin()
#uery%s&alid'serName()
#uery%s&alidAgent'serName()
#uey(et'ser%nfo()
#uery(et(uest%nfo()
#uerySa!eNe)Customer()
#uey'pdateCustomerAccount()
#uerySa!eNe)*eser!ation()
#uerySa!eAgent*eser!ation()
#uerySa!e(uest%nfo()
#uery$oginAdmin()
#ueryNum+f*eser!()
#uery,ind-otel()
#uery(et-otel()
#uery%s&alid-%D()
#uerySa!eNe)-otel()
#uery'pdate-otel()
#ueryNumber+f*oom()
#uery%s&alidDoorNumber()
#uery(etAll*oom()
get*oomA!l()
get*oomA!l()
get*oomA!l()
#uery*oomA!l.rice()
#uery*oomA!l.rice()
#uery(et*oom()
#uerySa!eNe)*oom()
#ueryCreate*oom%D()
#uery'pdate*ooml()
#uery(et*eser!ation()
#ueryCancel*eser!ation()
#ueryDelete(uest()
#uery(et/aitingAgent()
#ueryAppro!eAccount()
#ueryDisAppro!eAccount()
#ueryTotalSales()
#uery*e#uestAccount()
'ser
userName : String
email : String
pass)ord : String
p0one : String
address : String
city : String
state : String
1ip : String
!erify$ogin()
is&alid'serName()
get'ser()
*oom
roomNumber : %nteger
price : Double
bedType : String
smo2ing : String
0andicab_access : String
room$oc2 : Date
get*oomA!l()
get*oomA!l()
get*oomA!l()
get*oomA!l.rice()
get*oomA!l.rice()
get*oom()
get*oom()
getAll*oom()
ne)*oom()
update*oom()
is&alidDoorNumber()
*eser!ation
reser!ationNumber : %nteger
c0ec2%n : Date
c0ec2+ut : Date
res!Date : Date
price : Double
totalCost : Double
ma2e*eser!ation()
agentMa2e*eser!ation()
get*eser!ation()
cancel*eser!ation()
calculateTotal()
calculateTax()
3 4556
7allocation
3
7t0e*eser!ation
4556
4556
3
7t0e*eser!ation
4556
7t0e'ser 3
Tra!elAgent
companyName : String
status : String
re#uestAccount()
totalSales()
salesCommission()
3
4556
-otel
0otel%D : String
name : String
address : String
city : String
state : String
1ip : String
p0one : String
rating : %nteger
find-otel()
get-otel()
ne)-otel()
update-otel()
number+f*oom()
occupancy*ate()
is&alid-otel%D()
3556
3
7t0e*oom 3556
7t0e-otel 3
4556
3
7t0e*eser!ation
4556
7t0e-otel
3
Administrator
userName : String
pass)ord : String
!erify$ogin()
get/aitingAgent()
appro!eAccount()
disAppro!eAccount()
occupancy*eport()
4556
3
7re#uestAccount
4556
7appro!eAccount
3
3
4556
4556
3
7t0e-otel
4556
7t0eAdmin
3
(uest
reser!ationNumber : long
get(uest()
reser!ationNumber()
delete(uest()
8rror
8&8NT_$+(_S+'*C8 : String 9 :-*S:
$og()

Action Items &Cont'
: 'ser : 'ser
: Sign%n5aspx : Sign%n5aspx : 'ser : 'ser : 8ditAccount5aspx : 8ditAccount5aspx : Database : Database
3: user pro!ides re#uested information
;: !erify$ogin()
<: =!erify$ogin 9 true> direct*e#uested.age
?: #uery$ogin('ser)

Action Items &cont'
"etail 8iew

Action Items &cont'
: 'ser : 'ser
: Cancel*eser!ation5aspx : Cancel*eser!ation5aspx : *eser!ation : *eser!ation : ConfirmCancel*eser!ation5aspx : ConfirmCancel*eser!ation5aspx : Database : Database
3: pro!ides re#uested information
@: cancel
;: get*eser!ation(reser!ationNumber)
A: cancel*eser!ation(reser!ationNumber)
B: =cancel*eser!ation 9 true> directConfirmCancel*eser!ation5aspx
?: #uery(et*eser!ation(reser!ationNumber)
C: #ueryCancel*eser!ation(reser!ationNumber)
<: =dataSet5*o)s5Count D4 EE dataSet5Tables=:*eser!ation:>5*o)s=4>=:'serName:> 99 Session=:'ser:> >display()

Action Items &cont'
: Agent : Agent
: *e#uestAccount5aspx : *e#uestAccount5aspx : Tra!elAgent : Tra!elAgent : Database : Database : Mail : Mail : Confirm*e#uestAccount5aspx : Confirm*e#uestAccount5aspx
T0e se#uence diagram s0o)s t0at t0e tra!el agent successfully applies to an account5
+peration Signature:
re#uestAccount(userName : StringF email : StringF pass)ord : StringF companyName : StringF status : StringF p0one : StringF address : StringF city : StringF state : StringF
1ip : String) : oolean
#uery%nsertAccount (userName : StringF email : StringF pass)ord : StringF companyName : StringF status : StringF p0one : StringF address : StringF city : StringF state :
StringF 1ip : String) : oolean
3: pro!ide re#uested information
<: =is&alid 9 true> re#uestAccount()
A: =re#uestAccount 9 true> sendMail(e_address)
@: #uery%nsertAccount()
C: =re#uestAccount 9 true> directed Confirm*e#uestAccount5aspx
;: is&alid'serName(userName)
?: #uery%s&alid'serName(userName)

Action Items &cont'
: Agent : Agent
: Sales*eport5aspx : Sales*eport5aspx : Tra!elAgent : Tra!elAgent : Database : Database
3: pro!ides re#uested information
;: totalSales(userNameF startingDateF endingDate)
?: #ueryTotalSales(userNameF startingDateF endingDate)
<: totalSales
@: salesCommussion(totalSales)
A: commussion

Action Items &cont'

Com!onent "esign

*he $iagram
shows 9+tier ty!e
of architecture-

Com!onent "esign &cont'
Presentation tier

Com!onent "esign &cont'
Presentation *ier


Com!onent "esign &cont'
Presentation *ier

Com!onent "esign &cont'
Presentation *ier

Com!onent "esign &cont'
Presentation *ier

Com!onent "esign &cont'
Presentation *ier

Com!onent "esign &cont'
Presentation *ier

Com!onent "esign &cont'
Presentation *ier

Com!onent "esign &cont'
Presentation *ier

Com!onent "esign &cont'
Presentation *ier

Com!onent "esign &cont'
Mi$$le *ier

Com!onent "esign &cont'
Mi$$le *ier

Com!onent "esign &cont'
Mi$$le *ier

Com!onent "esign &cont'
Mi$$le *ier

Com!onent "esign &cont'
Mi$$le *ier


Com!onent "esign &cont'
Mi$$le *ier

Com!onent "esign &cont'
Mi$$le *ier

Com!onent "esign &cont'
Mi$$le *ier

Com!onent "esign &cont'
"ata *ier

Assessment Evaluation

*est Case Results



Assessment Evaluation
&cont'

Performance *esting with :Meter

*est Scenario

Search hotel

%ist hotels for !articular search

Select an hotel

%ist availa1le rooms

Reserve rooms

%ogin

Place the reservation

"is!lay con4rmation num1ers



Assessment Evaluation
&cont'

; user, ;< htt!


re5uest, = re!eat

"eviation > ;? ms

*hrough!ut >
;@A@-?9 )min

Average > 99 ms

CP# usage > 9A B



Assessment Evaluation
&cont'

;A user, ;< htt!


re5uest, = re!eat

"eviation > ;;9


ms

*hrough!ut >
;=<C-? )min

Average > 9? ms

CP# usage > ;AA


B

Assessment Evaluation
&cont'

9A user, ;< htt!


re5uest, = re!eat

"eviation > ;9
ms

*hrough!ut >
?D-< )min

Average > =@ ms

CP# usage > ;AA


B

Assessment Evaluation
&cont'

Performance *esting Result


Summary

Assessment Evaluation
&cont'

Performance Analyze

8*une Performance Analyzers is use$ to


!ro4le of !erformance of the customer site

*est Scenario

Search hotel

%ist hotels for !articular search

Select an hotel

%ist availa1le rooms

Reserve rooms

%ogin

Place the reservation

"is!lay con4rmation num1ers



Assessment Evaluation
&cont'

; user , ;< htt!


re5uest an$ =
re!eat

CP# usage ;AA B



Assessment Evaluation
&cont'

Assessment Evaluation
&cont'

;A user , ;< htt!


re5uest an$ =
re!eat

CP# usage ;AA B



#ser Manual

*he installation an$ set u! gui$e an$ a


$etaile$ wal.through of the !roject is
!rovi$e$ in the user manual-

Co$e "ocumentation

MS"E+online style we1 !ages



Project Evaluation

S%OC &Actual'

%ine of CF co$e > 9A9D

%ine of auto generate$ CF co$e > ?<;

%ine of GM% co$e > C;

%ine of H*M% co$e > ;A

%ine of S(% co$e > DA

%ine of CSS co$e > =9

*otal <9<

S%OC &Pre$icte$'

Phase I &similar e/am!les' > <AA

Phase II &Prototy!e' > 9AA



Project Evaluation &cont'

Project $uration &actual'

Phase I > ;AC-< hrs

Phase II > ;-C< hrs

Phase III > =?-C9 hrs

*otal > <CD-;? hrs

Project $uration &estimate' > 9C


hrs

Project Evaluation &cont'

Project Evaluation &cont'

Project Evaluation &cont'

Project Evaluation &cont'

%esson %earnt

%earning new technologies

Im!ortance of $esign

Hor.ing on !roject that ha$ <9AA


S%OC

"emo

(uestions ) Comments

You might also like