SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
Illinois Institute of Technology    CS441                           Project




                    Project        CS 441 fall 2002




        Airline Reservation System




                                            Created by Zornitza Panayotova
                                                        CS Department, IIT




Zornitza Panayotova                   1                           12/05/02
Illinois Institute of Technology                             CS441                                                        Project




Airline Reservation System




1. Overview ..................................................................................................................... 3

2. Project Requirements ................................................................................................ 3

3. Design Description .................................................................................................... 5

           3.1 Scheme of the System ................................................................................. 5

           3.2 Database ..................................................................................................... 10

3. Testing Examples ..................................................................................................... 11




Zornitza Panayotova                                              2                                                     12/05/02
Illinois Institute of Technology      CS441                                    Project


1. Overview

   The Airline reservation system is a Web-based on-line reservation system that
   is intended to provide information needed to reserve seat(s) on certain flights.
   This project is based on the 3-tier architecture. It is a pure
   JAVA/HTML/JSP/Servlet solution.

2. Project requirements

[ REQ-1] Each flight has a limited number of available seats. There are number
         of flights that go from/to different cities at different dates and time.

[ REQ-2] The server shall maintain a table for the list of available flights where
         each row within the table has the following fields: Flight number,
         Departure city, Destination City, Departure date, Departure time,
         Arrival date, Arrival Time, Capacity, and Available seats. The values
         within this table will be hard coded.

[ REQ-3] The Server shall maintain a table for the customers where each row
         within the table has the following fields: Confirmation number,
         Customer Name, Customer Address, and Departure Flight Number.
         The values within this table will be created when the user makes a
         reservation.

[ REQ-4] The confirmation number is a string that is composed of the date
         (mmddyy), time, flight number, and a random number in the range [1-
         5000].

[ REQ-5] Assume the customers are interested always in one-way trip

[ REQ-6] Have at least 50 flights in your database.

[ REQ-7] For the user interface, You have to give an option for departure city

[ REQ-8] For the user interface, You have to give an option for arrival city

[ REQ-9] For the user interface, You have to give an option for departure date

[ REQ-10] For the user interface, You have to give an option for departure time

[ REQ-11] Once the user makes the selection for departure/arrival city and clicks
          the OK button you will contact the server in order to see if there are
          such flights available in the database, and if there are, then the server


Zornitza Panayotova                     3                                 12/05/02
Illinois Institute of Technology        CS441                                    Project


           will calculate the fare and send them to the client that will display
           them for the user along with departure/arrival time from/to
           departure/destination cities. Within this page, you will have 2 buttons:
           Reserve or Cancel.

[ REQ-12] If the user selects the reserve button of the previous requirement, then
          a new page will be displayed that will prompt the user to enter the
          following: Customer Name, Customer Address, Customer Credit Card
          Number, and a Submit Button.

[ REQ-13] Once the user selects the Submit button of the previous requirement,
          then the client will send the information to the server and in return
          gets back a confirmation number that it will display for the customer
          and provide an OK button in order to return to the home page.

[ REQ-14] The user should be provided with a panel that will allow the user to
          cancel certain reservation.

[ REQ-15] Once the user enters a confirmation number to cancel the client will
          send this confirmation number and the server will delete this
          reservation from its customer table.

[ REQ-16] The user shall provide a valid confirmation number in order to cancel
          certain reservation and if the user enters an invalid confirmation
          number and error message shall be displayed for the user.

[ REQ-17] To minimize number of flights that are less than half full, we are
          interested to display on the main page of our system, special offers for
          those flights that meet the conditions specified in the following
          requirement.

[ REQ-18] If there are certain flights that have the following condition: (0.33 flight
          capacity < number of reserved seats < 0.5 flight capacity) && ((current date +
          5 days) = departures date))). Then you need to display ads in the home
          page of the airline reservation systems about these flights that are
          priced at a discount of %30 of their original price, in order to
          encourage customers to buy tickets on that flight.

[ REQ-19] The ads in the previous requirement shall not be hard-coded and shall
          be selected randomly.




Zornitza Panayotova                        4                                   12/05/02
Illinois Institute of Technology                        CS441                                                    Project


[ REQ-20] Once the user clicks on the ad, it will display the page about that flight
          and the ability to reserve seats on that flight. In other words there shall
          be a reserve button on the displayed page.




3. Design description


3.1      Scheme of the system



                                         index.jsp
                       If clicked
                                                                            If “Cancel
                         Check                                              Reservation” link
                                                                            selected
                                                   If “Ad” link
         SearchResults.jsp                         selected

                                                                  CancelReservation.jsp
 If clicked                         If clicked
      Cancel               Submit                                         If clicked
                                                                                 Submit
                                                                   If clicked                 If clicked
                                                                            OK             Cancel
                      SelectedFlight.jsp

                    If clicked             If clicked
                       Cancel Reserve                             CancelResult.jsp

                       ConfirmPage.jsp                                           Legend:          JSP page
                                                                                                  Button on a page
                                                                                                   Button on JS alert
                                                                                           Condition to go to another page




