You are on page 1of 61

AIRLINE RESERVATION SYSTEM

A mini project Report of

submitted in partial fulfillment of the re uirements for the a!ard

"A#$ELOR O% TE#$NOLO&Y IN

COMPUTER SCIENCE AND ENGINEERING


"Y

Sumanth &ollapudi

She'har (ambala NVS )*+*++,*+)*+*++./0-

1nder The &uidance of

Mr2 A2Vija3 (umar Asst2 4rofessor 5epartment of #omputer Science and En6ineerin6

5epartment of #omputer Science and En6ineerin6

( L 1ni7ersit3
Accredited b3 NAA# 8A9 &rade:ISO ;++*<=++> &reen %ields: Vaddes!aram

CERTIFICATE
This is to certif3 that the project !or' entitled ?AIRLINE RESERVATION SYSTEM@ bein6 submitted to 5epartment of #omputer Science En6ineerin6: (2L21ni7ersit3 b3 SHEKHAR KAMBALA NVS(10100410) AND SUMANTH GOLLIPUDI (10100573) in fulfillment for the Mini 4roject in ( L 1ni7ersit3 &reen %ields: Vaddes!aram : Andhra 4radesh: India durin6 semester A of IIIBIV "2tech from 5ecemberCApril)=+*=C=+*0- is a bonafide !or' carried out b3 him under m3 super7ision2

A Vija3 (umar 4rof2S2Ven'ates!arlu Inchar6e and &uide Academic #oordinator : Asst2 4rofessor 5epartment of #SE: 5epartment of #SE: 2 ( L 1ni7ersit32 ( L 1ni7ersit3

Ack !"#$%&$'$ (

De !ould li'e to eEpress our deep 6ratitude and sincere than's to all !ho helped us to #omple te this project !or' successfull32 Our sincere than's to #SE $O5 t for pro7ided h facilitie ha7in6 us e s

D)*V*S)+k, (P)!.* S* and V$ k,($/",)#0 o to u project2 De are sincerel3 than'ful to M)* A V+1,2 K0',) our project 6uide: do r for her 7aluable su66estions and 6uidance at time of need2 our famil3: &reat than's to our proj associates: our most 7aluable dear and all those directl3 indirect ect friends or l3 helped us in this endea7or2 Last but not the De than' the Almi6ht3 &od !ho least ma'es e7er3thin6 happen2

She'har (ambala NVS)*+*++,*+Sumanth &ollipudi

)*+*++./0 -

ABSTRACT
The objecti7e of the project is to desi6n an Airline Reser7ation S3stem application !hich Enables the customers to search and boo' fli6hts: pac'a6es and hotels2 The project has been desi6ned in ja7a and consists of a SFL ser7er !hich acts as the database for the project2 The Airline Reser7ation S3stem project mainl3 consists of t!o t3pes of users2 The customers !ho access the information pro7ided b3 the !ebsite and the administrator !ho modifies and updates the information a7ailable in the !ebsite2 All the data needed for the application is stored in the form of tables in the SFL ser7er =+++2

The report contains the details of all the tas's carried out durin6 the entire soft!are de7elopment life c3cle of the Airline Reser7ation 4roject2 This document depicts all the details of the project startin6 from the project desi6n to testin62

TABLE OF CONTENTS
1* I ()!%0c(+! * 3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333334 1*1* P0)5!/$* 333333333333333333333333333333333333333333333333333333333333333333333333333333333333333334 1*6* Sc!5$* 333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333334 1*3* D$.+ +(+! * 3333333333333333333333333333333333333333333333333333333333333333333333333333333333333334 1*4* R$.$)$ c$/*3 33333333333333333333333333333333333333333333333333333333333333333333333333333333333337 1*5* T$c- !#!&+$/ 0/$%* 333333333333333333333333333333333333333333333333333333333333333333333333333337 1*8* O9$)9+$"* 33333333333333333333333333333333333333333333333333333333333333333333333333333333333333337
6* O9$),## D$/c)+5(+! * 33333333333333333333333333333333333333333333333333333333333333333333333333333333333333310 6*1* P)!%0c( 5$)/5$c(+9$* 3333333333333333333333333333333333333333333333333333333333333333333333333310 6 *6* S!.(",)$ + ($).,c$* 33333333333333333333333333333333333333333333333333333333333333333333333333310 6*3* H,)%",)$ + ($).,c$* 3333333333333333333333333333333333333333333333333333333333333333333333333310 6*4* P)!%0c( .0 c(+! * 333333333333333333333333333333333333333 3333333333333333333333333333333333333311

6*5* U/$) c-,),c($)+/(+c/* 333333333333333333333333333333333333 333333333333333333333333333333333333311


6*8* C! /(),+ (/* 333333333333333333333333333333333333333333333333333333333333333333333333333333333333316 6*7* A//0'5(+! / , % %$5$ %$ c+$/*3333 3333333333333333333333333333333333333333333333333333333313 6*4* S5$c+.+c )$:0+)$'$ (/* 33333333333333333333333333333333333333333333333333333333333333333333333314 6*4*1* U/$ c,/$ R$5!)(/* 33333333333333333333333333333333333333333333333333333333 33333315 3* A ,#2/+/* 33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333318 3*1* U/$ c,/$ %+,&),'/* 333333333333333333333333333333333333333333333333333333333333333333333333333318 3*6* C#,// %+,&),'/* 3333333333333333333333333333333333333333333333333333333333333333333333333333333317 3*3* S$:0$ c$ %+,&),'/* 33333333333333333333333333333333333333333333333333333333333333333333333333314 4 D$/+& * 33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333360

4*1* A)c-+($c(0)$ %$/+& * 333333333333333333333333333333333333333333333333333333333333333333333333 60 4*6* D,(, ;,/$ %$/+& * 333333333333333333333333333333333333333333333333333333333333333333 333333333360 4*6*1* ER %+,&),'/* 3333333333333333333333333333333333333333333333333333333333333361

4*6*6* Sc-$', %+,&),'/* 3333333333333333333333333333333333333333333 333 33333333366


4*6*3* DDL /c)+5(/* 33333333333333333333333333333333333333333333333333 333 33333333363 5* I'5#$'$ (,(+! * 3333333333333333333333333333333333333333333333333333333333333333333333333333333 333333333364 5*1* C!%$ / +55$(/ (/,'5#$ c!%$) 3333333333333333333333333333333333333333333333333 333333333364 8* T$/(+ &* 333333333333333333333333333333333333333333333333333333333333333333333333333333333333333 333333333333331 8*1* T$/( c,/$/* 333333333333333333333333333333333333333333333333333333333333333333 333333333333333334 7* R$/0#(/*(/c)$$ /-!(/)33333333333333333333333333333333333333333333333333333333333333333333 333333333333333338 4* B+;#+!&),5-2* 3333333333333333333333333333333333333333333333333333333333333333333333333333333 3333333333333340

LIST OF FIGURES AND SNAPSHOTS< FIGURES<


1* U/$ C,/$ D+,&),' .!) A+)#+ $ R$/$)9,(+! S2/($'33333333333333333333333333333333333317 6* C#,// D+,&),' .!) A+)#+ $ R$/$)9,(+! S2/($'3333333333333333333333333333333333333333314 3* S$:0$ c$ D+,&),' .!) A%'+ 3333333333333333333333333333333333333333333333333333333333333317 4* ER D+,&),' .!) A+)#+ $ R$/$)9,(+! S2/($'3333333333333333333333333333333333333333333360 5* Sc-$', D+,&),' .!) R$/$)9,(+! S2/($'33333333333333333333333333333333333333333333333361 8*DDL D+,&),' .!) A+)#+ $ R$/$)9,(+! S2/($'333333333333333333333333333333333333333333366

SNAPSHOTS<
1* 6* 3* 4*
H!'$ P,&$33333333333333333333333333333333333333333333333333333333333333333333333333333337 R$&+/(),(+! F!)'33333333333333333333333333333333333333333333333333333333333333333333334 A%'+ P,&$3333333333333333333333333333333333333333333333333333333333333333333333333333334 C0/(!'$) P,&$333333333333333333333333333333333333333333333333333333333333333333333333337

1 I ()!%0c(+! <
The Airline Reser7ation S3stem project is an implementation of a 6eneral Airline Tic'etin6 !ebsite li'e OrbitG: !hich helps the customers to search the a7ailabilit3 and prices of 7arious airline tic'ets: alon6 !ith the different pac'a6es a7ailable !ith the reser7ations2 This project also co7ers 7arious features li'e online re6istration of the users: modif3in6 the details of the !ebsite b3 the mana6ement staff or administrator of the !ebsite: b3 addin6: deletin6 or modif3in6 the customer details: fli6hts or pac'a6es information2 In 6eneral: this !ebsite !ould be desi6ned to perform li'e an3 other airline tic'etin6 !ebsite a7ailable online

1*1 P0)5!/$<
The Airline Reser7ation S3stem project is an implementation of a 6eneral Airline Tic'etin6 !ebsite li'e OrbitG: !hich helps the customers to search the a7ailabilit3 and prices of 7arious airline tic'ets: alon6 !ith the different pac'a6es a7ailable !ith the reser7ations2 This project also co7ers 7arious features li'e online re6istration of the users: modif3in6 the details of the !ebsite b3 the mana6ement staff or administrator of the !ebsite: b3 addin6: deletin6 or modif3in6 the customer details: fli6hts or pac'a6es information2 In 6eneral: this !ebsite !ould be desi6ned to perform li'e an3 other airline tic'etin6 !ebsite a7ailable online

1*6 Sc!5$<
The scope of problems is to o7ercome the problem b3 pro7idin6 details of all 7arious fli6hts And pro7ide interaction !ith companies directl3 throu6h this s3stem2 So the !a3 !e sa7e a lot time and easier to do boo'in6 operation2

1*3 D$.+ +(+! = Ac)! 2'/= , % A;;)$9+,(+! /


ARS< Air Reser7ation S3stem CASE< #omputer C Aided Soft!are En6ineerin6 CRS< #omputer Reser7ation S3stem DBMS < 5atabase Mana6ement S3stem DDL < 5ata 5efinition Lan6ua6e DFD < 5ata %lo! 5ia6ram DML< 5ata Manipulation Lan6ua6e DSS< 5ecision Support S3stems ERD< Entit3 Relationship 5ia6ram FK< %orei6n (e3 PK< 4rimar3 (e3 PSS< 4assen6er Ser7ice S3stem RAM< Random Access Memor3 TCP>IP<Transmission #ontrol 4rotocolB Internet 4rotocol TPS< Transaction 4rocessin6 S3stem
8

1*4 R$.$)$ c$/


*2 =2 02 ,2
http<BB!!!2fil6htop2com http<BB!!!2seminaronl32com http<BB!!!2careersoftCtechnolo632com http<BB!!!2acti7eCtechnolo6ies2com

1*5 T$c- !#!&+$/ (! ;$ 0/$%<


*2 =2 02
$TML HS4 MYSFL

1*8 O9$)9+$"
The s3stem allo!s the airline passen6er to search for fli6hts that are a7ailable bet!een the t!o tra7el cities: namel3 the ?5eparture cit3@ and ?Arri7al cit3@ for a particular departure and arri7al dates2 The s3stem displa3s all the fli6ht9s details such as fli6ht no: name: price and duration of journe3 etc2 After search the s3stem displa3 list of a7ailable fli6hts and allo!s customer to choose a particular fli6ht2 Then the s3stem chec's for the a7ailabilit3 of seats on the fli6ht2 If the seats are a7ailable then the s3stem allo!s the passen6er to boo' a seat2 Other!ise it as's the user to choose another fli6ht2 To boo' a fli6ht the s3stem as's the customer to enter his details such as name: address: cit3: state: credit card number and contact number2 Then it chec's the 7alidit3 of card and boo' the fli6ht and update the airline database and user database2 The s3stem also allo!s the customer to cancel hisBher reser7ation: if an3 problems occur

O9$),## D$/c)+5(+!
=2+

P)!%0c( P$)/5$c(+9$

A%IRS is an InternetCbased application eEecutin6 on a Deb ser7er and connected to enterprise databases2 As sho!n in %i6ure *: A%IRS accepts and processes re uests from t!o patrons< end users )customers- and s3stem administrators2 "esides the local ser7er database )for storin6 reser7ation records-: A%IRS also inte6rates databases from airlines and airports2 The s3stem is eEpected to ha7e a Deb user interface for customers and an authoriGation based Deb interface for administrators2 Its final release has merits of bein6 efficient and precise in fli6ht searchin6: consistent in boo'in6 transaction processin6 and secure in credential data transmission2

6*6 S!.(",)$ I ($).,c$


*2 =2
The s3stem shall pro7ide a help )eEplanation- lin' from each displa3ed $TML pa6e to eEplain ho! to use that pa6e2 The Deb pa6e of A%IRS shall permit complete na7i6ation: fli6ht selection: tic'et reser7ation and tic'etBfli6ht information uer3 7ie! usin6 'e3board and mouse combinations2

6*3 H,)%",)$ I ($).,c$


There is an LAN used for communication amon6 the different client s3stems to be used2

10

P)!%0c( F0 c(+!

2.4.1 Flight/ticket inventory/database syste


*2 =2 02 ,2
The A%IRS should transmit and store the detailed properties ) uantities: fli6ht number: departureBreturn timeBdate: seat: location- of tic'et items for the potential re uests from users2 The %li6htBtic'et in7entor3Bdatabase s3stem should 'eep updated information about the a7ailabilit3 of tic'et and fli6ht information to determine !hether a re uested reser7ation is a7ailable or not2 Dhen the A%IRS ma'e the uer3 about tic'et information !ith constrains: %li6htBtic'et in7entor3Bdatabase s3stem should pro7ide all the information that satisf3 the uer32 The %li6htBtic'et in7entor3Bdatabase s3stem should accept information update operation flo!s comin6 from the administrator interface s3stem2

=2,2= 1ser uer3B7ie! s3stem

The user uer3B7ie! s3stem should communicate !ith %li6htBtic'et in7entor3Bdatabase s3stem throu6h a pro6rammin6 interface for the follo!in6 operations2

*2 =2 02 ,2 .2 A2 /2

To allo! a user post 7arious uer3 about tic'et information a7ailable at present2 1ser can use an3 combination a7ailable To sho! the user the resultin6 list of uer32 This should allo! users to further sort the list b3 subfields of the tic'et information )e262 price-2 The 7ie! should be friendl3 and fleEible2 To allo! a user place a reser7ation To detect the conflict if a user placed t!o incompatible reser7ations2 To allo! a user 7ie! hisBher reser7ation To allo! user modif3 hisBher reser7ation To allo! user to mana6e hisBher account in A%IRS

=2,20 Administrator interface s3stem

The administrator interface s3stem should communicate !ith %li6htBtic'et in7entor3Bdatabase s3stem throu6h a pro6rammin6 interface for the follo!in6 operations2

*2 =2

To allo! administrator 1pdateBAddB5elete %li6ht information To allo! administrator 1pdateBAddB5elete 1ser Reser7ation
11

6*5 S5$c+.+c R$:0+)$'$ (/

2.5.1Use Case Reports


2.5.1.1 !escri"tion
This section list use cases for A%IRS2 The 7arious user classes identified the follo!in6 use cases and primar3 actors for the A%IRS<

4rimar3 Actor

1se #ases

#$sto er

1 . 2 . 3 . 4 . 5 . 6 .

%lace reservation #hange reservation #ancel reservation &earch 'light in'or ation (incl$ded in 1) +"date/*dd/!elete Flight in'or ation +"date/*dd/!elete +ser ,eservations

*d inistr ator

R$/$)9,(+! U/$ c,/$ 1se #ase I5<* 1se #ase Name<4lace reser7ation #reated "3<Yibin Dan6 5ate #reated<+;B+/B=++> Actors<#ustomer 5escription<A customer accesses the A%IRS from the Internet: optionall3 search for specific tic'etBfli6ht information of interest: selects tic'et)s-: and places reser7ation2 4reconditions<No Last 1pdated "3< 5ate Last 1pdated< DeiEun Dan6 +;B*+B=++>

ne 4ost conditions<*2 5atabase of a7ailable tic'ets is updated to reflect items in this order2 Remainin6 tic'ets number is =2 updated2 Normal %lo!<1*0 O)%$) , S+ &#$ T+ck$( *2 #ustomer uses the !eb interface to enter a certain uer3 to 7ie!
12

fli6ht information for a specified interest2 S3stem displa3s a7ailable fli6ht information satisfied the uer32 #ustomer selects one or more items from pa6e2 #ustomer can also clic' on a particular tic'et to see the detailed information2 ,2 S3stem displa3s reser7ation !ith detailed price information includin6 all taEes2 .2 #ustomer confirms reser7ation or re uests to modif3 reser7ation )bac' to step 0-2 A2 #ustomer specifies pa3ment method2 /2 #ustomer indicates that reser7ation is complete2 >2 S3stem confirms acceptance of the order2 ;2 S3stem sends #ustomer an eCmail confirmin6 order details: price: and additional lin's to access the tic'et details or for potential modification2 *+2 S3stem stores order in database: and updates a7ailable tic'et information )database-2 Alternati7e %lo!s<1*1 O)%$) '0#(+5#$ (+ck$(/ )branch after step >-

=2 02

*2 =2

#ustomer as's to place another reser7ation2 Return to step =2

1*6* O)%$) (-$ L,/( '+ 0($ %$,#/ )after step =#ustomer orders the dail3 special from the menu2 Return to step .2 EEceptions<1*0*E*1 C! c0))$ ( ,cc$// .)!' '0#(+5#$ 0/$)/ ("-$ (-$)$ +/ #$// ,9,+#,;#$ (+ck$( (-, 5!($ (+,# 0/$)/= %$', % /0)5,// /055#2) )at step **2 S3stem informs #ustomer that tic'et no lon6er a7ailable2 =a2 #ustomer cancels the tic'et order2 =b2 S3stem terminates use case2 0a2 #ustomer re uests to select another tic'et2 0b2 S3stem restarts use case2

*2 =2

1*0*E*6 C0(!.. (+'$ .!) ,9,+#,;#$ (+ck$( ((-$ c0(!.. (+'$ +/ 0/0,##2 5 -!0)/ ;$.!)$ (-$ %$5,)(0)$ (+'$ !. (-$ .#+&-() )at step **2 S3stem informs #ustomer that the cutoff time polic3 occurs2 *a2 S3stem denies the access to the particular tic'et information terminates use case2

1*6*E*1 (-$ 0/$) + 50( :0$)2 +/ !( )$,/! ,;#$ ($*&* %$5,)(0)$ (+'$ +/
13

;$-+ % ,))+9,# (+'$) )at step **2 =2 Includes<None 4riorit3<$i6h %re uenc3 of 1se<ApproEimatel3 ,++ users: a7era6e of one usa6e per da3 Special Re uirements<*2 =2 Notes and Issues<*2 =2 #ustomer shall be able to cancel the order at an3 time prior to confirmin6 the order2 #ustomer shall be able to 7ie! all tic'ets he reser7ed !ithin the pre7ious siE months2 )4riorit3 I mediumThe default time Gone of departureBarri7al information is the local time Gone of specific cit32 If customer doesn9t need to ha7e an account until reser7ation is placed2 S3stem informs #ustomer of ri6ht form of uer3 to input2 #ustomer chan6es uer32

C-, &$ !) C, c$##,(+! U/$ C,/$

1se #ase I5< =:0 1se #ase Name<#ustomer chan6e or cancel reser7ation )before cutoff time#reated "3<Yibin Dan6 5ate #reated<+;B+/B=++> Actors<#ustomer 5escription<#ustomers !ho ha7e reser7ations in A%IRS should be able to modif3 or cancel these reser7ations before a certain cutoff time2 4reconditions<#ustomer is lo66ed into A%IRS2 4ostconditions<#ustomer has placed certain actions on eEistin6 reser7ations2 Normal %lo!<6*0 R$/$)9,(+! '!%+.+c,(+! !) c, c$##,(+! Last 1pdated "3< 5ate Last 1pdated< DeiEun Dan6 +;B**B=++>

*2 =2 02 ,2 .2 A2

#ustomer re uests to chan6e or cancel reser7ation2 S3stem in7o'es Authenticate 1ser9s Identit3 use case2 S3stem 7erifies #ustomer9s identit3 and pro7ides the lo6in 7ie! menu for customer2 #ustomer clic's on the reser7ation section and chooses one of the reser7ations to modif3 or cancel2 #ustomer confirms desire to do modification or cancellation2 S3stem chec's the cutoff time and permit the

modificationBcancellation re uested b3 customer2


14

/2 >2 ;2
Alternati7e %lo!s<None

S3stem as's #ustomer to confirm his or her decision2 S3stem sends correspondin6 update information to the database of tic'etBfli6ht information2 S3stem informs #ustomer the chan6e and pro7ides confirmation number of the transaction2

EEceptions<5*0*E*1 C0/(!'$) +%$ (+(2 ,0(-$ (+c,(+! .,+#/ )at step =-

*2 S3stem 6i7es user t!o more opportunities for correct identit3 authentication2
=a2 If authentication is successful: #ustomer proceeds !ith use case2 =b2 If authentication fails after three tries: S3stem notifies #ustomer: lo6s in7alid authentication attempt: and terminates use case2

5*0*E*6 T-$ c0(!.. (+'$ 5!#+c2 +/ ,55#+$% )at step A-

*2 S3stem informs #ustomer that he modificationBcancellation and eEplains !h32 =2 S3stem terminates use case2
Includes<Authenticate 1ser9s Identit3 4riorit3<$i6h %re uenc3 of 1se<Once per user on a7era6e Special Re uirements<*2 Assumptions<None Notes and Issues<*2

cannot

ma'e

the

1ser authentication is performed per corporate standards for mediumCsecurit3 applications2 EEpect lo! fre uenc3 of eEecutin6 this use case2 "ut relati7el3 hi6h fre uenc3 durin6 the hot season )#hristmas-

A%'+ +/(),(+9$ U/$ C,/$ 1se #ase I5<.:A 1se #ase Name<+"date/*dd/!elete Flight in'or ation/+ser reservations #reated "3<Yibin Dan6 5ate #reated<+;B+/B=++> Actors<Administrator Last 1pdated "3< 5ate Last 1pdated< DeiEun Dan6 +;B**B=++>

15

5escription<The Administrator ma3 modif3 the fli6ht information and prices for a specified date to reflect chan6es in a7ailabilit3 or prices or to define last minute deal2 Administrator can also 1pdateBAddB5elete 1ser Reser7ations in some cases2 4reconditions<5atabase alread3 eEists in the s3stem2 4ost conditions<Modified database has been sa7ed2 Normal %lo!<11*0 U5%,($>A%%>D$#$($ F#+&-( + .!)',(+! >U/$) )$/$)9,(+! /

*2 =2 02

,2 .2 A2
Alternati7e %lo!s<None

Menu Mana6er re uests to 7ie! the menu for specific tic'etBfli6ht information2 S3stem displa3s the menu2 Menu Mana6er modifies the menu to add ne! information: remo7e or chan6e items: create or chan6e deal: or chan6e prices: number of seats a7ailable ect2 )in7o'e the database mana6ement lan6ua6e module throu6h interfaceMenu Mana6er re uests to sa7e the modified menu2 S3stem sa7es modified menu2 If the chan6e is about user reser7ations: send notification to users b3 eCmail

EEceptions<11*0*E*1 N! +($' $?+/(/ .!) /5$c+.+$% + .!)',(+! )at step *-

*2 S3stem informs Administrator that no menu eEists for the specified date2 =2 S3stem as's Administrator if he !ould li'e to add a ne! item2
0a2 Administrator sa3s 3es2 0b2 S3stem in7o'es 5atabase interface2 ,a2 Menu Mana6er sa3s no2 ,b2 S3stem terminates use case2

11*0*E*6 I($' /5$c+.+$% +/ (-$ 5,/( + .!)',(+! )at step *-

*2 =2 Includes<None
4riorit3<$i6h

S3stem informs Administrator that the item re uested cannot be modified2 S3stem terminates use case2

%re uenc3 of 1se<ApproEimatel3 =+ times per !ee' b3 one user


16

Special Re uirements<*2 Assumptions<No ne Notes and Issues<*2

The Administrator ma3 cancel out of the modification function at an3 time2 If an3 item has been chan6ed: the s3stem shall re uest confirmation of the cancellation2

If the Administrator is doin6 modification of certain information: that information should be temporall3 in7isibleBinaccessible for customers2

17

A ,#2/+/
02* U/$ C,/$ M!%$# D$/c)+5(+! (U/$ C,/$ D+,&),'/)

F+&0)$ 3*1 < U/$c,/$ D+,&),' .!) A+)#+ $ R$/$)9,(+! S2/($'

18

3*6 C#,// D+,&),'/

F+&0)$ 3*6< C#,// %+,&),' .!) A+)#+ $ R$/$)9,(+! S2/($'

19

3*3 S$:0$ c$ D+,&),'/

F+&0)$ 3*3< S$: 0$ c$ D+,&),' .!) A%'+ 5,&$

20

D$/+&
4*1 A)c-+($c(0)$ D$/+&

+2

The Architecture 5esi6n of the Airline Reser7ation S3stem follo!s the threeCtier architecture2

*2 4resentation Tier =2 "usiness Lo6ic Tier 02 5atabase Tier *2


The architecture desi6n of the Airline Reser7ation S3stem has been represented !ith the help of the #lass 5ia6ram and the Se uence 5ia6ram2

21

4*6 D,(,;,/$ D$/+&

4*6*1 ER D+,&),'

F+&0)$ 4*6*1 < ER %+,&),' .!) A+)#+ $ R$/$)9,(+! S2/($'@/ T,;#$/

22

4*6*6 Sc-$', %+,&),'

F+&0)$ 4*6*6 < Sc-$', D+,&),' .!) A## T,;#$/*

23

4*6*3 DDL Sc)+5(/

F+&0)$ 4*6*3 < DDL %+,&),' .!) A## (,;#$/ + A+)#+ $ R$/$)9,(+! S2/($'

24

.2+

I'5#$'$ (,(+!
.2* C!%$ S +55$(/ (S,'5#$ C!%$)

L!&+ 5,&$*-('#
JhtmlK JheadK Jst3leK aL color<bla ckM N JBst3leK JtitleKAIRDAVE JBtitleK JBheadK Jbod3 "&#OLORI"#808080"K Jform methodI"POST" actionI"login.jsp"K Jdi7 ali6nI"center"K Jh*KAIRDAVEJBh*KJbr BK 1sername< Jinput t3peI"text" nameI"uname" idI"uname" siGeI"15" BKJbr BK 4ass!ord< Jinput t3peI"password" nameI"pwd" idI"pwd" siGeI"15" BKJbr BK JpKJinput t3peI"submit" 7alueI" ogin" K JbKJa hrefI"regi.!tml"KSi6n 1pJBaKJBbKJBpK JBdi7K JBformK JBbod3K JBhtml K Lo6inpa6e2jsp JOP pa6e lan6ua6eI"ja"a" contentT3peI"text#!tml" importI"ja"a.s$l.%" sessionI"true"OK JO tr3 L Strin6 s* I re uest26et4arameter)QunameQ-M Strin6 s=Ire uest26et4arameter)Qp!dQ-M #lass2forName)Qcom2m3s l2jdbc25ri7erQ-M #onnection con* I 5ri7erMana6er26et#onnection)Qjdbc<m3s l<BBlocalhost<00+ABairQ: QrootQ: Q=0***;;*Q-M
25

4reparedStatement st I con*2prepareStatement)Qselect R from user !here 1nameISQ T s* T QS and 4!dISQ T s= T QSQ-M ResultSet rs I st2eEecuteFuer3)-M Strin6 stat I QQM int ' I +M !hile )rs2neEt)-- L stat I rs26etStrin6)Q1SERTY4EQ-M 'TTM if )stat2e uals)QuserQ-L session2setAttribute)Qs*Q: s*-M session2setAttribute)Qs=Q: s=-M OK Jjsp<for!ard pa6eI"custom.!tml"BKJO N else if)stat2e uals)QadminQ-L session2setAttribute)Qs*Q:s*-M session2setAttribute)Qs=Q:s=-M OK Jjsp<for!ard pa6eI"admin!ome.!tml"BKJO N else L OK JJjsp<for!ard pa6eI"loginpage.!tml"BKJO N OK JhtmlK JheadK Jst3leK h. L position<absoluteM left<5&0pxM top<&&0pxM color< redM N JBst3leK JBheadK Jbod3K Jh.KIn7alid 1serI5 or 4ass!ordJBh.K JO N if)'II+-L OK JJjsp<for!ard pa6eI"loginpage.!tml"BKJO OK JBbod3K JBhtmlK JO
26

NBBtr3 catch)EEception e-L out2println)e-M N

R$&+/(),(+! *-('#
JUCCJOPpa6e contentT3peIQteEtBhtmlQ pa6eEncodin6IQ1T%C>QOKCCK JU 5O#TY4E $TML 41"LI# QCBBD0#BB5T5 $TML ,2+* TransitionalBBENQ Qhttp<BB!!!2!02or6BTRBhtml,Bloose2dtdQK JhtmlK JheadK JtitleK Re6ister hereJBtitleK Jst3le t3peI"text#css"K h*LfontCfamil3<'Times()ew(*oman'MfontCsiGe<+,ptMfontC !ei6ht<boldN pLfontCfamil3<'-andara'MfontCsiGe<1.ptN bLfontC famil3<'-andara'MfontCsiGe<1,ptMfontC!ei6ht<boldN .!/perLfontCfamil3<'0riel'MfontCsiGe<1,ptMcolor<redN

JBst3leK Jscript t3peI"text#ja"ascript"K 7ar frm7alidator I ne! Validator)Qm3formQ-M frm7alidator2addValidation)QnameQ:Qre Q:Q4lease enter 3our NameQ-M frm7alidator2addValidation)QnameQ:QmaElenI=+Q: QMaE len6th for Name is =+Q-M function chec')L 7ar frm I document2formsVQm3formQWM if)frm2name27alueIIQQ XX frm2dob27alueIIQQ XX frm2uname27alueIIQQ XX frm2p!d27alueIIQQ XX frm2cp!d27alueIIQQ XX frm2altemail27alueIIQQ L alert)Q4lease enter details in all the fields2Q-M N if)parseInt)frm2name27alue-L alert)QName should not be entered in numbersQ-M frm2name2focus)-M return falseM N if)frm2p!d27alue UI frm2cp!d27alueL alert)QThe 4ass!ord and 7erified pass!ord does not matchUQ-M
27

return falseM N if)frm2mail27alue2indeEOf)SPS-IIC*L alert)QSPS should be used in emailQ-M frm2altemail2focus)-M return falseM N if)frm2mail27alue2indeEOf)S2S-IIC*L alert)QS2S should be used in emailQ-M frm2altemail2focus)-M return falseM N if))frm2p!d27alue2len6th-JAL alert)Qpass!ord should contain atleast A characters Q-M frm2p!d2focus)-M return falseM N return trueM N function 7alidate)L 7ar aIdocument2m3form2name27alueM 7ar bIdocument2m3form2dob27alueM 7ar cIdocument2m3form2uname27alueM 7ar dIdocument2m3form2p!d27alueM 7ar eIdocument2m3form2cp!d27alueM 7ar fIdocument2m3form2mail27alueM if)aIIQQL alert)Qenter nameQ-M return falseM N if)bIIQQL alert)Qenter date of birthQ-M return falseM N if)cIIQQL alert)Qenter usernameQ-M return falseM N if)dIIQQL alert)Qenter pass!ordQ-M
28

return falseM N if)eIIQQL alert)Qenter confirm pass!ordQ-M return falseM N if)fIIQQL alert)Qenter emailQ-M return falseM N if)dUIeL alert)QreCenter pass!ordUUQ-M return falseM N if)d2len6thJAL alert)Qminimum len6th of pass!ord is A Q-M return falseM N if)f2IndeEOf)SPS-IIC*L alert)Qin7alid emailQ-M return falseM N if )f2IndeEOf)S2S-II C*L alert)Qin7alid emailQ-M return falseM N return trueM N JBscriptK JBheadK Jbod3 b6colorI"sil"er"K JfieldsetK Jle6endK
%ill in the details< JBle6endK

Jform actionI"registeraction.jsp" methodI"get" nameI"m/1orm" idI"m/1orm" onsubmitIQja7ascript<return 7alidate )-MQK Jtable !idthI"&50" borderI"0" ali6nI"center"K JtrK JthK Jdi7 ali6nI"rig!t"K
29

Name<Jinput t3peI"text" idI"name" nameI"name"BKJBdi7KJbrBK JBthK JBtrK JtrK JthK Jdi7 ali6nI"rig!t"K 5ate of "irth<Jinput t3peI"date" idI"dob" nameI"dob"BKJBdi7KJbrBK JBthK JBtrK JtrK JthK Jdi7 ali6nI"rig!t"K 1sername<Jinput t3peI"text" idI"uname" nameI"uname"BKJBdi7KJbrBK JBthK JBtrK JtrK JthK Jdi7 ali6nI"rig!t"K 4ass!ord<Jinput t3peI"password" idI"pwd" nameI"pwd"BKJBdi7KJbrBK JBthK JBtrK JtrK JthK Jdi7 ali6nI"rig!t"K #onfirm 4ass!ord<Jinput t3peI"password" idI"cpwd" nameI"cpwd"BKJBdi7KJbrBK JBthK JBtrK JtrK JthK Jdi7 ali6nI"rig!t"K Email<Jinput t3peI"email" idI"mail" nameI"mail"BKJBdi7KJBbrK JBthK JBtrK JtrK JthK Jdi7 ali6nI"rig!t"K Jinput t3peI"submit" 7alueI"*egister" BK Jinput t3peI"reset" 7alueI"*eset"BK JBdi7K JBthK JBtrK JBtableK JBformK JBfieldsetK JBbod3K JBhtmlK
30

R$&+/(),(+! *1/5
JOP pa6e lan6ua6eI"ja"a" contentT3peI"text#!tml" importI"ja"a.s$l.%" sessionI"true"OK JU5O#TY4E $TMLK JhtmlK JheadK Jst3leK aL color< blackM N JBst3leK JBheadK Jbod3 b6colorI"sil"er"K JbrBKJbrBK JO tr3 L Strin6 aname* I re uest26et4arameter)QnameQ-M Strin6 adob* I re uest26et4arameter)QdobQ-M Strin6 ausername* I re uest26et4arameter)QunameQ-M Strin6 apass* I re uest26et4arameter)Qp!dQ-M Strin6 apass= I re uest26et4arameter)Qcp!dQ-M Strin6 altemail= I re uest26et4arameter)QmailQ-M Strin6 usert3pe I QuserQM #lass2forName)Qcom2m3s l2jdbc25ri7erQ-M #onnection con* I 5ri7erMana6er26et#onnection)Qjdbc<m3s l<BBlocalhost<00+ABairQ: QrootQ: Q=0***;;*Q-M 4reparedStatement st I con*2prepareStatement)Qinsert into user 7alues)SQ T aname* T QS:SQ T ausername* T QS:SQ T apass* T QS:SQ T altemail= T QS:SQ T adob* T QS:TSQ T usert3pe T QS-Q-M st2eEecute1pdate)-M out2println)QJcenterK#on6ratsUUNo! 3ou are a re6istered MemberJBcenterKJbrBKJbrBKQ-M N catch )EEception eL out2println)e-M N OK JcenterK JbKJa hrefI"loginpage.!tml"KLo6inJBaKJBbKJBcenterK JBbod3K JBhtmlK

31

A%'+ *-('#
JUCCJOPpa6e contentT3peIQteEtBhtmlQ pa6eEncodin6IQ1T%C>QOKCCK JU 5O#TY4E $TML 41"LI# QCBBD0#BB5T5 $TML ,2+* TransitionalBBENQ Qhttp<BB!!!2!02or6BTRBhtml,Bloose2dtdQK JhtmlK JheadK JtitleK Admin $omeJBtitleK Jst3le t3peI"text#css"K h*LfontCfamil3<'Times()ew(*oman'MfontCsiGe<+,ptMfontC !ei6ht<boldN pLfontCfamil3<'-andara'MfontCsiGe<1.ptN bLfontC famil3<'-andara'MfontCsiGe<1,ptMfontC!ei6ht<boldN .!/perLfontCfamil3<'0riel'MfontC siGe<18ptMcolor<blackN(JBst3leK JscriptK function hello)L alert)Q$ello AdminQ-M N !indo!2histor32for!ard)-M

function no"ac')L !indo!2histor32for!ard)-M N JBscriptK JBheadK Jbod3 b6colorI"sil"er" onloadIQhello)-MQK JcenterKJh=KDelcome A5MIN22U Jh=KJBcenterK JbrBK Jform actionI"loginpage.!tml"K JcenterK Jh*KJa hrefI"c!eckcust.jsp"KJspan classI"!/per"Kcustomer details JBspanKJBaKJbrBKJbrBK Ja hrefI"c!eck1lig.jsp"KJspan classI"!/per"Kfli6ht detailsJBspanKJBaKJbrBKJbrBK Ja hrefI"update1lig.jsp"KJspan classI"!/per"K1pdate fli6ht detailsJBspanKJBaKJbrBKJbrBK Jinput t3peI "submit" 7alueI" ogout"BK JBh*K JBformK JBbod3K JBhtmlK #ustomer pa6e < JUCCJOPpa6e contentT3peIQteEtBhtmlQ pa6eEncodin6IQ1T%C>QOKCCK JU 5O#TY4E $TML 41"LI# QCBBD0#BB5T5 $TML ,2+* TransitionalBBENQ
32

Qhttp<BB!!!2!02or6BTRBhtml,Bloose2dtdQK JhtmlK JheadK JtitleK#1STOMERJBtitleK Jst3le t3peI"text#css"K h*LfontCfamil3<'Times()ew(*oman'MfontCsiGe<+,ptMfontC !ei6ht<boldN pLfontCfamil3<'-andara'MfontCsiGe<1.ptN bLfontC famil3<'-andara'MfontCsiGe<1,ptMfontC!ei6ht<boldN .!/perLfontCfamil3<'0riel'MfontC siGe<18ptMcolor<blackN(JBst3leK JscriptK function hello)L alert)Q$ello customerQ-M N !indo!2histor32for!ard)-M function no"ac')L !indo!2histor32for!ard)-M N JBscriptK JBheadK Jbod3 b6colorI"sil"er" onloadIQhello)-MQK JcenterKJh=KDelcome #1STOMERU JBh=KJBcenterK JbrBK Jform actionI"loginpage.!tml" K JcenterK Jh*KJa hrefI"general.!tml"KJspan classI"!/per"KSEAR#$ %LI&$T JBspanKJBaKJbrBKJbrBK Ja hrefI"!istor/.jsp"KJspan classI"!/per"K$ISTORYJBspanKJBaKJbrBKJbrBK Jinput t3peI"submit" 7alueI" ogout"BK JBh*K JBcenterK JBformK JBbod3K JBhtmlK

33

8*0 T$/(+ &


Testin6 is a process: !hich re7eals errors in the pro6ram2 It is the major ualit3 measure emplo3ed durin6 soft!are de7elopment2 5urin6 testin6: the pro6ram is eEecuted !ith a set of conditions 'no!n as test cases and the output is e7aluated to determine !hether the pro6ram is performin6 as eEpected2
-n order to develo" ent are0 ake s$re that the syste does not have errors. the di''erent

levels o' testing strategies that are a""lied at di''ering "hases o' so't/are

Le7els of Testin6<

Module*

module=

module 0 1n its 1nit s

1nits

iB4

inte6ration

oBp iBp

inte6ration oB4

S3stem Testin6< 4resentation Tbusiness T database 1AT< user acceptance testin6

34

TYPES OF TESTING:
U +( T$/(+ & 1nit Testin6 is done on indi7idual modules as the3 are completed and become eEecutable2 It is confined onl3 to the desi6nerSs re uirements2 E,c- '!%0#$ c, ;$ ($/($% 0/+ & (-$ .!##!"+ & ("! /(),($&+$/< B#,ck B!? T$/(+ & In this strate63 some test cases are 6enerated as input conditions that full3 eEecute all functional re uirements for the pro6ram2 This testin6 has been uses to find errors in the follo!in6 cate6ories<

*2 =2 02 ,2 .2

Incorrect or missin6 functions Interface errors Errors in data structure or eEternal database access 4erformance errors InitialiGation and termination errors2 In this testin6 onl3 the output is chec'ed for correctness2 The lo6ical flo! of the data is not chec'ed2

A-+($ B!? ($/(+ & In this the test cases are 6enerated on the lo6ic of each module b3 dra!in6 flo! 6raphs of that module and lo6ical decisions are tested on all the cases2 It has been uses to 6enerate the test cases in the follo!in6 cases<

*2 =2 02 ,2

&uarantee that all independent paths ha7e been eEecuted2 EEecute all lo6ical decisions on their true and false sides2 EEecute all loops at their boundaries and !ithin their operational bounds2 EEecute internal data structures to ensure their 7alidit32

35

I ($&),(+ & T$/(+ & Inte6ration testin6 ensures that soft!are and subs3stems !or' to6ether as a !hole2 It tests the interface of all the modules to ma'e sure that the modules beha7e properl3 !hen inte6rated to6ether2 S2/($' T$/(+ & In7ol7es inChouse testin6 of the entire s3stem before deli7er3 to the user2 Its aim is to satisf3 the user the s3stem meets all re uirements of the clientSs specifications2 Acc$5(, c$ T$/(+ & It is a preCdeli7er3 testin6 in !hich entire s3stem is tested at clientSs site on real !orld data to find errors2+ V,#+%,(+! The s3stem has been tested and implemented successfull3 and thus ensured that all the re uirements as listed in the soft!are re uirements specification are completel3 fulfilled2 In case of erroneous input correspondin6 error messa6es are displa3ed2 C!'5+#,(+! T$/(< It !as a 6ood idea to do our stress testin6 earl3 on: because it 6a7e us time to fiE some of the uneEpected deadloc's and stabilit3 problems that onl3 occurred !hen components !ere eEposed to 7er3 hi6h transaction 7olumes2

E?$c0(+! T$/(< This pro6ram !as successfull3 loaded and eEecuted2 "ecause of 6ood pro6rammin6 there !as no eEecution error2 O0(50( T$/(< The successful output screens are placed in the output screens section abo7e .

36

TEST CASES<

S*N! *2

T$/( c,/$ ,'$ Re6istration form

T$/( 5)!c$%0)$

P)$ c! %+(+!

E?5$c($% )$/0#( Messa6e re6istered successful l3: Lo6innam e alread3 eEists: pass!ord not matched 5ispla3 lo6in successful l3: in7alid username or pass!ord fli6ht details 1pdated

O0(50( Success

Name: $OME Lo6inname:4ass ! ord:#onfirm pass!ord: SeE: Location: 4hno

=2

Lo6in form

Enter Lo6inname: 4ass!ord: T3pe

$OME

Success

02

Schedulin6 %orm

Vie! %li6htname: Time:Sourcestst io n:5estinationsts ti on:Seats: 4rice2

Admin home pa6e

Success

,2

4assen6er list form

Vie! 4assen6ername: %l i6htname:Sourc est ation:5estinatio ns

Admin home pa6e

4assen6er de tails 1pdated

Success

tation:Numbero fp assen6ers:Tic'e tn o2 .2 %eedbac' 7ie! form Vie!I5:Name: E mail:Subject:Me ss a6e2 Sourcestation:5 es


3 7

Admin home pa6e 1ser home

%eedbac' 5ispla3ed %li6ht name:

Success

A2

Timin6s form

Success

tinationstation Tic'etboo'in6 form Numberofpasse n6 ers: %li6htname: Sourceststion: 5estinationstati on 2

pa6e 1ser home pa6e

time displa3ed Successful l3 Success boo'ed: Tic'etid !ill be displa3ed2

/2

>2

#ancel tic'et form

%li6htname: Tic'etno2 4assen6ername: %l i6htname:Sourc est ation:5estinatio n: Tic'no: Noofpassen6ers

1ser homepa6e 1ser home pa6e

Successful l3 Success canceled:s er 7er buG3 List of tic'ets of that user Success

;2

"oo'ed Tic'ets form

*+2

%eedbac' form

Name: Email: Subject: Messa6e2

1ser home pa6e

Than'3ou for 3our feedbac'

Success

38

7*0 R$/0#(/ (Sc)$$ /-!(/) H!'$ 5,&$

S ,5/-!( 7*1<-!'$ 5,&$

39

R$&+/(),(+! 5,&$

S ,5/-!( 7*6 < R$&+/(),(+! F!)'

A%'+ 5,&$

S ,5/-!( 7*3 < A%'+ 5,&$

40

C0/(!'$) 5,&$

S ,5/-!( 7*4 < C0/(!'$) P,&$

41

4*0 B+;#+!&),5-2

?A7iation and Space@2 Retrie7ed on Ma3 =+: =+*= from Microsoft Encarta 4remium =++; Enc3clopedia2=2
?#omputeriGed Reser7ation S3stem@2 Retrie7ed on Ma3 *,: =+*= fromhttp<BBen2!i'ipedia2or6B!i'iB#omputerYreser7ationsYs3stem2htm2 02

Airline : =+*=http<BB!!!2enotes2comBtopicBAirlineYReser7ationsYS3stem retrie7ed on=02Ma3=+*=,2 Alter: S2 L2 )*;>+-2 5ecision support s3stems< current practice and continuin6 challen6es2Readin6: Mass2: AddisonCDesle3 4ub2.2
#2 Dinston: S2 Morrison )*;;.-< QThe E7olution of the Airline Industr3Q: "roo'in6sInstitution 4ress: South 5a'ota: #f2 p2 A*CA=: #omputer Reser7ation S3stems

42

You might also like