0% found this document useful (0 votes)
139 views

Final Report Airline Management System

This document provides an introduction and overview of a sales and product management system. It discusses enterprise resource planning (ERP) systems and how they are used to integrate business processes. It also describes sales management and how it focuses on practical sales techniques and managing a firm's sales operations. The main objectives of this system are to keep records of complete product sales, support sales management, improve cash flow, visibility and decision making.

Uploaded by

S lalita Kumari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
139 views

Final Report Airline Management System

This document provides an introduction and overview of a sales and product management system. It discusses enterprise resource planning (ERP) systems and how they are used to integrate business processes. It also describes sales management and how it focuses on practical sales techniques and managing a firm's sales operations. The main objectives of this system are to keep records of complete product sales, support sales management, improve cash flow, visibility and decision making.

Uploaded by

S lalita Kumari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 80

Sales and Product Management System 2022

CHAPTER 1

INTRODUCTION

Enterprise resource planning (ERP) is the integrated management of main


business processes, often in real time and mediated by software and
technology. ERP is usually referred to as a category of business management
software—typically a suite of integrated applications—that an organization
can use to collect, store, manage, and interpret data from many business
activities. ERP systems can be local based or Cloud-based. Cloud-based
applications have grown in recent years due to information being readily
available from any location with internet access.

Sales management is a business discipline which is focused on the practical


application of sales techniques and the management of a firm's sales
operations. It is an important business function as net sales through the sale of
products and services and resulting profit drive most commercial business.
These are also typically the goals and performance indictors of sales
management.

1.1.Objective

The main objective of this system is to keep records of the complete sales of
product.It supports sales management that helps to record and track materials
on the basis of both quantity and value.It improves cash flow,visibility,and
decision making.

1.2. Scope

Sales strategy is the key to drive the salesforce. It identifies the best
prospects, details the basic value proposition and defines the selling
process. The salesforce’s task is to transform the strategy into a workable
reality. Proper implementation of the sales strategy allows the company
to achieve the sales volume and customer satisfaction.

1.3. Organization of Report

The report report reprensts different aspects about analysis of machine learning
approaches for text classification into context-based class labels called domains.

CHAPTER 1: INTRODUCTIONPage 1
Sales and Product Management System 2022

At an outset, this report state about a brief introduction. Followed by related


work, that has been followed while carrying out our research work. Next
chapter give a detailec demonstration of results, analysis of result and
visualizations. The last two chapter deals with conclusion, future enhancements
and references. Considered for the project.

CHAPTER 1: INTRODUCTIONPage 2
Airline Reservation Management System 2021

CHAPTER 2

HARDWARE AND SOFTWARE REQUIREMENT

2.1 Hardware Requirements:

1 Processor Intel core i3/i5/i7

2 RAM 1GB or more

3 Hard Disk 400GB or more

Table 2.1 Hardware Requirements.

2.2 Software Requirements:

1 Operating System Windows 7/8/10

2 User Interface HTML, CSS

3 Client-side Scripting JavaScript

4 Programming Language JAVA

5 Web Application JDBC, Servelet, JSP

6 IDE/Workbench NetBeans

7 Database MySQL

8 Server Deployment Tomcat 8.x

Table 2.2 Software Requirements

CHAPTER 2: HARDWARE AND SOFTWARE REQUIREMENTPage 3


Airline Reservation Management System 2021
CHAPTER 3

REQUIREMENT ANALYSIS AND SPECIFICATION

3.1. System Analysis

Existing system of “Project Management System” is manual. Project manager o


gives task manually. Developer complete the work which is given by project
manager and submits manually, in this system all work is done manually so it
can take more time to complete project related work. Project manager
requires remembering in mind when developers need to complete the work so
it is difficult for Project manager which developers completed the task and
when. In the existing system does not help users to get right information at
right time and user cannot manage project developement easily to achieve the
main goal.There are lot of limitation in the existing system which we need to
overcome.

3.1.1. Limitations of Existing System

The Existing system includes problems like lack of time consuming, accuracy,
high cost, security problems, etc. There are many problems in existing systems
like:

Manpower,High cost,Time and speed, Security, Complexity ,Maintenance

Accuracy,Storing

Records might get lost or be insufficient due to manual errors.  Maintaining


and managing data is very costly and time consuming, because there are many
documents that have to be maintained by each branch and copies have to be
transferred to relative branches.

Transfer of information within the branches is costly and time consuming.

3.2 Proposed System:

The Proposed system ensures the complete freedom for users, where user at
his own system can logon to this website and can book his ticket. Our
proposed system allows only registered users to book the tickets, view timings
and cancel their tickets. In this Proposal the entire work is done on online and

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 4


Airline Reservation Management System 2021
ticket with id is also provided for passengers as a print document. Here
passengers can send their queries and suggestions through a feedback form.
To debug the existing system, remove procedures those cause data
redundancy, make navigational sequence proper To build strong password
mechanism.

The computerization of the reservation system will reduce a lot of paperwork


and hence load on

the hence the load on airline admin and staff.

The machine will perform all calculations. Hence chances of error are nearer to
nil.

The passenger, reservation, cancellation list can be easily retrieved and any
required addition,

Deletion, updation can be performed easily and fast.

Proper way of confirmation of bookings etc

The computerization of the reservation system will reduce a lot of paperwork


and hence load on

The hence the load on airline admin and staff.

The machine will perform all calculations. Hence chances of error are nearer to
nil.

The passenger, reservation, cancellation list can be easily retrieved and any
required addition,

deletion, updation can be performed easily and fast.

Proper way of confirmation of bookings etc

3.1.2 Advantages of Proposed System

The proposed system due to computerized is much faster in reservation


process, cancellation process and transactions. Transfer of information from
various branches would become easier and faster. Managing and maintaining
data becomes easier and cost effective due to very high amount and reliability
CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 5
Airline Reservation Management System 2021
of storage space available in the proposed system. Customer services can not
only be satisfied but also enhanced to the extent that one can obtain or cancel
a reservation from any given time.

3.2 Software Requirement Specification:

2.1 Product Perspective

This project represents the initial version of the Airline Booking system. All
requirements listed herein describe a self-contained system. At a high level, this
project will allow a user to book flights, check flights, do account maintenance,
and query flight information. The goal is to allow customers greater and easier
access to the airline’s booking system, twenty-four hours a day.

2.2 Product Features


We can subdivide the project into 7 main features. Details of each of the
following functions can be found in Section 3.

2.2.1 Login

Description: This function allows a registered user to login his account


using his frequent flyer number with the airline and password. If a user is
not registered, the website shall allow the user to enroll first. The system
will check both the frequent flight number and password, when a user
attempts to login.
Rationale: This provides security to the system by authenticating each
member and provides confidence to the consumer that his/her personal
information is secure.

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 6


Airline Reservation Management System 2021

2.2.2 Enrollment

Description: This function allows unregistered user to enroll and to


