ONLINE AIRTICKET BOOKING SYSTEM By A.MOHAMED GHOUSE IMAM Reg No: 41502621035 Of SRM Engineering College A PROJECT REPORT Submitted to the FACULTY OF INFORMATION AND COMMUNICATION ENGINEERING In partial fulfillment of the requirements for the award of the degree of MASTER OF COMPUTER APPLICATION June 2005
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
ONLINE AIRTICKET BOOKING SYSTEM
By
A.MOHAMED GHOUSE IMAM Reg No: 41502621035
Of
SRM Engineering College
A PROJECT REPORT Submitted to the
FACULTY OF INFORMATION AND COMMUNICATION ENGINEERING
In partial fulfillment of the requirements for the award of the degree
of
MASTER OF COMPUTER APPLICATION
June 2005
ii
BONAFIDE CERTIFICATE
Certified that this project report titled “ONLINE AIR TICKET BOOKING
SYSTEM” is the bonafide work of Mr A.Mohamed Ghouse Imam who carried out the
project under my supervision. Certified further, that to the best of my knowledge the work
reported herein does not form part of any other project report or dissertation on the basis of
which a degree or award was conferred on an earlier occasion on this or any other candidate.
Internal Guide Head of the Department
ABSTRACT
This gives you the raw skeletal picture of an Online Airticketing
System. Further value additions should be done during development stage. Nowadays, it
becomes more and more popular to buy airline tickets through online travel agent. People
enjoy buying airline tickets online because of the convenience brought by the Internet. Many
travel site provide services which help travelers find airline tickets for their travel plans. In
addition to providing the same services that a traditional airline ticket booking system would
provide, these websites provide enhanced services such as searching through a list of possible
flights according to a user's constraints
Generally Online Booking consists of procedures like Reservation, Cancellation, Availability
of Seats, Timetable, etc. Finally the Reports are prepared.
iii
OBJECTIVE OF THE PROJECT
This project on Computerized Online Airticketing is designed with
the object of simplifying the tedious tasks of Airticketing the usage of this package would
simplify the work of the user, as it is user friendly, simple, easy to follow. It is enough if the
user has the fundamental idea of browsing to handle this package effectively suggestions
regarding further modifications or adjustments to suit the need of the user regarding this
package is welcomed.
This system is specially designed for reservation of Airticket, which
depends on computerization. This system covers Passenger information, Flight details. It also
covers the Charge for the to and fro journey and also Vacation package during the Vacation
time.
ACKNOWLEDGEMENT
I sincerely thank the Almighty who had given me the strength and
poured out his showers of blessings upon me, which has enabled me to complete the project
successfully.
I take this opportunity to express my sincere thanks to Prof.
R.VENKATARAMANI, B.E, M.Tech, Principal, SRM Institute of Science and Technology
for his continued guidance and support.
It is beyond the comprehension of mere elegance of word to
acknowledge some one who has been the guiding spirit behind the dissertation I extend my
profound gratitude to Mr. S.SAGAYARAJ, H.O.D, Department of Computer Applications,
who has always been a source of inspiration, for his guidance and support.
With profound reference and high regards I record my indebtedness
and gratitude to my guide Mr.P.Karthikeyan, for his keen interest and guidance throughout
my project work.
iv
My heartfelt gratitude to Mr. P.Thulsi Ahilan, General Manager,
Projects, Cynergy Technology Solutions Pvt Ltd, Chennai, for his valuable guidance and his
patience, without which this project would not have been completed.
I am thankful to all the members of Cynergy Technology Solutions
Pvt Ltd., Chennai, for providing me valuable information and suggestions throughout the
project.
My thanks are also due to the entire faculty of MCA department of
SRM Institute of Science And Technology but for whom I wouldn’t be what I am today. I
also thank my family and friends for their care, love, support and encouragement.
A. Mohamed Ghouse Imam
v
CHAPTER 1
INTRODUCTION
1.1 ORGANIZATION OVERVIEW: Cynergy Technologies Private Ltd is one of India’s leading institutions
contributing to the knowledge economy of the global financial services marketplace.
Headquartered in Chennai (India), In this knowledge quest, over the last 3 decades ,
Cynergy has established its solutions and services footprint globally contributing to the
realization of the business vision of some of the world's leading giants in the money
vertical.
20 years ago, Citigroup began its quest to pioneer the utilization of the vast human
intellect capital in India & the seeds of Cynergy were sown. Cynergy was fortunate to
be one of the first vendors that Citigroup chose to partner with, through this Indian
quest. In parallel, Citigroup also started its own company called COSL (Citibank
Overseas Software Ltd) which strategised and operationalised Citigroup's vision of
leveraging India.
Today, Cynergy is the amalgamation of these two organization that traveled the path
of successfully architecting & realizing Citigroup's India led vision. The 2 Decade long
journey was clearly an experience that helped Cynergy participate, witness and
experience every pitfall, every hurdle & fallacy in this path to leverage the Indian
intellectual capital.
The challenges were many. The challenge of creating a successful global sourcing
model, the challenge of creating an alternative distributed banking platform, the
vi
challenge of creating global competitiveness from a third world economy, the
challenge of replicating success from one country to another…. The biggest challenge
was in being the first one in the world doing all this.
As Citigroup gained the competitive edge, Cynergy gained two very critical experiences:
• The experience of creating mission critical solutions with leading edge
functionality, built on reliable and robust technical architecture which could be
successfully implemented and replicated across the globe. This capability is today
brought to the customer in the form of a suite of modular solution components
under the brand name of intellect Suite.
• The experience of creating successful outsourcing models which enable global
organizations to sustain their competitiveness. This experience has been converted
into a predictable and repeatable model of success and is known as the Entity
model.
1.2 PROJECT OVERVIEW
1.2.1 ONLINE AIR TICKET BOOKING SYSTEM
This project on Computerized Online Airticketing is designed with the
object of simplifying the tedious tasks of Airticketing the usage of this package would
simplify the work of the user, as it is user friendly, simple, easy to follow. It is enough
if the user has the fundamental idea of browsing to handle this package effectively
suggestions regarding further modifications or adjustments to suit the need of the user
regarding this package is welcomed.
This system is specially designed for reservation of Airticket, which
depends on computerization. This system covers Passenger information, Flight details.
It also covers the Charge for the to and fro journey and also Vacation package during
the Vacation time.
The concepts that I will use to build the banking application are:
vii
• HTML
• JavaScript
• Java Server Pages(JSP)
1.3 SOFTWARE OVERVIEW
1.3.1 FRONT-END(HTML):
HTML is used to create a static content web page displayed into the
browser. It is an user interface
1.3.2 CLIENT-SIDE SCRIPTING(JAVA SCRIPT):
JavaScript is a lightweight object-based scripting language created
by Netscape Communications Corporation for developing Internet applications.
JavaScript is lightweight in that there isn't a great deal to learn and you can be
productive with it very quickly, in contrast to much more complex languages such as
Java. As a scripting language, JavaScript is meant to tell an application what to do.
Unlike languages used to create applications, it cannot do anything without the
application.
You can develop server applications or client applications With
JavaScript. In this book, the term "server" refers to the computer where your Web
pages reside. The term "client" refers to the browser application that loads and
displays your Web pages. This book focuses on teaching you to create client
applications with JavaScript-specifically, documents (Web pages) on the World Wide
Web.
You can embed JavaScript statements in Web pages, which Are
written in HTML (Hypertext Markup Language). JavaScript is an extension to HTML
that lets you create more sophisticated Web pages than you ever could with HTML
alone. To appreciate this, it helps to know a little history.
viii
1.3.3 SERVER – SIDE SCRIPTING(JSP):
JavaServer Pages technology is the Java platform technology for
building applications containing dynamic Web content such as HTML, DHTML,
XHTML and XML. The JavaServer Pages technology enables the authoring of
Web pages that create dynamic content easily but with maximum power and
flexibility.
The JavaServer Pages technology offers a number of advantages:
• Write Once, Run Anywhere :
The JavaServer Pages technology is platform independent, both in its
dynamic Web pages, its Web servers, and its underlying server components. You can
author JSP pages on any platform, run them on any Web server or Web enabled
application server, and access them from any Web browser. You can also build the
server components on any platform and run them on any server.
• High quality tool support:
The Write Once, Run Anywhere properties of JSP allows the user to
choose best-of-breed tools. Additionally, an explicit goal of the JavaServer Pages
design is to enable the creation of high quality portable tools.
• Reuse of components and tag libraries: The JavaServer Pages technology emphasizes the use of
reusable components such as:
JavaBeans components, Enterprise JavaBeans components and tag
libraries. These components can be used in interactive tools for component
development and page composition. This saves considerable development time while
giving the cross-platform power and flexibility of the Java programming language and
other scripting languages.
ix
• Separation of dynamic and static content:
The JavaServer Pages technology enables the separation of static content from
dynamic content that is inserted into the static template. This greatly simplifies the
creation of content. This separation is supported by beans specifically designed for the
interaction with server-side objects, and, specially, by the tag extension mechanism.
• Support for scripting and actions:
The JavaServer Pages technology supports scripting elements as well as
actions. Actions permit the encapsulation of useful functionality in a convenient form
that can also be manipulated by tools; scripts provide a mechanism to glue together
this functionality in a per-page manner.
• Web access layer for N-tier enterprise application architecture(s):
The JavaServer Pages technology is an integral part of the Java 2 Platform
Enterprise Edition (J2EE), which brings Java technology to enterprise computing.
You can now develop powerful middle-tier server applications, using a Web site
that uses JavaServer Pages technology as a front end to Enterprise JavaBeans
components in a J2EE compliant
1.3.4 MS SQL SERVER 2000
1.3.4.1 Introduction
This file contains important information you should read before
installing Microsoft SQL Server 2000.
SQL Server 2000 builds on and extends the performance,
reliability, quality, and ease of use of SQL Server version 7.0. It also includes a number
of new features that further establish SQL Server as the best database platform for
OLTP, data warehousing, and e-commerce applications.
1.3.4.2 SQL Server Core Component Notes
x
These notes relate to the SQL Server core components, including the database
engine, client components, connectivity components, graphical tools, and command
prompt utilities.
1.3.4.3 Permissions for Active Directory Integration
In Microsoft SQL Server 2000, only members of the system admin fixed server
role can register databases or publications in Active Directory; members of the db-
owner fixed database role cannot.
1.3.4.4 Backup/Restore APIs:
Microsoft SQL Server 2000 is supported by a large number of third-party
backup solutions. SQL Server provides application programming interfaces that enable
independent software vendors to integrate SQL Server into their products. These
APIs provide maximum reliability and performance, and support the full range of SQL
Server backup and restore functionality, including hot and snapshot capabilities. For
information about how your backup solution integrates with SQL Server, contact your
backup solution vendor. For information about the Backup/Restore APIs, install the
"Backup/Restore API" subcomponent of the "Development Tools" component of
SQL Server.
CHAPTER 2
SYSTEM STUDY
2.1 Preliminary Investigation
The initial requirements to start the project in full swing without any
interruption, consists of the following details:-
1. Software Requirement.
xi
2. Hardware Requirement.
3. Manpower Requirement.
4. Financial Requirement.
5. Infrastructure.
2.2. EXISTING SYSTEM
Currently, the daily reservation chart for all flights is generated and sent.
Very often, they cannot put up the reservation chart on time. Owing to the
inefficiencies in the manual system, when passengers cancel tickets, the reservation
chart is not updated in time.
They maintains a waiting list, which is used to update the reservation
chart when passengers cancel tickets. Currently, the manual system handles all requests
for changes in reservation, such as change in train, class, or journey date. It treats a
change of this kind as a cancellation, and reissues tickets.
Reservation opens 60 days before the scheduled departure date. Based
on the availability of seats the tickets are issued. Each ticket, whether confirmed or
wait-listed, has a unique PNR number. This number is generated in
a serial order. The reservation clerk records the amount of fare paid for the ticket in
Cash Collection Register.
A passenger can cancel tickets by submitting a cancellation from wih the ticket.
Depending on the difference in hours between the departure and cancellation the
passenger loses certain percentage of the fare.
In the current manual system at Jagson, passengers making inquiries are given
inaccurate information. There is a delay in handling passenger enquiries.
2.3 LIMITATIONS OF EXISTING SYSTEM
xii
The limitation of this system are
1) Only few bookings could be made due to manual operation.
2) It takes enormous amount of time for recording transactions.
3) Requires a large amount of manual laborers.
4) The existing system often encounters errors due to duplication
of data values for various report requirements.
5) Existing system involves too much of paper works.
2.4 PROPOSED SYSTEM
In order to overcome the drawbacks in the existing system, it was decided to
create a database, which is
o Integrated
o Reliable
o Consistent
o Flexible
o Secure
This database helps in speedy information retrieval. Responds to various
queries made at the different levels of management. The system is Menu driven and
user friendly. It assists the user with respective messages to overcome the errors at
runtime. A built in Help is provided for the end user. The help can be invoked at any
point of time by pressing the F1 key.
This new system provides for the introduction of flights on new routes, and
for discontinuing an existing route.
The system is designed in such a way that the reservation chart is available on
time before the scheduled departure time. The reservation chart reflects the latest
status with respect to the cancellation of tickets that helps the wait-listed passengerd in
knowing their present status.
xiii
Status of the availability, fare, status of ticket on all flights, for all classes, is
available at any point of time. Such statuses are available within 1 minute of the
inquiry.
The automated system sends reports on
• Confirmed passengers - those who went through check-in
• Cancelled passengers - those who have cancelled
• No-Show passengers - those who had not turned for check-in
CHAPTER 3 SYSTEM ENVIRONMENT
3.1 HARWARE AND SOFTWARE REQUIREMENTS:
3.1.1 HARDWARE:
PROCESSOR : INTEL PENTIUM 4 PROCESSOR SPEED : 650 MGHZ. HARD DISK : 40GB. RAM : 256 MB.
3.1.2 SOFTWARE:
OPERATING SYSTEM : WINDOWS 2000.
SCRIPTING LANGUAGE : JAVASCRIPT, JSP
USER INTERFACE : HTML
SERVLET WEB SERVER : TOMCAT APACHE
R. BACKEND : SQL SERVER 2000.
CONNECTING DRIVER : JDBC.
xiv
CHAPTER 4
DESCRIPTION OF MODULES
4.1 MODULES:
The core modules identified within the scope of the project are
1. Reservation
2. Cancellation
3. Search Module
4. Report
4.1.1 Reservation Module:
In this module, the passenger details are gathered and these details are then
verified and then registered with the availability of seats in the Flight database and if it
gets registered the passenger is offered a PNR number. Also details regarding the
Hotels, Flights and Vacation packages can be done efficiently and effectively.
4.1.2 Cancellation Module:
In this module, the ticket booked by the passenger is cancelled by him
and the amount is refunded back to him through post.
4.1.3 Search Module:
In this module, the flight gate information, Timetable, Fare details and
special needs are fetched by the user.
xv
4.1.4 Report Module:
In this module, the checked in passenger list is prepared for the
convenience of Authority in producing Reservation Charts. Also the Cancelled
passenger list is prepared.
CHAPTER 5
DATA FLOW DIAGRAM
5.1 DATA FLOW DIAGRAM
DFD FOR ONLINE AIRTICKET SYSTEM Reservation Transaction
Pass_Master Flight
User
Make Reservation
Make Cancellation
Flight Search
Reports
xvi
Fig 1. Online Airticket Booking System
CHAPTER 6
DATABASE DESIGN
The database design briefs the entire design of the database used in the
project.
6.1 TABLES
6.1.1 Flight
FIELD NAME DATA TYPE DESCRIPTION
Flight_No nvarchar(50) FlightNumber From nvarchar(25) Departure City To nvarchar(25) Destination City City Names nvarchar(20) City Names
6.1.2 Passenger
FIELD NAME DATA TYPE DESCRIPTION
PNR_No nvarchar(50) PNR Number Name nvarchar(50) Name of the Passenger
Address nvarchar(50) Addrress Sex nvarchar(1) Sex
Type nvarchar(20) Type
xvii
6.1.3 Transaction
FIELD NAME DATA TYPE DESCRIPTION Flight_No nvarchar(50) FlightNumber Pnr_No Number(10) PassengerNumber
Rate Number(7) Ticket Rate
6.1.4 HotelMaster
FIELD NAME DATA TYPE DESCRIPTION
Hotel_Nm nvarchar(50) Hotel Name Hotel_No Number(4) Number of hotels
4. A description of the controls which operate within the system, This includes
control over input and processing, restrictions on access (e.g., passwords) and control
on output ( e.g. numbering of cheques).
5. Processing required. This may in fact be handled by specifying generally what
each program in the system is expected to do and by backing this up with
individual program specifications issued separately. Arrangements for testing may also be
described in this section.
6. Implementation considerations – arrangements for converting existing files, checking
parallel runs, production of user procedures and production of computer-related
procedures.
7. A detailed development and implementation time-table. This section should list all of
the tasks to be done, including individual programs, showing the interrelationship
between each task and the planned start and completion date for each task.
8. A backup plan. This should describe the procedures to be developed for taking
security dumps of files, for ensuring system resilience (e.g., duplexing) and for running
the system at an alternative site in the event of the computer not being available.
It is at this stage that the first reliable estimate of the amount of computer
programming effort required can be produced. Up to this point the estimates are to a
large extent informed guesses and what comes out at the end of this exercise may be
quite frightening compared with the previously available estimates. This is a valid
reason for ensuring that senior management continues to have an approval role at the
conclusion of this stage.
xxxii
Estimates produced now have a firm basis and if they are substantially at
variance with the original estimates it is still not too late to review the viability of the
development. The choice now lies between:
1. Abandoning the system.
2. Continuing as planned.
3. Shelving the system for a period.
4. Modifying the aspirations for the system.
All of these options are available for an in-house development, although it is
generally felt that by the time this stage is reached the commitment is irreversible.
Where an external supplier is involved the options may be restricted by the nature of
the contract.
CHAPTER 12
IMPLEMENTATION
12.1 HTML(HYPERTEXT MARKUP LANGUAGE): HTML is used to create a static content web page displayed Into the
browser. It is user interface.
In this project, HTML is used to create a static content Webpage and
displayed into the browser. Create reservation-form,hotel search, status form, flight
search form and checkin formTo be created and make a link with the home-page.
User enter the data And submit the form.
12.2 JAVASCRIPT:
Javascript is a object-based scripting language for client and
serverapplications.In my project, javascript is used for validating the data submitted by
the user such as Name checking, pnr number checking.
xxxiii
12.3 JSP(JAVA SERVER PAGES): Jsp is a server-side programming functionalities to java. It is
similar to ASP. JSP is a platform independent, creation of database-driven web
applications. JSPis used to perform business logic and it receives a request from the
user and respond the corresponding output to the user. A JSP page after compilation
generates servlet and therefore incorporates all servlet functionalities.
In this project, jsp is used for retrieving the data submitted by the
user After retrieving the data, jsp invoke the javabean components to set the retrieved
valueInto the bean. The results are retrieved from the javabean and displayed to the
user.
12.4 WEB SERVER: The J2EE server contains the EJB container and
TheWEBContainer.The J2EE server provides services to the EJB container and
theWEB container.
• It enforces security by authenticating users. • It allows clients to interact with the enterprise beans. • It facilitates web browser to access servlets and jsp files. • It provides naming and directory services to locate and
Search services and components. 12.5 WEB CONTAINER: The WEB container is a runtime environment for servletsAnd jsp. WEB
container contains servlet, jsp and javabean files are bundledInto an WAR files during
deployment.
12.6 J2EE APPLICATION: WAR files are put into the server to run the J2EE application.
xxxiv
CHAPTER 13
CONCLUSION
I have designed a software application which will help an user
to book tickets through web to travel by a flight.This also incorporates the processes
such as cancellation of tickets,vacatin packages,hotel search,checkin time information
status of ticket etc.
This system shows advantage over
1) Manual booking of tickets which has to be bookedbythe passenger by going to the
airport office.
2) The knowledge of the status of the flight only a few hours before the departure,
3) No knowledge regarding the hotels in the destination cities.
APPENDIX SCREEN SHOTS
1. HOME PAGE
xxxv
A.1 Home Page 2. RESERVATION
xxxvi
A.2 Reservation
Description:
This screen “Make Reservation” will help the user to reserve tickets.He is
entitled to fill the form by filling the form such as starting place,destination place,Date
of Departure,Date of arrival,number of passengers.Once the user submits he will be
given a pnr number.
3. HOTELS SEARCH
xxxvii
A.3 Hotel Search
Description:
This screen “Hotel Search” will help the user to get the information of a hotel
regarding the address of the hotel,availibility of rooms,rent of rooms and any attractive
packages rendered by the hotels.
4 CANCELLATION FORM
xxxviii
A.4 Cancellation Form
Description: This Screen”Cancellation Form” will help the user to cancel the
tickets which he has reserved already. All he has to enter the pnr number which he
should have got wlile reserving the tickets.
5. VACATION PACKAGES
xxxix
A.5 Vacation Packages
Description:
This screen “Vacation Packages” will allow the user to know the vacation
packages rendered by the airlines.The user can choose the vacation package which he
likes and submit it.
6. STATUS FORM
xl
A.6 Status Form
Description: This screen “Status Form” will help the passenger to know the status
conditions of the flight before the departure.He has to enter data such as flight
number,destination city,departure city and depature time.
7. FLIGHT SEARCH
xli
A.7 Flight Search Form
Description:
This screen “Flight Search” will help the user to the detailed timetable of the
flight for the whole week such as departure time,arrival time,cities it reaches,etc.All he
has to enter the flight name,flight number.
8. CHECKIN
xlii
A.8 CheckIn
Description: This screen will help the user to know the chekin timings for a
passenger before boarding a flight.He has to enter the pnr number so that he will be