airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
Transcript of airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
1/70
AIRLINE RESERVATION SYSTEM
A PROJECT REPORT
Submitted by
T.S.S.N.SAILAJA 103678123
V.KRISHNA CHAITANYA 103678128
V.SURYA INDIRA 103678137
Y.SRI RAMYA 103679143
In partial fulfillment for the award of the degree of
B.Te!In
Mini Projet !ab
COM"UTER SCIENCE
"nder the e#teemed $uidane of
"#$%.C!. R&'& R&(e)!
M.Te!* +"!D,
RE-ENCY INSTITUTE O TECHNOLO-Y
ADAVI"OLAM* YANAM/33464
De(e $% C$(e# S5ee & E5ee#5M!/2012
%
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
2/70
DECLARATION BY THE CANDIDATE
I here by delare that the projet report entitled &AIRLINE RESERVATION
SYSTEM' #ubmitted by me to Regeny In#titute of Tehnology( )anam in partial
fulfillment of the re*uirement for the award of the degree of B.TECH in COMP"TER
SCIE+CE ,EPARTME+T i# a reord of bonfide projet wor- arried out by me under
the guidane of Mr. C/. RAJA RAMES/. I further delare that the wor- reported in
thi# projet ha# not been #ubmitted and will not be #ubmitted0 either in part or in full0 for
the award of any other degree or diploma in thi# in#titute or any other in#titute oruni1er#ity.
)anam Signature of the Candidate
,ate2
3
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
3/70
BONAIDE CERTIICATE
Thi# i# to ertify that the projet report entitled &AIRLINE RESERVATION
SYSTEM' #ubmitted by T.S.S.N.SAILAJA 103678123* V.KRISHNA
CHAITANYA 103678128* V.SURYA INDIRA 103678137* Y.SRI RAMYA
103678143 to Regeny In#titute of Tehnology0 )anam in partial fulfillment of the
re*uirement for the award of the degree of B.TECH in COM"UTER SCIENCE
DE"ARTMENTi# a reord of bonafide wor- arried out by him4her under my guidane.
The projet fulfill# the re*uirement# a# per the regulation# of thi# In#titute and in my
opinion meet# the nee##ary #tandard# for #ubmi##ion. The ontent# of thi# report ha1e
not been #ubmitted and will not be #ubmitted either in part or in full0 for the award of any
other degree or diploma in thi# in#titute or any other in#titute or uni1er#ity.
5Signature of the Coordinator6 5Signature of the Super1i#or6
5+ame6
COOR,I+ATOR
,ate2 ,ate2
5Signature6 5Signature6
E7ternal E7aminer 8#9 Internal E7aminer 8#9
:
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
4/70
ACKNO:LED-EMENT
&Ta#- #ue##ful' ma-e# e1eryone happy. ;ut the happine## will be gold without glitter
if we didnoperation throughout the projet and we would li-e to e7pre## our
than-fulne## to our projet guide0 M#.C!. R&'& R&(e)!* M.Te!*"!.D for hi#
on#tant moti1ation and 1aluable help through the projet wor-.
=e e7tend our #inere gratitude to our parent# who ha1e enouraged u# with their
ble##ing# to do thi# projet #ue##fully. ?inally we would li-e to than- to all our friend#0
all the teahing and non>teahing #taff member# of the CSE ,epartment0 for all the
timely help0 idea# and enouragement whih helped throughout in the ompletion of
projet.
@
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
5/70
INDE=Ab#trat
!i#t of Table# B
!i#t of ?igure# B
%. Introdution
3. O1er1iew of Propo#ed #y#tem %D
3.% E7iting Sy#tem %D
3.3 Propo#ed Sy#tem %%
:. Sy#tem Analy#i# %3
:.% ?ront End %3
:.3 ;a- End :D
:.: Module# :@
@. Sy#tem ,e#ign :
@.% "M! :
@.%.% Cla## ,iagram :
@.%.3 Ati1ity ,iagram :
@.%.: Se*uene ,iagram :
@.%.@ "#e Ca#e ,iagram :B
@.%.F Collaboration ,iagram :B
@.%. ,ataflow :
@.3 ,ata ,itionary @:
@.3.% Introdution @:
@.3.3 ,ata ,itionary @:
F. Implementation @
. E7perimental Re#ult# D
. Te#ting
.% Introdution
.3 Type of Te#ting
.3.% "nit Te#ting B
F
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
6/70
.3.3 Integrated Te#ting
.3.: Reo1ery Te#ting B
.3.@ Seurity Te#ting B
.3.F Performane Te#ting
.3. =hite>bo7 Te#ting
B. Conlu#ion D
. Referene# %
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
7/70
ABSTRACT>
Airline re#er1ation #y#tem# were fir#t introdued in the late %FD# a# relati1ely
#imple #tandalone #y#tem# to ontrol flight in1entory0 maintain flight #hedule#0 #eat
a##ignment# and airraft loading. The modern airline re#er1ation #y#tem i#
omprehen#i1e #uite of produt# to pro1ide a #y#tem that a##i#t# with a 1ariety of airline
management ta#-# and #er1ie u#tomer need# from the time of initial re#er1ation through
ompletion of the flight.
One of the mo#t ommon mode# of tra1el i# tra1eling by air. Cu#tomer# who
wi#h to tra1el by air nowaday# ha1e a wide 1ariety of airline# and a range of timing# to
hoo#e from. +owaday# ompetition i# #o fiere between airline# that there are lot of
di#ount# and a lot of lu7urie# gi1en to u#tomer# that will gi1e an edge to that partiular
airline.
The =orld =ide =eb ha# beome tremendou#ly popular o1er the la#t four year#0
and urrently mo#t of the airline# ha1e made pro1i#ion for online re#er1ation of their
flight#. The Internet ha# beome a major re#oure for people loo-ing for ma-ing
re#er1ation# online without the ha##le of meeting tra1el agent#. My Projet intend# to
#er1e the#e purpo#e#. It intend# to he- all the a1ailable airline databa#e# and return a
#tring of re#ult#0 whih an help them in their tra1el plan#.
The objeti1e of thi# projet i# to reate an airline re#er1ation #y#tem where a
tra1eler an re*ue#t all flight information a# per their journey date#. They an get
information regarding time0 o#t0 et all at the #ame time and plae. =hen the u#tomer
all# the Counter A##i#tant for hi#4her tra1el need#0 the ounter a##i#tant will enter the
u#tomerG# detail# 8flight re*uirement#9 in the #y#tem. The #y#tem di#play# all the
a1ailable airline#0 #hedule# and prie#. Thi# #y#tem would help the airline to better #er1e
it# u#tomer# by atering to their need#. The #ite would u#e a ,ataba#e to hold thi#
information a# well a# the late#t priing and a1ailability information for the airline#.
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
8/70
LIST O TABLES>
Canellation tableCla##e# table
?light day#
?light ,etail#
!ogin
Mail
+ew "#er
Pa##enger
Payment
Re#er1ation
LIST O I-URES>
Cla## ,iagram
Ati1ity ,iagram
Se*uene ,iagram
"#e Ca#e ,iagram
Collaboration ,iagram
B
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
9/70
1. INTRODUCTION>
Airline re#er1ation #y#tem# were fir#t introdued in the late %FD# a# relati1ely#imple #tandalone #y#tem# to ontrol flight in1entory0 maintain flight #hedule#0 #eat
a##ignment# and airraft loading. The modern airline re#er1ation #y#tem i#
omprehen#i1e #uite of produt# to pro1ide a #y#tem that a##i#t# with a 1ariety of airline
management ta#-# and #er1ie u#tomer need# from the time of initial re#er1ation through
ompletion of the flight.
One of the mo#t ommon mode# of tra1el i# tra1eling by air. Cu#tomer# who wi#h
to tra1el by air nowaday# ha1e a wide 1ariety of airline# and a range of timing# to hoo#e
from. +owaday# ompetition i# #o fiere between airline# that there are lot of di#ount#
and a lot of lu7urie# gi1en to u#tomer# that will gi1e an edge to that partiular airline.
The =orld =ide =eb ha# beome tremendou#ly popular o1er the la#t four year#0
and urrently mo#t of the airline# ha1e made pro1i#ion for online re#er1ation of their
flight#. The Internet ha# beome a major re#oure for people loo-ing for ma-ing
re#er1ation# online without the ha##le of meeting tra1el agent#. My Projet intend# to
#er1e the#e purpo#e#. It intend# to he- all the a1ailable airline databa#e# and return a
#tring of re#ult#0 whih an help them in their tra1el plan#.
The objeti1e of thi# projet i# to reate an airline re#er1ation #y#tem where a
tra1eler an re*ue#t all flight information a# per their journey date#. They an get
information regarding time0 o#t0 et all at the #ame time and plae. =hen the u#tomer
all# the Counter A##i#tant for hi#4her tra1el need#0 the ounter a##i#tant will enter the
u#tomerG# detail# 8flight re*uirement#9 in the #y#tem. The #y#tem di#play# all the
a1ailable airline#0 #hedule# and prie#. Thi# #y#tem would help the airline to better #er1e
it# u#tomer# by atering to their need#. The #ite would u#e a ,ataba#e to hold thi#
information a# well a# the late#t priing and a1ailability information for the airline#.
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
10/70
2. OVERVIE: O THE "ROJECT>
The main purpo#e of thi# #oftware i# to redue the manual error# in1ol1ed in the
airline re#er1ation proe## and ma-e it on1enient for the u#tomer# to boo- the flight# a#
when they re*uire #uh that they an utiliHe thi# #oftware to ma-e re#er1ation0 modify
re#er1ation# or anel a partiular re#er1ation.
The name of the #oftware i# &AIR!I+E RESERATIO+ S)STEM'. Thi#
#oftware pro1ide# option# for 1iewing different flight# a1ailable with different timing# for
a partiular date and pro1ide# u#tomer# with the faility to boo- a ti-et0 modify or
anel a partiular re#er1ation but it doe# not pro1ide the u#tomer# with detail# of o#t of
the ti-et and it doe# not allow the u#tomer to modify a partiular part of hi# re#er1ation
and he4#he an modify all detail#.
3 .% E=ISTIN- SYSTEM>
The effeti1ene## of the #y#tem depend# on the way in whih the data i# organiHed
.In the e7i#ting #y#tem0 muh of the data i# entered manually and it an be 1ery time
on#uming. =hen reord# are ae##ed fre*uently0 managing #uh reord# beome#
diffiult. Therefore organiHing data beome# diffiult. The major limitation# are2
Modifiation# are ompliated
Muh time on#uming
Error prone
"nauthoriHed ae## of data
2 .2 "RO"OSED SYSTEM>
The propo#ed #y#tem i# better and more effiient than e7i#ting
Sy#tem by -eeping in mind all the drawba-# of the pre#ent #y#tem to pro1ide a
permanent to them.
The primary aim of the new #y#tem i# to #peed up the tran#ation#. "#er
friendline## i# another peuliarity of the propo#ed #y#tem. Me##age# are di#played in
me##age bo7e# to ma-e the #y#tem u#er friendly. The main Ad1antage of the propo#ed
%D
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
11/70
#y#tem i# the redution in labor a# it will be po##ible #o #earh the detail# of 1ariou#
plae#. E1ery reord i# he-ed for ompletene## and auray and then it i# entered into
the databa#e. The omment# and 1alid me##age# are pro1ided to get away redundant data.
Another important feature of the propo#ed #y#tem i# the data #eurity pro1ided by the
#y#tem. The main objeti1e# of the propo#ed #y#tem are2
Comple7 funtion# are done automatially
Proe##ing time an be minimiHed
Simple and ea#y to manage
Chane# of error# redued
?a#ter and more aurate than the e7i#ting #y#tem
Ea#y for handling report#The propo#ed #y#tem i# omplete #oftware for Airline Re#er1ation Sy#tem0 =hih i#
more effiient0 reliable0 fa#ter and aurate for proe##ing.
%%
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
12/70
3. SYSTEM ANALYSIS>
3 .1 RONT END JAVA
O?e#? 5e@ $% J&?&>
Ja1a i# a powerful but lean objet oriented programming language. It ha#
generated a lot of e7itement beau#e it ma-e# it po##ible to program for Internet by
reating applet#0 program# that an be embedded in wed page. The onte7t of an applet i#
limited only by one# imagination. Applet# an be ju#t little deoration# to li1en up web
page0 or they an be #eriou# appliation# li-e word proe##or# or #pread#heet.
;ut Ja1a i# more than programming language for writing applet#. It i# beoming #o
popular that many people belie1e it will beome #tandard language for both general
purpo#e# and Internet programming.
J&?& %#$( C>
Ja1a build# on the #trength of C. It ha# ta-en the be#t feature# of C and
di#arded the more problemati and error prone part#. To thi#0 it ha# added garbage
olletion 8automati memory management90 multi threading 8the apaity for one
program to do more than one thing at a time9 and #eurity apabilitie#. The re#ult i# that
Ja1a i# #imple0 elegant0 powerful and ea#y to u#e.
Ja1a i# atually a platform on#i#ting of three omponent#2
Ja1a Programming !anguage.
Ja1a library of la##e# and interfae#.
Ja1a 1irtual Mahine.
;ut Ja1a i# more than programming language for writing applet#. It i# beoming #o
popular that many people belie1e it will beome #tandard language for both general
purpo#e and Internet programming.
%3
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
13/70
C$($e) $ % J&?&>
Ja1a i# atually a platform on#i#ting of three omponent#2
Ja1a Programming !anguage.
Ja1a !ibrary of la##e# and interfae#.
Ja1a irtual Mahine.
J&?& 5 ) O;'e O#5ee>
The Ja1a programming language i# objet oriented0 whih ma-e# program de#ign
fou# on what you are dealing with rather than on how you are going to do #omething.
Thi# ma-e# it more u#eful for programming in #ophi#tiated projet# beau#e one an
brea- the thing# down into under#tandable omponent#. Reu#ability of the#e omponent#
i# another big benefit.
Objet oriented language# u#e the paradigm of la##e#. In #imple term#0 a la##
inlude# both the data and the funtion# to operate on that data. Objet i# an in#tane of
the la## form# the atual run time entity of the la##. Enap#ulation of ode and date
ma-e# it po##ible it ma-e the hange# in ode without brea-ing other program# that u#e
that ode.
Ja1a inlude# inheritane0 or the ability to deri1e new la##e# form e7i#ting la##
referred to a# the parent la##. A #ubla## an add new data member# to tho#e inherited
form the parent la##. A# far a# method# are onerned0 the #ubla## an reu#e the
inherited method# a# it i#0 hange them0 and it# own new method#.
J&?&) e 5 5 %ee) e>
Ea#e in ode orretion.
$arbage olletion.
Ab#ene of pointer#.
Ja1a i# e7ten#ible.
%:
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
14/70
Ja1a i# #eure.
Ja1a i# robu#t.
Ja1a i# multithreading.
Simpliity.
L5;# C&))e) >
The Ja1a platform inlude# an e7ten#i1e la## library #o that programmer# an u#e
already e7i#ting la##e#0 a# it i#0 reate #ubla##e# to modify e7i#ting la##e# or implement
interfae# and augment the apabilitie# of la##e#.
Cla##e# ontain data member# i.e. field# and funtion# i.e. method#. In la##e#
field# may be either 1ariable or on#tant0 and method# are fully implemented.
Ie# %&e) >
Interfae# i# al#o merely li-e la##. Interfae# al#o ontain data member# and
funtion#. ;ut the main differene i# that in an interfae0 field# mu#t be on#tant#0 and
method# are ju#t prototype# with no implementation#. The prototype gi1e the method
#ignature 8the return type0 the funtion name and the number of parameter# with the type
for eah parameter90 but the programmer mu#t #upply implementation. To u#e an
interfae0 a programmer define# a la##0 delare# that implement# the interfae#0 and then
implement# all the method# in that interfae a# the la##.
The method# are implemented in a way that i# appropriate for the la## in whih
the method# are being u#ed. Interfae let one add funtionality to a la## and gi1e a great
deal of fle7ibility in doing it. In other word# interfae# pro1ide mo#t of the ad1antage# of
multiple inheritane# without it# di#ad1antage#.
"&
A pa-age i# a olletion of related ja1a la##e# and interfae#. The following li#t0
gi1e# e7ample# of #ome ja1a pa-age# and what they o1er.
%@
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
15/70
JAA.IO> Cla##e# tho#e manage reading data from input #tream# and writing data to the
output #tream#.
JAA.A=T> Cla##e# that manage u#er interfae omponent# #uh a# window#0 dialog
bo7e#0 button#0 he- bo7e#0 li#t#0 menu#0 #rollbar#0 and te7t field#( the KA=T< #tand#
Ab#trat =indow Tool-it.
JAA.APP!ET> The applet la##0 whih pro1ide# the ability to write applet#0 thi#
pa-age al#o inlude# #e1eral interfae# that onnet an applet to it# doument and to
re#oure# for playing audio.
JAA.A=T.EE+T> $"I# are e1ent dri1en( it mean# they generate e1ent# when the
u#er of the program interat# with the $"I.
JAAL.S=I+$> Thi# pa-age enable# the u#er to reate interfae# whih perform# the
$"I operation#.
JAA.S!> The J,;C API0 la##e# and interfae# that ae## databa#e and #end S!. In
Ja1a0 pa-age# #er1e a# ba#i# for building other pa-age.
T!e J&?& "& %$#( B5 ) 5 Se# 5 5 $# :&)>
The way memory i# alloated and laid out2 In ja1a an objet# loation in memory
i# not determined until the runtime0 a# oppo#ed to C and C0 where the ompiler ma-e#
memory layout dei#ion#. A# the re#ult0 a programmer annot loo- at a la## definition
and figure# out how it might be laid laid out in memory. Al#o #ine0 ja1a ha# no pointer#0
a programmer annot forge pointer to memory.
The way inoming ode i# he-ed. The ja1a 1irtual mahine doe#n
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
16/70
mahine0 he-# whether la##e# loaded during program e7eution are loal or from
aro## a networ-. Imported la##e# annot be #ub#tituted for built in la##e# annot
aidentally referene la##e# brought in o1er a networ-.
The way ae## i# re#trited for entru#ted ode. The ja1a #eurity manager allow# u#er
to re#trit entru#ted ja1a applet# #o that they annot ae## the loal networ-0 loal file#
and other re#oure#.
:!& 5 ) JDBCF
J,;C i# a ja1a TM API for e7euting S! #tatement#.
It on#i#t# of a #et of la##e# and interfae# written in the ja1a programming
language that ma-e# it ea#y to #end S! #tatement# to 1irtually any relational
databa#e#.
J,;C 8Ja1a ,ataba#e Conneti1ity9 i# a front end tool for onneting #er1er to
O,;C in that re#pet.
J,;C i# e##entially a low>le1el appliation programming interfae. It i# alled a#
low>le1el API #ine any data manipulation0 #torage and retrie1al ha# to be done by
the program it#elf. Some tool# whih pro1ide a higher>le1el ab#tration of0
e7peted #hortly.
The ombination of ja1a and J,;C let# a programmer write it one and run it anywhere.
ReG5#e(e) $ )e JDBC>
To u#e J,;C we need a ba#i -nowledge of databa#e and S!.
=e need the jd-%.% 8Ja1a ,e1elopment Nit %.% a1ailable Ja1a Softend databa#e engine for whih a J,;C dri1er i# a1ailable. =hen J,;C
dri1er# area not a1ailable J,;C>O,;C bridge dri1er# are u#ed to ae## the
databa#e through O,;C.
;a->end i# not needed when J,;C dri1er i# apable of #toring and retrie1ing the
%
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
17/70
data it#elf0 or if J,;C>O,;C bridge and the O,;C dri1er an be u#ed to #tore
and retrie1e the information.
:!& $e) JDBC $F
J,;C ma-e# it po##ible to do three thing#.
E#tabli#he# the onnetion to databa#e
Send S! #tatement#
Proe## the re#ult#.
J,;C i# a low>le1el API and a ba#e for /igher>le1el API. J,;C i# a low>le1el interfae0
whih mean# that it i# u#ed to in1o-e S! ommand# diretly. It wor-# 1ery well in thi#
apaity and i# ea#ier to u#e than other to build higher>le1el interfae# and tool#. A higher
le1el interfae #uh a# J,;C. There are two -ind# of higher>le1el API#.
An embedded S! for ja1a and
A diret mapping of relational databa#e table# to ja1a la##e#.
J&?&) M&5> T!e Be C$e
The -ey that allow# ja1a to #ol1e both the #eurity and the portability problem#
ju#t de#ribed i# that the output of a ja1a ompiler i# not e7eutable ode. Rather0 it i#
;yte ode. ;yte ode i# highly optimiHed #et of in#trution# de#igned to be e7euted by
the ja1a run>time #y#tem0 whih i# alled the Ja1a irtual Mahine 8JM9. That i#0 in it#
#tandard form0 the JM i# an interpreter for ;yte ode. Thi# may ome a# a bit of a
#urpri#e.
Tran#lating a ja1a program into ;yte ode help# ma-e# ea#ier to run a program in
a wide 1ariety of en1ironment#. The rea#on i# #traight forward( only the JM need# to be
implemented for eah platform. One the run>time pa-age e7i#t# for a gi1en #y#tem0 any
ja1a program an run on it. Remember0 although the detail# of the JM will differ from
%
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
18/70
platform to platform0 all interrupt the #ame Ja1a ;yte Code.
JDBC D#5?e#) >
The J,;C API found# in ja1a.#*l pa-age0 on#i#t# only a few onrete la##e#.
Muh of the API i# di#tributed a# databa#e>neutral interfae la##e# that #peify beha1ior
without pro1iding any implementation. The atual implementation# are pro1ided by
third>party 1endor#.
An indi1idual databa#e #y#tem i# ae##ed 1ia a #peifi J,;C dri1er that
implement# the ja1a.#*l.,ri1er interfae. ,ri1er# e7i#t for nearly all popular R,;MS
#y#tem#0 though few are a1ailable for free. Sun bundle# a free J,;C>O,;C bridge dri1er
with the J,N to allow ae## to #tandard O,;C data #oure#0 #uh a# a Miro#oft Ae##
,ataba#e.
/owe1er0 Sun ad1i#e# again#t u#ing the bridge dri1er for anything other than
de1elopment and 1ery limited deployment. Ser1let de1eloper# in partiular #hould need
thi# warning beau#e any problem in the J,;C>O,;C bridge dri1er#peifi nati1e ode
librarie#. ?or Orale databa#e#0 the nati1e librarie# might be ba#ed on OCI 8Orale Call
%B
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
19/70
Interfae9 librarie#0 whih were originally de#igned for C4C programmer#. ;eau#e
Type3 dri1er# are implementing u#ing nati1e ode0 in #ome a#e# they ha1e better
performane than their all>Ja1a ounterpart#. They add an element of ri#-( howe1er0
beau#e a defet in a dri1er#peifi networ-ing protool# and an ae## the databa#e diretly
without any additional #oftware.
A li#t of urrently a1ailable J,;C dri1er# an be found at
-e 5 & C$e 5$
The fir#t #tep in u#ing a J,;C dri1er to get a databa#e onnetion in1ol1e#
loading the #peifi dri1er la## into the appliation
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
20/70
databa#e i# #peified by a #peially formatted "R!. The method u#ed to open the
onnetion i# ,ri1erManager.$etConnetion 89. It return# a la## that implement# the
ja1a.#*l.Connetion interfae2
A J,;C "R! identifie# an indi1idual databa#e in a dri1er>#peifi manner.
,ifferent dri1er# may need different information in the "R! to #peify the ho#t databa#e.
J,;C "R!# u#ually begin with jdb2#ub protool2#ubname during the all to get
Connetion890 the ,ri1er Manager objet a#-# eah regi#tered dri1er if it reogniHe# the
"R!. If a dri1er #ay# ye#0 the dri1er manager u#e# that dri1er to reate the onnetion
objet. /ere i# a #nippet of ode a #er1let might u#e to load it# databa#e dri1er with the
J,;C>O,;C ;ridge and reate an initial onnetion2
SERVLETS>
:!& e J&?& )e#? e )F
Ser1let# are Ja1a tehnologyom#itedo thi# a# well.
T!e && !&e) %#eGe .
?or e7ample0 a weather>report or new# headline# page might build the page
dynamially0 perhap# returning a pre1iou#ly built page if it i# #till up to date.
T ! e :e ; & e ) ) e ) 5 % $ # ( & 5$ % # $ ( $ # $ # & e & & ; & ) e )
3D
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
21/70
$# $ !e# )! )$#e) .
?or e7ample0 you would u#e thi# for ma-ing a web page at On>line #tore# that li#t#
urrent prie# and number of item# in #to-.
:!& e !e A?&&e) $ % Se#? e ) O?e# T#&5 5$& C-IF
Ja1a #er1let# are more effiient0 ea#ier to u#e0 more powerful0 more portable0 and
heaper than traditional C$I and than many alternati1e C$I>li-e tehnologie#.
E%% 5 5e >
=ith traditional C$I0 a new proe## i# #tarted for eah /TTP re*ue#t. If the C$I
proe## doe# a relati1ely fa#t operation0 the o1erhead of #tarting the proe## an dominate
the e7eution time.
=ith #er1let#0 the Ja1a irtual Mahine #tay# up0 and eah re*ue#t i# handled by a
lightweight Ja1a Thread0 not a hea1yweight operating #y#tem proe##. Similarly0 in
traditional C$I0 if there are + #imultaneou# re*ue#t to the #ame C$I program0 then the
ode for the C$I program i# loaded into memory n time#. =ith #er1let#0 howe1er0 thereare + thread# but only a #ingle opy of the #er1let la##. Ser1let# al#o ha1e more
alternati1e# than do regular C$I program# for optimiHation# #uh a# ahing pre1iou#
omputation#0 -eeping databa#e onnetion# open0 and the li-e.
C$?e5e >
/ey0 you are already -nown Ja1a. =hy learn Perl too ;e#ide# the on1eniene
of being able to u#e a familiar language0 #er1let# ha1e an e7ten#ion infra#truture for
automatially par#ing and deoding /TM! form data0 reading and #etting /TTP header#0
handling oo-ie#0 tra-ing #e##ion#0 and many other #uh utilitie#.
"$@e#% >
3%
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
22/70
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
23/70
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
24/70
apability0 but only handle# #ituation# where the dynami information i# ba#ed on the
lient
Regular0 /TM!0 of our#e0 annot ontain dynami information. JSP i# #o ea#y
and on1enient that it i# *uite fea#ible to argument /TM! page# that only benefit
marginally by the in#ertion of #mall amount# of dynami data. Pre1iou#ly0 the o#t of
u#ing dynami data would prelude it# u#e in all but the mo#t 1aluable in#tane#.
B&)5 Se#? e S##e>
/ere
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
25/70
44"#e &re#pon#e' to #peify the /TTP re#pon#e line and header#
44 8e.g. #peifying the ontent type0 #etting oo-ie#9.
print=riter outQre#pon#e.get=riter 89(
44"#e &out' to #end ontent to brow#er
To be a #er1let0 a la## #hould e7tend /ttpSer1let and o1erride do$et or doPo#t
8or both90 depending on whether the data i# being #ent by $ET or by POST. The#e
method# ta-e two argument#2 an httpSer1letRe*ue#t and an /ttpSer1letRe#pon#e. The
/ttpSer1letRe*ue#t ha# method# that let you find out about inoming information #uh a#
?ORM data0 /TTP re*ue#t header#0 and the li-e. The /ttpSer1letRe#pon#e ha# method#
that let# you #peify the /TTP re#pon#e line 83DD0@D@0 et.90 re#pon#e header# 8Content>
Type0 Set>Coo-ie#0 et.90 and0 mo#t importantly0 let# you obtain a Print=riter u#ed to
#end output ba- to the lient.
?or #imple #er1let#0 mo#t of the effort i# println #tatement# that generate the
de#ired page. +ote that do$et and doPo#t throw two e7eption#0 #o you are re*uired to
inlude them in the delaration. Al#o note that you ha1e to import la##e# in ja1a.io 8for
print=riter0 et.90 ja1a7.#er1let 8for /ttpSer1let0 et.90 and ja1a7.#er1let.http 8for
/ttpSer1letRe*ue#t and /ttpSer1letRe#pon#e9. ?inally0 note that do$et and doPo#t are
alled by the #er1ie method0 and #ometime# you may want to o1erride #er1ie diretly0
e.g. for a #er1let that handle# both $ET and POST re*ue#t.
C$(5 5 & I)& 5 !e Se#? e >
+ote that the #peifi detail# for in#talling #er1let# 1ary from web #er1er to web
#er1er. Plea#e refer to your web #er1er doumentation for definiti1e diretion#. The on>
line e7ample# are running on Ja1a =eb Ser1er 8J=S9 3.D0 where #er1let# are e7peted to
be in a diretory alled Ser1let# in the J=S in#tallation hierarhy. /owe1er0 I plaed thi#
#er1let in a #eparate pa-age 8hall9 to a1oid onflit# with other #er1let# on thi# #er1er.
)ou will want to be the #ame if you are u#ing a web #er1er that i# u#ed by other people
3F
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
26/70
and doe#n
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
27/70
+ote that0 on =indow#0 mo#t J,N %.% 1er#ion# of ja1a re*uire a ba-#la#h0 not a
forward #la#h0 after the diretory name. Thi# i# fi7ed in J,N %.%0 many #er1let author#
#ti- with J,N %.%.for portability.
?inally0 another ad1aned option i# to -eep the #oure ode in a loation di#tint
from the .la## file#0 and u#e ja1ad' option to in#tall them in the loation the web
#er1er e7pet#.
R5 !e Se#? e >
=ith the Ja1a web Se1er0 #er1let# are plaed in the #er1let# diretory within the
main J=S in#tallation diretory0 and are in1o-ed 1ia http244ho#t4#er1let4Ser1let+ame.
+ote that the diretory i# #er1let#0 plural0 while the "R! refer# to #er1let0 #ingular. Sine
thi# e7ample wa# plaed in the hall pa-age0 it would be in1o-ed 1ia
http244ho#t4#er1let4hall./elloworld. Other =eb #er1er# may ha1e #lightly different
on1ention# on where to in#tall #er1let# and how to in1o-e them. Mo#t #er1er# al#o let
you define alia#e# for #er1let#. So that a #er1let an be in1o-ed 1ia http244ho#t4any>
path4any>file.html.The proe## for doing thi# i# ompletely #er1er #peifi2 he- your
#er1erX# doumentation for detail#.
A Ser1let that generate# /TM! Mo#t #er1let# generate /TM!0 not plain te7t a# in
the pre1iou# e7ample. To do that0 you need two additional #tep#2 tell the brow#er that you
are #ending ba- /TM!0 and modify the println #tatement# to build a legal =eb page.
The fir#t #tep i# done by #etting the Content>Type re#pon#e header. In general0 header#
an be #et 1ia the #et/eader method of /ttpSer1letRe#pon#e0 but #etting the ontent type
i# #uh a ommon ta#- that there i# al#o a #peial Setontenttype method ju#t for thi#
purpo#e. +ote that you need to #et re#pon#e header# before atually returning any of the
ontent 1ia the Printwriter. /ereX# an e7ample2
M&5e&e Ree&)e $ % !e J&?& Se#? e 2 . Se 5 % 5& 5$>
,ownload the maintenane relea#e of the Ja1a Ser1let Speifiation0 1er#ion 3.F.
Thi# 1er#ion of Ja1a Ser1let tehnology.
3
http://host/servlet/ServletNamehttp://host/servlet/hall.Helloworldhttp://host/any-path/any-file.htmlhttp://host/any-path/any-file.htmlhttp://host/any-path/any-file.htmlhttp://host/servlet/ServletNamehttp://host/servlet/hall.Helloworldhttp://host/any-path/any-file.htmlhttp://host/any-path/any-file.html -
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
28/70
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
29/70
o1erhead of #a1ing the addre## li#t after e1ery hange but i# le## fail>#afe. If for #ome
rea#on the addre## file anXt be written to di#- or the #er1er ra#he# and annot de#troy
the Ser1let0 all hange# to the li#t will be lo#t e1en though the u#er# who #ubmitted the
re*ue#t# to hange the li#t reei1ed po#iti1e re#pon#e#.
In init we fir#t all #uper.init8onfig9 to lea1e the Ser1letConfig management to
the #uper la## 8/ttpSer1let90then we get the name of the addre## file from an init
parameter8whih i# #et up in the =eb Ser1er onfiguration9. If the parameter i# not
a1ailable the Ser1let throw# a ja1a7.#er1let."na1ailableE7eption 8a #ubla## of
ja1a7.#er1letE7eption9 whih indiate# that a Ser1let i# temporarily 8if a duration i#
#peified9 or permanently 8a# in thi# a#e9 una1ailable. ?inally0 the init method
de#teriliHe# the addre## file or reate# an empty etor if the addre## file doe# not e7i#t
yet. All e7eption# that our during the re#erialiHation are tran#formed into "na1ailable
E7eption#.
The method# #ub#ribe and un#ub#ribe are u#ed to 8un>9#ub#ribe an addre##.
They #a1e the addre## li#t if it wa# modified by alling #a1e 89 and return a ;oolean
#ue## 1alue. +ote that the#e method# are both #ynhroniHed 8on the Ser1let objet9to
en#ure the integrity of the addre## li#t0 both0 in memory and on di#-.
The #a1e method #erialiHe# the addre## li#t to the addre## file on di#- whih an be read
again by init when the Ser1let i# re#tarted.
C5e 5e#& 5$>
The lient interation i# handled by two of the #tandard /ttpSer1let method#0
do$et and doPo#t.
The do$et method replie# to $ET re*ue#t# by #ending an /TM! page whih
ontain# the li#t of the urrently #ub#ribe or un#ub#ribe an addre##2
The re#pon#e ontent type i# again #et to te7t4html and the re#pon#e i# mar-ed a#
not aheable to pro7y #er1er# and lient# 8beau#e it i# dynamially reated9 by
#etting an /TTP header &pragma2no>ahe'. The form a#-# the lient to u#e the
POST method for #ubmitting form data.
/ere i# a typial output by thi# method2
The doPo#t method reei1e# the #ubmitted form data0 update# the addre## li#t and
3
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
30/70
#end# ba- a onfirmation page2
?inally a onfirmation page i# #ent with the u#ual method. Re*.getRe*ue#t"RI 89
i# u#ed to get the "RI of the Ser1let for a lin- ba- to the main page 8whih i# reated by
do$et9.
A# u#ual0 the Ser1let e7tend# ja1a7.http.#er1let./ttpSer1let and o1erride#
getSer1letInfo to pro1ide a #hort notie. At la#t0 here i# the full #oure ode of the
!i#tManagerSer1let.
3.2 BACK END ORACLE
Ee 5 SL e# 5e) >
To really u#e a databa#e0 we need to ha1e #ome way to e7eute *uerie#. The #imple#t
way to e7eute a *uery i# to u#e the ja1a.#*l.Statement la##. Statement objet# are ne1er
in#tantiated diretly( in#tead0 a program all# the reateStatement89 method of Connetion
to obtain a new Statement objet2
Statement #tmtQon.rea2Statement89(
A *uery that return# data an be e7euted u#ing the e7euteuery 89 method of
Statement and return# a ja1a.#*l.Re#ultSet that enap#ulate# the retrie1ed data2
Re#ultSet r#>#tmt.e7euteuery8&SE!ECT ?ROM C"STOMERS'9(
)ou an thin- of a Re#ultSet objet a# a repre#entation of the *uery re#ult
returned one row at a time. )ou u#e the ne7t89 method of Re#ultSet to mo1e from row to
row. The Re#ultSet interfae al#o boa#t# a multitude of method# de#igned for retrie1ing
data from the urrent row. The getString 89 and getObjet 89method# are among the mo#t
fre*uently u#ed for retrie1ing olumn 1alue#2
while8r#.ne7t899
:D
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
31/70
String e1entQr#.getString8&e1en'9(
Objet ountQ8Integer9r#.getObjet8&ount'9(
)ou #hould -now that the Re#ultSet i# lin-ed to it# parent Statement. Therefore0 if
a Statement i# lo#ed or u#ed to e7eute another *uery0 any related Re#ultSet objet# are
lo#ed automatially.
H& 5 SL Ee 5$)>
,;Phone!oo-up enlo#e# mo#t of it# ode in a try4ath blo-. Thi# blo-
athe# two e7eption#2 Cla##+ot?oundE7eption and S!E7eption. The former i#
thrown by the Cla##.for+ame89 method when the J,;C dri1er la## an not be loaded.
The latter i# thrown by any J,;C method that ha# a problem. S!E7eption objet# are
ju#t li-e any other e7eption type0 with the additional feature that they an hain. The
S!E7eption la## define# an e7tra method0 get+e7tE7eption890 that allow# the
e7eption to enap#ulate additional E7eption objet#. =e didn
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
32/70
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
33/70
Another way to he- for null 1alue# i# to u#e the getObjet89 method. If a olumn
i# null0 getObjet89 alway# return# null. Compare thi# to the getString89 method that ha#
been -nown0 in #ome implementation#0 to return the empty #tring if a olumn i# null.
"#ing getObjet89 eliminate# the need to all wa#+ull89 and lead# to #impler ode.
U& 5 !e D&&;&)e>
Mo#t databa#e>enabled web #ite# need to do more than ju#t perform duerie#.
=hen a lient #ubmit# an order or pro1ide# #ome -ind of information0 the data need# to
be entered into the databa#e. =hen you -now you
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
34/70
i# preompiled by the databa#e for fa#ter e7eution. One a PreparedStatemant ha# been
ompiled0 it an #till be u#tomiHed by adju#ting predefined parameter#. Prepared
#tatement# are u#eful in appliation# that ha1e to run the #ame general S! ommand
o1er and o1er.
"#e the preparedStatement 8String9 method of onnetion to reate
preparedStatement objet#. "#e the Charater a# a plaeholder for 1alue# to be
#ub#tituted later. ?or e7ample2
PreparedStatement p#tmt Q on.preparedStatement
8&I+SERT I+TO OR,ERS 8OR,ERYI,0 C"STOMERYI,.TOTA!9 A!"ES 8009'9(
I+SERT I+TO M"SNETEERS 8+AME9 A!"ES 8KJohn d
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
35/70
MODULES E="LANATION>
Admini#trator Module.
Enable# the admini#trator to perform all admini#trati1e funtion# and managein1entory o1er !A+ or the Internet. The admini#trator an define or modify route#0
fare# #hedule# and a##ign or deny ae## for *ualified tra1el agent# and other
authoriHed u#er#.
Re#er1ation Agent Module.
Allow# the airline# re#er1ation agent# to ma-e and modify re#er1ation on the !A+ or
o1er the internet. The re#er1ation agent# ould be #tationed at any airline offie loation.
Pa##enger Module.
Thi# module enable# online u#tomer# to ma-e re#er1ation#0 1iew# their boo-ing#0
ma-e #peial #er1ie re*ue#t# and define their preferene# o1er the web.
Payment.
Pro1ide# the airline with the ability to #et up 1ariou# tra1el agent# and gi1e them
re#er1ation# apabilitie# o1er the Internet. The tra1el agent# are able to di#play and offer
di#ounted fare# to pa##enger#.
Canellation.
The #y#tem #hould allow the u#er to anel the e7i#ting boo-ing. In thi# anellation
1ery helpful in all the tra1eler#.
:F
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
36/70
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
37/70
D e $ ( e 5& # &( for modeling di#tribution of the
#y#tem.
"M! i# a on#olidation of many of the mo#t u#ed objet>oriented notation# and
onept#. It began a# a on#olidation of the wor- of $rady ;ooh0 Jame# Rumbaugh0 and
I1ar Jaob#on0 reator# of three of the mo#t popular objet>oriented methodologie#.
In %0 the Objet Management $roup8OM$90 a #tandard# body for the objet>
oriented ommunity0 i##ued a re*ue#t for propo#al for a #tandard objet>oriented analy#i#
notation and #emanti meta model. "M!0 1er#ion %.D0 wa# propo#ed a# an an#wer to thi#
#ubmi##ion in January of %. There were fi1e other ri1al #ubmi##ion#. ,uring the
our#e of %0 all #i7 #ubmitter# united their wor- and pre#ented to OM$ a re1i#ed
"M! doument0 alled "M! 1er#ion %.%. Thi# doument wa# appro1ed by the OM$ in
+o1ember %. The OM$ all# thi# doument OM$ "M! 1er#ion %.%. The OM$ i#
urrently in the proe## of performing a tehnial.
4 .1 .1 CLASS DIA-RAMS>
The la## diagram i# the main #tati analy#i# and de#ign diagram for a #y#tem. In
it0 the la## #truture of the #y#tem i# #peified0 with relation#hip# between la##e# and
inheritane #truture#. ,uring analy#i# of the #y#tem0 the diagram i# de1eloped with aneye for an ideal #olution. ,uring de#ign0 the #ame diagram i# u#ed0 and modified to
onform to implementation detail#.
4 .1 .2 . ACTIVITY DIA-RAMS>
The Ati1ity ,iagram i# a multi>purpo#e proe## flow diagram that i# u#ed to
model beha1ior of the #y#tem. Ati1ity ,iagram an be u#ed to model a "#e Ca#e0 or a
la##0 or a ompliated method. An Ati1ity ,iagram an #how parallel proe##ing. Thi#
i# important when u#ing Ati1ity ,iagram to model bu#ine## proe##e#0 #ome of whih
an be performed in parallel0 and for modeling multiple thread# in onurrent program#.
4 .1 .3 SEUENCE DIA-RAM>
:
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
38/70
The Se*uene diagram i# one of the mo#t effeti1e diagram# to model objet
interation# in a #y#tem. A Se*uene diagram i# modeled for e1ery "#e Ca#e. =herea#
the "#e Ca#e diagram enable# modeling of a bu#ine## 1iew of the #enario0 the Se*uene
diagram ontain# implementation detail# of the #enario0 inluding the objet# and la##e#
that are u#ed to implement the #enario0 and me##age# pa##ed between the objet#.
4 .1 .4 USE CASE DIA-RAM>
"#e Ca#e modeling i# the #imple#t and mo#t effeti1e tehni*ue for modeling
#y#tem re*uirement# from a u#eroriented analy#i# with "M!. The "#e Ca#e model on#i#t# of
ator# and "#e Ca#e#. Ator# repre#ent u#er# and other #y#tem# that interat with the
#y#tem. They are drawn a# #ti- figure#. They atually repre#ent a type of u#er0 not an
in#tane of a u#er. "#e Ca#e# repre#ent the beha1ior of the #y#tem0 #enario that the
#y#tem goe# through in re#pon#e to #timuli from an ator. They are drawn a# Ellip#e#.
Eah "#e Ca#e i# doumented by a de#ription of the #enario. The de#ription
an be written in te7tual form or in a #tep>by>#tep format. Eah "#e Ca#e an al#o be
defined by other propertie#0 #uh a# the pre> and po#t ondition# of the #enario [
ondition# that e7i#t before the #enario begin#0 and ondition# that e7i#t after the
#enario omplete#.
4 .1 . COLLABORATION DIA-RAM>
The Collaboration ,iagram pre#ent# an alternate to the Se*uene ,iagram for
modeling interation# between objet# in the #y#tem. =herea# in the Se*uene ,iagram
the fou# i# on the hronologial #e*uene of the #enario being modeled0 in the
Collaboration ,iagram the fou# i# on under#tanding all of the effet# on a gi1en objet
:B
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
39/70
during a #enario.
Objet# are onneted by lin-#0 eah lin- repre#enting an in#tane of an
a##oiation between the re#peti1e la##e# in1ol1ed. The lin- #how# me##age# #ent
between the objet#0 the type of me##age pa##ed0 and the 1i#ibility of objet# to eah
other.
4 .1 .6 DATALO: DIA-RAMS>
5#e 1 C&)) D5&(
:
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
40/70
5#e 2 A5?5 D5&(
@D
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
41/70
5#e 3 SeGee D5&(
@%
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
42/70
5#e 4 U)e C&)e D5&()
5#e C$&;$#&5$ D5&(
@3
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
43/70
4.2 DATA DICTIONARY>
4 .2 .1 INTRODUCTION>
DICTIONARY The logial harateri#ti# of urrent #y#tem data #tore#
inluding +ame0 Addre##0 ?light ode0 Soure0 ,e#tination0 Airline ode0 ?light ode0
Credit ard number0 Payment amount et identifie# proe## where the data are u#ed and
where immediate ae## to information re*uired0 Ser1e# a# the ba#i# for identifying
databa#e re*uirement# during #y#tem de#ign.
U)e) $ % D&& D5 5$>
To manage the detail# in large #y#tem#.
To ommuniate a ommon meaning for all #y#tem element#.
To doument the feature# of the #y#tem.
To failitie# analy#i# of the detail# in order to e1aluate harateri#ti# and
determine where #y#tem hange# #hould be made.
To loate error# and omi##ion# in the #y#tem.
4 .2 .2 DATA DICTIONARY>
1 . C&e & 5$ .
Thi# table i# u#ed to #tore the anel detail#.
@:
?ield name ,e#ription ,ata type SiHe Con#traint#
anelid Canellation id int %D PRIMAR) NE)
re#er1ationid Re#er1ation id int %D ?OREI$+ NE)
anelationdate ,ate of Canellation date +OT +"!!refundmoney Money to be refundable deimal %D0D +OT +"!!
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
44/70
3. C&))e)
Thi# table i# u#ed to #tore the la## detail#.
?ield name ,e#ription ,ata type SiHe on#traint#
Cla##id Id of the la## int %D PRIMAR) NE)
flightode > int %D ?OREI$+ NE)
la##ode > 1arhar FD +OT +"!!
la##name +ame of the la## 1arhar FD +OT +"!!
?are > deimal %D0D +OT +"!!
totalla###eat Total #eat# in a la## int %D +OT +"!!
3 . 5! &)
Thi# table i# u#ed to #tore the flight day
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
45/70
flight
de#tination ,e#tination of the flight 1arhar %DD +OT +"!!
totalapaity Total apaity of the
flight
int %D +OT +"!!
. L$5
Thi# table i# u#ed to #tore the login detail#
?ield name ,e#ription ,ata type SiHe on#traint#
u#ername +ame of the u#er 1arhar FD PRIMAR) NE)
pa##word Pa##word for the u#er
login
1arhar FD +OT +"!!
6 . M&5
Thi# table i# u#ed to #tore the mail detail#
?ield name ,e#ription ,ata type SiHe on#traint#
mailid "#er# mail id int %D PRIMAR) NE)
Tou#er ,e#tination of the mail 1arhar 3FD ?OREI$+ NE)
fromu#er ;y whom the mail i# #ent 1arhar 3FD ?OREI$+ NE)
Subjet Subjet of the mail 1arhar 3FD +OT +"!!
me##age Me##age to be #ent te7t +OT +"!!
7 . Ne@ U)e#
Thi# table i# u#ed to #tore the new u#er detail#.
?ield name ,e#ription ,ata type SiHe on#traint#
"#erid "#er# id int %D PRIMAR) NE)
?ir#tname ?ir#t name of the u#er 1arhar 3FD +OT +"!!
la#tname !a#t name of the u#er 1arhar 3FD +OT +"!!
@F
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
46/70
middlename Middle name of the u#er 1arhar 3FD +OT +"!!
mobileno Mobile number int %D +OT +"!!
,ob ,ate of birth date +OT +"!!
addre## > 1arhar 3FD +OT +"!!
City > 1arhar 3FD +OT +"!!
State > 1arhar 3FD +OT +"!!
ountry > 1arhar 3FD +OT +"!!
emailid Mail id 1arhar 3FD +OT +"!!
pa##word > 1arhar 3FD +OT +"!!
u#ertype Type of the u#er 1arhar 3FD +OT +"!!
u#ername +ame of the u#er 1arhar 3FD "+I"E NE)
8 . "&))ee#
Thi# table i# u#ed to #tore pa##enger detail#.
?ield name ,e#ription ,ata type SiHe on#traint#
pa##engerno +umber of the
pa##enger#
Int %D PRIMAR) NE)
flightode Code of the flight Int %D ?OREI$+ NE)
,ob ,ate of birth ,ate +OT +"!!
addre## > 1arhar 3FD +OT +"!!nationality > 1arhar 3FD +OT +"!!
+ame +ame of the u#er 1arhar 3FD +OT +"!!
$ender > 1arhar 3FD +OT +"!!
phoneno Phone number 1arhar 3FD +OT +"!!
emailid Mail id 1arhar 3FD +OT +"!!
pa##portno Pa##port number Int %D +OT +"!!
re#er1ationid Re#er1ation id Int %D ?OREI$+ NE)
9. "&(e
Thi# table i# u#ed to #tore payment detail#
@
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
47/70
10 . Re)e#?& 5$
Thi# table i# u#ed to #tore re#er1ation detail#.
?ield name ,e#ription ,ata type SiHe on#traint#
re#er1ationid > Int %D PRIMAR) NE)
flightode > Int %D ?OREI$+ NE)
journeydate > ,ate +OT +"!!
Soure Starting plae of theflight
1arhar FD +OT +"!!
de#tination Ending po#ition of the
flight
1arhar FD +OT +"!!
Statu# > Int %D +OT +"!!
journeytime Time the flight #tart# time +OT +"!!
11 . Re)e#?e !e<
Thi# table i# u#ed to #tore re#er1e he- detail#
@
?ield name ,e#ription ,ata type SiHe on#traint#
paymentid > Int %D PRIMAR) NE)
he-no Che-ing number Int %D +OT +"!!
reditardno > Int %D +OT +"!!
paidamount > deimal %D0D +OT +"!!paymentdate > date +OT +"!!
pa##engerno > Int %D +OT +"!!
?ield name ,e#ription ,ata type SiHe on#traint#
re#er1ationid Re#er1ation id number Int %D PRIMAR) NE)
u#ername +ame of the u#er arhar 3FD
Pa##word Pa##word to login arhar 3FD
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
48/70
. IM"LEMENTATION>
module# of thi# projet on#i#t of
%9Main Menu
39Re#er1ation
:9 Ti-et
@9waiting
F9=arning
9Confirmed
9Create
B9!ogin
9Me##age ;o7
%D9Projet
M&5 Me
import ja1a.awt.(
import ja1a.awt.e1ent.(publi la## MainMenu e7tend# ?rame implement# Ation!i#tener
Menu;ar mbar(
Menu m%0m30m:(
MenuItem m%Y%0m%Y30m3Y%0m3Y30m3Y:0m:Y%(publi MainMenu89
mbar Q new Menu;ar89(
#etMenu;ar8mbar9(m%Qnew Menu8\;oo-ing#\9(
mbar.add8m%9(
m%Y% Q new MenuItem8\Re#er1ation\9(m%.add8m%Y%9(
m%Y3 Q new MenuItem8\Canellation\9(
m%.add8m%Y39(
m3Qnew Menu8\Report#\9(
mbar.add8m39(m3Y% Q new MenuItem8\Confirmed Pa##enger#\9(
m3.add8m3Y%9(m3Y3 Q new MenuItem8\=aiting\9(
m3.add8m3Y39(
m3Y: Q new MenuItem8\,aily Colletion Report\9(m3.add8m3Y:9(
m:Qnew Menu8\Clo#e\9(
@B
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
49/70
mbar.add8m:9(
m:Y% Q new MenuItem8\Clo#e\9(
m:.add8m:Y%9(m%Y%.addAtion!i#tener8thi#9(
m%Y3.addAtion!i#tener8thi#9(
m3Y%.addAtion!i#tener8thi#9(m3Y3.addAtion!i#tener8thi#9(
m3Y:.addAtion!i#tener8thi#9(
m:Y%.addAtion!i#tener8thi#9(add=indow!i#tener8new M899(
publi 1oid ationPerformed8AtionE1ent ae9 i
f8ae.getSoure89QQm%Y%9 Re#er1ation r Q new Re#er1ation89(
r.#etSiHe8@DD0@DD9(
r.#eti#ible8true9(
r.#etTitle8\Re#er1ation Sreen\9( if8ae.getSoure89QQm%Y39
Canellation Q new Canellation89(.#etSiHe8@DD0@DD9(
.#eti#ible8true
.#etTitle8\Canellation Sreen\9( if8ae.getSoure89QQm3Y%9
Confirmed r Q new Confirmed89(
r.#etSiHe8@DD0@DD9(
r.#eti#ible8true9(r.#etTitle8\Confirmed Pa##enger# !i#t\9(
if8ae.getSoure89QQm3Y39 =aiting wr Q new =aiting89(
wr.#etSiHe8@DD0@DD9(
wr.#eti#ible8true9(wr.#etTitle8\=aiting !i#t\9(
if8ae.getSoure89QQm3Y:9
Colletion dr Q new Colletion89(dr.#etSiHe8@DD0@DD9(
dr.#eti#ible8true9(
dr.#etTitle8\,aily Colletion Report\9( if8ae.getSoure89QQm:Y%9
Sy#tem.e7it8D9(
4publi #tati 1oid main8String arg#]^9
MainMenu m Q new MainMenu89(
m.#etTitle8\Main Menu\9(
m.#etSiHe8@DD0@DD9(
@
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
50/70
m.#eti#ible8true9(
4
la## M e7tend# =indowAdapter publi 1oid windowClo#ing8=indowE1ent e9
#eti#ible8fal#e9(
di#po#e89(
Re)e#?&5$ M$e
import ja1a.awt.(
import ja1a.awt.e1ent.(publi la## Re#er1ation e7tend# ?rame implement# Ation!i#tener
;utton b%0b30b:(
!abel l%0l3(
$rid;ag!ayout gbl($rid;agCon#traint# gb(
?ont f(Re#er1ation89
#et;a-ground8Color.yan9(
f Q new ?ont8\Time#Roman\0?ont.;O!,03D9(gblQnew $rid;ag!ayout89(
gbQnew $rid;agCon#traint#89(
#et!ayout8gbl9(
b%Qnew ;utton8\Che- A1ailability\9(b%.#et?ont8f9(
b3Qnew ;utton8\ Create Pa##enger \9(
b3.#et?ont8f9(44 b:Qnew ;utton8\ ?are Teller \9(
44 b:.#et?ont8f9(
l%Q new !abel8\\9(l3Q new !abel8\\9(
gb.grid7QD(
gb.gridyQD(
gbl.#etCon#traint#8b%0gb9(add8b%9(
gb.grid7QD(
gb.gridyQ@(gbl.#etCon#traint#8l%0gb9(
add8l%9(
gb.grid7QD(gb.gridyQB(
gbl.#etCon#traint#8b30gb9(
add8b39(
4 gb.grid7QD( gb.gridyQ%3(
FD
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
51/70
gbl.#etCon#traint#8l30gb9(
add8l39(
gb.grid7QD(gb.gridyQ%(
gbl.#etCon#traint#8b:0gb9(
add8b:9(4
b%.addAtion!i#tener8thi#9(
b3.addAtion!i#tener8thi#9(44 b:.addAtion!i#tener8thi#9(
add=indow!i#tener8new =899(
publi 1oid ationPerformed8AtionE1ent ae9 if8ae.getSoure89QQb%9
Che- m Q new Che-89(
44#eti#ible8fal#e9(
m.#etSiHe8@DD0@DD9(m.#eti#ible8true9(
m.#etTitle8\Che- A1ailability Sreen\9( if8ae.getSoure89QQb39
Create 1 Q new Create89(
44#eti#ible8fal#e9(1.#etSiHe8@DD0FDD9(
1.#eti#ible8true9(
1.#etTitle8\Create Pa##enger Sreen\9(
4 if8ae.getSoure89QQb:9 ?are f Q new ?are89(44#eti#ible8fal#e9(
f.#etSiHe8@DD0FDD9(
f.#eti#ible8true9(f.#etTitle8\?are Teller Sreen\9(
4
la## = e7tend# =indowAdapter publi 1oid windowClo#ing8=indowE1ent e9
#eti#ible8fal#e9(
di#po#e89(
T5
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
52/70
Te7t?ield t%(
!abel l%(
;utton b%($rid;ag!ayout gbl(
$rid;agCon#traint# gb(
Connetion on(PreparedStatement p#(
Statement #tmt(
Re#ultSet r#(int ount(
?ont f(
Ti-et89
#et;a-ground8Color.yan9(
t% Q new Te7t?ield83D9(
l% Q new !abel8\P+R +O \9(
l%.#et?ont8f9(gb.grid7QD(
gb.gridyQD(gbl.#etCon#traint#8l%0gb9(
add8l%9(
gb.grid7QD(gb.gridyQ3(
gbl.#etCon#traint#8t%0gb9(
add8t%9(
add=indow!i#tener8new =899(
publi 1oid ationPerformed8AtionE1ent ae9
la## = e7tend# =indowAdapter
publi 1oid windowClo#ing8=indowE1ent e9
#eti#ible8fal#e9(
di#po#e89(
4 publi #tati 1oid main8String arg#]^9
Ti-et t Q new Ti-et89(
t.#etSiHe8@DD0FDD9(t.#eti#ible8true9(
t.#etTitle8\Ti-et Sreen\9(
4
F3
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
53/70
:&55 M$e
import ja1a.awt.(
import ja1a.awt.e1ent.(
publi la## =aiting e7tend# ?rame =aiting89
add=indow!i#tener8new =899(
la## = e7tend# =indowAdapter
publi 1oid windowClo#ing8=indowE1ent e9
#eti#ible8fal#e9(
44di#po#e89(Sy#tem.e7it8D9(
: M$e
import ja1a.awt.(import ja1a.awt.e1ent.(
publi la## =arning e7tend# ?rame
$rid!ayout g(;utton b%(
!abel l(
=arning89
g Q new $rid!ayout830%0%D0@D9(
#et!ayout8g9(l Q new !abel8\Inorret u#ername or pa##word\0!abel.CE+TER9(
b% Q new ;utton8\O-\9(add8l9(
add8b%9(
b%.addAtion!i#tener8new )899(add=indow!i#tener8new L899(
la## ) implement# Ation!i#tener
publi 1oid ationPerformed8AtionE1ent ae9
if8ae.getSoure89QQb%9 44di#po#e89( Sy#tem.e7it8D9(
la## L e7tend# =indowAdapter publi 1oid windowClo#ing8=indowE1ent e9
#eti#ible8fal#e9(di#po#e89(
F:
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
54/70
publi In#et# getIn#et#89
return new In#et#8@D0@D0@D0@D9(
4publi #tati 1oid main8String arg#]^9 =arning m Q new =arning89(
m.#etTitle8\Me##age ;o7\9(
m.#etSiHe8:DD03DD9(m.#eti#ible8true9(
4
C$%5#(e M$e
import ja1a.awt.(
import ja1a.awt.e1ent.(publi la## Confirmed e7tend# ?rame
Confirmed89
add=indow!i#tener8new =899(
la## = e7tend# =indowAdapter
publi 1oid windowClo#ing8=indowE1ent e9
#eti#ible8fal#e9(
44di#po#e89(
Sy#tem.e7it8D9(
C#e&5$ M$e
import ja1a.awt.(
import ja1a.awt.e1ent.(
publi la## Confirmed e7tend# ?rame
Confirmed89
add=indow!i#tener8new =899(
la## = e7tend# =indowAdapter
publi 1oid windowClo#ing8=indowE1ent e9
#eti#ible8fal#e9(44di#po#e89(
F@
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
55/70
Sy#tem.e7it8D9(
L$5 M$e
import ja1a.awt.(
import ja1a.awt.e1ent.(
publi la## !ogin e7tend# ?rame implement# Ation!i#tener String u#ername Q \anu\(String pa##word Q \rag\(
Te7t?ield t%0t3(
!abel l%0l30l:0l@0lF0l(;utton b30b:0b@(
$rid;ag!ayout gbl(
$rid;agCon#traint# gb(
?ont f%0f3(publi !ogin89 44#etTitle8\!ogin Sreen\9(
44g Q new $rid!ayout8@030D0D9(
44#et!ayout8g9(#et;a-ground8Color.yan9(
f% Q new ?ont8\Time#Roman\0?ont.;O!,03D9(
f3 Q new ?ont8\Time#Roman\0?ont.;O!,0%F9(gblQnew $rid;ag!ayout89(
gbQnew $rid;agCon#traint#89(
#et!ayout8gbl9( l% Q new !abel8\"#ername\0!abel.CE+TER9(
l%.#et?ont8f%9(
l3 Q new !abel8\Pa##word\0!abel.CE+TER9(l3.#et?ont8f%9(
l: Q new !abel8\\9(l@ Q new !abel8\\9(
lF Q new !abel8\\9(
l Q new !abel8\\9(t% Q new Te7t?ield8%F9(
t3 Q new Te7t?ield8%F9(
t3.#etEhoChar8GG9(
44b% Q new ;utton8\Change !ogin ,etail#\9(b3 Q new ;utton8\Re#et\9(
b3.#et?ont8f39(b: Q new ;utton8\Submit\9(b:.#et?ont8f39(
b@ Q new ;utton8\Clo#e\9(
b@.#et?ont8f39(gb.grid7QD(
gb.gridyQD(
gbl.#etCon#traint#8l%0gb9(
FF
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
56/70
add8l%9( gb.grid7Q3(
gb.gridyQD(
gbl.#etCon#traint#8t%0gb9(add8t%9(
gb.grid7QD(
gb.gridyQ3(gbl.#etCon#traint#8l30gb9(
add8l39(
gb.grid7Q3(gb.gridyQ3(
gbl.#etCon#traint#8t30gb9(
add8t39(
gb.grid7QD(gb.gridyQ@(
gbl.#etCon#traint#8l:0gb9(
add8l:9(
gb.grid7Q3(gb.gridyQ@(
gbl.#etCon#traint#8l@0gb9(add8l@9(
gb.grid7QD(
gb.gridyQ(gbl.#etCon#traint#8b30gb9(
add8b39(
gb.grid7Q3(
gb.gridyQ(gbl.#etCon#traint#8b:0gb9(
add8b:9(
gb.grid7QD(gb.gridyQB(
gbl.#etCon#traint#8l@0gb9(
add8l@9(gb.grid7Q3(
gb.gridyQB(
gbl.#etCon#traint#8lF0gb9(
add8lF9(gb.grid7QD(
gb.gridyQ%D(
gbl.#etCon#traint#8b@0gb9(add8b@9(
44add8l%9(
44add8t%9(44add8l39(
44add8t39(
44add8b%9(
44add8b39(
F
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
57/70
44add8b:9(
44add8b@9(
44b%.addAtion!i#tener8thi#9(b3.addAtion!i#tener8thi#9(
b:.addAtion!i#tener8thi#9(
[email protected]!i#tener8thi#9( 4publi In#et# getIn#et#89 return new In#et#8@D0@D0@D0@D9( 4
publi 1oid ationPerformed8AtionE1ent ae9
if8ae.getSoure89QQb39 t%.#etTe7t8\\9(
t3.#etTe7t8\\9(
if8ae.getSoure89QQb@9
Sy#tem.e7it8D9( if8ae.getSoure89QQb:9
if88t%.getTe7t89.e*ual#8u#ername99__8t3.getTe7t89.e*ual#8pa##word999
MainMenu m Q new MainMenu89(
#eti#ible8fal#e9(m.#etSiHe8@DD0@DD9(
m.#eti#ible8true9(m.#etTitle8\Main Menu\9(
el#e 44=arning w Q new =arning89(
44w.#etSiHe8:DD03DD9(44w.#eti#ible8true9(
44w.#etTitle8\Me##age ;o7\9(
Me##age;o7 mb Q new Me##age;o78thi#9(
mb.#et!oation83DD03DD9(mb.#eti#ible8true9(
4if8ae.getSoure89 QQ b%9
Change Q new Change89(.#etSiHe8@DD0@DD9(
.#eti#ible8true9(
.#etTitle8\Sreen for Changing !ogin ,etail#\9( 4
Me))&eB$
import ja1a.awt.(
import ja1a.awt.e1ent.(publi la## Me##age;o7 e7tend# ,ialog implement# Ation!i#tener
$rid;ag!ayout gbl($rid;agCon#traint# gb(?low!ayout ?(
;utton b%(
!abel l(?ont f%0f3(
Me##age;o78?rame fm9
#uper8fm0true9(
F
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
58/70
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
59/70
6. E="ERIMENTAL RESULTS>
F
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
60/70
D
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
61/70
%
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
62/70
3
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
63/70
:
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
64/70
@
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
65/70
F
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
66/70
7. TESTIN->
7.1 I#$5$>
Sy#tem ,e1elopment i# a proe## of onei1ing the #peifiation #peified in the
de#igning #tage into #oure ode. Careful #tudy and ob#er1ation about #y#tem de#igning
were made and aordingly the #y#tem wa# oded to on1ert from de#igning to #oure
ode0 where 1i#ual ;a#i a# the front end and OraleLE a# the ba-end. The Sy#tem wa#
de1eloped #uh that it #hould be u#ed for the future enhanement.
All the module of the #y#tem i# ombined and i# put to the operational u#e. Thi#
mean# that the new and old #y#tem are run in the parallel for #ometime#0 error# are
identified and the orre#ponding error# are to be onerned to get the re*uired output.
The #et of wor-ing program# and initialiHed table# are al#o pro1ided for the ea#y #tart of
the u#er0 in addition0 #y#tem doumentation i# al#o pro1ided0 and all u#er# ha1e been
trained to u#e the #y#tem.
Thi# reate# two problem#0
The time lag between the au#e and appearane of the problem.
The effet of #y#tem error# on file# and reord# within the # y#tem.
7.2 Te) $% e)5>
7.2.1 U5 Te)5>
"nit te# t i # de# igned to en#ure that the purpo#e for whih i t wa#
de#igned for whih it wa# de#igned for i# fulfilled. Eah and e1ery module
wa# t e# ted i nd i1 idua ll y w it h t he t e# t dat a and e rr or me# #age# wer e
di#played for inorret and #uffiient for entry wor-#. All 1alidation wa#
te#ted to orretne##. Te#t data were fed in and re#ult# were he-ed for
the maintenane module 0 to en#ure tha t a ll t ab le# rea ted ontained
nothing but 1alid data. Re1erential integri ty on#traint# #peif ied a# part
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
67/70
of the table definition wa# al#o te#ted.
7.2.2 Ie#&5$ Te)5>
In integrat ion te# t ing a #y# tem on#i# t ing of di f ferent module# i #
t e# ted for problem# ari #ing f rom omponent intera tion . In tegra tion
te#t ing #hould be de1eloped f rom the #y# tem #pei fiation. ?i r# t ly0 a
minimum onfigurat ion mu#t be integrated and te#ted. In my projet I
ha1e done integration te#t ing in a bottom up fa#hion i .e. in thi# projet I
ha1e # tar ted on#t rut ion and te#t ing wi th atomi module#. Af ter unit
te#t ing the module# are integrated one by one and then te#ted the #y#tem
for problem# ari#ing from omponent interation.
.3.: Re$?e# Te)5>
Many omputer ba#ed #y#tem# mu#t reo1er from fault# and re#ume
proe##ing within a pre>#peified time. In #ome a#e# a #y# tem mu#t be
fault tolerant .ie proe##ing fault# mu#t not au#e o1erall #y#tem funtion
t o ea#e . I n t he a# er # a # y# tem f ai lu re mu# t be or ret ed wit hi n a
#peified period of time or #e1ere eonomi damage will our.
7.2.4 Se#5 Te)5>
Any omputer>ba#ed #y#tem the manage# #en#it i1e information or
au#e ation that an improperly harm indi1idual i# a tablet for improper
or i l legal penetrat ion Seuri ty te#t ing at tempt# to 1erify that protetion
mehani #m buil t into a #y# tem wil l0 i n f a t pro te t i t f rom improperpenetration . ,uring #eurity te#ting0 the te#ter play# the role of the
indi1idual who de#ire to penetrate the #y#tem. The te#ter may at tempt to
a*uire pa##word# through e7ternal lerial mean#( may at ta- the #y#tem
with u#tom #oftware de#igned to brea- down any defen#e# that ha1e been
on#truted( may o1erwhelm the Sy#tem.
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
68/70
.3.F "e#%$#(&e Te)5>
?or real time and embedded #y#tem0 #oftware that pro1ide# re*uired funtion# but
not onfirm to performane re*uirement# i# unaeptable. Performane te#ting i#
de#igned to te#t the run time performane of #oftware within the onte7t of an integrated
#y#tem. Performane te#ting our# throughout all #tep# in the te#ting proe##. E1en at
unit le1el0 the performane of an indi1idual module may be ae##ed a# white bo7 te#t
reon duted. /owe1er0 it i# not until all #y#tem element# are fully integrated that true
performane of a #y#tem an be a#ertained.
Performane Te#t# are #ometime# oupled with #tre## te#ting and often re*uired
other hardware and #oftware implementation. It i# often nee##ary to mea#ure Re#oureutiliHation .;y inrementing a #y#tem the te#ter an uno1er #ituation# that lead to
degradation and po##ible #y#tem failure.
.3. :!5e B$ Te)5>
In white bo7 te#t ing -nowing the internal wor-ing of the ba#e0 te#t an
be onduted to en#ure that internal operation# are performed aording to
#peif iat ion and al l internal omponent# ha1e been ade*uately e7eri#ed.
In whi te bo7 t e# ting logia l pa th through the #of tware are t e# ted by
pro1iding te#t a#e# that e7eri#e #peifi #et of ondition# and loop#.
"#ing white>bo7 te#ting #oftware de1eloper an deri1e te#t a#e that
$uarantee that all independent path# within a module ha1e ;ee
ee#5)e & e&) $e.
Ee#5)e & $5& e5)5$) $ !e5# #e & %&)e )5e.
Ee# 5) e & $$ ) & !e 5# ; $ & #5 e) & @ 5!5 !e5 #
$e#&5$& ;$.
Ee#5)e 5e#& && )##e $ e)#e !e5# ?&55.
B
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
69/70
8. CONCLUSION>
The entire projet ha# been de1eloped and deployed a# per the
re*uirement# #tated by the u#er0 it i# found to be bug free a# per the
te#ting #tandard# that are implemented. And by #peifiation>untraed
error# onentrated in the oming 1er#ion#0 whih are planned to be
de1eloped in near future.
?inally0 we li-e to onlude that we put all our effort# throughout
the de1elopment of our projet and tired to fulfill mo#t of the
re*ui#e(e) $% !e )e#.
-
8/13/2019 airlinereservationsystemdocumentation-121027232054-phpapp01 (2)
70/70
9. REERENCE>
:e;)5e)
http244www.google.om
http244www.miro#oft.om
http244www.programmer3programmer.net
http244www.odeprojet.om
http244www.#lide#hare.net
http244www.%DDDprojet#.om
http244www.fir#tload.om
B$$