Documente Academic
Documente Profesional
Documente Cultură
1. sINTRODUCTION
Page 1
AIRLINE
Searching
Billing.
All the information regarding order, order received, selling, billings are stored
at one place. This reduces the job of marking entries at various levels. The updating
is done automatically whenever it is required. It also provides facility of taking hard
copy output of the necessary information.
Page 2
AIRLINE
Provides facility to see the profit gained for the particular day and even more the
used is able to take the hardcopy for this.
Printing options
Page 3
AIRLINE
To know about the problems, we have done a detailed study on the whole
procedure of the system which is running currently.
It is essential that the particulars of every Reservation and its owner should be
available in the concerned department or office of government and the Reservation
should be distinguished from other Reservation by sight. The registration should be
displayed unspecified places and in specified manner. In the registration section,
application for registration of a new Reservation shall be submitted before the
registering.
Preliminary system analysis is the method where the whole system is studied
very intensely and on the basis this analysis a complete product is represented in front
of the customer. The phase which should be studied in the preliminary system
analysis are as follows:
Page 4
AIRLINE
The first step in the system development life cycle is the preliminary
investigation to determine the feasibility of the system. The purpose of the
preliminary investigation is to evaluate project request.
It is neither a design study nor does it includes the collection of details top
describe the business system in all respect. Rather, it is collecting of information that
help committee members to evaluate the merits of the project request and make an
informed judgement about the feasibility of the proposed project.
Here for the “Airline license and new Reservation registration management
system”, I have worked on the preliminary investigation that accomplished the
following objectives:
The present system is totally manual system. Which is running without any
participation of computer - definitely have its own disadvantages. We know that the
production and use of vehicles are increasing day by day. Hence the need of Airline is
very important now a days. The complex functions such as registration of Reservation
etc. becomes very difficult if we are using the present system.
Security is yet another aspect which in present system carries least importance.
Though security should be given utmost priority, manual system on the contrary, pays
less importance.
Page 5
AIRLINE
The present system contains some problems which are to be removed. Some
of the main flaws are as follows:
New system is been prepared keeping in mind that it deals effectively & more
flexible than the existing system. New system & technologies may allow faster
processing, more storage and lower costs than ever before.
Today, when everything is becoming more and more computerized, one may
feel that the task of keeping the records should also be done automatically using the
computer programs. The system will allow the users of the organization to get perfect
know how.
Once the decision to go for automated system is taken, it is, as per the system
analysis conventions, necessary to perform feasibility study for new system. The
Page 6
AIRLINE
1. Technical feasibility
2. Economic feasibility
3. Operational/behavioural feasibility
The new system is analysed for its feasibility on above parameters. The
process followed in making this determine is called a feasibility study.
Page 7
AIRLINE
4.1 Modules:
1. Login :-The Login Module is a portal module that allows users to type a user
name and password to log in.
2. Users :-They use the site to Reservation and read Reservation and try to
Register for an Reservation .
3. Flight :–It is used for equipmententry.
4. Package Details:-They use the site to sellof product present with them.
5. Reservation: Reservationdetails entry in this form given.
6. Package: In this module Reservation details is given.
7. FlightReport: In this module Flightreport details is given.
8. Customer: In this module Customer details is given.
9. Bill: In this module advance ReservationBill details is given.
Page 8
AIRLINE
START
False
LOG IN
True
MAIN FORM
DATABASE
AIRLINE REPORT
TICKETREPORT
TICKETREPORT
BILL REPORT
STOP
Page 9
AIRLINE
Front end is the actual interface provided by software to work with the
software eg. Screens. User enters data through screens which is then processed and
stored in database. The various tools can be used to develop front end like java, D2K
etc. generally a good quality programming language is used which could provide
programming skill, IDE, security, database connectivity etc. here java is used as
front end tool as ASP is comparatively easy to program since screen can be by drag
and drop principle. in java is a method used to create the Graphical user interface
application.
java is front end development java is latest and greatest version of the java
programming language. Although writing program can be a tedious chare at time,
java reduces the effort require on your part and makes programming enjoyable. java
makes aspect of programming as simple as dragging graphic object onto the screen
Page 10
AIRLINE
with your mouse java is more than just a programming language. The secret to java
is in its name: . With today’s windows operating system. Older programming
language, such as java, worked well in a text-only computing environment, but such
language do not support the graphical interface needed for today’s computer.
Bank End is Database, the Data to be stored, restored, edited, Modified resides
in Database.In combination with asp.net, MS ACCESS server is the widely used
database some other is MS Access etc., MS ACCESS server is also RDBMS i.e.
relational database Management System. A relational database is a database that
allows you to group its data into one or more distinct tables can be related to one
another by using field’s common to each related table, this relationship can be used to
perform complex search and produce detailed reports.
Page 11
AIRLINE
Add
d
Ticket ticket
delet database
e
Add
Airline main d
Flights Flights
form
delet Database
e
Add
Customer d Customer
Database
delet
e
Ticket Flights
Package Reservation
Reservation
database
Page 12
AIRLINE
The Airline management system has total 14 modules in which 1 form is log
in form, 1 form is main form, 7 forms are information entering form and left 5 forms
are the reports. All the modules work efficiently and effectively.
All the modules work in a systematically manner. All the modules has
connected with a process logic. Process logic means a working of logically connected
and processing data. When the coding is going true till then loops counted otherwise
loops goes out.
a. start
b. First, user needs to log in there profile. If the log in true then main form
will get shown, otherwise log in get failed.
c. Next user needs to select an information entering form from main form.
d. If user select any form from the following: Reservation registration,
ownership transfer, state transfer and any license form.
e. If user select Reservation registration form, then he/ she needs to feel all
the required information.
f. Then click on “save” button. Then all the correct data will get store on
assigned database.
g. To see report: user needs to come back on main form, then open the
required reports.
h. Exit
Page 13
AIRLINE
The data structure is the structure of database, in which the field of the table
and its data type has declared. The data structure & tables that have used are as
follows:
Table: ticket
Sr.no Field Name Type Size Description
1 Reservation_ID Number Long Integer Reservation_ID
2 Name Text 50 Reservationname
3 Flight Number Long Integer Flightdetails
TABLE: Flight
Page 14
AIRLINE
Reserv
nam ation
e
info.
Package id
rate
no
Reser
id Reservation
Reserva vatio
tioninfo n
date
.
info.
Database
Page 15
AIRLINE
7. SYSTEM DESIGN
7.1 Source Code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.text.*;
JTextField TFUserName;
JPasswordField TPPassword;
Page 16
AIRLINE
JButton BLogin;
Page 17
AIRLINE
public LoginPage()
{
WindowUtilities.setNativeLookAndFeel();
setPreferredSize(new Dimension(796,572));
PFlightTypes.setBackground(Color.white);
PLogin.setBackground(Color.white);
Page 18
AIRLINE
PFlightDetails.setBackground(Color.white);
PFlightTypes.setBounds(0,0,500, 340);
PLogin.setBounds(500,0,350, 340);
PFlightDetails.setBounds(0,340,790,200);
PLogin.add(LUserName);
PLogin.add(TFUserName);
PLogin.add(LPassword);
PLogin.add(TPPassword);
PLogin.add(BLogin);
Page 19
AIRLINE
PFlightDetails.add(JSP1);
PFlightDetails.add(JSP2);
PFlightDetails.add(JSP3);
PFlightDetails.add(JSP4);
JSP1.setVisible(true);
JSP2.setVisible(false);
JSP3.setVisible(false);
JSP4.setVisible(false);
PFlightTypes.add(LEconomic);
PFlightTypes.add(LBusiness);
PFlightTypes.add(LEconomic1);
PFlightTypes.add(LBusiness1);
LBusiness.setVisible(false);
LEconomic1.setVisible(false);
LBusiness1.setVisible(true);
LEconomic.setVisible(true);
c.add(PFlightTypes);
c.add(PLogin);
Page 20
AIRLINE
c.add(PFlightDetails);
PFlightTypes.add(LDomesticFlight);
PFlightTypes.add(LInternationalFlight);
pack();
setVisible(true);
addWindowListener(new ExitListener());
BLogin.addActionListener(new button1(this));
}
type.PLogin.remove(type.LUserName);
type.PLogin.remove(type.TFUserName);
type.PLogin.remove(type.LPassword);
type.PLogin.remove(type.TPPassword);
type.PLogin.remove(type.BLogin);
type.c.repaint();
}
else
{
JOptionPane.showMessageDialog(null, "Invalid username or password. Try
again");
}
}
public boolean check()
Page 22
AIRLINE
{
if (cCheck.length >= 6 || cCheck.length < 4)
return false;
for(int i=0;i<=4;i++)
{
if(cCheck[i]!=cPassword[i])
return false;
}
return true;
}
}
type.LDomesticFlight.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURS
OR));
type.LInternationalFlight.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CU
RSOR));
}
public void mouseClicked(MouseEvent e)
{
Page 23
AIRLINE
if(bCheck)
type.bCheck = true;
else
type.bCheck = false;
type.LEconomic.setVisible(true);
type.LBusiness1.setVisible(true);
type.LEconomic1.setVisible(false);
type.LBusiness.setVisible(false);
type.JSP1.setVisible(false);
type.JSP2.setVisible(false);
type.JSP3.setVisible(false);
type.JSP4.setVisible(false);
if(bCheck)
type.JSP1.setVisible(true);
else
type.JSP2.setVisible(true);
}
}
type.LDomesticFlight1.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURS
OR));
type.LInternationalFlight1.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CU
RSOR));
}
public void mouseClicked(MouseEvent e)
{
if (bCheck)
new DomesticFlight(type);
else
new InternationalFlight(type);
}
}
Page 25
AIRLINE
}
public void mouseClicked(MouseEvent e)
{
if(type.bCheck)
{
if (bCheck)
{
type.LBusiness1.setVisible(false);
type.LBusiness.setVisible(true);
type.LEconomic.setVisible(false);
type.LEconomic1.setVisible(true);
type.JSP1.setVisible(false);
type.JSP2.setVisible(false);
type.JSP3.setVisible(true);
type.JSP4.setVisible(false);
}
else
{
type.LEconomic1.setVisible(false);
type.LBusiness.setVisible(false);
type.LBusiness1.setVisible(true);
type.LEconomic.setVisible(true);
type.JSP1.setVisible(true);
type.JSP2.setVisible(false);
type.JSP3.setVisible(true);
type.JSP4.setVisible(false);
}
}
else
{
if (bCheck)
{
Page 26
AIRLINE
type.LBusiness1.setVisible(false);
type.LBusiness.setVisible(true);
type.LEconomic.setVisible(false);
type.LEconomic1.setVisible(true);
type.JSP1.setVisible(false);
type.JSP2.setVisible(false);
type.JSP3.setVisible(false);
type.JSP4.setVisible(true);
}
else
{
type.LEconomic1.setVisible(false);
type.LBusiness.setVisible(false);
type.LBusiness1.setVisible(true);
type.LEconomic.setVisible(true);
type.JSP1.setVisible(false);
type.JSP2.setVisible(true);
type.JSP3.setVisible(false);
type.JSP4.setVisible(false);
}
}
}
}
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
Page 27
AIRLINE
LoginPage type1;
this.type1 = type1;
PPanel1 = new JPanel(null);
PPanel1.setPreferredSize(new Dimension(500,200));
Page 28
AIRLINE
img1=new ImageIcon("map1.jpg");
LImg1 = new JLabel(img1);
LBookingDetails.setBounds(20,3,100,20);
LFrom.setBounds(20,40,100,20);
CBFrom.setBounds(100,40,100,20);
LTo.setBounds(20,100,100,20);
CBTo.setBounds(100,100,100,20);
LBookingDate.setBounds(14,160,100,20);
TFBookingDate.setBounds(100,160,100,20);
LDate.setBounds(210,160,100,20);
LClass.setBounds(20,220,100,20);
CBClass.setBounds(100,220,100,20);
BFindFlight.setBounds(50,270,100,25);
Page 29
AIRLINE
LImg1.setBounds(0,290,495,260);
PPanel1.add(LBookingDetails);
PPanel1.add(LFrom);
PPanel1.add(CBFrom);
PPanel1.add(LTo);
PPanel1.add(CBTo);
PPanel1.add(LBookingDate);
PPanel1.add(TFBookingDate);
PPanel1.add(LDate);
PPanel1.add(LClass);
PPanel1.add(CBClass);
PPanel1.add(BFindFlight);
PPanel1.add(LImg1);
PPanel1.setBackground(Color.white);
c.add(PPanel1,BorderLayout.WEST);
LPassengerDetails=new JLabel("<html><b><font
color=\"#C71585\">PassengerDetails</font></b></html>");
String[] item4={"1","2","3","4","5","6"};
CBAdult = new JComboBox(item4);
Page 30
AIRLINE
String[] item5={"0","1","2","3","4"};
CBChildren = new JComboBox(item5);
String[] item6={"0","1","2","3"};
CBInfant = new JComboBox(item6);
LPassengerDetails.setBounds(40,3,100,20);
LAdult.setBounds(40,40,100,20);
CBAdult.setBounds(140,40,100,20);
LChildren.setBounds(40,105,100,20);
CBChildren.setBounds(140,105,100,20);
LInfant.setBounds(40,170,100,20);
CBInfant.setBounds(140,170,100,20);
LImg2.setBounds(16,220,320,200);
LNotes.setBounds(55,240,380,180);
PPanel2.add(LPassengerDetails);
PPanel2.add(LAdult);
PPanel2.add(LChildren);
PPanel2.add(LInfant);
PPanel2.add(CBAdult);
PPanel2.add(CBChildren);
Page 31
AIRLINE
PPanel2.add(CBInfant);
PPanel2.add(LNotes);
PPanel2.add(LImg2);
PPanel2.setBackground(Color.white);
c.add(PPanel2,BorderLayout.EAST);
setSize(795,580);
setVisible(true);
int i = 0;
if(sClass.equals("Economic"))
{
try{
while(i<20)
{
if(type1.row2[i][1].equals(sTo))
{
iPrice = Integer.parseInt((String)type1.row2[i][2]);
sTime = (String)type1.row2[i][3];
break;
}
i++;
}
}catch(Exception e1)
{
JOptionPane.showMessageDialog(null, "You have no rights to
access");
System.exit(0);
Page 33
AIRLINE
}
}
else
{
try
{
while(i<20)
{
if(type1.row2[i][1].equals(sTo))
{
iPrice = Integer.parseInt((String)type1.row4[i][2]);
sTime = (String)type1.row4[i][3];
break;
}
i++;
}
}catch(Exception e1)
{
JOptionPane.showMessageDialog(null, "You have no rights to
access it");
System.exit(0);
}
}
type.setTitle(iPrice + " " + sTime);
iPrice = (iPrice*iAdult)+(iPrice*(iChildren/2));
int iCount=0;
int iSeatCount=0;
Page 34
AIRLINE
try
{
//read from data
Save1 save1;
ObjectInputStream OIS1 = new ObjectInputStream(new
FileInputStream("save1"));
do
{
save1 = (Save1)OIS1.readObject();
sTempFrom[iCount] = save1.sFrom;
sTempTo[iCount] = save1.sTo;
sTempClass[iCount] = save1.sClass;
sTempBookingDate[iCount] = save1.sBookingDate;
sTempTime[iCount] = save1.sTime;
iTempAdult[iCount] = save1.iAdult;
iTempChildren[iCount] = save1.iChildren;
iTempInfant[iCount] = save1.iInfant;
iTempPrice[iCount] = save1.iPrice;
iCount++;
if(save1.sBookingDate.equals(sBookingDate))
if(save1.sTo.equals(sTo))
iSeatCount=iSeatCount + save1.iAdult +
save1.iChildren + save1.iInfant;
Page 35
AIRLINE
}while(save1!=null);
OIS1.close();
}
catch(Exception e1)
{
}
OOS1.writeObject(temp1);
System.out.println(temp1);
}
OOS1.writeObject(save2);
OOS1.close();
}catch(Exception e1)
{
System.out.println(e1);
}
}
else
{
}
}
}
}
Page 37
AIRLINE
this.sBookingDate=sBookingDate;
this.iPrice=iPrice;
this.sTime=sTime;
// this.iCount = iCount;
}
public String toString()
{
return sFrom+" "+sTo+" "+sClass+" "+iAdult+" "+iChildren+" "+iInfant+"
"+sBookingDate+" "+iPrice+" "+sTime;
}
}
Page 38
AIRLINE
Log In form
Page 39
AIRLINE
MAIN FORM
Page 40
AIRLINE
Page 41
AIRLINE
Page 42
AIRLINE
Page 43
AIRLINE
Page 44
AIRLINE
Unit testing:
Integrating testing:
Through each program work individually, they should work after linking
together. This is referred to as interfacing. Integration testing is the systematic
technique for constructing the program structure while at the same conducting test to
uncover errors associated with the interface.
System testing:
After performing the integration testing, the next step is output testing of the
proposed system. No system could be useful if it doesn’t produce the required output
in a specified format. The output generated are displayed by the user.
Page 45
AIRLINE
Validation testing:
The user has to work with the system and check whether the project meets his
needs. In the validation checking the user works with the beta version of the software.
Project aspect: user enters the appropriate data and results was checked and validated.
User acceptance of a system is a key factor of the success of any system. The
system under consideration was tested for user acceptance by running a prototype of
the software Project aspect:An Alfa version is demonstrated to the users. Their
suggestion are recorded.
The primary objective of test case design methods is to derive a set of test that
has of highest likelihood of uncovering the defects. To accomplish this objective, two
categoriesof test case design techniques are used Black box testing and white box
testing.
White box testing
All functional requirements of the program Black box testing attempts to find
errors in the following categories:
Page 47
AIRLINE
Page 48
AIRLINE
Moderate security
In this class, users are grouped according to their needs and trustworthiness. Under
moderate security, unlimited access is reserved for a
small, privileged subgroup. Only occasional auditing of security-
related events is performed, and no formal security policy exists for the users. In this
class, security-related events that have a little or no effect on system performance, and
users are subject to little or no demand for additional effort to perform their work, but
the disadvantage is that it's possible that serious violation attempt can go undetected
for extended periods.
High security
At this level, a security administrator is identified and charged with establishing and
maintaining Teradata RDBMS security. Physical access to processors, disk storage
units, and system consoles is carefully controlled. Security-related events area
regularly. Random security audits of individual users are performed. In this class, data
and processing resources are afforded a high level of protection. If an unauthorized
access is attempted, the auditing policy is designed to both detect the attempt and
permit corrective measures to be implemented. The disadvantage is that shared data
requires additional effort on the part of owner, as they must define who is authorized
to access the owned information. Also, based on the frequency and scope of the audit,
system performance can be negatively affected by the demands of auditing security-
related events.
Implementation:
Once the system was tested, the implementation phase started. Crucial phase
in the system development life cycle is successful implementation of new system
design. Implementation simply means converting new system into operation.
Evaluation:
Maintenance:
Page 50
AIRLINE
This application can be easily implemented under various situation. We can add
new features as when we require. Reusability is possible as and when require in this
application. There is flexibility in all the modules.
Extensibility:
This software is extendable in ways that its original developers may not
expect. The following principle enhances Extensibility like hide data structure, avoid
traversing multiple links or methods, avoid case statements on object type and
distinguish public and private operations.
Reusability:
Page 51
AIRLINE
Page 52
AIRLINE
www.scribd.com
www.ijornd.com
www.W3School.com
Page 53