create a new account with the website. In order to create a new account,
the user has to provide required information such as first name, last
name, email address and password. Other optional information, such as
phone number, credit card information and mailing address, can be
provided during the registration process. The system checks if all
required data are provided and then will prompt the user to enter
additional information, if required. After all required information is
provided, the system auto-generates a unique frequent flyer number that
the user must use as username for future authentications. The system
shall auto-generate this number in less than five seconds.
Rationale: A user who wishes to purchase flights and use advanced
features, must be logged in. However, without enrollment, a user can
never be a member. This section offers all users a chance to become a
member.

2.2.3 Book Flights

Description: The user can use the Book Flights function to purchase
seats for an airplane flight. The system shall present the user with
information on all current flights. The user may then select a pair
(departure and return) of flights on which to purchase seats. The user can
indicate the number of seats and placement of such. Finally, the system
shall guide the user completely through the checkout process.
Rationale: The heart of the business is selling seats on flights. This
section
provides the primary source of system transactions.

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 7


Airline Reservation Management System 2021

2.2.4 Reserve Seats

Description: The user can use the Reserve Seat function to reserve seats
for an airplane flight. The seats to be reserved are initially found through
the user’s previous bookings. These bookings were previously completed
through the Book Flight function (SEE 2.2.3). The system shall display
available seats for the departing and returning flights booked by the user.
The user selects seats from each flight, where the number of selected
seats from each flight is the number that the user booked on that
particular flight. Once the flight seats are selected, the user confirms the
seat selection.
Rationale: Customers prefer to know where their seats are located.
Further, they prefer to pick out particular seats – closer to the front,
window seat, aisle seat, etc. From that point, the seats are removed from
available/unreserved seats and the user’s booking is linked to those
particular seats. If the user fails to reserve a seat prior to flight takeoff,
the user is randomly assigned a seat from available seats 30 minutes prior
to initial takeoff time. This function is offered immediately after booking
the user can wait and use the function to book seats any time after up
until 30 minutes prior their flight.

2.2.5 Flight Status

Description: This section shall allow the user – whether enrolled or not –
to view flight information that matches input criteria. The user will
provide:
1. A flight number and Date
OR
2. Departing/Arriving Cities and Date.
The system will display matching flight information including the

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 8


Airline Reservation Management System 2021
following fields:
● Flight Number
● Departure City
● Arrival City
● Status (one of the following)
o In Flight
o At the Gate
o Delayed
o On Time
Rationale: Users will want to query the system to find flight information,
even if they’re not at an airport (e.g., on their mobile phone). By making
this information available through the web site, we can provide an extra
service to the customer and increase our company’s value.

2.2.6 Flight Schedules

Description: This section of the system shall allow a user to query flight
schedules
based upon simple input criteria. The user will provide departure and
arrival cities, and a departure/return date. If any flights match the
criteria, the system will display the following information:
● Flight Number
● Departing City & Date/Time
● Arriving City & Date/Time
● Number of Available Seats
The system shall define a “matching” flight as one that uses the
departure/arrival cities at a flight time greater or equal to the time
provided by the user. Otherwise, the system shall alert the user that no
matching flights can be found.

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 9


Airline Reservation Management System 2021
Rationale: A customer will want to book flights based on his/her travel
plans.
This section provides the user a choice of available flights from which
to pick.

2.2.7 My Account

Description: This section gives the user the power to view, save, edit or
delete the information stored in his/her account. The user can check
his/her accumulated points, look at the status of a flight that was booked,
cancel a flight that was already booked (optional) and change his/her
address, phone number, email or password. This feature is not available
for non-registered user.
Rationale: A customer’s information changes from time to time. Giving
the users a way to modify their account information allows the business
to have current & updated information.

2.2.8 Logout

Description: The Logout section provides a way for the user to securely
log out of the system. This process will save all user operations when
he/she
exits the system. If a user wishes to continue accessing the website,
he/she must log-in again to access user features.
Rationale: Customers often use shared computers. Providing a way to
clear state and log-out gives our customers confidence that nobody else
will use
their flight-booking session.

2.3 User Classes and Characteristics


CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 10
Airline Reservation Management System 2021

The main actors in the system are (1) the user, (2) a flight and (3) a Flight Seat.
The user will select a flight and book seats on the flight. They will then reserve
specific seats on that flight. Brief descriptions of these classes follow:
● User
o Has properties like Name, Address, Age
o Associated with Flight Miles accumulated and Credit Card
information.
● Flight
o Has properties like Departing/Arriving City, Departure/Arrival
dates and times, Miles, and an identifying Flight Number.
● Flight Seat
o Has properties of identifying seat number, reserved and flight
number
o Associated to Flight-by-flight number

Our user may be associated with multiple flights, and many users may be
associated with any particular flight. Thus, a many-to-many relationship exists
through the act of booking flights.

Flights are associated to many Flight Seats. Each Flight Seat is only attached to
one Flight. So, this is a one-to-many relationship

The flight is but an object to be acted upon, so careful emphasis should be


placed on satisfying the user in his/her booking experience. The user is our
primary customer.

3.System Features

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 11


Airline Reservation Management System 2021
This section provides detailed requirements for the website design, including
functional requirements.

3.1 General Requirements

Software Requirements:

Operating System : Windows 7/8/10.

User Interface : HTML, CSS.

Client-side Scripting : JavaScript.

Programming Language : Java.

Web Applications : JDBC, Servlets, JSP.

IDE/Workbench : NetBeans.

Database : MySQL.

Hardware Requirements:

Processor : Intel core i3/i5/i7.

Hard Disk : 400 GB or above.

RAM : 1 GB or above.

3.1.1 Login

Description and Priority: This function allows a registered user to login


his account using his frequent flyer number with the airline and
password. If a user is not registered, the website should allow the user to
CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 12
Airline Reservation Management System 2021
enroll first. The system will check both the frequent flight number and
password, when a user attempts to login.

In most case, the frequent flight number is convenient for both the user
and system performance. The user easily memorizes his or her flight
numbers but not a dull string. For the system, when provided the flight
number, flight information will be delivered at the same time. Therefore,
such operation reduces the second query chance.

Theoretically, more than one record can retrieve by user’s frequent flight
number and password. Two or more users may have chosen the same
password and same flight number. The way to break a tie is that system
will go further to ask user’s
email confirmation to identify.

Inputs: Frequent flyer number and password


Source: All inputs are provided by user.
Outputs: Indication that user is logged in to the system.
Destination: The outputs are displayed on the screen as well as stored in the
system.
Requires: The user provides login information including frequent flyer
number and password.
Pre-Conditions: User is not logged in to system. User has previously enrolled
in system.
Post-Conditions: User is logged in to system, OR user is not logged in because
he/she entered unrecognized information.
Side-Effects: None

Use Case:
CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 13
Airline Reservation Management System 2021

3.1.2 Enrollment

Description and Priority: This function allows unregistered user to


enroll and to create a new account with the website. In order to create a
new account, the user has to provide required information such as first
name, last name, email address and password. Other optional
information, such as phone number, credit card information and mailing
address, can be provided during the registration process.

The system checks if all required data are provided and then will prompt
the user to enter additional information, if required. After all required
information is provided, the system auto-generates a unique frequent

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 14


Airline Reservation Management System 2021
flyer number that the user must use as username for future
authentications. The system shall auto-generate this number in less than
five seconds.

Inputs: Required: First name, last name, email address and frequent
flyer number
Optional: phone number, credit card information and mailing
address.
Source: All data except the frequent flyer number are inputs from the
user. The frequent flyer number is from the system store.
Outputs: Frequent Flyer Number
Destination: The changes are committed on the completion of the
“enrollment” function to account information. All information
also displays to the user via the screen.
Pre-Conditions: The user must not have an existing account with the website.
Post-Conditions: A user account is created and the user is able to access all
functionalities provided by the function “My Account” (refer
to 3.1.7)
Side-Effects: None

Stimulus-Response:

User Action System Application


1. The system shows a list of
required data that must be
provided by the user in order to
create a new

account.

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 15


Airline Reservation Management System 2021
2. The user provides information 3. The system checks if all
such as first name, last name, required information has been
address, email address, credit card provided by the user. If a required
information and password by data is missing, the system
filling fields. Some data are prompts the user to provide the
optional, while others are required specific data in order to process the
(refer to section 2.2, REQ-02). account creation.

4. When every required data is


provided, the system creates an
account and auto-generates a
unique flyer number that must be
used as a username for future
authentication. The system also
sends the user account
information, including the flyer
number, to the email address
provided by the user during the
account creation process.

3.1.3 Book Flights

Description and Priority: The user can use the Book Flights function to
purchase seats for an airplane flight. The system shall present the user
with information on all current flights. The user may then select a pair
(departure and return) of flights on which to purchase seats. The user can
indicate the number of seats and placement of such. Finally, the system
shall guide the user completely through the checkout process.

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 16


Airline Reservation Management System 2021
Inputs: User information – the user must already be logged in.
Source: Inputs are from the user except flight information, which is
retrieved from the system.
Output: The purchased seats are tied to the user’s account, so he/she
can reserve seats later.
Destination: The booked flights will be stored in the user’s account
information when the user finishes payment. The flight
information shall also display on the screen.
Pre-Conditions: The user must have an account with the website and must be
logged in.
Post-Conditions: Completion of this function guarantees that the user has seats
on a specific flight. However, if the user wants particular
seats, he/she must also complete the reserve seat’s function.
Any successfully-booked flight from this function is assumed
to have completed payment already.
Side-Effects: User’s account is charged. Flight is associated with user’s
account.

Stimulus/Response:

User Action System Application


1. The systems checks to see if
the user is logged in, if not then
the systems require the user to
login. The system shows the
user a list of their already

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 17


Airline Reservation Management System 2021
booked flights and the available
seats for those flights.

2. The user selects individual 3. The system checks if the


seats from a list of pre-booked selected seats are still available.
flights. The seats are chosen in If they are available then the
pairs so that the users select seats are temporarily
individual seats for the unavailable to other users to
departing and returning flights. allow the user to confirm their
selection. The seats and
confirmation selection screen
are displayed

4. The user confirms the seat 5. Once confirmed, the seats are
selections on the screen. removed from available seats
and are applied to the user
account. The user is shown a
final confirmation screen which
displays selected seats and
account information.

Activity Diagram:

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 18


Airline Reservation Management System 2021

3.1.4 Reserve Seats

Description and Priority: The user can use the Reserve Seat function to
reserve seats for an airplane flight. The seats to be reserved are initially
found through the user’s previous bookings. These bookings were
previously completed through the Book Flight function (SEE 2.2.3).

The system shall display available seats for the departing and returning
flights booked by the user. The user selects seats from each flight, where
the number of selected seats from each flight is the number that the user
booked on that particular flight. Once the flight seats are selected, the
user confirms the seat selection.

Inputs: User information used to determine previously booked flights.


Selected seats will be reserved by user.
Source: Inputs are from the user except flight information, which is
retrieved by the system.
Outputs: Selected Seats

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 19


Airline Reservation Management System 2021
Destination: The changes are committed on completion of the Reserve
Seats function to the user’s account information. The selected
seats are also displayed to the screen.
Pre-Conditions: The user must have an account with the website and must be
logged in. The user must also have previously booked flights
without seats reserved, either by user or system.
Post-Conditions: All selections of seats must be applied to the user’s account.
Side-Effects: The selected seats are no longer available to any other
customer.

Stimulus/Response:

User Action System Application


1.The systems checks to see if
the user is logged in, if not then
the system requires the user to
login. The system shows the
user a list of all flights with
open seats that match their
requirements.

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 20


Airline Reservation Management System 2021
2.The user selects a flight or a 3.The system checks if the
pair of flights (round-trip) that selected flight(s) has their
they wish to book. They choose desired number of seats still
a number of seats they wish to available. If they are, the system
book. indicates to the user that their
flight is in the process of being
booked and they must now
complete payment. If there
aren't enough seats, the system
notifies the user which flights
were full, and returns the user to
the beginning of the function.

4.The user fills out payment 5.If payment is successfully


confirmed, the flight is updated
information (either credit card
with the new number of open
or reward number)
seats, and the user's account is
updated with the reserved flight
information. The user is shown
a final confirmation screen,
which displays flight and
account information.

3.1.5 Flight Status

Description & Priority: This section shall allow the user – whether
enrolled or not – to view flight information that matches input criteria.
The user will provide:
1. A flight number and Date

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 21


Airline Reservation Management System 2021
OR
2. Departing/Arriving Cities and Date.
The system will display matching flight information including the
following fields:
● Flight Number
● Departure City
● Arrival City
● Status (one of the following)
o In Flight
o At the Gate
o Delayed
o On Time

Inputs: Departing city, Destination city, Departure date/time


Source: All inputs are provided by the user.
Outputs: Flight information including Flight Number, Departure City,
Arrival City, and Flight Status.
Destination: All outputs should display on the screen.
Pre-Conditions: None.
Post-Conditions: User has flight status for any matching flight.
Side-Effects: None

3.1.6 Flight Schedule

Description & Priority: This section of the system shall allow a user to
query flight schedules based upon simple input criteria. The user will
provide departure and arrival cities, and a departure/return date. If any
flights match the criteria, the system will display the following
information:

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 22


Airline Reservation Management System 2021
● Flight Number
● Departing City & Date/Time
● Arriving City & Date/Time
● Number of Available Seats
The system shall define a “matching” flight as one that uses the
departure/arrival cities at a flight time greater or equal to the time
provided by the user. Otherwise, the system shall alert the user that no
matching flights can be found.

Inputs: Departing City, Destination City, Departure Date/Time


Source: All inputs provided by user.
Outputs: Flight Information including Flight Number, Departing City &
Date/Time, Arriving City and Date/Time, Number of
Available Seats.
Destination: All output should display to the screen.
Pre-Conditions: None
Post-Conditions: User has flight information for any matching flight.

Activity Diagram:

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 23


Airline Reservation Management System 2021

3.1.7 My Account
Description & Priority: This section gives the user the power to view,
save, edit or delete the information stored in his/her account. The user
can check his/her accumulated points, look at the status of a flight that
was booked, cancel a flight that was already booked (optional) and
change his/her address, phone number, email or password. This feature is
not available for non-registered user.

Inputs: Account changes, if any, made by the user. Account changes include
updates on first name, last name, email address, mailing address, password or
phone numbers.
Source: All data are inputs from user.
Output: None.
CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 24
Airline Reservation Management System 2021
Destination: The changes are committed on completion of the My Account
function to account information.
Pre-Conditions: The user must have an account with the website and must be
logged in prior to access his/her account.
Post-Conditions: All changes submitted by the user are applied to the user
account on completion of the function.

3.1.8 Account Log out

Description & Priority: The Logout section provides a way for the user
to securely log out of the system. This process will save all user
operations when he/she exits the system. If a user wishes to continue
accessing the website, he/she must log-in again to access user features.

Inputs: None.
Source: N/A
Outputs: Notification that the user is logged out.
Destination: User is notified by display to screen.
Pre-Conditions: User is logged in to the system.
Post-Conditions: User is logged out of the system.
Side-Effects: The system clears the session state for the user once logout is
complete.

4.External Interface Requirements


4.1 User Interfaces
A Help link will appear on every screen that describes the function of each page
to the user. The implementation should be written so that blind users can still
interact with the system (Using a screen reader.)

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 25


Airline Reservation Management System 2021

4.2 Communications Interfaces


The system must utilize the standard Hyper Text Transfer Protocol (HTTP) to
ensure
maximum inter-browser compatibility. The client accesses the system through a
web
browser.

5.Other Nonfunctional Requirements


5.1 Performance Requirements
● The Airline Website shall have capabilities to accept 500 connections.
For each session, system shall guarantee the connection time 5 minutes
from last input, after which the connection will be deemed expired. A
close operation will be performed when expired. This design is to satisfy
each user’s usability and connection quality.
● The system shall send out verification request immediately (within
100ms) after the it receives a user submitted form.
● The system shall update all flight status information every 5 minutes.

5.2 Security Requirements


● Passwords must be a minimum of eight characters and must contain one
to seven digits.
● Email addresses should be verified before the system grants user access.
This verification shall be exercised by sending the prospective user a
confirmation email after enrollment. This email must contain information
specific to completing the enrollment process.

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 26


Airline Reservation Management System 2021
● All exchanges from client to server involving private data shall occur
using the highest available level of secure connection (e.g., https).

5.3 Software Quality Attributes


5.3.1 Usability:

The airline website design shall allow deployment on both Windows and UNIX
(Linux) servers. The design should support Windows Server 2003, Linux 2.6.x,
V10 UNIX and later.

5.3.2 Robustness:

The system design shall include recovery scenarios allowing the ability to
restore a state no older than one business day old.

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 27


Airline Reservation Management System 2021

CHAPTER3: REQUIREMENT ANALYSIS AND SPECIFICATIONPAGE 28


Airline Reservation Management System 2021
CHAPTER 4

SOFTWARE DESIGN

4.1. SDLC Methodology:

Spiral Model:-

The spiral model is similar to the incremental model, with more emphasis
placed on risk analysis. The spiral model has four phases: Planning, Risk
Analysis, Engineering and Evaluation. A software project repeatedly passes
through these phases in iterations (called Spirals in this model). The baseline
spiral, starting in the planning phase, requirements is gathered and risk is
assessed. Each subsequent spiral builds on the baseline spiral. Requirements
are gathered during the planning phase.  In the risk analysis phase, a process is
undertaken to identify risk and alternate solutions.  A prototype is produced at
the end of the risk analysis phase. Software is produced in the engineering
phase, along with testing at the end of the phase.  The evaluation phase allows
the customer to evaluate the output of the project to date before the project
continues to the next spiral.

Figure 4.1 Spiral model

CHAPTER: SOFTWARE DESIGNPAGE 29


Airline Reservation Management System 2021

Advantages of Spiral model:-

High amount of risk analysis hence, avoidance of Risk is enhanced.

Good for large and mission-critical projects.

Strong approval and documentation control.

Additional Functionality can be added at a later date.

Software is produced early in the software life cycle.

Disadvantages of Spiral model:-

Can be a costly model to use.

Risk analysis requires highly specific expertise.

Project’s success is highly dependent on the risk analysis phase

4.2 UML Diagram

4.2.1 Use Case Diagram

ADMIN:

CHAPTER: SOFTWARE DESIGNPAGE 30


Airline Reservation Management System 2021

CHAPTER: SOFTWARE DESIGNPAGE 31


Airline Reservation Management System 2021
4.1.2 Activity Diagram:

4.1.3 Sequence Diagram:

Admin View Project Status:

CHAPTER: SOFTWARE DESIGNPAGE 32


Airline Reservation Management System 2021

CHAPTER: SOFTWARE DESIGNPAGE 33


Airline Reservation Management System 2021
CHAPTER 5

BACKEND DESIGN

5.1

Figure 5.1 Figure of E-R Diagram

CHAPTER 5 : BACKEND DESIGNPage 34


Airline Reservation Management System 2021
5.2 Data Dictionary:

5.2.1 Details Table:

Table 5.1 : Details Table

5.2.2 Register Table:

Table 5.2 : Register Table

5.2.3 Report Table:

Table 5.3 : Report Table

CHAPTER 5 : BACKEND DESIGNPage 35


Airline Reservation Management System 2021
5.2.4 Request Table:

Table 5.4 : Request Table

5.2.5 Upload Table:

Table 5.5 : Upload Table

CHAPTER 5 : BACKEND DESIGNPage 36


Airline Reservation Management System 2021
CHAPTER 6

CODE SAMPLE
6.1 Log In

package airline.management.system;

import java.awt.*;

import java.awt.event.*;

import javax.swing.*;

import java.sql.*;

