Вы находитесь на странице: 1из 110

Project report-Air Ticket Reservation System

AIR TICKET
RESERVATION SYSTEM.

Submitted By:
ANIL KUMAR
DOEACC ‘B’ LEVEL PROJECT (PR I)
Registration no: 545482

-1-
Project report-Air Ticket Reservation System

INDEX

S.NO CONTENT PAGE NO.


1. INTRODUCTION 5
Acknowledgement
Synopsis
Covering Letter
Objective
Need of the System
Demerits of manual system
General merit of computerised system

2. DESIGN OF THE SYSTEM 13


Hardware And Software used
Methodology
Parts of the System
Block Diagram 17
Pert Chart 19

3. IMPLEMENTATION AND 21
CODING
Analysis
Data flow diagram 27

-2-
Project report-Air Ticket Reservation System

Data Dictionary 29
Project Development life Cycle

4. DATABASE 90
Flights
Ticket

5. TESTING

6. BIBLOGRAPHY 95

7. CONCLUSION 100

8. LIMITATIONS 102

9. FUTURE REFERENCE 103


10. REFERENCE 104

-3-
Project report-Air Ticket Reservation System

AIR TICKET RESERVATION SYSTEM

SUBMITTED BY:
ANIL KUMAR

Registration no: 545482

DATE OF SUBBMISSION:

Under the guidance of Ms. MONIKA ARORA

Submitted in the partial fulfillment of the requirement for


qualifying DOEACC ‘B’ level.

Name & Address of the institute:

JAGAN INSTITUTE OF MANAGEMENT STUDIES


Plot No.2, P.P.Tower, Sector-3, Rohini
(Near Police Station)
Delhi-110085

-4-
Project report-Air Ticket Reservation System

-5-
Project report-Air Ticket Reservation System

ACKNOWLEDGEMENT

I express my sincere gratitude and thanks to Ms.Monika Arora(java


faculty),Ms Manjot(DBMS Faculty) for providing me the excellent
opportunity to do a project on air ticket reservation system and
providing me with all the essential elements required for the
completion and enhancement of this project.

I am also grateful to Mr.NIRMAL SINGH(I.B.M) for his expert


guidance and coopletion in making my project a learning
and worthwhile experience.

I would like to thanks those respondents who have taken pain in


successful completion of my project work.

-6-
Project report-Air Ticket Reservation System

PERFORMA FOR SUBMISSION OF STUDENTS


PROJECT PROPOSAL / SYNOPSIS
(Project’s Title and guide Detail)
Regn No: 545482

JAGAN INSTITUTE OF MANAGEMENT STUDIES


Plot No.2, P.P.Tower, Sector –3 ,Rohini
(Near Police Station),
DELHI –110085

1. Name & Address of the student:

ANIL KUMAR
B-5, SECTOR-5,
HOUSE NO.-185, ROHINI,
NEW DELHI-110 085.

2. Title of Project:
“AIR TICKET RESERVATION SYSTEM”

3. Name & address of the guide:

Ms. MONIKA ARORA

4. Qualification of the guide:

MIT,PG,dip in Personnel Management,Pursuing Mtech.(IT)

5. Working / teaching experience of guide(in years):3

Signature of the guide

Date:

-7-
Project report-Air Ticket Reservation System

PERFORMA OF COVERING LETTER TO THE PROJECT


REPORT

Executive Director,
DOEACC Society,
6,CGO Complex
Lodhi Road
New Delhi – 110003

Sir,

I am submitting my ‘B’ level minor project for evaluation.Details of my


Registration and postal address,etc is as under:

Regn no: 545482

Level: ‘B’

Name: ANIL KUMAR

Father’s Name: Mr. PURAN CHAND

Address:
(a) Residential Address: B-5, SECTOR-5,
HOUSE NO.-185,
ROHINI,
NEW DELHI-110 085.

Tele no: 91-9811914950

E-mail Address : anil_panokhar@yahoo.co.in

-8-
Project report-Air Ticket Reservation System

OBJECTIVE

This software will be provided as a tool to the ABC.LTD


Company. The organization has been working as reserving tickets for
flights for many years. Presently the company maintains files, folders
and records for reservation and cancellation related details of
customers.

To search for urgently required information about the seats available,


an employee has to take all the related files and folder out of the
shelves and need each page to be checked, still there are no chance of
100% accuracy.
Doing all this manually is a time consuming and error prone
approach.

The objective is to prepare a system or application, which could


maintain data and provide a user-friendly interface for retrieving
information about availability of the ticket or not in a few seconds,
with 100% accuracy.

-9-
Project report-Air Ticket Reservation System

NEED FOR THE SYSTEM

When I joined ABC.LTD, the reservation and cancellation


department was facing a problem.
The problem was to check the availability of the ticket for
reservation, cancellation. Searching manually is a time
consuming if the number of reservation or cancellation of
ticket is large.

The problem could be solved in two steps:-

1) Maintaining database for customer’s:- this includes to search that which


seat is available for which customer.
2) Providing a user-friendly interface:-to navigate through those database.

Thus the working application needed to be developed in just 4 weeks.


The application is named as” Air Ticket reservation System”.

Considering all requirements and time restriction, JAVA is the best answer to
the above problem.

- 10 -
Project report-Air Ticket Reservation System

DEMERITS OF THE MANUAL OR NON-


COMPUTERISED SYSTEM

• It is time consuming.

• It requires dedicated employee thus it is an indirect wastage of


resources.

• It is prone to errors.

• The excessive use of paper work results in increased paper cost.

• Inefficient working as it needs more labors than an electronic system.

• No use of newly developing IT Technologies.

- 11 -
Project report-Air Ticket Reservation System

GENERAL MERITS OF COMPUTERISED


SYSTEM
• The user can explore the options given by s/w.

• Retrieval of information can be done very fast using this s/w.

• It also avoids a dedicated employee engaged in data management.

• Provides a base to increase company sales.

• Provides high level of user satisfaction and comfort.

• Consolidated reports to the management, which would help it take timely


decision.

• No paper work is required.

• Change can be implemented easily.

- 12 -
Project report-Air Ticket Reservation System

- 13 -
Project report-Air Ticket Reservation System

HARDWARE USED

Processor : Pentium III


RAM : 128 MB
Hard Disk : 10GB
Other : Printer

SOFTWARE USED

For Front-End
JAVA

For Back-end
MS Access

For connectivity
JAVA

- 14 -
Project report-Air Ticket Reservation System

