A Java-based travel booking application that allows users to browse, book, and manage travel packages including flights and hotel accommodations. The system includes both user and administrative interfaces for complete travel package management.
-
User Interface
- Browse available travel packages
- Create and manage bookings
- View booking history
- Search destinations
- View package details including flights and hotels
-
Admin Interface
- Create and manage travel packages
- Add hotels and flights
- Manage user accounts
- Create additional admin accounts
- Clone the repository
- Ensure you have Java 21 installed
- Set up MySQL database (setup instructions provided separately)
- Configure database connection in
src/utils/DatabaseConnection.javawith your database credentials - Compile and run the application:
javac -d bin src/**/*.java java -cp "bin:lib/mysql-connector-j-8.x.x.jar" Main
- Launch the application
- Create a new account or log in
- Browse available travel packages
- Select desired package and dates
- Complete booking process
- View and manage bookings from the user dashboard
- Log in with admin credentials
- Access admin dashboard to:
- Create new travel packages
- Add hotels and flights
- Manage user accounts
- View system data
The application is built using:
- Java Swing for the GUI
- MySQL for data persistence
- DAO pattern for database operations
- MVC architecture
- Mark McGuire
- Maxwell Dubow
- William Liu
- Java Version: OpenJDK 21.0.5 or higher
- Database: MySQL
- Screen Resolution: Minimum 1024x768
- Operating System: Cross-platform (Windows, macOS, Linux)
- Required Libraries: MySQL Connector/J (JDBC driver)
- Database setup scripts are provided separately
- The application requires an active internet connection for database access