Final Dbmsminiprojet
Final Dbmsminiprojet
: 201 3
GURU GOBIND SINGH FOUNDATION'S
Class: TE CO-A
Title of Project: Movie Ticket Booking System
Group Members:
Roll No. Name
62 Dhanashree Jejurkar
71 Chetana Khairnar
72 Saurav Khairnar
73 Hamiz Khan
ESTD. : 2013
Cer ficate
It is a great pleasure to acknowledge those who extended their support, and contributed time
and psychic energy for the completion of this mini project. At the outset, I would like to thank Mrs.
Riya Chinchwadkar, for her valuable and skilful guidance, assessment and suggestions from time-
to-time im-proved the quality of work in all respects. I would like to take this opportunity to express
my deep sense of gratitude towards his, for his invaluable contribution in completion of this project.
I am also thankful to Mr. S.G. Shukla, Head of Computer Engineering Department for his timely
guidance, inspiration and administrative support without which my work would not have been
completed. I am also thankful to the all staff members of Computer Engineering Department and
Librarian, Guru Gobind Singh College of Engineering and Research Centre, Nashik. Also, I would
like to thank my colleagues and
friends who helped me directly and indirectly to complete this project.
Abstract
The Movie Ticket Booking System represents a cutting-edge solution in the realm of cinema
experiences. It stands as an innovative and user-friendly platform aimed at simplifying the process of
reserving movie tickets. This system is designed to cater to the evolving needs of movie enthusiasts
by providing a comprehensive database of films, complete with detailed information and trailers,
empowering users to make informed decisions. Its intuitive interface facilitates effortless browsing of
showtimes and convenient seat selections, enhancing the overall movie-going experience. The
incorporation of a secure payment gateway ensures that financial transactions are safeguarded, offering
users peace of mind when purchasing tickets. Real-time notifications and updates further enrich the
experience, keeping users informed about their bookings and allowing for modifications within
specific timeframes, fostering flexibility
INDEX
1 Introduction 1
2 SRequirement Specification 2
4 Source Code 5
6 Testing 9
8 Conclusion 11
1 ER Diagram 4
The project aims to provide moviegoers with a convenient online platform for booking
movie tickets,
It will feature a search functionality that allows users to check the availability of movie
showtimes and seats.
The system will offer a user-friendly interface for booking tickets quickly and easily.
1
Chapter 2
Requirement Specification
1. Hardware Requirements:
Number Description
2 PC with 4 GB RAM.
2. Software Requirements:
Number Description Type
IDE Intellj
4
2
Technical feasibility is a critical aspect of project assessment that evaluates whether the
proposed project can be successfully implemented from a technological standpoint. It
involves assessing whether the necessary technology and resources are available
3
Chapter 3
System Design
3.1 ER Diagram:
ER Diagram stands for En ty Rela onship Diagram, also known as ERD is a diagram that
displays the rela onship of en ty 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: en es, a ributes and rela onships.
4
Chapter 4
Source Code
C) Movie TicketBookingSystem.java x
1
2
3 import java.awt. event. Ac onEvent ; import java. awt. event. Ac onListener; s import java. sqt. Connec on ;
6 import java. sql. DriverManager;
7 import java.sql. PreparedStatement ;
8 import java. sqt. SQLExcep on ; 9 import java. U l. regex. Pa ern ;
10
Booking System•);
16 setSize( width: 600, height: 400) ;
17 setoefaultctoseopera on CLOSE) ; 18 setLayout(new BorderLayout());
19
20 // Add a panel at the top to display "Ticket Booking System" with padding
21 JPane1 topPane1 = new JPane1(new FlowLayout(F10wLayout.CENTER));
22 JLabe1 tle = new JLabet( text: • Ticket Booking System');
23 tle.setFont(new Font( name: • Arial', Font.BOLD, size: 20));
24 topPanet. add ( tle) ; 25 add(topPanet, BorderLayout.NORTH) ;
26
JPaneI centerPanel = new JPanel(new GridLayout( rows: 7, cols: 2, hgap: 10, vgap: 10)) ; // Added padding add(centerPane1,
BorderLayout.CENTER);
5
JPanel bo omPanel : new JPanel(new
FlowLayout(FlowLayout.CENTER)); bo omPanel. add (bookBu on) ;
add(bo omPanel, BorderLayout.SOUTH) ; getContentPane()
.setBackground(new Color( r: 173, g: 216, b: 230));
String insertQuery = • INSERT INTO booker_data (name, age, movie, me, date) VALUES ( ? ,
PreparedStatement preparedStatement = connec on. prepareStatement(insertQuery);
preparedStatement.setString( parameterlndex: I, name) ;
connec on. close() ;
1 usage
@0verride public boolean shouldYieldFocus(JComponent input) {
boolean valid = isVa dAge(((JTextFie1d) input) .getText()); if ( !
valid) {
JOp onPane.showMessageDiatog( parentcomponent: MovieTicketBookingSystem.this, message: •Age should be a numbe
6
return valid;
=enter password
'welcome to the mySQL monitor. Commands end with ; or \g. our mySQL connec on
id is 9
Server version: 8.0.35 mySQL Community Server - GPL
Copyright (c) 2000, 2023, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corpora on and/or its
affiliates. Other names may be trademarks of their respec ve owners.
Type 'help; ' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use book_data; Database
changed mysql> select * from
booker data; Empty set (0. ee sec)
mysql> select * from booker data;
7
Chapter 5
Graphical User Interface
8
Chapter 6
Testing
1. Regression Testing
Software regression testing is performed to determine if code modifications break an application or
consume resources.
2. Acceptance Testing
Acceptance testing ensures that the end-user (customers) can achieve the goals set in the business
requirements, which determines whether the software is acceptable for delivery or not. It is also
known as user acceptance testing (UAT).
5. Functional Testing
Functional testing checks an application, website, or system to ensure it's doing exactly what it's
supposed to be doing.
6. Software testing
Software testing is the act of examining the artifacts and the behavior of the software under test by
validation and verification. Software testing can also provide an objective, independent view of the
software to allow the business to appreciate and understand the risks of software implementation.
9
Chapter 7
7.1 Advantages:
User Friendly.
Cost effective.
The system offers a convenient way for moviegoers to book tickets online, avoiding the
hassle of long queues
Online ticket booking can lead to increased ticket sales as users can book from anywhere
Increases efficiency.
7.2 Disadvantages:
Developing the system, including the mobile app and website, can be costly, and there may
be ongoing maintenance expenses.
10
Conclusion
In conclusion, the "Movie Ticket Booking System" project presents a promising solution to the
inefficiencies in traditional movie ticket booking However, it also entails challenges, including
development and maintenance costs, potential technical hurdles, and the need for user adoption.
By carefully addressing these challenges and leveraging its strengths, the project has the
potential to revolutionize the way movie tickets are booked, making it more efficient
11