Zornitza Panayotova                                       5                                                    12/05/02
Illinois Institute of Technology        CS441                          Project



                                       index.jsp




                        SearchResults.jsp       If no flights found




Zornitza Panayotova                         6                         12/05/02
Illinois Institute of Technology        CS441                          Project


                         SearchResults.jsp       If flight(s) found




                                   SelectedFlight.jsp




Zornitza Panayotova                          7                        12/05/02
Illinois Institute of Technology          CS441             Project



                                     ConfirmPage.jsp




                                   CancelReservation.jsp




Zornitza Panayotova                         8              12/05/02
Illinois Institute of Technology         CS441                          Project



                    CancelResult.jsp       If reservation not found




                      CancelResult.jsp         If reservation exists




Zornitza Panayotova                        9                           12/05/02
Illinois Institute of Technology          CS441                                     Project


3.2     Database

        For this project I use Micrisoft Access as the DBMS.

        Database: Zorry_Database
        User name: Zorry
        Password: Zorry



                                       Table Flight

      FlightNumber     DepartureCity      DestinationCity    Price       Capacity




                                     Table Schedule

  ScheduleID    FlightNumber       DepartureDateTime   ArrivalDateTime   AvailableSeats




                                    Table Customer

CustomerID CustomerFirstName CustomerLastName Address City State ZipCodePhoneNumber




                                   Table Reservation

Confirmation CustomerID ScheduleID NumberOf Discount CreditCardType CreditCard ExpirationDate
Number                             Passengers                       Number




Zornitza Panayotova                         10                                  12/05/02
Illinois Institute of Technology       CS441                              Project


                                   Relationships




4. Testing Examples:

       All data in the database are for flights for 12/7/2002 and
       12/8/2002. If you want to test the system you have to select for
       Departure date either 12/7/2002 or 12/8/2002. The
       commercials for discount flights can be seen only if the system
       date is 12/2/2002 or 12/3/2002.


v Test for no flights found:
             - Chicago to San Francisco for any date;
             - any flight with date other than 12/7/2002 and 12/8/2002;



Zornitza Panayotova                     11                           12/05/02
Illinois Institute of Technology     CS441                                Project


v Test for flights in the morning, noon, afternoon or evening:
              - New York to Chicago on 12/7/2002 or 12/8/2002;
              - Miami to Chicago on 12/7/2002 and 12/8/2002;

v Test for Discount flights:
            - Because all data are for departure dates: 12/7/2002 or
                12/8/2002 you can see the randomly selected commercials only
                if you system date is 12/2/2002 or 12/3/2002. Every time when
                you test it you need to change the system date (see [Req. – 18]).

v Test for Cancel Reservation:
            - Enter to test Cancel Reservation: 120202ars0084022.