METHODOLOGY
Project is proceeded according to the steps of SDLC(Software Development Life
Cycle) that is in seven phases which include the following:-

1) Requirement Analysis::All the companies requirements are analyzed


using verbal or written questionnaires.

2) High-Level Design::The purpose of this phase is to design the overall


functioning of the proposed system and finalize
the input and output format.

3) Low-Level Design:: The purpose is to produce a detailed design of the


Software modules/units.

4) Construction:: Actual ciding will be done in this phase.

5) Testing:: In this phase module level testing is performed


with mock values.

6) Acceptance:: At this time the software is actually provided to the


company and checking it according to need.

7) Warranty and Maintainance ::After sale services.

- 15 -
Project report-Air Ticket Reservation System

PARTS OF THE SYSTEM

The application has three parts:-


Front-end
Back-end
Connectivity
When we use JAVA as s/w development tool, connectivity code is written as apart
of front-end code itself.

FRONT-END
It has been coded so as to provide maximum user friendliness and
ease. Stress is laid on the point that the user should enter as type as minimum as
possible. Most of the work is done in few clicks. From each page, jumps to the
other pages are provided.

These event-linked functions contain connection string (which connects front-end


with applications) and queries, which are executed when the corresponding event
occurs.

BACK-END
Database is designed using Ms Access.Our database is “Flight”
“Ticket” required for this application, which contains all flight and ticket
related data.

All tables are normalized and have redundant or unwanted records.

CONNECTIVITY
A connection string is used to connect the queries written in front-end
codes with the database.
Provider used—sun.jdbc.odbc.JdbcOdbcDriver()
Driver used—Microsoft Access Driver (*mdb).

- 16 -
Project report-Air Ticket Reservation System

- 17 -
Project report-Air Ticket Reservation System

BLOCK DIAGRAM

AIR RESERVATION SYSTEM

MASTER TRANSACTION REPORTS EXIT

ALL FLIGHTS

ADD MODIFY DELETE CANCLE RESERV. CANCLE ALL FLIGHT ALL TICKET YES NO

- 18 -
Project report-Air Ticket Reservation System

- 19 -
Project report-Air Ticket Reservation System

PERT CHART

Activity Time
Preliminary Investigation 6 days
Feasibility Study 2 days
System Analysis 3 days
Development of Prototype 6 days
System Design 4 days
Coding 6 days
System Testing 3 days
Implementation & Evaluation 3 days
Maintenance Whole life
Total Days 33 days

- 20 -
Project report-Air Ticket Reservation System

- 21 -
Project report-Air Ticket Reservation System

ANALYSIS

Analysis can be referred to as study of a problem and its division

into smaller modules so as to solve particular problem.

A complete understanding of software requirements is necessary

to help the new software being developed succeed. No matter

how well designed or well coded, a poorly analyzed and

specified program will disappoint the user and will also be a

burden to the developer.

At this stage comes Requirement analysis that is a process of

discovery, refinement, modeling and specification. Models of

the required data, information and control flow are created. It

bridges together the gap between system-level software

allocation and software design.

- 22 -
Project report-Air Ticket Reservation System

Software Requirement Analysis is divided into the


following area-

1. Initial Investigation (Problem recognition)

The first step of the development of system is


the need of a new system. This might be a user request to change,
improve or enhance an existing system. This step
Determine whether the request is valid and feasible or not before
improving or modifying the current system or build a new one.

2.Determining the user’s Information Requirement (Evaluation &


Synthesis).

At this stage, the user’s requirements are determined with the help of
prototyping, asking question and obtaining information from the
existing system.

3.Problem Definition & Project Initiation.

Once the problem is clearly determined, the problem is defined in


terms as to what is required, how etc.

4.Background Analysis.

Once the project is initiated, the analyst begins to learn about the
setting, the existing system and the physical

- 23 -
Project report-Air Ticket Reservation System
processes related to the revised system. All the background information is
collected and thoroughly studied.

After obtaining background knowledge, the analyst begins to collect data


on the exiting system, output, input and costs with the help of written
documents, on site observations, interviews and questionnaires.

5. Fact Analysis

After gathering data, they must be organized and evaluated and


conclusions drawn for preparing a report to the users for final review
and approval. At this stage, some tools are used i.e. data flow diagrams,
decision tables, structure charts etc.

- 24 -
Project report-Air Ticket Reservation System

In this project we have done the following analysis –

1. Initial Investigation

We saw that there were very few sites that could


Give complete information about air reservation
system to the users. Also there was a need to
automate the entire system

2. Determination of user Requirements

We contacted a number of people about this


Project who0 agreed with the idea that this system
will help a lot many people rather that entire nation.

3. Problem definition & project initiation.

Problem definition is an initial investigation, which


defines the problem that led to the user request. It states the
objectives the user is trying to achieve and the user wants to see.
It gives more stress on logical requirements than the physical
requirements.

The main objective of the “DISCUSSION BOX” is to organize


and give the user complete and appropriate

- 25 -
Project report-Air Ticket Reservation System

information about his currency. The records are automatically


updated in the master file when any transaction takes place.

4. Background Analysis:-

All the existing details were collected from the respective


experts.

5. Fact Analysis:-

All the data and information collected was organized to


show how information flows and at what stage, exactly what
happens? For this we tired to explain this with the help of Data
Flow Diagrams.

- 26 -
Project report-Air Ticket Reservation System

- 27 -
Project report-Air Ticket Reservation System

DFD ON THE TICKET DETAILS

TICKET DETAILS ADD TICKET RECORDS


RECORD
S

LEVEL 0 DFD

DFD ON CUSTOMER DETAILS

CUSTOMER DETAILS RESERVATION/ CUSTOMER


CANCELLSTION RECORDS

LEVEL 0 DFD

- 28 -
Project report-Air Ticket Reservation System

- 29 -
Project report-Air Ticket Reservation System

DATA DICTIONARY

DATATYPE DESCRIPTION
Set Title For giving the name to the window
Set Text For writing the text

MenuBar Mb, for creating the menu bar

Menu Mn1, mn2, mn3, mn4

Menu Item Mi 11,mi 12,mi 31,mi 32, mi 33, mi 41, mi 42

Connection Cn, for creating a connection between database

Statement St, for giving statement

ResultSet Rs,

Text Field Txt1, txt2, txt3, txt4

Text Area Txt a, txt b

Button Bt1, bt2, bt3, bt4, bt5, bt6

Label Lb1, lb2, lb3, lb4, lb5, lb6, lb7, lb8, lb9, sp1, sp2, sp3, sp4