public class Login extends JFrame implements ActionListener{

TextField t1,t2;

Label l1,l2;

Button b2,b3,b4;

GridBagLayout gbl;

GridBagConstraints gbc;

Font f1,f2;

public Login(){

super("Login");

setBackground(Color.WHITE);

f1 = new Font("TimesRoman",Font.BOLD,20);

f2 = new Font("TimesRoman",Font.BOLD,15);

CHAPTER 7: SNAPSHOTO PAGE 37


Airline Reservation Management System 2021
gbl=new GridBagLayout();

gbc=new GridBagConstraints();

setLayout(gbl);

l1 = new Label("Username");

l1.setFont(f1);

l2 = new Label("Password");

l2.setFont(f1);

t1 = new TextField(15);

t2 = new TextField(15);

t2.setEchoChar('*');

b2 = new Button("Reset");

b2.setFont(f2);

b3 = new Button("Submit");

b3.setFont(f2);

b4 = new Button("Close");

b4.setFont(f2);

gbc.gridx=0;

gbc.gridy=0;

CHAPTER 7: SNAPSHOTO PAGE 38


Airline Reservation Management System 2021
gbl.setConstraints(l1,gbc);

add(l1);

gbc.gridx=2;

gbc.gridy=0;

gbl.setConstraints(t1,gbc);

add(t1);

gbc.gridx=0;

gbc.gridy=2;

gbl.setConstraints(l2,gbc);

add(l2);

gbc.gridx=2;

gbc.gridy=2;

gbl.setConstraints(t2,gbc);

add(t2);

gbc.gridx=0;

gbc.gridy=8;

gbl.setConstraints(b2,gbc);

add(b2);

gbc.gridx=2;

gbc.gridy=8;

CHAPTER 7: SNAPSHOTO PAGE 39


Airline Reservation Management System 2021
gbl.setConstraints(b3,gbc);

add(b3);

gbc.gridx=4;

gbc.gridy=8;

gbl.setConstraints(b4,gbc);

add(b4);

b2.addActionListener(this);

b3.addActionListener(this);

b4.addActionListener(this);

setVisible(true);

setSize(400,250);

setLocation(400,200);

public void actionPerformed(ActionEvent ae){

if(ae.getSource()==b2){

t1.setText("");

t2.setText("");

if(ae.getSource()==b4){

System.exit(0);

CHAPTER 7: SNAPSHOTO PAGE 40


Airline Reservation Management System 2021
}

if(ae.getSource()==b3){

try{

conn c1 = new conn();

String s1 = t1.getText();

String s2 = t2.getText();

String str = "select * from login where username


= '"+s1+"' and password = '"+s2+"'";

ResultSet rs = c1.s.executeQuery(str);

if(rs.next()){

new Mainframe();

setVisible(false);

}else{

JOptionPane.showMessageDialog(null,"Invalid
Login");

setVisible(false);

}catch(Exception e){}

public static void main(String[] args){

CHAPTER 7: SNAPSHOTO PAGE 41


Airline Reservation Management System 2021
new Login();

6.2 Journey Details

package airline.management.system;

import java.awt.*;

import java.awt.event.*;

import java.sql.*;

import javax.swing.*;

import net.proteanit.sql.DbUtils;

public class Journey_Details extends JFrame{ //Forth

JTable table;

JLabel
ReservationDetails,Pnrno,Ticketid,Fcode,Jnydate,Jnytime,Source,De
stination,label,label1;

JButton Show;

public static void main(String[] args){

new Journey_Details();

public Journey_Details(){

CHAPTER 7: SNAPSHOTO PAGE 42


Airline Reservation Management System 2021
setTitle("JOURNEY_DETAILS");

getContentPane().setBackground(Color.WHITE);

setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

setLayout(null);

Source = new JLabel("SOURCE");

Source.setFont(new Font("Tahoma", Font.PLAIN, 19));

Source.setBounds(60, 100, 150, 27);

add(Source);

Destination = new JLabel("DESTINATION");

Destination.setFont(new Font("Tahoma", Font.PLAIN, 19));

Destination.setBounds(350, 100, 150, 27);

add(Destination);

Show = new JButton("SHOW");

Show.setBounds(680, 100, 100, 30);

add(Show);

setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);

ReservationDetails = new JLabel("JOURNEY DETAILS");

ReservationDetails.setForeground(Color.BLUE);

CHAPTER 7: SNAPSHOTO PAGE 43


Airline Reservation Management System 2021
ReservationDetails.setFont(new Font("Tahoma", Font.PLAIN,
31));

ReservationDetails.setBounds(280, 27, 359, 31);

add(ReservationDetails);

Pnrno = new JLabel("PNR_NO");

Pnrno.setFont(new Font("Tahoma", Font.PLAIN, 13));

Pnrno.setBounds(79, 270, 83, 20);

add(Pnrno);

Ticketid = new JLabel("TICKET_ID");

Ticketid.setFont(new Font("Tahoma", Font.PLAIN, 13));

Ticketid.setBounds(172, 270, 71, 20);

add(Ticketid);

Fcode = new JLabel("F_CODE");

Fcode.setFont(new Font("Tahoma", Font.PLAIN, 13));

Fcode.setBounds(297, 270, 103, 20);

add(Fcode);

Jnydate = new JLabel("JNY_DATE");

Jnydate.setFont(new Font("Tahoma", Font.PLAIN, 13));

Jnydate.setBounds(390, 270, 94, 20);

add(Jnydate);

Jnytime = new JLabel("JNY_TIME");

CHAPTER 7: SNAPSHOTO PAGE 44


Airline Reservation Management System 2021
Jnytime.setFont(new Font("Tahoma", Font.PLAIN, 13));

Jnytime.setBounds(494, 270, 83, 20);

add(Jnytime);

Source = new JLabel("SOURCE");

Source.setFont(new Font("Tahoma", Font.PLAIN, 13));

Source.setBounds(613, 270, 94, 20);

add(Source);

Destination = new JLabel("DESTINATION");

Destination.setFont(new Font("Tahoma", Font.PLAIN, 13));

Destination.setBounds(717, 270, 94, 20);

add(Destination);

String[] items1 = {"BANGALORE", "MUMBAI", "CHENNAI",


"PATNA","DELHI","HYDERABAD"};

JComboBox comboBox = new JComboBox(items1);

comboBox.setBounds(150, 100, 150, 27);

add(comboBox);

String[] items2 = {"BANGALORE", "MUMBAI", "CHENNAI",


"PATNA","DELHI","HYDERABAD"};

JComboBox comboBox_1 = new JComboBox(items2);

comboBox_1.setBounds(500, 100, 150, 27);

add(comboBox_1);

CHAPTER 7: SNAPSHOTO PAGE 45


Airline Reservation Management System 2021
table = new JTable();

table.setBounds(38, 310, 770, 130);

add(table);

Show.addActionListener(new ActionListener(){

public void actionPerformed(ActionEvent ae){

try{

String src = (String)


comboBox.getSelectedItem();

String dst = (String)


comboBox_1.getSelectedItem();

conn c = new conn();

String str = "select


pnr_no,ticket_id,f_code,jny_date,jny_time,src,dst from
reservation where src = '"+src+"' and dst = '"+dst+"'";

ResultSet rs=c.s.executeQuery(str);

if(rs.next()){

table.setModel(DbUtils.resultSetToTableModel(rs));

}else{

JOptionPane.showMessageDialog(null,"No
Flights between Source and Destination");

CHAPTER 7: SNAPSHOTO PAGE 46


Airline Reservation Management System 2021
}

}catch(Exception e){}

});

setSize(860,600);

setLocation(400,200);

setVisible(true);

6.3 Flight_information

package airline.management.system;

import net.proteanit.sql.DbUtils;

import java.awt.*;

import java.awt.event.*;

import java.sql.*;

import javax.swing.*;

public class Flight_Info extends JFrame{ //Second Frame

private JTable table;

CHAPTER 7: SNAPSHOTO PAGE 47


Airline Reservation Management System 2021
private JTextField textField;

public static void main(String[] args){

new Flight_Info().setVisible(true);

public Flight_Info(){

getContentPane().setBackground(Color.WHITE);

getContentPane().setFont(new Font("Tahoma", Font.PLAIN,


13));

setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

setSize(860,523);

setLayout(null);

setVisible(true);

JLabel Fcode = new JLabel("FLIGHT CODE");

Fcode.setFont(new Font("Tahoma", Font.PLAIN, 17));

Fcode.setBounds(50, 100, 200, 30);

add(Fcode);

JLabel FlightDetails = new JLabel("FLIGHT INFORMATION");

FlightDetails.setFont(new Font("Tahoma", Font.PLAIN, 31));

FlightDetails.setForeground(new Color(100, 149, 237));

CHAPTER 7: SNAPSHOTO PAGE 48


Airline Reservation Management System 2021
FlightDetails.setBounds(50, 20, 570, 35);

add(FlightDetails);

JButton btnShow = new JButton("SHOW");

btnShow.setFont(new Font("Tahoma", Font.PLAIN, 20));

btnShow.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent ae) {

String code = textField.getText();

try {

conn c = new conn();

String str = "select


f_code,f_name,src,dst,capacity,class_code,class_name from
flight ,sector where f_code = '"+code+"'";

ResultSet rs = c.s.executeQuery(str);

table.setModel(DbUtils.resultSetToTableModel(rs));

}catch(SQLException e){

e.printStackTrace();

});

CHAPTER 7: SNAPSHOTO PAGE 49


Airline Reservation Management System 2021
btnShow.setBounds(220, 150, 120, 30);

add(btnShow);

table = new JTable();

table.setBackground(Color.WHITE);

table.setBounds(23, 250, 800, 300);

JScrollPane pane = new JScrollPane(table);

pane.setBounds(23, 250, 800, 300);

pane.setBackground(Color.WHITE);

add(pane);

textField = new JTextField();

textField.setBounds(220, 100, 200, 30);

add(textField);

JLabel FlightCode = new JLabel("FLIGHT CODE");

FlightCode.setFont(new Font("Tahoma", Font.PLAIN, 13));

FlightCode.setBounds(23, 220, 126, 14);

add(FlightCode);

JLabel FlightName = new JLabel("FLIGHT NAME");

FlightName.setFont(new Font("Tahoma", Font.PLAIN, 13));

FlightName.setBounds(145, 220, 120, 14);

add(FlightName);

CHAPTER 7: SNAPSHOTO PAGE 50


Airline Reservation Management System 2021
JLabel Source = new JLabel("SOURCE");

Source.setFont(new Font("Tahoma", Font.PLAIN, 13));

Source.setBounds(275, 220, 104, 14);

add(Source);

JLabel Destination = new JLabel("DESTINATION");

Destination.setFont(new Font("Tahoma", Font.PLAIN, 13));

Destination.setBounds(367, 220, 120, 14);

add(Destination);

JLabel Capacity = new JLabel("CAPACITY");

Capacity.setFont(new Font("Tahoma", Font.PLAIN, 13));

Capacity.setBounds(497, 220, 111, 14);

add(Capacity);

JLabel ClassCode = new JLabel("CLASS CODE");

ClassCode.setFont(new Font("Tahoma", Font.PLAIN, 13));

ClassCode.setBounds(587, 220, 120, 14);

add(ClassCode);

JLabel ClassName = new JLabel("CLASS NAME");

ClassName.setFont(new Font("Tahoma", Font.PLAIN, 13));

ClassName.setBounds(700, 220, 111, 14);

add(ClassName);

CHAPTER 7: SNAPSHOTO PAGE 51


Airline Reservation Management System 2021

setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);

setSize(900,650);

setVisible(true);

setLocation(400,200);

6.4 Add Customer

package airline.management.system;

import java.awt.*;

import java.awt.event.*;

import javax.swing.*;

import java.sql.*;

public class Login extends JFrame implements ActionListener{

TextField t1,t2;

Label l1,l2;

Button b2,b3,b4;

GridBagLayout gbl;

GridBagConstraints gbc;

Font f1,f2;

CHAPTER 7: SNAPSHOTO PAGE 52


Airline Reservation Management System 2021
public Login(){

super("Login");

setBackground(Color.WHITE);

f1 = new Font("TimesRoman",Font.BOLD,20);

f2 = new Font("TimesRoman",Font.BOLD,15);

gbl=new GridBagLayout();

gbc=new GridBagConstraints();

setLayout(gbl);

l1 = new Label("Username");

l1.setFont(f1);

l2 = new Label("Password");

l2.setFont(f1);

t1 = new TextField(15);

t2 = new TextField(15);

t2.setEchoChar('*');

b2 = new Button("Reset");

b2.setFont(f2);

b3 = new Button("Submit");

CHAPTER 7: SNAPSHOTO PAGE 53


Airline Reservation Management System 2021
b3.setFont(f2);

b4 = new Button("Close");

b4.setFont(f2);

gbc.gridx=0;

gbc.gridy=0;

gbl.setConstraints(l1,gbc);

add(l1);

gbc.gridx=2;

gbc.gridy=0;

gbl.setConstraints(t1,gbc);

add(t1);

gbc.gridx=0;

gbc.gridy=2;

gbl.setConstraints(l2,gbc);

add(l2);

gbc.gridx=2;

gbc.gridy=2;

gbl.setConstraints(t2,gbc);

add(t2);

CHAPTER 7: SNAPSHOTO PAGE 54


Airline Reservation Management System 2021
gbc.gridx=0;

gbc.gridy=8;

gbl.setConstraints(b2,gbc);

add(b2);

gbc.gridx=2;

gbc.gridy=8;

gbl.setConstraints(b3,gbc);

add(b3);

gbc.gridx=4;

gbc.gridy=8;

gbl.setConstraints(b4,gbc);

add(b4);

b2.addActionListener(this);

b3.addActionListener(this);

b4.addActionListener(this);

setVisible(true);

setSize(400,250);

setLocation(400,200);

public void actionPerformed(ActionEvent ae){

CHAPTER 7: SNAPSHOTO PAGE 55


Airline Reservation Management System 2021
if(ae.getSource()==b2){

t1.setText("");

t2.setText("");

if(ae.getSource()==b4){

System.exit(0);

if(ae.getSource()==b3){

try{

conn c1 = new conn();

String s1 = t1.getText();

String s2 = t2.getText();

String str = "select * from login where username


= '"+s1+"' and password = '"+s2+"'";

ResultSet rs = c1.s.executeQuery(str);

if(rs.next()){

new Mainframe();

setVisible(false);

}else{

JOptionPane.showMessageDialog(null,"Invalid
Login");

setVisible(false);

CHAPTER 7: SNAPSHOTO PAGE 56


Airline Reservation Management System 2021

}catch(Exception e){}

public static void main(String[] args){

new Login();

6.5 Payment Details

package airline.management.system;

import java.awt.*;

import java.awt.event.*;

import java.sql.*;

import javax.swing.*;

import net.proteanit.sql.DbUtils;

public class Payment_Details extends JFrame{ //Fifth

JTextField textField;

JTable table;

JLabel Sector;

CHAPTER 7: SNAPSHOTO PAGE 57


Airline Reservation Management System 2021
JLabel FlightCode, Capacity, Classcode, Classname, label;

public static void main(String[] args) {

new Payment_Details();

public Payment_Details(){

initialize();

private void initialize(){

setTitle("PAYMENT_DETAILS");

getContentPane().setBackground(Color.WHITE);

setSize(860,486);

setLayout(null);

JLabel Fcode = new JLabel("PNR NO");

Fcode.setFont(new Font("Tahoma", Font.PLAIN, 17));

Fcode.setBounds(60, 160, 150, 26);

add(Fcode);

textField = new JTextField();

textField.setBounds(200, 160, 150, 26);

add(textField);

table = new JTable();

CHAPTER 7: SNAPSHOTO PAGE 58


Airline Reservation Management System 2021
table.setBounds(45, 329, 766, 87);

add(table);

JButton Show = new JButton("SHOW");

Show.setFont(new Font("Tahoma", Font.PLAIN, 17));

Show.setBackground(Color.BLACK);

Show.setForeground(Color.WHITE);

Show.setBounds(200, 210, 150, 26);

add(Show);

Sector = new JLabel("PAYMENT DETAILS");

Sector.setForeground(Color.BLUE);

Sector.setFont(new Font("Tahoma", Font.PLAIN, 31));

Sector.setBounds(51, 17, 300, 39);

add(Sector);

FlightCode = new JLabel("PNR_NO");

FlightCode.setFont(new Font("Tahoma", Font.PLAIN, 13));

FlightCode.setBounds(84, 292, 108, 26);

add(FlightCode);

Capacity = new JLabel("PAID_AMOUNT");

Capacity.setFont(new Font("Tahoma", Font.PLAIN, 13));

Capacity.setBounds(183, 298, 92, 14);

add(Capacity);

CHAPTER 7: SNAPSHOTO PAGE 59


Airline Reservation Management System 2021
Classcode = new JLabel("PAY_DATE");

Classcode.setFont(new Font("Tahoma", Font.PLAIN, 13));

Classcode.setBounds(322, 294, 101, 24);

add(Classcode);

Classname = new JLabel("CHEQUE_NO");

Classname.setFont(new Font("Tahoma", Font.PLAIN, 13));

Classname.setBounds(455, 298, 114, 14);

add(Classname);

label = new JLabel("");

label.setIcon(new
ImageIcon(ClassLoader.getSystemResource("airline/management/syste
m/icon/payment.png")));

label.setBounds(425, 15, 239, 272);

add(label);

JLabel Cardno = new JLabel("CARD_NO");

Cardno.setFont(new Font("Tahoma", Font.PLAIN, 13));

Cardno.setBounds(602, 299, 101, 19);

add(Cardno);

JLabel Phoneno = new JLabel("PHONE_NO");

Phoneno.setFont(new Font("Tahoma", Font.PLAIN, 13));

Phoneno.setBounds(712, 294, 86, 24);

add(Phoneno);

CHAPTER 7: SNAPSHOTO PAGE 60


Airline Reservation Management System 2021
setVisible(true);

Show.addActionListener(new ActionListener(){

public void actionPerformed(ActionEvent ae){

try {

String code = textField.getText();

conn c = new conn();

String str = "select


pnr_no,paid_amt,pay_date,cheque_no,card_no,ph_no from payment
where pnr_no = '"+code+"'";

ResultSet rs = c.s.executeQuery(str);

table.setModel(DbUtils.resultSetToTableModel(rs));

}catch(SQLException e) {

e.printStackTrace();

});

setSize(960,590);

setLocation(400,200);

setVisible(true);

CHAPTER 7: SNAPSHOTO PAGE 61


Airline Reservation Management System 2021

6.6 Cancellation

package airline.management.system;

import javax.swing.*;

import java.awt.*;

import java.awt.event.*;

import java.sql.*;

public class Cancel extends JFrame { //Sixth

private JTextField
textField,textField_1,textField_2,textField_3,textField_4;

public static void main(String[] args) {

new Cancel();

public Cancel() {

initialize();

CHAPTER 7: SNAPSHOTO PAGE 62


Airline Reservation Management System 2021
private void initialize() {

setTitle("CANCELLATION");

getContentPane().setBackground(Color.WHITE);

setBounds(100, 100, 801, 472);

setLayout(null);

JLabel Cancellation = new JLabel("CANCELLATION");

Cancellation.setFont(new Font("Tahoma", Font.PLAIN, 31));

Cancellation.setBounds(185, 24, 259, 38);

add(Cancellation);

ImageIcon i1 = new
ImageIcon(ClassLoader.getSystemResource("airline/management/syste
m/icon/cancel.png"));

Image i2 = i1.getImage().getScaledInstance(250, 250,


Image.SCALE_DEFAULT);

ImageIcon i3 = new ImageIcon(i2);

JLabel NewLabel = new JLabel(i3);

NewLabel.setBounds(470, 100, 250, 250);

add(NewLabel);

JLabel PassengerNo = new JLabel("PASSENGER NO");

PassengerNo.setFont(new Font("Tahoma", Font.PLAIN, 17));

PassengerNo.setBounds(60, 100, 132, 26);

add(PassengerNo);

CHAPTER 7: SNAPSHOTO PAGE 63


Airline Reservation Management System 2021
JLabel CancellationNo = new JLabel("CANCELLATION NO");

CancellationNo.setFont(new Font("Tahoma", Font.PLAIN, 17));

CancellationNo.setBounds(60, 150, 150, 27);

add(CancellationNo);

JLabel CancellationDate = new JLabel("CANCELLATION DATE");

CancellationDate.setFont(new Font("Tahoma", Font.PLAIN,


17));

CancellationDate.setBounds(60, 200, 180, 27);

add(CancellationDate);

JLabel Ticketid = new JLabel("TICKET_ID");

Ticketid.setFont(new Font("Tahoma", Font.PLAIN, 17));

Ticketid.setBounds(60, 250, 150, 27);

add(Ticketid);

JLabel Flightcode = new JLabel("FLIGHT_CODE");

Flightcode.setFont(new Font("Tahoma", Font.PLAIN, 17));

Flightcode.setBounds(60, 300, 150, 27);

add(Flightcode);

JButton Cancel = new JButton("CANCEL");

Cancel.setFont(new Font("Tahoma", Font.PLAIN, 14));

Cancel.setBackground(Color.BLACK);

Cancel.setForeground(Color.WHITE);

Cancel.setBounds(250, 350, 150, 30);

CHAPTER 7: SNAPSHOTO PAGE 64


Airline Reservation Management System 2021
add(Cancel);

textField = new JTextField();

textField.setBounds(250, 100, 150, 27);

add(textField);

textField_1 = new JTextField();

textField_1.setBounds(250, 150, 150, 27);

add(textField_1);

textField_2 = new JTextField();

textField_2.setBounds(250, 200, 150, 27);

add(textField_2);

textField_3 = new JTextField();

textField_3.setBounds(250, 250, 150, 27);

add(textField_3);

textField_4 = new JTextField();

textField_4.setBounds(250, 300, 150, 27);

add(textField_4);

Cancel.addActionListener(new ActionListener(){

public void actionPerformed(ActionEvent ae){

String passenger_no = textField.getText();

CHAPTER 7: SNAPSHOTO PAGE 65


Airline Reservation Management System 2021
String cancellation_no = textField_1.getText();

String cancellation_date = textField_2.getText();

String ticket_id = textField_3.getText();

String flight_code = textField_4.getText();

try{

conn c = new conn();

String str = "INSERT INTO cancellation


values('"+passenger_no+"', '"+cancellation_no+"',
'"+cancellation_date+"', '"+ticket_id+"', '"+flight_code+"')";

c.s.executeUpdate(str);

JOptionPane.showMessageDialog(null,"Ticket
Canceled");

setVisible(false);

}catch (Exception e) {

e.printStackTrace();

});

setSize(860,500);

setVisible(true);

setLocation(400,200);

CHAPTER 7: SNAPSHOTO PAGE 66


Airline Reservation Management System 2021
}

CHAPTER 7: SNAPSHOTO PAGE 67


Airline Reservation Management System 2021

CHAPTER 7: SNAPSHOTO PAGE 68


Airline Reservation Management System 2021

CHAPTER 7

SNAPSHOTS

CHAPTER 7: SNAPSHOTO PAGE 69


Airline Reservation Management System 2021

7.1 Index Page:

Figure 7.1 : Index Page

7.2 Admin Login Page:

Figure 7.2 Login Page of Admin

CHAPTER 7: SNAPSHOTO PAGE 70


Airline Reservation Management System 2021
CHAPTER 8

TESTING

Software Testing is the process used to help identify the correctness,


completeness, security, and quality of developed computer software. Testing
is a process of technical investigation, performed on behalf of stakeholders,
that is intended to reveal quality-related information about the product with
respect to the context in which it is intended to operate. At SDEI, 3 levels of
software testing is done at various SDLC phases

Unit Testing: in which each unit (basic component) of the software is tested to
verify that the detailed design for the unit has been correctly implemented.

Integration testing: in which progressively larger groups of tested software


components corresponding to elements of the architectural design are
integrated and tested

System testing: in which the software is integrated to the overall product and
tested to show that all requirements are met.

Test cases, suites, scripts and scenarios:

A test case is a software testing document, which consists of event, action,


input, output, expected result and actual result. Clinically defined (IEEE 829-
1998) a test case is an input and an expected result.

8.1 Test Cases

8.1.1 Positive Test Cases:

Test case 1: Admin login

Field Input Output remark

Username Admin Test case


Launched to admin
working
Password Admin portal
successfully

Table 8.1.1 : Positive Test Case of Admin Login


CHAPTER 8 : TESTINGPage 71
Airline Reservation Management System 2021

Test case 2: HR login

Field Input Output remark

Username Tech Launched to HR Test case


working
Password Tech portal successfully

Table 8.1.2 : Positive Test Case of HR Login

Test case 3: HR Report

Field Input Output Remark

Project
123
ID Mail sent to
Test case working successfully
Need xyz PM
Report
doc.

Table 8.1.3 : Positive Test Case of HR Report

Test case 4: Project Manager Login

Field Input Output Remark

Username manager
Launched to
Test case working successfully
PM portal
Password Manager

Table 8.1.4 : Positive Test Case of Project Manager Login

Test case 5: Add Project

CHAPTER 8 : TESTINGPage 72
Airline Reservation Management System 2021

Field Input output Remark

Project e-farming
name

Project Xyz
description
Stored in Test case working successfully
Domain Java
the
Project type Internal database

Starting 25/02/2020
date

Ending 01/04/2020

date

Choose file Upload file

Table 8.1.5 : Positive Test Case of Add Project

Test case 6: Project Manager Report

Field Input Output Remark

Project
123
ID Mail sent to
Test case working successfully
Need xyz developer
Report
doc.

CHAPTER 8 : TESTINGPage 73
Airline Reservation Management System 2021
Table 8.1.6 : Positive Test Case of Project Manager Report

Test case 7: Developer Register

Field Input Output remark

First Name Urvashi

Last name Sahu

Email [email protected]
m
Stored in Test case worked
Mobile no. 9632587412 the successfully
database
Address BBSR

Developer Coder
Type

password 123456789

Profile Upload
Image

Table 8.1.7 : Positive Test Case of Developer Register

Test case 8: Developer Login

Field Input Output Remark

Usernam dinesh Launched to Test case working successfully


e developer
portal
Password 12345678

CHAPTER 8 : TESTINGPage 74
Airline Reservation Management System 2021

Table 8.1.8 : Positive Test Case of Developer Login

Test case 9: Developer Report

Field Input output Remark

Project
123
ID Mail sent to
Test case working successfully
upload xyz PM
Report
doc.

Table 8.1.9: Positive Test Case of Developer Report

8.1.2 Negative Test Cases:

Test case-1: Admin Login

Field Input Output Remark

Usernam Unable to
Admin
e Launch Test case failed
password Abcd admin portal

Table 8.1.10: Negative Test Case of Admin Login

Test case-2: Developer Register

Field Input Output remark

First Name Urvashi

Last name

CHAPTER 8 : TESTINGPage 75
Airline Reservation Management System 2021

Email [email protected]
m
Stored in Test case worked
Mobile no. 9632587412 the successfully
database
Address BBSR

Developer Coder
Type

password 123456789

Profile Upload
Image

Table 8.1.12 : Negative Test Case of Developer Register

Test case-3: HR Login

Field Input output Remark

Username Tech Unable to Test case failed


Launch HR
Password P784
portal

Table 8.1.13 : Negative Test Case of HR Login

Test case-4: Project Manager Login

Field Input Output Remark

Username Manager Unable to Test case failed

CHAPTER 8 : TESTINGPage 76
Airline Reservation Management System 2021

Launch admin
portal
Password 789

Table 8.1.13 : Negative Test Case of Project Manager Login

CHAPTER 8 : TESTINGPage 77
Airline Reservation Management System 2021

CHAPTER 8 : TESTINGPage 78
Airline Reservation Management System 2021
CHAPTER 9

CONCLUSION AND FUTURE SCOPE

9.1. Conclusion:

Based on the preparation & analysis of Airline Reservation System, it can be


concluded that Airline Reservation system is better than the manual System
can be used by the ticketing manager to make transactions for the customers
regarding flights. The objective of software planning is to provide a frame work
that enables the manger to make reasonable estimates made within a limited
time frame at the beginning of the software project and should be updated
regularly as the project progresses.

9.2.Future Scope

The Online Airline Reservation system is the next generation address book
which will provide these two basic services like portability, security. The future
scope includes expand the technologies like HTML and PHP we can also add
new technologies like HTML, php many more for improving the efficiency of
the software. The project will be useful for any schools and colleges with
slightly modification. Project is flexible i.e. any change /modification in
database may be performing easily. Also this project could be made web
enabled. Assumptions, if any None Assumptions: The user is familiar with basic
computer components and operations. Dependencies: The system should
work on all systems.

REFERENCES
The following references have been used by us, during all the phases of the
MSE project:

1) https://www.w3schools.com/
2) www.msdn.microsoft.com
3) Apache J Meter – http://jakarta.apche.org/jmeter/
4) http://mse.cis.ksu.edu/- For MSE Project Protfolio
5) IEEE Recommended Practice for Software RequirementsSpecifications –
IEEE Std 830-1998

REFERENCESPage 79
Airline Reservation Management System 2021
6) SLOC Metrics Tool for .NET framework 1.1
http://www.softpedia.com/get/Programming/Other-
ProgrammingFiles/SLOC-matrix.shtm
7) http://www.devartcles.com/c/b/SQL-Server/ - SQL server 2000 help
8) http://www.sitepoint.com/article/sql-server-2000-database - SQL server
2000 help
9) SQl Server 2000 download – http://www.microsoft.com/downloads/
10) http://www.c-sharpcorner.com/

REFERENCESPage 80

You might also like