Sdadadsd
Sdadadsd
The main purpose of our online ticket booking system is to revolutionize the way customers
purchase cinema tickets by offering a seamless, convenient, and automated experience. Our system
serves as an alternate avenue for patrons to secure their tickets, bypassing the traditional hassle of
queuing at the box office. Once the customer's data is inputted into our robust database, our
dedicated staff can rest assured that the entire process is hands-free from thereon. Orders are
efficiently received through the system and seamlessly processed without any manual intervention
required. This automation not only enhances the efficiency of our operations but also ensures a
swift and hassle-free booking experience for our valued customers, thereby elevating their overall
satisfaction with our service.
2 Application Users
In an online ticket booking system for cinema, the application users encompass a diverse range
of individuals, each playing a crucial role in the seamless functioning of the platform. Firstly, there
are the customers, or end-users, who utilize the system to browse available movie listings, select
preferred showtimes, and purchase tickets from the comfort of their homes or on the go. These
users seek convenience, reliability, and ease of use, expecting a hassle-free experience from start
to finish. Then, there are the administrators or staff members responsible for managing the system
behind the scenes. These individuals oversee various aspects such as updating movie schedules,
monitoring ticket sales, and resolving any technical issues that may arise. Their primary goal is to
ensure the smooth operation of the platform and provide timely support to customers whenever
needed. Additionally, there may be other stakeholders involved, such as cinema owners or third-
party vendors, who collaborate with the system to facilitate ticket sales and optimize business
processes. Ultimately, the collective engagement of these application users is integral to the success
and efficiency of the online ticket booking system, catering to the needs of both customers and
service providers alike.
3 Functions Overview
The following functionality will be supported by the stadium reservation system.
1. User Registration and Login.
2. Movie Listings.
3. Showtimes & Seat Selection.
4. Booking and Payment.
1
4 Detailed Functional Requirements
● Users should be able to register with the system using their email or social media accounts and
login securely.
● The system should display a list of movies currently playing or upcoming, along with details
such as title, synopsis, genre, duration, and ratings.
● Users should be able to view showtimes for each movie, including dates, times, and available
theatres.
● Users should be able to select seats for the desired showtime from an interactive seating map.
● Once seats are selected, users should be able to proceed to booking and make payments
securely using various payment methods (credit/debit cards, mobile wallets, etc.).
● Users should be able to read and leave reviews/ratings for movies they have watched.
2
iii. Booking has a one-to-one relationship with Payment, as each booking corresponds
to one payment transaction
iv. Theater has a one-to-many relationship with Seat, as a theater can have multiple
seats, but each seat is in one theater.
3
7 Schema Diagram
4
1.
2.
3.
4.
9. Data Dictionary
9.1 Match
Match relation:
5
Attribute Data Type Constraints Remarks
9.2 Users
Users relation:
Attribute Data Type Constraints Remarks
9.3 Tickets_booking
6
Tickets_booking relation:
Attribute Data Type Constraints Remarks
9.4 Payment
Payment relation:
Attribute Data Type Constraints Remarks
7
10. Complete Database for Online Movie Ticket Booking System
8
Bob 2 General 2024-04- Stadium 40.00 119
20 B
Price Mod Id
|------------|-------------|
| Ind vs Aus | 1 |
9
statement.
11.9 Using the operators like SOME, ALL, IN, EXISTS, ANY.
10
12.2 Sequence:
11
12.3 Synonym:
12.4 Index:
12
13. PL/SQL Sub Programs
13.3 Packages:
13.4 Triggers:
14. Application Design using Higer Level Language
14.1 JDBC:
JDBC (Java Database Connectivity) is a Java API that allows Java programs to
interact with databases. It provides methods to query and update data in a database, and it is widely
used for database connectivity in Java applications.
import java.sql.*;
import java.util.Scanner;
13
public static void main(String[] args) {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
// Connection details
14
System.out.println("Enter your choice (1: Insert, 2: Update, 3:
Delete): ");
switch (choice) {
case 1: // Insert
insertMovieStmt.setInt(1, movieId);
insertMovieStmt.setString(2, movieName);
insertMovieStmt.setDate(3, releaseDate);
int movieInsertResult =
15
insertMovieStmt.executeUpdate();
break;
case 2: // Update
int movieUpdateResult =
updateMovieStmt.executeUpdate();
16
}
break;
case 3: // Delete
int movieDeleteResult =
deleteMovieStmt.executeUpdate();
break;
default:
System.out.println("Invalid choice!");
17
// Closing resources
con.close();
scanner.close();
} catch (Exception e) {
e.printStackTrace();
18
19
20
21
22
23