GridBagLayout Gl

St.executeQuery For execute the given query

String Str

Str.trim For making changes in the string

Str.Length For defining the length of the string

Alltickets For tickets database

Set size For defining the size of the window

- 30 -
Project report-Air Ticket Reservation System
Set Visible For defining the visibility

Fcode For the code of the flight

- 31 -
Project report-Air Ticket Reservation System

PROJECT DEVELOPMENT LIFE CYCLE

The computer application development life cycle can be thought of six


main steps, which are: -

1. System project selection

2. Feasibility phase

3. Definition phase

4. Design phase

5. Implementation phase

6. Maintenance phase

- 32 -
Project report-Air Ticket Reservation System

- 33 -
Project report-Air Ticket Reservation System

import java.sql.*;
import java.awt.*;
import java.awt.event.*;
class air extends Frame implements ActionListener
{
air()
{
MenuBar mb;
Menu mn1,mn2,mn3,mn4;
MenuItem
mi11,mi12,mi21,mi31,mi32,mi33,mi41,mi42;
setTitle("Air Reservation System");
addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
});
mb=new MenuBar();

- 34 -
Project report-Air Ticket Reservation System

setMenuBar(mb);
mn1=new Menu("Masters");
mn2=new Menu("Transaction");
mn3=new Menu("Reports");
mn4=new Menu("Exit");
mb.add(mn1);
mb.add(mn2);
mb.add(mn3);
mb.add(mn4);
mi11=new MenuItem("Flight");
mi21=new
MenuItem("Reservation/Cancelation Ticket");
mi31=new MenuItem("All Flights");
mi32=new MenuItem("All Tickets");
mi41=new MenuItem("Yes");
mi42=new MenuItem("No");
mn1.add(mi11);
mn2.add(mi21);
mn3.add(mi31);
mn3.add(mi32);
mn4.add(mi41);
mn4.add(mi42);

- 35 -
Project report-Air Ticket Reservation System

mi11.addActionListener(this);
mi21.addActionListener(this);
mi31.addActionListener(this);
mi32.addActionListener(this);
mi41.addActionListener(new Exit());
}
class Exit implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
System.exit(0);
}
}
public void actionPerformed(ActionEvent e)
{
if(((MenuItem)
(e.getSource())).getLabel()=="Flight")
{
new flight();
}

- 36 -
Project report-Air Ticket Reservation System

else if(((MenuItem)
(e.getSource())).getLabel()=="Reservation/Cancelat
ion Ticket")
{
new ticket();
}
else if(((MenuItem)
(e.getSource())).getLabel()=="All Flights")
{
new allflight();
}
else if(((MenuItem)
(e.getSource())).getLabel()=="All Tickets")
{
new allticket();
}
}
public static void main(String args[])
{
try

{
- 37 -
Project report-Air Ticket Reservation System

DriverManager.registerDriver(new
sun.jdbc.odbc.JdbcOdbcDriver());
}
catch(Exception e)
{
}
air ar=new air();
ar.setSize(800,600);
ar.setVisible(true);
}
}

class flight extends Frame


{
Connection cn;
Statement st;
ResultSet rs;
String flag,code;
TextField txt1,txt2,txt3;
TextArea txta;

Button bt1,bt2,bt3,bt4,bt5,bt6;
- 38 -
Project report-Air Ticket Reservation System

Label lb1,lb2,lb3,lb5,sp1,sp2,sp3,sp4;
GridBagLayout gl;
GridBagConstraints gbc;
flight()
{
setTitle("Flight Master");
addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
dispose();
}
});
try
{
cn=DriverManager.getConnection("jdbc:odbc:ai
r");
st=cn.createStatement();
}
catch(Exception e)
{

}
- 39 -
Project report-Air Ticket Reservation System

gl=new GridBagLayout();
gbc=new GridBagConstraints();
setLayout(gl);
lb1=new Label("Enter Flight Code ");
txt1=new TextField(3);
lb2=new Label("Enter Flight Route ");
txt2=new TextField(30);
lb3=new Label("Enter Flight Fare ");
txt3=new TextField(10);
lb5=new Label("Message");
txta=new TextArea(2,30);
sp1=new Label(" ");
sp2=new Label(" ");
sp3=new Label(" ");
sp4=new Label(" ");
bt1=new Button("Add");
bt2=new Button("Modify");
bt3=new Button("Delete");
bt4=new Button("Save");
bt5=new Button("Cancel");
bt6=new Button("Close");

gbc.anchor=GridBagConstraints.NORTHWEST;
- 40 -
Project report-Air Ticket Reservation System

gbc.gridx=0;
gbc.gridy=0;
gl.setConstraints(lb1,gbc);
add(lb1,gbc);
gbc.gridx=1;
gbc.gridy=0;
gl.setConstraints(txt1,gbc);
add(txt1,gbc);
gbc.gridx=0;
gbc.gridy=1;
gl.setConstraints(lb2,gbc);
add(lb2,gbc);
gbc.gridx=1;
gbc.gridy=1;
gl.setConstraints(txt2,gbc);
add(txt2,gbc);
gbc.gridx=0;
gbc.gridy=2;
gl.setConstraints(lb3,gbc);
add(lb3,gbc);

gbc.gridx=1;
- 41 -
Project report-Air Ticket Reservation System

gbc.gridy=2;
gl.setConstraints(txt3,gbc);
add(txt3,gbc);
gbc.gridx=0;
gbc.gridy=3;
gl.setConstraints(sp1,gbc);
add(sp1,gbc);
gbc.gridx=1;
gbc.gridy=3;
gl.setConstraints(sp2,gbc);
add(sp2,gbc);
gbc.gridx=0;
gbc.gridy=4;
gl.setConstraints(bt1,gbc);
add(bt1,gbc);
gbc.gridx=1;
gbc.gridy=4;
gl.setConstraints(bt2,gbc);
add(bt2,gbc);
gbc.gridx=0;
gbc.gridy=5;

gl.setConstraints(bt3,gbc);
- 42 -
Project report-Air Ticket Reservation System

add(bt3,gbc);
gbc.gridx=1;
gbc.gridy=5;
gl.setConstraints(bt4,gbc);
add(bt4,gbc);
gbc.gridx=0;
gbc.gridy=6;
gl.setConstraints(bt5,gbc);
add(bt5,gbc);
gbc.gridx=1;
gbc.gridy=6;
gl.setConstraints(bt6,gbc);
add(bt6,gbc);
gbc.gridx=0;
gbc.gridy=7;
gl.setConstraints(sp3,gbc);
add(sp3,gbc);
gbc.gridx=1;
gbc.gridy=7;
gl.setConstraints(sp4,gbc);
add(sp4,gbc);

gbc.gridx=0;
- 43 -
Project report-Air Ticket Reservation System

gbc.gridy=8;
gl.setConstraints(lb5,gbc);
add(lb5,gbc);
gbc.gridx=1;
gbc.gridy=8;
gl.setConstraints(txta,gbc);
add(txta,gbc);
txta.setEditable(false);
bt1.addActionListener(new BT1());
bt2.addActionListener(new BT2());
bt3.addActionListener(new BT3());
bt4.addActionListener(new BT4());
bt5.addActionListener(new BT5());
bt6.addActionListener(new BT6());
setSize(400,300);
setVisible(true);
}
class BT1 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{

flag="add";
- 44 -
Project report-Air Ticket Reservation System

try
{
rs=st.executeQuery("Select * from flight
where code='" + txt1.getText() + "'");
if(rs.next()==true)
{
txta.setText("Flight Code Allready Exists.");
txt1.requestFocus();
return;
}
else
{
st.executeUpdate("insert into flight values('"
+ txt1.getText() + "','" + txt2.getText() + "'," +
Double.parseDouble(txt3.getText()) + ")");
txt1.setText("");
txt2.setText("");
txt3.setText("");
txta.setText("");

txt1.requestFocus();
- 45 -
Project report-Air Ticket Reservation System

}
}
catch(Exception e1)
{
}

txt1.setText("");
txt2.setText("");
txt3.setText("");
txta.setText("");
txt1.requestFocus();
}
}
class BT2 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
flag="mod";
String str=txt1.getText();
str=str.trim();
if(str.length()<1 || str.length()>3)