Zornitza Panayotova                    12                                12/05/02

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Kürzlich hochgeladen (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

Empfohlen

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Software Resue Tech

  • 1. Illinois Institute of Technology CS441 Project Project CS 441 fall 2002 Airline Reservation System Created by Zornitza Panayotova CS Department, IIT Zornitza Panayotova 1 12/05/02
  • 2. Illinois Institute of Technology CS441 Project Airline Reservation System 1. Overview ..................................................................................................................... 3 2. Project Requirements ................................................................................................ 3 3. Design Description .................................................................................................... 5 3.1 Scheme of the System ................................................................................. 5 3.2 Database ..................................................................................................... 10 3. Testing Examples ..................................................................................................... 11 Zornitza Panayotova 2 12/05/02
  • 3. Illinois Institute of Technology CS441 Project 1. Overview The Airline reservation system is a Web-based on-line reservation system that is intended to provide information needed to reserve seat(s) on certain flights. This project is based on the 3-tier architecture. It is a pure JAVA/HTML/JSP/Servlet solution. 2. Project requirements [ REQ-1] Each flight has a limited number of available seats. There are number of flights that go from/to different cities at different dates and time. [ REQ-2] The server shall maintain a table for the list of available flights where each row within the table has the following fields: Flight number, Departure city, Destination City, Departure date, Departure time, Arrival date, Arrival Time, Capacity, and Available seats. The values within this table will be hard coded. [ REQ-3] The Server shall maintain a table for the customers where each row within the table has the following fields: Confirmation number, Customer Name, Customer Address, and Departure Flight Number. The values within this table will be created when the user makes a reservation. [ REQ-4] The confirmation number is a string that is composed of the date (mmddyy), time, flight number, and a random number in the range [1- 5000]. [ REQ-5] Assume the customers are interested always in one-way trip [ REQ-6] Have at least 50 flights in your database. [ REQ-7] For the user interface, You have to give an option for departure city [ REQ-8] For the user interface, You have to give an option for arrival city [ REQ-9] For the user interface, You have to give an option for departure date [ REQ-10] For the user interface, You have to give an option for departure time [ REQ-11] Once the user makes the selection for departure/arrival city and clicks the OK button you will contact the server in order to see if there are such flights available in the database, and if there are, then the server Zornitza Panayotova 3 12/05/02
  • 4. Illinois Institute of Technology CS441 Project will calculate the fare and send them to the client that will display them for the user along with departure/arrival time from/to departure/destination cities. Within this page, you will have 2 buttons: Reserve or Cancel. [ REQ-12] If the user selects the reserve button of the previous requirement, then a new page will be displayed that will prompt the user to enter the following: Customer Name, Customer Address, Customer Credit Card Number, and a Submit Button. [ REQ-13] Once the user selects the Submit button of the previous requirement, then the client will send the information to the server and in return gets back a confirmation number that it will display for the customer and provide an OK button in order to return to the home page. [ REQ-14] The user should be provided with a panel that will allow the user to cancel certain reservation. [ REQ-15] Once the user enters a confirmation number to cancel the client will send this confirmation number and the server will delete this reservation from its customer table. [ REQ-16] The user shall provide a valid confirmation number in order to cancel certain reservation and if the user enters an invalid confirmation number and error message shall be displayed for the user. [ REQ-17] To minimize number of flights that are less than half full, we are interested to display on the main page of our system, special offers for those flights that meet the conditions specified in the following requirement. [ REQ-18] If there are certain flights that have the following condition: (0.33 flight capacity < number of reserved seats < 0.5 flight capacity) && ((current date + 5 days) = departures date))). Then you need to display ads in the home page of the airline reservation systems about these flights that are priced at a discount of %30 of their original price, in order to encourage customers to buy tickets on that flight. [ REQ-19] The ads in the previous requirement shall not be hard-coded and shall be selected randomly. Zornitza Panayotova 4 12/05/02
  • 5. Illinois Institute of Technology CS441 Project [ REQ-20] Once the user clicks on the ad, it will display the page about that flight and the ability to reserve seats on that flight. In other words there shall be a reserve button on the displayed page. 3. Design description 3.1 Scheme of the system index.jsp If clicked If “Cancel Check Reservation” link selected If “Ad” link SearchResults.jsp selected CancelReservation.jsp If clicked If clicked Cancel Submit If clicked Submit If clicked If clicked OK Cancel SelectedFlight.jsp If clicked If clicked Cancel Reserve CancelResult.jsp ConfirmPage.jsp Legend: JSP page Button on a page Button on JS alert Condition to go to another page Zornitza Panayotova 5 12/05/02
  • 6. Illinois Institute of Technology CS441 Project index.jsp SearchResults.jsp If no flights found Zornitza Panayotova 6 12/05/02
  • 7. Illinois Institute of Technology CS441 Project SearchResults.jsp If flight(s) found SelectedFlight.jsp Zornitza Panayotova 7 12/05/02
  • 8. Illinois Institute of Technology CS441 Project ConfirmPage.jsp CancelReservation.jsp Zornitza Panayotova 8 12/05/02
  • 9. Illinois Institute of Technology CS441 Project CancelResult.jsp If reservation not found CancelResult.jsp If reservation exists Zornitza Panayotova 9 12/05/02
  • 10. Illinois Institute of Technology CS441 Project 3.2 Database For this project I use Micrisoft Access as the DBMS. Database: Zorry_Database User name: Zorry Password: Zorry Table Flight FlightNumber DepartureCity DestinationCity Price Capacity Table Schedule ScheduleID FlightNumber DepartureDateTime ArrivalDateTime AvailableSeats Table Customer CustomerID CustomerFirstName CustomerLastName Address City State ZipCodePhoneNumber Table Reservation Confirmation CustomerID ScheduleID NumberOf Discount CreditCardType CreditCard ExpirationDate Number Passengers Number Zornitza Panayotova 10 12/05/02
  • 11. Illinois Institute of Technology CS441 Project Relationships 4. Testing Examples: All data in the database are for flights for 12/7/2002 and 12/8/2002. If you want to test the system you have to select for Departure date either 12/7/2002 or 12/8/2002. The commercials for discount flights can be seen only if the system date is 12/2/2002 or 12/3/2002. v Test for no flights found: - Chicago to San Francisco for any date; - any flight with date other than 12/7/2002 and 12/8/2002; Zornitza Panayotova 11 12/05/02
  • 12. Illinois Institute of Technology CS441 Project v Test for flights in the morning, noon, afternoon or evening: - New York to Chicago on 12/7/2002 or 12/8/2002; - Miami to Chicago on 12/7/2002 and 12/8/2002; v Test for Discount flights: - Because all data are for departure dates: 12/7/2002 or 12/8/2002 you can see the randomly selected commercials only if you system date is 12/2/2002 or 12/3/2002. Every time when you test it you need to change the system date (see [Req. – 18]). v Test for Cancel Reservation: - Enter to test Cancel Reservation: 120202ars0084022. Zornitza Panayotova 12 12/05/02