SlideShare a Scribd company logo
Online Airline Reservation System
--Detailed design
Pingping Ma
Oct 19, 2006
Overview
Database

design
Activity diagram
Class interface
Fault tolerant issues
Database design
 There

are mainly 5 entities involved:

 Flight

info.
 Customer info
 Reservation
 Purchase
 Creditcard info.
 Please

slides

see the entity diagram in the next
Database design diagram
Activity Diagram
Major class interface
 Authenticate
 Search
 CreditCard
 FlightInfo
 ReservationInfo
Authenticate Interface
 Variable

username, password, email
 Boolean Authenticate (String username, String
password);



This method checks if the user name and password input is a
valid input.
If true, it will return true; otherwise, return false.

 Boolean

Register (String username, String
password, String email)



This method is used to register a new user.
If the register is successful, return true; otherwise, return false.

 Boolean IsAlive (String username)
 This method checks to see if the user is still active when it
doesn’t reponse in a certain amount of time.
Flight Interface
A

class about the flight information with
the following variables
 FlightId
 From_City
 To_City
 Dept_Time
 Arr_Time
 Num_Of_Seats
 Price
Search Interface
 This

class has only one method Search. Maybe
can be combined with the Flight class.
 Flight Search_oneway (String from_city, String
to_city, Date dept_time, Date arr_time, int
num_of_Seat)
 Flight Search_round (String from_city, String
to_city, Date dept_time, Date return_time, int
num_of_Seat)
 Given the search criteria, searches the database
looking for flights that match the criteria.
Creditcard Interface



A class about the credit card information
Variables








User_id
Card_number
Type
Year
Month

Methods






Boolean IsValid()
String GetNumber()
String GetType()
Number GetYear()
Number GetMonth()
Reservation Info
A

class about the reservation information.
 Variables
 Reservation_id
 User_id
 Flight
 Credit_card
 Reservation_date
 Num_of_seats
 Passenger_name:

an String array
ReserveAndPurchase Method
 Methods
 Boolean

Reserve(String Reservation_id,
String User_id, Flight flightobj, Creditcard cc,
Date Reservation_date, Integer
Num_of_seats, String [] Passenger_name)
 Boolean CancelReservation ()
 Reservation ReadReservation()
 Boolean Purchase()
 If the action is successful, return True;
otherwise, return False.
Fault Tolerant issues
A

failure in any transaction step causes
the whole transaction to be lost.
 Possible

Solution: two phase commit procotol
can be used. Or make full use of the
COMMIT, ROLLBACK command in the
database.

 How

to identify a client or server failure?

 Implement

an IsAlive function which ping the
client or server to make sure that it is still
active.
Fault tolerant issues
 Synchronization
 Use

monitor method in the Reserve method to
make sure there is no client reserving the
same ticket at the same time

 Data

replication

 Use

data replication techniques to improve
the reliability of the system.
 Use primary copy method to enhance the
consistency of the data.

More Related Content

What's hot

Airline reservation system
Airline reservation systemAirline reservation system
Airline reservation systemaswath babu
 
Presentation On Online Airline Ticket Booking Project Planning
Presentation On Online Airline Ticket Booking Project PlanningPresentation On Online Airline Ticket Booking Project Planning
Presentation On Online Airline Ticket Booking Project PlanningRajon
 
Airline ticket reservation system
Airline ticket reservation systemAirline ticket reservation system
Airline ticket reservation systemSH Rajøn
 
Airline reservation system db design
Airline reservation system db designAirline reservation system db design
Airline reservation system db designUC San Diego
 
Airline reservation system
Airline reservation systemAirline reservation system
Airline reservation systemUnsa Jawaid
 
Flight reservation and ticketing system ppt
Flight reservation and ticketing system pptFlight reservation and ticketing system ppt
Flight reservation and ticketing system pptmarcorelano
 
I-tare - Commercial Airline Reservation System
I-tare - Commercial Airline Reservation SystemI-tare - Commercial Airline Reservation System
I-tare - Commercial Airline Reservation SystemThomas Korath
 
AIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot ProjectAIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot ProjectMahesh Panchal
 
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation SystemSahil Talwar
 
Airlines Reservation System
Airlines Reservation SystemAirlines Reservation System
Airlines Reservation SystemAnit Thapaliya
 
[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntation[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntationSyed Muhammad Zeejah Hashmi
 
Airline reservation system 1
Airline reservation system 1Airline reservation system 1
Airline reservation system 1_faisalkhan
 
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTMLAirline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTMLDeepankar Sandhibigraha
 
Finale project 1
Finale project 1Finale project 1
Finale project 1mdrakib32
 
Airline Flight Tracking
Airline Flight TrackingAirline Flight Tracking
Airline Flight Trackingmariasinha81
 
Air ticket reservation_system_presentati
Air ticket reservation_system_presentatiAir ticket reservation_system_presentati
Air ticket reservation_system_presentatiEPHRAIMDUAHOWUSU
 
Airline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering ApproachAirline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering ApproachOnkar Kadam
 

What's hot (19)

Airline Reservation Sytem
Airline Reservation SytemAirline Reservation Sytem
Airline Reservation Sytem
 
Airline reservation system
Airline reservation systemAirline reservation system
Airline reservation system
 
Presentation On Online Airline Ticket Booking Project Planning
Presentation On Online Airline Ticket Booking Project PlanningPresentation On Online Airline Ticket Booking Project Planning
Presentation On Online Airline Ticket Booking Project Planning
 
Airline ticket reservation system
Airline ticket reservation systemAirline ticket reservation system
Airline ticket reservation system
 
Airline reservation system db design
Airline reservation system db designAirline reservation system db design
Airline reservation system db design
 
Airline reservation system
Airline reservation systemAirline reservation system
Airline reservation system
 
Flight reservation and ticketing system ppt
Flight reservation and ticketing system pptFlight reservation and ticketing system ppt
Flight reservation and ticketing system ppt
 
I-tare - Commercial Airline Reservation System
I-tare - Commercial Airline Reservation SystemI-tare - Commercial Airline Reservation System
I-tare - Commercial Airline Reservation System
 
AIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot ProjectAIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot Project
 
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation System
 
Airlines Reservation System
Airlines Reservation SystemAirlines Reservation System
Airlines Reservation System
 
Overview of airline booking process
Overview of airline booking processOverview of airline booking process
Overview of airline booking process
 
[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntation[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntation
 
Airline reservation system 1
Airline reservation system 1Airline reservation system 1
Airline reservation system 1
 
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTMLAirline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
 
Finale project 1
Finale project 1Finale project 1
Finale project 1
 
Airline Flight Tracking
Airline Flight TrackingAirline Flight Tracking
Airline Flight Tracking
 
Air ticket reservation_system_presentati
Air ticket reservation_system_presentatiAir ticket reservation_system_presentati
Air ticket reservation_system_presentati
 
Airline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering ApproachAirline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering Approach
 

Similar to DetaileddesignSampleUpload

Flight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxFlight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxAKHIL969626
 
Air_Ticket_Reservation_System_presentati.pptx
Air_Ticket_Reservation_System_presentati.pptxAir_Ticket_Reservation_System_presentati.pptx
Air_Ticket_Reservation_System_presentati.pptxAnilVastav
 
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt40NehaPagariya
 
can you help me write this code in Net Maui App please than.pdf
can you help me write this code in Net Maui App please than.pdfcan you help me write this code in Net Maui App please than.pdf
can you help me write this code in Net Maui App please than.pdfakshpatil4
 
AIRLINE RESERVATION SYSTEM Application Development (1).pptx
AIRLINE RESERVATION SYSTEM Application Development (1).pptxAIRLINE RESERVATION SYSTEM Application Development (1).pptx
AIRLINE RESERVATION SYSTEM Application Development (1).pptxnanis62
 
GigaSpaces XAP - Don't Call Me Cache!
GigaSpaces XAP - Don't Call Me Cache!GigaSpaces XAP - Don't Call Me Cache!
GigaSpaces XAP - Don't Call Me Cache!Uri Cohen
 
Movie ticket booking
Movie ticket bookingMovie ticket booking
Movie ticket bookingRutul Dave
 
Csci 1101 computer science ii assignment 3/tutorialoutlet
Csci 1101 computer science ii assignment 3/tutorialoutletCsci 1101 computer science ii assignment 3/tutorialoutlet
Csci 1101 computer science ii assignment 3/tutorialoutletLeacyz
 
Dont call me cache april 17
Dont call me cache april 17Dont call me cache april 17
Dont call me cache april 17Nati Shalom
 
PPT For Airline Reservation System (pooja).ppt
PPT For Airline Reservation System (pooja).pptPPT For Airline Reservation System (pooja).ppt
PPT For Airline Reservation System (pooja).pptmadyjunction
 
Spring Data JPA USE FOR CREATING DATA JPA
Spring Data JPA USE FOR CREATING DATA  JPASpring Data JPA USE FOR CREATING DATA  JPA
Spring Data JPA USE FOR CREATING DATA JPAmichaelaaron25322
 
Airline Reservation presentation (1) (1).pptx
Airline Reservation presentation (1) (1).pptxAirline Reservation presentation (1) (1).pptx
Airline Reservation presentation (1) (1).pptxPrathameshKanse
 
Iswim for testing
Iswim for testingIswim for testing
Iswim for testingClarkTony
 
Iswim for testing
Iswim for testingIswim for testing
Iswim for testingClarkTony
 
User stories basics
User stories basicsUser stories basics
User stories basicsTechcanvass
 
Sahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdfSahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdfHetUnadkat
 
Java programing please help me. Hello, I tried making a Class Flight.pdf
Java programing please help me. Hello, I tried making a Class Flight.pdfJava programing please help me. Hello, I tried making a Class Flight.pdf
Java programing please help me. Hello, I tried making a Class Flight.pdfarjunanenterprises
 
ppt-of-airline-reservation-system-project-report.docx
ppt-of-airline-reservation-system-project-report.docxppt-of-airline-reservation-system-project-report.docx
ppt-of-airline-reservation-system-project-report.docxOnlinetricksoffers
 

Similar to DetaileddesignSampleUpload (20)

Flight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxFlight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docx
 
Air_Ticket_Reservation_System_presentati.pptx
Air_Ticket_Reservation_System_presentati.pptxAir_Ticket_Reservation_System_presentati.pptx
Air_Ticket_Reservation_System_presentati.pptx
 
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
 
can you help me write this code in Net Maui App please than.pdf
can you help me write this code in Net Maui App please than.pdfcan you help me write this code in Net Maui App please than.pdf
can you help me write this code in Net Maui App please than.pdf
 
AIRLINE RESERVATION SYSTEM Application Development (1).pptx
AIRLINE RESERVATION SYSTEM Application Development (1).pptxAIRLINE RESERVATION SYSTEM Application Development (1).pptx
AIRLINE RESERVATION SYSTEM Application Development (1).pptx
 
GigaSpaces XAP - Don't Call Me Cache!
GigaSpaces XAP - Don't Call Me Cache!GigaSpaces XAP - Don't Call Me Cache!
GigaSpaces XAP - Don't Call Me Cache!
 
Ressys
RessysRessys
Ressys
 
Movie ticket booking
Movie ticket bookingMovie ticket booking
Movie ticket booking
 
Csci 1101 computer science ii assignment 3/tutorialoutlet
Csci 1101 computer science ii assignment 3/tutorialoutletCsci 1101 computer science ii assignment 3/tutorialoutlet
Csci 1101 computer science ii assignment 3/tutorialoutlet
 
Dont call me cache april 17
Dont call me cache april 17Dont call me cache april 17
Dont call me cache april 17
 
What is inventor2
What is inventor2What is inventor2
What is inventor2
 
PPT For Airline Reservation System (pooja).ppt
PPT For Airline Reservation System (pooja).pptPPT For Airline Reservation System (pooja).ppt
PPT For Airline Reservation System (pooja).ppt
 
Spring Data JPA USE FOR CREATING DATA JPA
Spring Data JPA USE FOR CREATING DATA  JPASpring Data JPA USE FOR CREATING DATA  JPA
Spring Data JPA USE FOR CREATING DATA JPA
 
Airline Reservation presentation (1) (1).pptx
Airline Reservation presentation (1) (1).pptxAirline Reservation presentation (1) (1).pptx
Airline Reservation presentation (1) (1).pptx
 
Iswim for testing
Iswim for testingIswim for testing
Iswim for testing
 
Iswim for testing
Iswim for testingIswim for testing
Iswim for testing
 
User stories basics
User stories basicsUser stories basics
User stories basics
 
Sahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdfSahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdf
 
Java programing please help me. Hello, I tried making a Class Flight.pdf
Java programing please help me. Hello, I tried making a Class Flight.pdfJava programing please help me. Hello, I tried making a Class Flight.pdf
Java programing please help me. Hello, I tried making a Class Flight.pdf
 
ppt-of-airline-reservation-system-project-report.docx
ppt-of-airline-reservation-system-project-report.docxppt-of-airline-reservation-system-project-report.docx
ppt-of-airline-reservation-system-project-report.docx
 

Recently uploaded

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Alison B. Lowndes
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesThousandEyes
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀DianaGray10
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyJohn Staveley
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform EngineeringJemma Hussein Allen
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupCatarinaPereira64715
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Thierry Lestable
 

Recently uploaded (20)

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 

DetaileddesignSampleUpload

  • 1. Online Airline Reservation System --Detailed design Pingping Ma Oct 19, 2006
  • 3. Database design  There are mainly 5 entities involved:  Flight info.  Customer info  Reservation  Purchase  Creditcard info.  Please slides see the entity diagram in the next
  • 6. Major class interface  Authenticate  Search  CreditCard  FlightInfo  ReservationInfo
  • 7. Authenticate Interface  Variable username, password, email  Boolean Authenticate (String username, String password);   This method checks if the user name and password input is a valid input. If true, it will return true; otherwise, return false.  Boolean Register (String username, String password, String email)   This method is used to register a new user. If the register is successful, return true; otherwise, return false.  Boolean IsAlive (String username)  This method checks to see if the user is still active when it doesn’t reponse in a certain amount of time.
  • 8. Flight Interface A class about the flight information with the following variables  FlightId  From_City  To_City  Dept_Time  Arr_Time  Num_Of_Seats  Price
  • 9. Search Interface  This class has only one method Search. Maybe can be combined with the Flight class.  Flight Search_oneway (String from_city, String to_city, Date dept_time, Date arr_time, int num_of_Seat)  Flight Search_round (String from_city, String to_city, Date dept_time, Date return_time, int num_of_Seat)  Given the search criteria, searches the database looking for flights that match the criteria.
  • 10. Creditcard Interface   A class about the credit card information Variables       User_id Card_number Type Year Month Methods      Boolean IsValid() String GetNumber() String GetType() Number GetYear() Number GetMonth()
  • 11. Reservation Info A class about the reservation information.  Variables  Reservation_id  User_id  Flight  Credit_card  Reservation_date  Num_of_seats  Passenger_name: an String array
  • 12. ReserveAndPurchase Method  Methods  Boolean Reserve(String Reservation_id, String User_id, Flight flightobj, Creditcard cc, Date Reservation_date, Integer Num_of_seats, String [] Passenger_name)  Boolean CancelReservation ()  Reservation ReadReservation()  Boolean Purchase()  If the action is successful, return True; otherwise, return False.
  • 13. Fault Tolerant issues A failure in any transaction step causes the whole transaction to be lost.  Possible Solution: two phase commit procotol can be used. Or make full use of the COMMIT, ROLLBACK command in the database.  How to identify a client or server failure?  Implement an IsAlive function which ping the client or server to make sure that it is still active.
  • 14. Fault tolerant issues  Synchronization  Use monitor method in the Reserve method to make sure there is no client reserving the same ticket at the same time  Data replication  Use data replication techniques to improve the reliability of the system.  Use primary copy method to enhance the consistency of the data.