{
- 46 -
Project report-Air Ticket Reservation System

txta.setText("First Enter Flight Code And Must


Be Length Of 1 To 3 Character.");
txt1.requestFocus();
return;
}
try
{
rs=st.executeQuery("Select * from flight where
code='" + txt1.getText() + "'");
if(rs.next()==false)
{
txta.setText("Flight Code Not Found.");
txt1.requestFocus();
}
rs=st.executeQuery("Select * from ticket
where fcode='" + txt1.getText() + "'");
if(rs.next()==true)
{
txta.setText("Flight Code Is In Use.");
txt1.requestFocus();
return;

}
- 47 -
Project report-Air Ticket Reservation System

else
{
rs=st.executeQuery("Select * from flight
where code='" + txt1.getText() + "'");
rs.next();
txt1.setText(rs.getString(1));
txt2.setText(rs.getString(2));
txt3.setText(Double.toString(rs.getDouble(3))
);
txta.setText("");
txt1.requestFocus();
code=txt1.getText();
}
}
catch(Exception e1)
{
}
}
}
class BT3 implements ActionListener
{

public void actionPerformed(ActionEvent e)


- 48 -
Project report-Air Ticket Reservation System

{
flag="del";
String str=txt1.getText();
str=str.trim();
if(str.length()<1 || str.length()>3)
{
txta.setText("First Enter Flight Code And Must
Be Length Of 1 To 3 Character.");
txt1.requestFocus();
return;
}
try
{
rs=st.executeQuery("Select * from flight where
code='" + txt1.getText() + "'");
if(rs.next()==false)
{
txta.setText("Flight Code Not Found.");
txt1.requestFocus();
}

- 49 -
Project report-Air Ticket Reservation System

rs=st.executeQuery("Select * from ticket where


fcode='" + txt1.getText() + "'");
if(rs.next()==true)
{
txta.setText("Flight Code Is In Use.");
txt1.requestFocus();
return;
}
else
{
rs=st.executeQuery("Select * from flight
where code='" + txt1.getText() + "'");
rs.next();
txt1.setText(rs.getString(1));
txt2.setText(rs.getString(2));
txt3.setText(Double.toString(rs.getDouble(3))
);
txta.setText("");
txt1.requestFocus();
code=txt1.getText();
}
}

- 50 -
Project report-Air Ticket Reservation System

catch(Exception e1)
{
}
}
}
class BT4 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
String str=txt1.getText();
str=str.trim();
if(str.length()<1 || str.length()>3)
{
txta.setText("Flight Code Must Be Length Of 1
To 3 Character.");
txt1.requestFocus();
return;
}
str=txt2.getText();
str=str.trim();
if(str.length()<1 || str.length()>30)
{

- 51 -
Project report-Air Ticket Reservation System

txta.setText("Flight Route Must Be Length Of 1


To 30 Character.");
txt2.requestFocus();
return;
}
str=txt3.getText();
str=str.trim();
if(str.length()<1 || str.length()>10)
{
txta.setText("Flight Fare Must Be Length Of 1
To 30 Character.");
txt3.requestFocus();
return;
}
try
{
if(Double.parseDouble(str)<1)
{
txta.setText("Flight Fare Must Be Numeric
And > 1.");
txt3.requestFocus();
return;

}
- 52 -
Project report-Air Ticket Reservation System

}
catch(Exception e2)
{
txta.setText("Flight Fare Must Be Numeric
And > 1.");
txt3.requestFocus();
return;
}
if(flag=="add")
{
try
{
rs=st.executeQuery("Select * from flight
where code='" + txt1.getText() + "'");
if(rs.next()==true)
{
txta.setText("Flight Code Allready Exists.");
txt1.requestFocus();
return;
}
else

- 53 -
Project report-Air Ticket Reservation System

{
st.executeUpdate("insert into flight values('"
+ txt1.getText() + "','" + txt2.getText() + "'," +
Double.parseDouble(txt3.getText()) + ")");
txt1.setText("");
txt2.setText("");
txt3.setText("");
txta.setText("");
txt1.requestFocus();
}
}
catch(Exception e1)
{
}
}
else if(flag=="mod")
{
try
{
rs=st.executeQuery("Select * from ticket
where fcode='" + code + "'");

- 54 -
Project report-Air Ticket Reservation System

if(rs.next()==true)
{
txta.setText("Flight Code Is In Use.");
txt1.requestFocus();
return;
}
rs=st.executeQuery("Select * from flight
where code='" + txt1.getText() + "'");
if(rs.next()==true)
{
if(code.compareToIgnoreCase(rs.getString(1
))!=0)
{
txta.setText("Flight Code Allready
Exists.");
txt1.requestFocus();
return;
}
else
{

- 55 -
Project report-Air Ticket Reservation System

st.executeUpdate("delete * from flight where


code='" + code + "'");
st.executeUpdate("insert into flight
values('" + txt1.getText() + "','" + txt2.getText() +
"'," + Double.parseDouble(txt3.getText()) + ")");
txt1.setText("");
txt2.setText("");
txt3.setText("");
txta.setText("");
txt1.requestFocus();
code="";
}
}
else
{
st.executeUpdate("delete * from flight
where code='" + code + "'");
st.executeUpdate("insert into flight values('"
+ txt1.getText() + "','" + txt2.getText() + "'," +
Double.parseDouble(txt3.getText()) + ")");
txt1.setText("");

txt2.setText("");
- 56 -
Project report-Air Ticket Reservation System

txt3.setText("");
txta.setText("");
txt1.requestFocus();
code="";
}
}
catch(Exception e1)
{
}
}
else if(flag=="del")
{
try
{
rs=st.executeQuery("Select * from ticket
where fcode='" + code + "'");
if(rs.next()==true)
{
txta.setText("Flight Code Is In Use.");
txt1.requestFocus();
return;

}
- 57 -
Project report-Air Ticket Reservation System

rs=st.executeQuery("Select * from flight


where code='" + txt1.getText() + "'");
if(rs.next()==false)
{
txta.setText("Flight Code Not Found.");
txt1.requestFocus();
return;
}
else
{
st.executeUpdate("delete * from flight
where code='" + code + "'");
txt1.setText("");
txt2.setText("");
txt3.setText("");
txta.setText("");
txt1.requestFocus();
}
}
catch(Exception e1)
{

- 58 -
Project report-Air Ticket Reservation System

}
}
}
}
class BT5 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
flag="";
txt1.setText("");
txt2.setText("");
txt3.setText("");
txta.setText("");
txt1.requestFocus();
code="";
}
}
class BT6 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
dispose();

- 59 -
Project report-Air Ticket Reservation System

}
}
}

class ticket extends Frame


{
Connection cn;
Statement st;
ResultSet rs;
String flag,code,fare;
TextField txt1,txt2,txt3,txt4,txt5,txt6,txt7;
TextArea txta,txtb;
Button bt1,bt2,bt3,bt4,bt5,bt6;
Label
lb1,lb2,lb3,lb4,lb5,lb6,lb7,lb8,lb9,sp1,sp2,sp3,sp4;
GridBagLayout gl;
GridBagConstraints gbc;
ticket()
{
setTitle("Ticket Master");
addWindowListener(new WindowAdapter()

{
- 60 -
Project report-Air Ticket Reservation System

public void windowClosing(WindowEvent e)


{
dispose();
}
});
try
{
cn=DriverManager.getConnection("jdbc:odbc:ai
r");
st=cn.createStatement();
}
catch(Exception e)
{
}
gl=new GridBagLayout();
gbc=new GridBagConstraints();
setLayout(gl);
lb1=new Label("Enter Ticket No. ");
txt1=new TextField(5);
lb2=new Label("Enter Flight Code ");

- 61 -
Project report-Air Ticket Reservation System

txt2=new TextField(3);
lb3=new Label("Enter Passanger Name ");
txt3=new TextField(20);
lb4=new Label("Enter Others Details ");
txtb=new TextArea(2,50);
lb6=new Label("Enter No. Of Seats ");
txt4=new TextField(2);
lb7=new Label("Enter Passanger Address ");
txt5=new TextField(30);
lb8=new Label("Enter Passanger Phone ");
txt6=new TextField(10);
lb9=new Label("Total Fare ");
txt7=new TextField(10);
lb5=new Label("Message");
txta=new TextArea(2,30);
sp1=new Label(" ");
sp2=new Label(" ");
sp3=new Label(" ");
sp4=new Label(" ");
bt1=new Button("Reservation");
bt2=new Button("Modification");

bt3=new Button("Cancelation");
- 62 -
Project report-Air Ticket Reservation System

bt4=new Button("Save");
bt5=new Button("Cancel");
bt6=new Button("Close");
gbc.anchor=GridBagConstraints.NORTHWEST;
gbc.gridx=0;
gbc.gridy=0;
gl.setConstraints(lb1,gbc);
add(lb1,gbc);
gbc.gridx=1;
gbc.gridy=0;
gl.setConstraints(txt1,gbc);
add(txt1,gbc);
gbc.gridx=0;
gbc.gridy=1;
gl.setConstraints(lb2,gbc);
add(lb2,gbc);
gbc.gridx=1;
gbc.gridy=1;
gl.setConstraints(txt2,gbc);
add(txt2,gbc);
gbc.gridx=0;
gbc.gridy=2;

- 63 -
Project report-Air Ticket Reservation System

gl.setConstraints(lb3,gbc);
add(lb3,gbc);
gbc.gridx=1;
gbc.gridy=2;
gl.setConstraints(txt3,gbc);
add(txt3,gbc);
gbc.gridx=0;
gbc.gridy=3;
gl.setConstraints(lb4,gbc);
add(lb4,gbc);
gbc.gridx=1;
gbc.gridy=3;
gl.setConstraints(txtb,gbc);
add(txtb,gbc);
gbc.gridx=0;
gbc.gridy=4;
gl.setConstraints(lb6,gbc);
add(lb6,gbc);
gbc.gridx=1;

gbc.gridy=4;

- 64 -
Project report-Air Ticket Reservation System

gl.setConstraints(txt4,gbc);
add(txt4,gbc);
gbc.gridx=0;
gbc.gridy=5;
gl.setConstraints(lb7,gbc);
add(lb7,gbc);
gbc.gridx=1;
gbc.gridy=5;
gl.setConstraints(txt5,gbc);
add(txt5,gbc);
gbc.gridx=0;
gbc.gridy=6;
gl.setConstraints(lb8,gbc);
add(lb8,gbc);
gbc.gridx=1;
gbc.gridy=6;
gl.setConstraints(txt6,gbc);
add(txt6,gbc);
gbc.gridx=0;
gbc.gridy=7;
gl.setConstraints(lb9,gbc);

add(lb9,gbc);
- 65 -
Project report-Air Ticket Reservation System

gbc.gridx=1;
gbc.gridy=7;
gl.setConstraints(txt7,gbc);
add(txt7,gbc);
gbc.gridx=0;
gbc.gridy=8;
gl.setConstraints(sp1,gbc);
add(sp1,gbc);
gbc.gridx=1;
gbc.gridy=8;
gl.setConstraints(sp2,gbc);
add(sp2,gbc);
gbc.gridx=0;
gbc.gridy=9;
gl.setConstraints(bt1,gbc);
add(bt1,gbc);
gbc.gridx=1;
gbc.gridy=9;
gl.setConstraints(bt2,gbc);
add(bt2,gbc);
gbc.gridx=0;

gbc.gridy=10;
- 66 -
Project report-Air Ticket Reservation System

gl.setConstraints(bt3,gbc);
add(bt3,gbc);
gbc.gridx=1;
gbc.gridy=10;
gl.setConstraints(bt4,gbc);
add(bt4,gbc);
gbc.gridx=0;
gbc.gridy=11;
gl.setConstraints(bt5,gbc);
add(bt5,gbc);
gbc.gridx=1;
gbc.gridy=11;
gl.setConstraints(bt6,gbc);
add(bt6,gbc);
gbc.gridx=0;
gbc.gridy=12;
gl.setConstraints(sp3,gbc);
add(sp3,gbc);
gbc.gridx=1;
gbc.gridy=12;
gl.setConstraints(sp4,gbc);

add(sp4,gbc);
- 67 -
Project report-Air Ticket Reservation System

gbc.gridx=0;
gbc.gridy=13;
gl.setConstraints(lb5,gbc);
add(lb5,gbc);
gbc.gridx=1;
gbc.gridy=13;
gl.setConstraints(txta,gbc);
add(txta,gbc);
txta.setEditable(false);
bt1.addActionListener(new BT1());
bt2.addActionListener(new BT2());
bt3.addActionListener(new BT3());
bt4.addActionListener(new BT4());
bt5.addActionListener(new BT5());
bt6.addActionListener(new BT6());
txt7.setEditable(false);
setSize(600,500);
setVisible(true);
}
class BT1 implements ActionListener
{

public void actionPerformed(ActionEvent e)


- 68 -
Project report-Air Ticket Reservation System

{
flag="add";
try
{
rs=st.executeQuery("Select max(code) as no
from ticket");
rs.next();
code=Long.toString(rs.getLong(1) + 1);
}
catch(Exception e1)
{
}
txt1.setText(code);
txt2.setText("");
txt3.setText("");
txt4.setText("");
txt5.setText("");
txt6.setText("");
txt7.setText("");
txtb.setText("");
txta.setText("");

txt1.setEditable(false);
- 69 -
Project report-Air Ticket Reservation System

txt2.requestFocus();
}
}
class BT2 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
flag="mod";
String str=txt1.getText();
str=str.trim();
if(str.length()<1 || str.length()>5)
{
txta.setText("First Enter Ticket No. And Must
Be Length Of 1 To 5 Numeric Digits.");
txt1.requestFocus();
return;
}
try
{
if(Long.parseLong(str)<1)
{

- 70 -
Project report-Air Ticket Reservation System

txta.setText("Ticket No. Must Be Numeric And >


1.");
txt1.requestFocus();
return;
}
}
catch(Exception e2)
{
txta.setText("Ticket No. Must Be Numeric
And > 1.");
txt1.requestFocus();
return;
}
try
{
rs=st.executeQuery("Select * from ticket
where code=" + txt1.getText());
if(rs.next()==false)
{
txta.setText("Ticket No. Not Found.");
txt1.requestFocus();
}

- 71 -
Project report-Air Ticket Reservation System

else

{
txt1.setText(Long.toString(rs.getLong(1)));
txt2.setText(rs.getString(2));
txt3.setText(rs.getString(3));
txtb.setText(rs.getString(4));
txt4.setText(Integer.toString(rs.getInt(5)));
txt5.setText(rs.getString(6));
txt6.setText(rs.getString(7));
txt7.setText(Double.toString(rs.getDouble(8))
);
txta.setText("");
txt1.setEditable(false);
txt2.requestFocus();
code=txt1.getText();
}
}
catch(Exception e1)
{
}
}

- 72 -
Project report-Air Ticket Reservation System

}
class BT3 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
flag="del";
String str=txt1.getText();
str=str.trim();
if(str.length()<1 || str.length()>5)
{
txta.setText("First Enter Ticket No. And Must
Be Length Of 1 To 5 Numeric Digits.");
txt1.requestFocus();
return;
}
try
{
if(Long.parseLong(str)<1)
{
txta.setText("Ticket No. Must Be Numeric
And > 1.");
txt1.requestFocus();

- 73 -
Project report-Air Ticket Reservation System

return;
}
}
catch(Exception e2)
{
txta.setText("Ticket No. Must Be Numeric
And > 1.");
txt1.requestFocus();
return;
}
try
{
rs=st.executeQuery("Select * from ticket
where code=" + txt1.getText());
if(rs.next()==false)
{
txta.setText("Ticket No. Not Found.");
txt1.requestFocus();
}
else
{
txt1.setText(Long.toString(rs.getLong(1)));

- 74 -
Project report-Air Ticket Reservation System

txt2.setText(rs.getString(2));
txt3.setText(rs.getString(3));
txtb.setText(rs.getString(4));
xt4.setText(Integer.toString(rs.getInt(5)));
txt5.setText(rs.getString(6));
txt6.setText(rs.getString(7));
txt7.setText(Double.toString(rs.getDouble(8)
));
txta.setText("");
txt1.setEditable(false);
txt2.requestFocus();
code=txt1.getText();
}
}
catch(Exception e1)
{
}
}
}
class BT4 implements ActionListener
{
public void actionPerformed(ActionEvent e)

- 75 -
Project report-Air Ticket Reservation System

{
String str;
str=txt2.getText();
str=str.trim();
if(str.length()<1 || str.length()>3)
{
txta.setText("Flight Code Must Be Length Of 1
To 3 Character.");
txt2.requestFocus();
return;
}
try
{
rs=st.executeQuery("Select fare from flight
where code='" + txt2.getText() + "'");
if(rs.next()==false)
{
txta.setText("Flight Code Not Found.");
txt2.requestFocus();
return;
}
else

- 76 -
Project report-Air Ticket Reservation System

{
fare=Double.toString(rs.getDouble(1));
}
}
catch(Exception e1)
{
}
str=txt3.getText();
str=str.trim();
if(str.length()<1 || str.length()>20)
{
txta.setText("Passanger Name Must Be Length
Of 1 To 20 Character.");
txt3.requestFocus();
return;
}
str=txtb.getText();
str=str.trim();
if(str.length()>100)
{
txta.setText("Other Details Can Be Length Of
0 To 100 Character.");

- 77 -
Project report-Air Ticket Reservation System

txtb.requestFocus();
return;
}
str=txt4.getText();
str=str.trim();
if(str.length()<1 || str.length()>2)
{
txta.setText("No. Of Seats Must Be Length Of
1 To 2 Numeric Digits.");
txt4.requestFocus();
return;
}
try
{
if(Integer.parseInt(str)<1)
{
txta.setText("No. Of Seats Must Be Numeric
And > 1.");
txt4.requestFocus();
return;
}
}

- 78 -
Project report-Air Ticket Reservation System

catch(Exception e2)
{
txta.setText("No. Of Seats Must Be Numeric
And > 1.");
txt4.requestFocus();
return;
}
str=txt5.getText();
str=str.trim();
if(str.length()<1 || str.length()>30)
{
txta.setText("Passanger Address Must Be
Length Of 1 To 30 Character.");
txt5.requestFocus();
return;
}
str=txt6.getText();
str=str.trim();
if(str.length()>10)
{
txta.setText("Passanger Phone Can Be Length
Of 0 To 10 Character.");

- 79 -
Project report-Air Ticket Reservation System

txt6.requestFocus();
return;
}
if(flag=="add") /* save after add */
{
try
{
txt7.setText(Double.toString(Double.parseDo
uble(fare)*Double.parseDouble(txt4.getText())));

st.executeUpdate("insert into ticket values(" +


Long.parseLong(txt1.getText()) + ",'" +

txt2.getText() + "','" + txt3.getText() + "','" +


txtb.getText() + "'," +

Integer.parseInt(txt4.getText()) + ",'" +
txt5.getText() + "','" + txt6.getText() + "'," +
Double.parseDouble(txt7.getText()) + ")");
txt1.setText("");
txt2.setText("");

txt3.setText("");
- 80 -
Project report-Air Ticket Reservation System

txt4.setText("");
txt5.setText("");
txt6.setText("");
txt7.setText("");
txtb.setText("");
txta.setText("");
txt1.setEditable(true);
txt1.requestFocus();
}
catch(Exception e1)
{
}
}
else if(flag=="mod") /* save after modify */
{
try
{
txt7.setText(Double.toString(Double.parseDo
uble(fare)*Double.parseDouble(txt4.getText())));

st.executeUpdate("Delete * from ticket where


code=" + Long.parseLong(txt1.getText()));

- 81 -
Project report-Air Ticket Reservation System

st.executeUpdate("insert into ticket values(" +


Long.parseLong(txt1.getText()) + ",'" +
txt2.getText() + "','" + txt3.getText() + "','" +
txtb.getText() + "'," +
Integer.parseInt(txt4.getText()) + ",'" +
txt5.getText() + "','" + txt6.getText() + "'," +
Double.parseDouble(txt7.getText()) + ")");
txt1.setText("");
txt2.setText("");
txt3.setText("");
txt4.setText("");
txt5.setText("");
txt6.setText("");
txt7.setText("");
txtb.setText("");
txta.setText("");
txt1.setEditable(true);
txt1.requestFocus();
}

catch(Exception e1)
{
}
- 82 -
Project report-Air Ticket Reservation System

}
else if(flag=="del") /* save after delete */
{
try
{
st.executeUpdate("Delete * from ticket where
code=" + Long.parseLong(txt1.getText()));
txt1.setText("");
txt2.setText("");
txt3.setText("");
txt4.setText("");
txt5.setText("");
txt6.setText("");
txt7.setText("");
txtb.setText("");
txta.setText("");
txt1.setEditable(true);

txt1.requestFocus();

}
catch(Exception e1)
- 83 -
Project report-Air Ticket Reservation System

{
}
}
}
}
class BT5 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
flag="";
txt1.setText("");
txt2.setText("");
txt3.setText("");
txt4.setText("");
txt5.setText("");
txt6.setText("");
txt7.setText("");
txtb.setText("");
txta.setText("");

txt1.setEditable(true);
txt1.requestFocus();
code="";
- 84 -
Project report-Air Ticket Reservation System

}
}
class BT6 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
dispose();
}
}
}

class allflight extends Frame


{
Connection cn;
Statement st;
ResultSet rs;
TextArea txta;
allflight()
{

setTitle("All Flights");
addWindowListener(new WindowAdapter()
{
- 85 -
Project report-Air Ticket Reservation System

public void windowClosing(WindowEvent e)


{
dispose();
}
});
txta=new TextArea(2,30);
try
{
cn=DriverManager.getConnection("jdbc:odbc:ai
r");
st=cn.createStatement();
rs=st.executeQuery("select * from flight");
txta.setText("Code Route Flight
Fare\n\n");
while(rs.next())
{

txta.append(rs.getString(1) + " " + rs.getString(2)


+ " " + Double.toString(rs.getDouble(3)) + "\n");
}
}
- 86 -
Project report-Air Ticket Reservation System

catch(Exception e)
{
}
add(txta);
setSize(400,300);
setVisible(true);
}
}

class allticket extends Frame


{
Connection cn;
Statement st;
ResultSet rs;
TextArea txta;
allticket()
{
setTitle("All Tickets");

addWindowListener(new WindowAdapter()
{
- 87 -
Project report-Air Ticket Reservation System

public void windowClosing(WindowEvent e)


{
dispose();
}
});
txta=new TextArea(2,30);
try
{
cn=DriverManager.getConnection("jdbc:odbc:ai
r");
st=cn.createStatement();
rs=st.executeQuery("select
code,fcode,name,seats,fare from ticket");
txta.setText("Ticket No. Flight Code Name
Seats Total Fare\n\n");
while(rs.next())
{

txta.append(Long.toString(rs.getLong(1)) + " "+


rs.getString(2) + " " + rs.getString(3) + " "+

- 88 -
Project report-Air Ticket Reservation System

Integer.toString(rs.getInt(4)) + " "+


Double.toString(rs.getDouble(5)) + "\n");
}
}
catch(Exception e)
{
}
add(txta);
setSize(600,500);
setVisible(true);
}
}

- 89 -
Project report-Air Ticket Reservation System

- 90 -
Project report-Air Ticket Reservation System

FLIGHT

Code Route Fare


001 Delhi to MUMBAI 7000
002 MUMBAI to BANGLORE 7000
005 BANGLORE to CHENNAI 8879
006 CHENNAI to DELHI 20040

007 DELHI to AHMEDABAD 30000

009 NEW YORK to LONDON 12000

011 LONDON to PARIS 15000

012 PARIS to SYDNEY 10000


015 TOKYO to DELHI 14000
017 SYDNEY to HAWAI 8000
020 BRAZIL to BANKOK 12000
022 COLUMBIA to JAKARTA 7500
024 KARACHI to DHAKA 8000
027 PUNE to GOA 9500
028 SHIMLA to MANALI 10000

029 KULLU to DELHI 12000

031 PUNE to BARODA 15000

032 OTAWA to OHIO 8500


034 NEW YORK to PARIS 12500
035 aus-figi 8700

- 91 -
Project report-Air Ticket Reservation System

036 france-finland 9500


037 ind-france 13000
038 france-bom 12500

040 iraq-dub 8500


041 kol-switzerland 9500

042 thailand-aus 12000

043 bom-egypt 20000

044 u.s.a-ind 12000

045 egypt-u.s.a 11500


046 del-hongkong 12570
047 greek-alaska 13500

050 u.s.a-greek 15000


052 bom-kol 4500

053 bom-sweden 12300

055 bom-canada 15000


056 canada-china 12500
057 luko-bom 5500
058 hongkong-bom 14500
059 brazil-u.s.a 12500
061 kenya-brazil 15200
062 austria-china 11200

063 china-france 15200

064 germany-ind 15600

- 92 -
Project report-Air Ticket Reservation System

065 germany-aus 12300


066 mexico-del 15520

067 chennai-del 5600


068 poland-mexico 18000

070 denmark-germany 12500


071 china-myanmar 13500
072 mauritius-greece 15750

- 93 -
Project report-Air Ticket Reservation System

TICKET
Code Fcode Name Others Seats Address Phone Fare
1 002 NARIANDER ASHISH 6 vips 23257824 42000
2 009 vibhu mishra sunil 2 DFWEQF 22911559 24000
3 001 amit goel asdhjsa 2 addfa 8948 14000
4 004 GAURAV ANKIT 5 2032 32497675 5550
5 003 AMAN VAIBHAV 1 GALI 23269153 5972
6 005 SIDDHANT TARANG 3 VCXZ 9350767675 6102
7 007 SAGAR HARSH 8 JDGC 23255654 6541
8 011 AYUISH SHOBHIT 4 LKERUF 23266548 5470
9 021 ANUJ JATIN 10 YTSX 23254678 9874
10 012 YASH ADDI 10 JGYD0 23248795 9870
11 045 RAHUL ROHIT 12 JHGD 32461216 6871
12 015 SUNIL SACHIN 7 JGXD 23259784 6879
13 019 AKSHAT SONU 7 JYFD 23252631 9456
14 08 sita gita 9 rfs 23259971 5645
15 032 pyuish sukhjeet 24 kfhkovx 2367039 6481
16 031 neha siddharth 5 abcd 23257824 7500

- 94 -
Project report-Air Ticket Reservation System

- 95 -
Project report-Air Ticket Reservation System

TESTING PHASE

Testing is the process of making sure that the programs perform the
intended tasks. Once the system is designed it should be tested for
validity. During system testing, the system is used experimentally to
insure that the software does not fail, that means it will run according
to its specification and in the way users expect it to. The system is
tested with special test data and the results are examined for their
validity. Some of the users may be permitted to operate on the system
so that the analyst can ascertain that the system can work in the
specified environment.

- 96 -
Project report-Air Ticket Reservation System

IMPLEMENTATION PHASE

The implementation phase is less creative than system design. It is


primarily concerned with user training, site preparation, and file
conversion. When the candidate system is linked to terminals or
remote sites, telecommunication network and test of the network
along with the system are also included under implementation.
During the final testing, user acceptance is tested, followed by user
training. Depending on the nature of the system, extensive user
training may be required. Conversion usually takes place about the
same time the user is being trained or late.
In the extreme, the programmer is viewed as someone who ought
to be isolated from other aspects of the system development.
Programming is itself design work, however. The initial
parameters of the candidate system should be modified as a result
of programming efforts. Programming provides a ‘reality test’ for
the assumptions made by the analyst. Therefore, it is a mistake to
exclude programmers from the initial system design.

- 97 -
Project report-Air Ticket Reservation System

MAINTENANCE PHASE

After the installation phase is completed and the user staff is


adjusted to the changes created by the candidate system, evaluation
and maintenance begin. Like any system, there is an aging process
that requires periodic maintenance of hardware and software. If new
information is inconsistent with the design specification, then
changes have to be made. Hardware also required periodic
maintenance to keep in tune with design specification. The
importance of maintenance is to continue to bring the new system to
standers.

User priorities, changes in organization requirements, or


environmental factors also call for the system enhancements. To
contrast maintenance is done with enhancement.

- 98 -
Project report-Air Ticket Reservation System

- 99 -
Project report-Air Ticket Reservation System

CONCLUSION

The efficient performing running application for electronic


information retrieval and deposition has been developed, which
achieves the following goals:

• User can also search any combination of specifications.

• He can also add a new set of specifications.

• He has been provided with a facility to delete or modify the


existing records.

• The application is protected by security code.

• Error free and fast record processing is possible.

• Easy generation of reports for higher management.

• User can print report from any form

- 100 -
Project report-Air Ticket Reservation System

LIMITATION

As such every project has some limitations so is this project

1. For successful implementation of the project. We should have a


proper network system where every transaction made should be
updated in the server database.

2. As this project deals in Internal discussions thus requires every


security.

3. This project has a limited to an Intranet Application thus is


bound to an organization.

- 101 -
Project report-Air Ticket Reservation System

FUTURE ENHANCEMENTS

The following additions can be made in future to improve or


upgrade the performance of the application:-

• Attaching this application with order processing system.

• Allowing multilevel selections by implementing advanced


search.

• Implementing deadlock phenomenon on the database to


maintain consistency.

• Adding application usage directions so as to make it easily


understandable by new user.

- 102 -
Project report-Air Ticket Reservation System

REFERENCE

Web site-:

• sunmicrosoft.com
• doeacc.edu

Books-:

*Herbert shield (Complete Reference JAVA)


*MS Access and MS Excel(Study Material)

- 103 -
Project report-Air Ticket Reservation System

- 104 -
Project report-Air Ticket Reservation System

- 105 -
Project report-Air Ticket Reservation System

- 106 -
Project report-Air Ticket Reservation System

- 107 -
Project report-Air Ticket Reservation System

- 108 -
Project report-Air Ticket Reservation System

- 109 -
Project report-Air Ticket Reservation System

- 110 -

Вам также может понравиться