Skip to content

fashfa026-ctrl/Hotel-Management-System-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotel-Management-System-Java

A desktop-based Hotel Management System developed using Java Swing and MySQL. The system manages room bookings, customer check-in/check-out operations, billing, authentication, and hotel administration.

Hotel Management System

Overview

The Hotel Management System is a desktop application developed using Java Swing and MySQL. It helps hotel administrators manage room reservations, customer check-ins, customer check-outs, and billing operations efficiently through a user-friendly graphical interface.

This project was developed as an academic software development project to demonstrate database integration, GUI development, and hotel management functionalities.


Features

User Authentication

  • User Registration (Sign Up)
  • User Login
  • Forgot Password Recovery
  • Secure authentication using database validation

Room Management

  • Add new rooms
  • Update room information
  • Manage room availability
  • View room status

Customer Check-In

  • Register customer details
  • Assign available rooms
  • Store customer records in database

Customer Check-Out

  • Process customer departures
  • Update room availability automatically
  • Calculate customer charges

Billing System

  • Generate customer bills
  • View billing details
  • Print invoices

Dashboard

  • Easy navigation through homepage
  • Access all hotel management modules from a single interface

Technologies Used

Programming Language

  • Java

GUI Framework

  • Java Swing

Database

  • MySQL

Connectivity

  • JDBC (Java Database Connectivity)

Development Environment

  • NetBeans IDE

Project Structure

src/
└── hotel/
    └── management/
        ├── login.java
        ├── signup.java
        ├── forgot.java
        ├── homepage.java
        ├── ManageRoom.java
        ├── CustomerCheckin.java
        ├── Checkout.java
        ├── BillDetails.java
        ├── BillPrint.java
        ├── loading.java
        └── loading1.java

System Modules

Login Module

Allows registered users to access the system securely.

Signup Module

Enables new users to create an account.

Forgot Password Module

Provides password recovery functionality.

Manage Room Module

Used to add, update, and manage hotel rooms.

Customer Check-In Module

Stores customer information and allocates rooms.

Customer Check-Out Module

Handles customer departure and room release.

Billing Module

Calculates payments and generates bills.


Installation

Step 1: Clone Repository

git clone https://github.com/your-username/Hotel-Management-System-Java.git

Step 2: Open Project

Open the project using NetBeans IDE.

Step 3: Configure Database

Create a MySQL database and update the database connection details inside the source code.

Example:

Connection con = DriverManager.getConnection(
    "jdbc:mysql://localhost:3306/hotel_management",
    "root",
    "password"
);

Step 4: Add MySQL Connector

Ensure MySQL Connector/J is included in the project libraries.

Step 5: Run Project

Run the Login screen and start using the system.


Learning Outcomes

This project demonstrates:

  • Object-Oriented Programming (OOP)
  • GUI Development using Java Swing
  • Database Connectivity using JDBC
  • CRUD Operations
  • Authentication Systems
  • Billing Management
  • Desktop Application Development

Future Improvements

  • Online room booking
  • Admin and staff roles
  • Payment gateway integration
  • Report generation
  • Email notifications
  • Customer management dashboard

Author

Developed as an academic project for learning Java desktop application development and database management.


License

This project is available for educational and learning purposes.

About

A desktop-based Hotel Management System developed using Java Swing and MySQL. The system manages room bookings, customer check-in/check-out operations, billing, authentication, and hotel administration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages