The Movie Ticket Booking System is a graphical user interface (GUI) application designed to facilitate the booking of tickets for events occurring on specified future dates. This system consists of two main components: a server application and a client application, allowing for efficient management and purchase of tickets.
- Future Events: Configure events to take place on a specific date in the future.
- Multiple Showtimes: Set up various showtimes within a single day (e.g., 7:00 AM - 9:00 AM, 9:30 AM - 11:30 AM).
- Seating Arrangement: Configure the layout of the venue, including the number of zones or stages, rows, and seats per row.
- Dynamic Pricing: Set different ticket prices based on the designated zones.
- Internal Data Management: Operate without a database by utilizing internal data storage for managing event and booking information.
- Admin Controls: Allows administrators to configure events, seating arrangements, and ticket prices.
- Real-Time Monitoring: Provides a view of seat availability (occupied or vacant).
- Multi-Client Support: Facilitates simultaneous connections from multiple client applications for ticket booking.
- User Connectivity: Connects to the server to retrieve and display available events and their showtimes.
- Seating Layout Display: Shows the seating arrangement and indicates the status of each seat (occupied or available).
- Ticket Booking: Enables users to book tickets for available seats, storing essential customer information (name, phone number, seat selection).
- Java Development Kit (JDK)
- Eclipse IDE (or another compatible Java IDE)
- Open Eclipse IDE.
- Go to File -> Open Projects from File System....
- Click on Directory..., navigate to the
BookingSystem
project directory, and select it. - Click on Select Folder to import the project.
- In the
run
directory, right-click onStartServerMain.java
. - Choose Run As -> Java Application to start the server, then close the application.
- Repeat the same steps for
StartClientMain.java
to ensure both files are configured to run.
- Create a new folder named
release
. You can place it anywhere on your system.
- Right-click on the
BookingSystem
project in Eclipse. - Go to Export... -> Java -> Runnable JAR file and click Next.
- In the Launch configuration dropdown, select
StartServerMain - BookingSystem
. - For Export destination, click Browse..., navigate to the
release
folder, and specify a name for the JAR file. - Click Finish to create the JAR file.
- Repeat the same steps for
StartClientMain - BookingSystem
.
- Copy the
BookingInfoData.dat
andUserData.dat
files into therelease
folder.
- In the
release
folder, create the following directory structure:src/main/java/assets
. - Copy all images from the
assets
directory in the project and paste them into the newly createdassets
folder in therelease
directory.
- Navigate to the
release
folder. - Double-click on the
StartServerMain.jar
to start the server. - Similarly, double-click on the
StartClientMain.jar
to start the client.