Travel and Tourism Management System File
Travel and Tourism Management System File
A Thesis Submitted
in Partial Fulfillment of the Requirements
for the Degree of
by
Ritika Arya(201490600012)
Singh Mansi Yashwant(201490600017)
Kunal Chauhan(201490600
Vishal Tyagi(201490600
i
CANDIDATE DECLARATION
I hereby declare that the work presented in this project report titled, “ Travel and Tourism
Management System ” submitted by me in the partial fulfillment of the requirement of the
award of the degree of Master of Computer Application (MCA) Submitted in the Department
of COER School of Management , is an authentic record of my thesis carried out under the
guidance of Mr. Rohit Kanuja sir
ii
SUPERVISIOR’S CERTIFICATE
It is to certify that the Project entitled “ Travel and Tourism Management System ” which is
being submitted by Ritika Arya , to the College of Engineering, Roorkee in the fulfillment of
Application....., is a record of bonafide project work carried out by him under my/ our guidance
and supervision. The matter presented in this project report has not been submitted either in part
…………………Ritika Arya……………….
iii
ABSTRACT
Tourism Management System is to manage the details of Customer, Hotel Booking, Cancellation and
Tourism places. It manages all the information about Users, Hotel, Packages etc. The project is totally
built at administrative end and thus only the administrator is guaranteed the access to the backend
database. The purpose of this project is to build an application program to reduce the manual work for
managing Tourists, Booking, Places etc. This application will help in accessing the information related to
the travel to the particular destination with great ease. The users can track the information related to their
tours with great ease through this application. The travel agency information can also be obtained
through this application.
Through this system, the propose system is highly automated and makes the travelling activities much
easier and flexible. The user can get the very right information at the very right time. This system will
include all the necessary fields which are required during online reservation time. This system will be
easy to use and can be used by any person. The basic idea behind this project is to save data in a central
database which can be accessed by any authorize person to get information and saves time and burden
which are being faced by their customers.
Administrator can access and modify the information stored in the database of this system, this includes
adding and updating of details, and it will give accurate information and simplifies manual work and also
it minimizes the documentation related work. Provides up to date information. Finally booking
confirmation notification will be send to the users. Tourists can register by providing personal details,
make new reservation and book only one hotel and package and can make cancellation.
iv
TABLE OF CONTENTS
Acknowledgements
i
Candidate’s Declaration
ii
Supervisor’s Certificate
iii
Abstract
iv
Table of Contents
v
List of Figure
vi
CHAPTER 1: INTRODUCTION
1.1 Introduction to DBMS
1.2 About SQL
1.2.1 DDL - Data Definition Language
1.2.2 DML – Data Manipulation Language
1.2.3 DCL – Data Control Language
1.3 User Interface Design
1.3.1 Graphical User Interface
1.3.2 Command Line Interface
1.4 Introduction to Java
1.4.1 Main Features of Java
1.5 Introduction to IDE
1.5.1 Introduction to JDBC
1.6 Project Description
3.1 Introduction
3.2 Schema Diagram
3.3 E R Diagram
CHAPTER 4 : IMPLEMENTATION
4.1 Description Of Tables
4.1.1 Account
4.1.2 Customer
4.1.3 Book Package
4.1.4 Hotel
4.2 Triggers And Stored Procedure
CHAPTER 5 : TESTING
CHAPTER 6: CONCLUSION AND FUTURE SCOPE
CHAPTER 7: SNAPSHOTS
CHAPTER 8: REFERENCES
v
LIST OF FIGURES
FIG 3.2: Schema diagram of Travel and Tourism Management System
FIG 3.3: ER diagram of Travel and Tourism Management System
FIG 7.1: Snapshot of Login page
FIG 7.2: Snapshot of Loading page
FIG 7.3: Snapshot of Main Frame
FIG 7.4: Snapshot of Personal Details
FIG 7.5: Snapshot of Update Customer page
FIG 7.6: Snapshot of View Customer page
FIG 7.7: Snapshot of Package page
FIG 7.8: Snapshot of Book Package
FIG 7.9: Snapshot of View Package
FIG 7.10: Snapshot of Hotels/Resort page
FIG 7.11: Snapshot of Book Hotel
FIG 7.12: Snapshot of View Hotel
FIG 7.13: Snapshot of Destination page
FIG 7.14: Snapshot of Payment
FIG 7.15: Snapshot of Delete All
FIG .16: Snapshot of About page
LIST OF TABLES
Table 1.2.1: DDL
Table 1.2.2: DML
Table 1.2.3: DCL
Table 4.1.1:Account
Table 4.4.2:Customer
Table 4.4.3:Book Package
Table 4.4.4:Book Hotel
Table 4.4.5:Hotel
Table 5: Test cases for the project
vi
CHAPTER 1
INTRODUCTION
1.1 INTRODUCTION TO DBMS
Database is a collection of related data and data is collection of facts and figure that can
be procedure information.
Mostly data represents recordable facts. Data aids in producing information, which is
based on facts. For example, if we have data about marks obtained by all students, we
can then conclude about toppers and average marks.
A Database management system stores data in such a way that it becomes easier to
retrieve, manipulate, and produce information.
Traditionally, data was organized in file formats. DBMS was a new concept then, and
all the research was done to make it overcome the deficiencies in traditional style of
data management. A modern DBMS has the following characteristics,
• Real-word entity
• Relation-based tables
• Less redundancy
• Consistency
• Query language
• ACID Properties
• Multiple views
• Multi users and concurrent access
• Security
Features:
What is SQL:
SQL is a Structured Query Language, which is a computer language for storing,
manipulating and retrieving data stored in a relation database.
SQL is the standard language for Relational Database System. All the Relation Database
Management System (RDBMS) like My SQL, MS Access, Oracle, Sybase, Informix,
Postgres and SQL Server use SQL as their standard database language.
Why SQL?
• Allows to embed within other language using SQL modules, libraries and pre-
compilers
•
Brief history of SQL:
• 1970 – Dr. Edgar F. “Ted” Codd of IBM is known as the father of RDBMS. He
described the relational model for database.
• 1974 – Structured Query Language appeared.
• 1978 – IBM worked to develop Codd’s ideas and released a product named
System/R.
• 1986 – IBM developed the first prototype of relational database and standardized by
ANSI. The first relational database was released by Relational Software which later
came to be known as ORACLE.
SQL Commands:
1)TABLE 1.2.1: DDL – Data Definition Language
Commands Description
Commands Description
Commands Description
A graphical user interface (GUI) is a type of interface that allows users to interact with
electronic devices or programs through graphical icons and visual indicators such as
secondary notation, as opposed to text-based interfaces, typed command labels or text
navigation. GUIs
are easier to learn than command-line interfaces (CLIs), which require commands to be
typed
on the keyboard.
Third-party proprietary and free graphical administration applications (or "front ends") are
available that integrate with MySQL and enable users to work with database structure and
data visually. Some well-known front ends are:
MySQL Workbench
MySQL Workbench is the official integrated environment for MySQL. It was developed by
MySQL AB, and enables users to graphically administer MySQL databases and visually
design database structures. MySQL Workbench replaces the previous package of software,
MySQL
GUI Tools. Similar to other third-party packages, but still considered the authoritative
MySQL front end, MySQL Workbench lets users manage database design & modelling,
SQL development (replacing MySQL Query Browser) and Database administration
(replacing MySQL Administrator).
MySQL Workbench is available in two editions, the regular free and open source
Community Edition which may be downloaded from the MySQL website, and the
proprietary Standard Edition which extends and improves the feature set of the Community
Edition.
Simple
Java is considered as one of simple language because it does not have complex features like
Operator overloading, Multiple inheritance, pointers and Explicit memory allocation.
Robust Language
Robust means reliable. Java programming language is developed in a way that puts a lot of
emphasis on early checking for possible errors, that’s why java compiler is able to detect errors
that are not easy to detect in other programming languages. The main features of java that makes
it robust are garbage collection, Exception Handling and memory allocation.
Secure
We don’t have pointers and we cannot access out of bound arrays (you get
ArrayIndexOutOfBoundsException if you try to do so) in java. That’s why several security flaws
like stack corruption or buffer overflow is impossible to exploit in Java.
Java is distributed
Using java programming language, we can create distributed applications. RMI (Remote Method
Invocation) and EJB (Enterprise Java Beans) are used for creating distributed applications in java.
In simple words: The java programs can be distributed on more than one system that are
connected to each other using internet connection. Objects on one JVM (java virtual machine)
can execute procedures on a remote JVM.
Multithreading
Java supports multithreading. Multithreading is a Java feature that allows concurrent execution of
two or more parts of a program for maximum utilization of CP.
Portable
As discussed above, java code that is written on one machine can run on another machine. The
platform independent byte code can be carried to any platform for execution that makes java code
portable.
The Eclipse platform which provides the foundation for the Eclipse IDE is composed of
plug-ins and is designed to be extensible using additional plug-ins. Developed using Java, the
Eclipse platform can be used to develop rich client applications, integrated development
environments and other tools. Eclipse can be used as an IDE for any programming language
for which a plug-in is available.
This application will help in accessing the information related to the travel to the particular
destination with great ease. The users can track the information related to their tours with great
ease through this application. The travel agency information can also be obtained through this
application.
Through this system, the propose system is highly automated and makes the travelling
activities much easier and flexible. The user can get the very right information at the very right
time. This system will include all the necessary fields which are required during online
reservation time. This system will be easy to use and can be used by any person. The basic idea
behind this project is to save data in a central database which can be accessed by any authorize
person to get information and saves time and burden which are being faced by their customers.
Administrator can access and modify the information stored in the database of this system, this
includes adding and updating of details, and it will give accurate information and simplifies
manual work and also it minimizes the documentation related work. Provides up to date
information. Finally booking confirmation notification will be send to the users.
Tourists can register by providing personal details, make new reservation and book only one
hotel and package and can make cancellation.
CHAPTER 2
REQUIREMENTS SPECIFICATION
System design is the process of defining the elements of a system such as the architecture,
modules and components, the different interfaces of those components and the data that goes
through that system. It is meant to satisfy specific needs and requirements of a business or
organization through the engineering of a coherent and well-running system.
System designing in terms of software engineering has its own value and importance in
the system development process as a whole. To mention it may though seem as simple as
anything or simply the design of systems, but in a broader sense it implies a systematic and
rigorous approach to design such a system which fulfils all the practical aspects including
flexibility, efficiency and security.
Before there is any further discussion of system design, it is important that some points be
made clear. As it goes without saying that nothing is created that is not affected by the world in
which it’s made. So, the systems are not created in a vacuum.
They are created in order to meet the needs of the users. They are not only intended to
solve the existing problems, but they also come up with acceptable solutions to the problems that
may arise in the future. The whole process of system development, from blueprint to the actual
product, involves considering all the relevant factors and taking the required specifications and
creating a useful system based on strong technical, analytical and development skills of the
professionals.
Let’s get back to our discussion about what the system design phase is and the importance
of system design in the process of system development. Being another important step in the
system development process, system designing phase commences after the system analysis phase
is completed. It’s appropriate to mention that the output or the specifications taken through the
phase of system analysis become an input in the system design phase which in turn leads to
workout based on the user defined estimations.
The importance of this phase may be understood by reason of the fact that it involves
identifying data sources, the nature and type of data that is available. For example, in order to
design a salary system, there is a need for using inputs, such as, attendance, leave details,
additions or deductions etc. This facilitates understanding what kind of data is available and by
whom it is supplied to the system so that the system may be designed considering all the relevant
factors. In addition, system designing leads to ensure that the system is created in such a way that
it fulfils the need of the users and keep them at ease being user-oriented.
3.2 SCHEMA DIAGRAM:
A database schema is the skeleton structure that represents the logical view of the entire database.
It defines how the data is organized and how the relations among them are associated. It
formulates all the constraints that are to be applied on the data.
A database schema defines its entities and the relationship among them. It contains a descriptive
detail of the database, which can be depicted by means of schema diagrams. It’s the database
designers who design the schema to help programmers understand the database and make it
useful.
Account:
usernam name password security answer
e
Customer:
usernam id id_number name gender country address phone email
e
Book package:
usernam package person id id_numbe phone price
e s r
Book Hotel:
usernam hotel persons days ac food id id_number phone price
e
Hotel:
hotel cost_per_day food_charges ac_charges
3.3 E R DIAGRAM:
ER Diagram stands for Entity Relationship Diagram, also known as ERD is a diagram that
displays the relationship of entity sets stored in a database. In other words, ER diagrams help to
explain the logical structure of databases. ER diagrams are created based on three basic concepts:
entities, attributes and relationships. ER Diagrams contain different symbols that use rectangles to
represent entities, ovals to define attributes and diamond shapes to represent relationships.
3.3 The above figure represents the ER Diagram.
CHAPTER 4
IMPLEMENTATION
TRIGGERS:
A trigger is a named database object that is associated with a table, and that activates
when a particular event occurs for the table. Some uses for triggers are to perform checks of
values to be inserted into a table or to perform calculations on values involved in an update.
A trigger is defined to activate when a statement inserts, updates, or deletes rows in the
associated table. These row operations are trigger events. A trigger can be set to activate either
before or after the trigger event. For example, you can have a trigger activate before each row
that is inserted into a table or after each row that is updated.
STORED PROCEDURE:
A stored procedure is a prepared SQL code that you can save, so the code can be reused over and
over again. So, if you have an SQL query that you write over and over again, save it as a stored
procedure, and then just call it to execute it. You can also pass parameters to a stored procedure,
so that the stored procedure can act based on the parameter value(s) that is passed.
The most important part is parameters. Parameters are used to pass values to the Procedure.
There are 3 different types of parameters, they are as follows:
IN: This is the Default Parameter for the procedure. It always receives the values from
calling program.
OUT: This parameter always sends the values to the calling program.
IN OUT: This parameter performs both the operations. It Receives value from as well
as sends the values to the calling program.
CHAPTER 5
TESTING
Test Test case Input Steps to Expected Actual Pass/Fail
case Data execute the Result Result
s test case
No.
1 Login Wrong After A proper A Pass
Screen username entering the message message
or data click indicating the was
password on the login error should displayed
button appear and the saying
user should be Invalid
redirected to username
login screen. or
password
2 Insertion If any After A proper A message Pass
field was entering the message was
not data click indicating the displayed
entered. on the create error should saying
button appear and the Enter all
user should be the details
redirected to properly
customer screen.
3 Deletion If any After A proper A message Pass
field was entering the message was
not data click indicating the displayed
entered. on the delete error should saying
button appear and the Enter all
user should be the details
redirected to properly
customer screen.
4 Update If any After A proper A message Pass
field was entering the message was
not data click indicating the displayed
entered. on the error should saying
update appear and the Enter all
button user should be the details
redirected to properly
update customer
screen.
CHAPTER 6
CONCLUSION AND FUTURE ENHANCEMENT
The process of the system we can consider here, can maintain the databases of the
system. We can insert to the databases and retrieve all the information.
The main aim of this project is to help the tourists to manage their trip. It makes all
operation of the tour company easy and accurate. The standalone platform makes tourism
management easy by handling requests and providing servers for the customers located at
different parts of the various
cities. Different modules have been incorporated in this project to handle different parts and
sector of the tour management field.
CHAPTER 7
SNAPSHOTS
LOGIN PAGE:
LOADING PAGE:
MAIN FRAME:
PERSONAL DETAILS:
PACKAGE PAGE:
BOOK PACKAGE:
VIEW PACKAGE:
HOTEL/RESORT PAGE:
BOOK HOTEL:
VIEW HOTEL:
DESTINATION PAGE:
PAYMENT:
DELETE ALL:
ABOUT PAGE:
CHAPTER 8
REFERENCES
We have taken references from many resources like YouTube and many websites.
Websites:
• https://www.w3schools.com
• https://www.javatpoint.com
• https://www.codecademy.com
• https://www.stackoverflow.com