E-Ticketting Cleaned
E-Ticketting Cleaned
Ex. No.:
E-TICKETING
Date:
AIM:
To create an automated system to perform E-ticketing.
(I)
PROBLEM STATEMENT
Our project is carried out to develop software for online Railway Reservation System.
This system has various options like reservation, cancellation and to view details about
available seats. Our project mainly simulates the role of a Railway ticket booking officer,
in a computerized way.
The reservation option enables a person to reserve for a ticket at their home itself. All he/
she has to do is to just login and enter the required details. After this the reservation
database is updated with the person details, train name and also the source and
destination place.
The cancellation option enables the passenger to cancel the tickets that has been already
booked by him/her.
The availability option prompts the person to enter train number, train name and date of
travel. After this the availability database is accessed and available positions are
produced.
1.0 INTRODUCTION
The manual system of ticket reservation takes more time and the number of
reservations per day is limited. To increase the efficiency of the process, we go for online
1.1
PURPOSE
If the entire process of reservation is done in a manual manner then it would takes
several months for reservation to reach the applicant. Considering the fact that the
meet the demand. So this system uses several programming and database techniques to
elucidate the work involved in this process. As this is a matter of National Security, the
system has been carefully verified and validated in order to satisfy it.
V+TEAM
1.2 SCOPE
1.3
DEFINITIONS, ACRONYMS AND THE ABBREVIATIONS
Passenger
The person that who wishes to obtain the railway ticket.
PNR
Passenger Name Records
HTML
- Markup Language used for creating web pages.
J2EE
Java 2 Enterprise Edition is a programming platform java platform for
developing and running distributed java applications.
HTTP
- Hyper Text Transfer Protocol.
TCP/IP
Transmission Control Protocol/Internet Protocol is the communication
protocol used to connect hosts on the Internet.
1.4 REFERENCES
IEEE Software Requirement Specification format.
1.5
TECHNOLOGIES TO BE USED
1.7
OVERVIEW
SRS includes two sections overall description and specific requirements
Overall Description
will describe major role of the system components and inter-
connections.
V+TEAM
Specific Requirements
will describe roles & functions of the actors.
2.0 OVERALL DESCRIPTION
2.2
SOFTWARE INTERFACE
Front End Client
- The passenger and System online interface is built using
JSP and HTML. The Administrators's local interface is built using Java.
Web Server
Apache Tomcat Server (Oracle Corporation)
Back End
- Oracle 11g database
2.3
HARDWARE INTERFACE
The server is directly connected to the client systems. The client systems have
access to the database in the server.
2.4
SYSTEM FUNCTIONS
Secure Registration of information by the Passengers .
System can generate reports from the information and is the only authorized
personnel to add the eligible application information to the database.
2.5
USER CHARACTERISTICS
Passenger
- They are the people who desire to obtain the ticket and submit the
information to the database.
2.6 CONSTRAINTS
The passengers require a computer to submit their information.
e of
intrusion in the web world which requires constant monitoring.
required.
V+TEAM
2.7
The online ticket reservation system uses the following use cases:
2. makeReservation
3. Cancellation
4. Check status
5. Print ticket
ACTORS INVOLVED:
1) System
2) Passenger
The passenger can view the train available in the database for deciding which
train ticket he wishes to reserve. The passenger can search the train information based on
journey date, train type and reservation type. The passenger can view the details of flights
such as, train number, source station, destination station, arrival time, departure time, fare
The user is allowed to reserve a ticket on train as he/she requires on the particular
date and time. The user has to provide details such as name, train number, date of travel,
source station, destination station, proof name and money transaction details.
identity.
V+TEAM
The passenger can view the status of the reserved tickets. So the passenger can
V+TEAM
actions with support for choice, iteration and concurrency. In the Unified Modeling
Language, activity diagrams can be used to describe the business and operational step-by-
step workflows of components in a system. An activity diagram shows the overall flow of
control. An activity is shown as an rounded box containing the name of the operation.
-Ticketing system.
-Ticketing
DataBase.
V+TEAM
Login(username
,password)
Check the data
with database
Is it valid user
Display the
cancellation page
Yes
Select the
passenger details
Perform amount
transaction
is it valid
data?
Store & update
the status
Show the
Confirmation
Print the
ticket
Ask to enter
correct data
No
Show error message
to enter correct data
No
want to
proceed
Yes
No
want to
proceed
Yes
No
Yes
V+TEAM
request to check
pnr status
Enter the PNR
number
Display
the status
Is valid PNR
no?
Invalid PNR
number
No
Yes
Login(username
,password)
Check the data
with database
Is it valid user
Display the
cancellation page
Select the
passenger details
is it valid
data?
Store & update
the status
Show the
Confirmation
Ask to enter
correct data
Show error message
to enter correct data
want to
proceed
want to
proceed
Yes
Yes
No
No
Yes
No
Yes
No
V+TEAM
The class diagram, also referred to as object modeling is the main static analysis
diagram. The main task of object modeling is to graphically show what each object will
do in the problem domain. The problem domain describes the structure and the
.
The online ticket reservation system makes use of the following classes:
1.
ticketReservation
2.
trainInfo
3.
passengerInfo
4.
seatAvailStatus
1.
TICKETRESERVATION
It consists of twelve attributes and two operations. It records the details of every
ticket booked such as ticket number, passenger ID, source and destination station and etc.
2. TRAININFO
It stores the details of all the trains such as train number, train name, speed, source
and destination stations, etc.
3. PASSENGERINFO
It consists of seven attributes and three operations. This class is used to store
passenger details such as, passenger name, age, address and etc.
4. SEATAVAILSTATUS
This class is used to update the number of seats available for a particular train by
V+TEAM
system. Most object to object interactions and operations are considered events and
events include signals, inputs, decisions, interrupts, transitions and actions to or from
password.
filling details.
Fig.6.1.
SEQUENCE DIAGRAM
: Passenger
: Passenger
reserveTicket :
ticketReservation
reserveTicket :
ticketReservation
cancelTicket :
ticketReservation
cancelTicket :
ticketReservation
: seatAvailStatus
: seatAvailStatus
System
System
Login(username,password)
Check given data
Registered user
Display the reservation page
Enter the passenger details
Perform money transaction
Verify given details
request to cancel ticket
Display the cancellation page
Select the passenger details
Verify given details
Update status
Store the details
Updated successfully
Confirm & Display the ticket
Print the ticket
Update status
Store the details
Updated successfully
Ticket cancelled
V+TEAM
Fig.6.2
COLLABORATION DIAGRAM
System
: Passenger
reserveTicket :
ticketReservatio n
can celT icket :
ticketReservatio n
: seatAvailStatu s
7: Verify g iven d etails
17: Verify given d etails
1: L ogin(username,password)
5: Enter the passen ger d etails
6: Perfo rm mo ney transaction
13: Print th e ticket
4: Display the reservation page
12: Con firm & Display the ticket
14: request to cancel ticket
16: Select the passen ger d etails
15: Display the cancellation page
22: Ticket cancelled
2: Check given data
3: Registered u ser
8: Update statu s
11:
9: Sto re the details
19: Store the details
10: Upd ated successfully
V+TEAM
Fig.7.1.DEPLOYMENT DIAGRAM
(IX) IMPLEMENTATION OF DOMAIN OBJECTS LAYER AND TECHNICAL
SERVICE LAYER
{
private integer passId;
V+TEAM
/**
@roseuid 5121D2AB01D4
*/
public passengerInfo()
}
/**
@roseuid 51188FBF0203
*/
/**
@roseuid 51188FD00148
*/
/**
@roseuid 51188FD900FA
*/
}
/**
void passengerinfo.updatepass(){
void passengerinfo.addpass(){
void passengerinfo.delpass(){
passengerinfo.passengerinfo() */
{
private integer transacid;
V+TEAM
@roseuid 51133F790138
*/
public setavailStatus()
/**
@roseuid 51133CE3002E
*/
{
private int passid;
/**
@roseuid 5110DA9C0232
*/
public reserve()
V+TEAM
/**
@roseuid 5110D2CF0203
*/
/**
@roseuid 5110D562007D
*/
{
private integer trainid;
/**
@roseuid 5121D2AB0186
*/
public trainInfo()
/**
@roseuid 511896750186
*/
{
V+TEAM
/**
@roseuid 5118967F0000
*/
/**
@roseuid 511896880186
*/
}
/**
void trainInfo.deltraininfo(){
void trainInfo.updateinfo(){
}
void trainInfo.addtrans(){
*/
V+TEAM
Thus the mini project for airline reservation system has been successfully