Manish Project 2
Manish Project 2
This project Airlink is the automation of registration process of airlines system. The system
provides information like passenger’s information, flight information, list of all passengers, it
allows storing and retrieving data related to the airline industry and make transactions related
to air travel etc. The system also allows us to add records when a passenger reserves a ticket.
For data storage and retrieval we use MySQL Database. It enables us to add any number of
records in our database. The project “Airline Management System” comprises of a large
number of flights which belong to a particular airline. The system we have implemented
manages different objects viz.
· Airline
· Airline Employees
· Customers/Traveller
CHAPTERS PAGE NO
Chapter 1 Introduction
1.1Problem Definition 1
1.2 Need 2
Chapter 2 Requirements
Chapter 5 Implementation
5.1 Backend Implementation 8
Chapter 6 Snapshots 14 - 19
Conclusion
References
CHAPTER 1
INTRODUCTION
Airlink is the administration of airports and airlines. It includes the activities of setting the
strategy of airports to gather and provide information on airline commercial and operational
priorities. It covers a broad overview of the airline management. It is also studied as a branch
of study that teaches management of airport and airlines. This provides a broad overview of
the airline industry and creates awareness of the underlying marketing, financial, operational,
and other factors influencing airline management. This study provides information on airline
commercial and operational priorities, along with teaching the key characteristics of aircraft
selection and the impact of airport decision making. It provides some amount of automation in
airlines management and helps airline system in making their business more efficient. An
added attraction for their potential customers. It will also show the attitude of the management
that they are aware to the newly introduced technology and ready to adopt them.
1.1Problem Definition
This project on Flight Management System is the automation of registration process of airline
system. The system is able to provide much information like passenger’s details, flight details
and the booking details. The system allows us to add records when a passenger reserves a ticket.
It also allows to delete and update the records based on passenger’s requirements. For data
storage and retrieval we use the MySQL database. It enables us to add any number of records
in our database from the frontend which is Java core. Any changes made in the frontend will
be reflected at the backend.
1.2 Need
Electronically handling of flight’s record to enhance the accuracy, flexibility, reliability and to
remove the human’s error. An airline provides air transport services for passengers, generally
with a recognize operating. To provide accurate information about the addition, deletion and
modified record. To provide, efficient, accurate, reliable, fast, and robust structure that can
handle any number of records. The global airline industry continues to grow rapidly, but
consistent and robust profitability is elusive. Measured by revenue, the industry has doubled
over the past decade, from US$369 billion in 2004 to a projected $746 billion in 2014,
according to the International Air Transport Association(IATA).Much of that growth has been
driven by low-cost carriers(LCCs), which now control some 25 percent of the worldwide
market and which have been expanding rapidly in emerging markets; growth also came from
continued gains by carriers in developed markets, the IATA reported. Yet profit margins are
still low, less than 3 percent overall. In the commercial aviation sector, just about every group
in the aviation industry chain—airports, airplane manufacturers, jet engine makers, travel
agents, and service companies, to name a few—turns a profit. It is seemingly ironic that the
airline companies that actually move passengers from one place to another, the most crucial
link in the chain, struggle to make a profit.
A few factors that directs us to develop a new system are given below -:
1) Faster System
2) Accuracy
3) Reliability
4) Informative
5) Reservations and cancellations from any where to any place
CHAPTER 2
REQUIREMENTS
Computer Processor Core i3 Processor Speed 2.3 GHz Processor Hard Disk 400 GB or more
RAM Min 2GB
CHAPTER 3
ENTITY RELATIONSHIP DIAGRAM
SCHEMA DIAGRAM
4.1 SCHEMA DIAGRAM
A database schema is the skeleton structure that represents the logical view of the entire
database. A database schema defines its entities and the relationship among them. It contains a
descriptive detail of the database, which can be depicted by means of schema diagrams. It
defines how the data is organized and how the relations among them are associated. It
formulates all the constraints that are to be applied on the data.
A database schema defines its entities and the relationship among them. It contains a
descriptive detail of the database, which can be depicted by means of schema diagrams. It’s
the database designers who design the schema to help programmers understand the database
and make it useful.
● Physical Database Schema − This schema pertains to the actual storage of data and its
form of storage like files, indices, etc. It defines how the data will be stored in a
secondary storage.
● Logical Database Schema − This schema defines all the logical constraints that need to
be applied on the data stored. It defines tables, views, and integrity constraints.
CHAPTER 5
IMPLEMENTATION
5.1 Backend Implementation
MYSQL
Table cancellation:
Table flight:
create table flight(f_code varchar(10), f_name varchar(20), src varchar(30), dst varchar(30));
Table login:
Table passenger:
Table payment:
Table sector:
Java Core
Core Java is the part of Java programming language that is used for creating or developing a
general-purpose application. It uses only one tier architecture that is why it is called as ‘stand
alone’ application.Core java programming covers the swings, socket, awt, thread concept,
collection object and classess.
Swings
Swing is a GUI widget toolkit for Java. It is part of Oracle's Java Foundation Classes (JFC) –
an API for providing a graphical user interface (GUI) for Java programs.
Swing provides a look and feel that emulates the look and feel of several platforms, and also
supports a pluggable look and feel that allows applications to have a look and feel unrelated to
the underlying platform. It has more powerful and flexible components than AWT. In addition
to familiar components such as buttons, check boxes and labels, Swing provides several
advanced components such as tabbed panel, scroll panes, trees, tables, and lists.
5.3 Creating mainframe class
package airline.management.system;
import net.proteanit.sql.DbUtils;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
new Mainframe().setVisible(true);
public Mainframe() {
initialize();
setForeground(Color.CYAN);
setLayout(null);
NewLabel.setIcon(new
ImageIcon(ClassLoader.getSystemResource("airline/management/system/icon/front.jpg")));
add(NewLabel);
AirlineManagementSystem.setForeground(Color.BLUE);
NewLabel.add(AirlineManagementSystem);
setJMenuBar(menuBar);
AirlineSystem.setForeground(Color.BLUE);
menuBar.add(AirlineSystem);
AirlineSystem.add(FlightDetails);
AirlineSystem.add(ReservationDetails);
AirlineSystem.add(PassengerDetails);
AirlineSystem.add(SectorDetails_1);
AirlineSystem.add(Cancellation);
Ticket.setForeground(Color.RED);
menuBar.add(Ticket);
List.setForeground(Color.BLUE);
menuBar.add(List);
JMenu Misc = new JMenu("MISC");
Misc.setForeground(Color.RED);
menuBar.add(Misc);
FlightDetails.addActionListener(new ActionListener(){
new Flight_Info();
});
ReservationDetails.addActionListener(new ActionListener(){
try {
new Add_Customer();
} catch (Exception e) {
e.printStackTrace();
});
PassengerDetails.addActionListener(new ActionListener(){
try {
new Journey_Details();
} catch (Exception e) {
e.printStackTrace();
}
}
});
SectorDetails_1.addActionListener(new ActionListener(){
try {
new Payment_Details();
} catch (Exception e) {
e.printStackTrace();
});
Cancellation.addActionListener(new ActionListener(){
new Cancel();
});
setSize(1950,1090);
setVisible(true);
}
CHAPTER 6
SNAPSHOTS
This project Airlink is the automation of registration process of airline system. The system is
able to provide much information like passenger’s details, flight details and the booking details.
The system allows us to add records when a passenger reserves a ticket. It also allows to delete
and update the records based on passenger’s requirements. This project has guided our path
through various aspects of computer science where developing online application plays a major
role.
REFERENCES
[1] https://developers.openshift.com/database/mysql.html