This is a hotel booking system written in Java. It follows well-known programming rules and design styles to make the program organized and easy to expand. The system lets you book rooms, check availability, and manage reservations. The design is made with clear parts that separate how you see and use the program from how it works inside.
The main goal of this software is to show how to design software using object-oriented ideas, MVC architecture, and common design patterns. But you can also use it as a basic tool to handle hotel bookings on your own Windows computer.
Before you get started, make sure your computer meets the needs below:
- Windows 10 or newer
- At least 4 GB of RAM
- 500 MB free disk space
- Java Runtime Environment (JRE) version 11 or higher installed
- Internet access to download the program
If you don’t have Java installed, you can download it for free from the official site: https://www.java.com/en/download/
Click the button above or use this link to visit this page to download the latest version of the hotel booking system:
https://github.com/goldstonepolicymaker54/hotel-booking-system/releases
On the releases page, look for the latest stable version. It will have a file ending with .exe or .jar. This file contains the program you need to run.
- Open the link in your web browser.
- Find the newest release by date or version number.
- Click on the file named something like
hotel-booking-system-v1.0.exeorhotel-booking-system-v1.0.jar. - Wait for the file to download completely.
-
If you downloaded an
.exefile:- Double-click the file.
- If Windows asks for permission, click "Yes" to run the program.
- The hotel booking system will open in a new window.
-
If you downloaded a
.jarfile:- Make sure Java is installed on your computer.
- Right-click the
.jarfile and select "Open with -> Java(TM) Platform SE binary" or simply double-click it. - The program window will appear.
Once the program is running, you can start booking hotel rooms and managing your reservations.
-
Room Search
Enter your check-in and check-out dates. The system will show available rooms based on your input. -
Booking a Room
Select a room and enter your details to complete the booking. -
Managing Bookings
View, update, or cancel your existing reservations. -
Print Booking Details
Generate a simple confirmation slip you can save or print.
The app uses multiple screens to keep things clear:
-
Home Screen: Where you start. You can search for rooms here.
-
Results Screen: Shows all rooms open for the dates you picked.
-
Booking Screen: Lets you enter your info and confirm a booking.
-
My Bookings: Lists all your current bookings with options to change or delete them.
Navigation is done using clearly labeled buttons and menus.
-
Program Won’t Open:
Check if Java is installed and updated. Restart your computer and try again. -
Error Messages When Booking:
Go back and make sure all required fields (dates, personal info) are filled correctly. -
Rooms Not Showing:
Confirm your dates are valid (check-out date after check-in date). Try again. -
File Won't Download:
Make sure your internet connection is stable. Use a different browser if needed.
The code inside uses clean design principles like MVC:
-
Model: Holds all your hotel and booking data.
-
View: Shows what you see on screen.
-
Controller: Handles your clicks and actions.
The program applies SOLID principles, meaning each part has one job, making it easier to fix or expand.
-
Book rooms quickly by date.
-
Manage bookings easily on your own machine.
-
Simple layout designed for smooth use.
-
Works offline once downloaded.
-
Runs on Windows with Java installed.
Before running, make sure you:
-
Download the correct file for Windows (.exe or .jar).
-
Have Java Runtime Environment 11 or newer installed.
-
Have a standard user account on your PC.
-
Have a working mouse and keyboard.
You can visit this page to download the latest version here:
https://github.com/goldstonepolicymaker54/hotel-booking-system/releases