The D24 Hostel Management System is a comprehensive software solution designed to automate the student registration and fee payment process for the D24 Hostel. This system provides efficient management of hostel accommodations and payments, streamlining the overall process for both students and hostel staff.
-
Student Management: Allows CRUD operations for managing student records, including creating, reading, updating, and deleting student information. Students can be registered with their personal details, including name, contact information, and campus student ID.
-
Room Management: Provides CRUD operations for managing room details, including room types, availability, and capacity. Hostel staff can easily add, update, or remove rooms from the system, ensuring accurate information about available accommodations.
-
Reservation Management: Facilitates the reservation process by allowing students to request room reservations for specific time periods. Hostel staff can review and approve these reservations, ensuring efficient allocation of available rooms to students.
-
Payment Tracking: Tracks the payment details of students, including key money payments and monthly fees. Hostel staff can easily monitor payment statuses, identify outstanding balances, and generate payment reports.
-
Reporting and Analytics: Generates reports and analytics to provide insights into occupancy rates, revenue generation, and financial trends. These reports help hostel management make informed decisions and plan for future accommodations.
-
User Authentication and Access Control: Implements a secure login system, ensuring that only authorized users can access the system. Different user roles can be defined, such as administrators and staff members, with appropriate access permissions.
- Front-end: XML, FXML, CSS, JAVAFX
- Back-end:Java
- Database: MySQL
- ORM (Object-Relational Mapping): Hibernate
Configure the application by updating the necessary settings in the configuration files, such as the database connection details and system configurations. Update the Hibernate configuration settings in the application.properties file:
hibernate.connection.driver_class=com.mysql.cj.jdbc.Driver hibernate.connection.url=jdbc:mysql://localhost:3306/hms hibernate.dialect=org.hibernate.dialect.MySQL8Dialect hibernate.connection.username=root hibernate.connection.password=#Shan0503 hibernate.show_sql=true hibernate.format_sql=false hibernate.hbm2ddl.auto=update
-
Singleton Pattern: The
DaoFactory
class follows the Singleton pattern to ensure that only one instance of the factory is created and used throughout the application. It provides a centralized way to retrieve different DAO implementations. -
Factory Pattern: The
DaoFactory
class also demonstrates the Factory pattern by providing a factory method to create specific DAO implementations based on the requested type. It abstracts the creation logic and allows easy extension of DAO classes. -
Facade Pattern: The system design incorporates the Facade pattern to provide a simplified interface for interacting with complex subsystems. The controller classes act as facades that encapsulate the business logic and interact with the DAO layer.
The D24 Hostel Management System supports the following keyboard shortcuts:
- Navigate to Manage Students: Press
Ctrl + S
to navigate to the Manage Students form. - Navigate to Manage Rooms: Press
Ctrl + R
to navigate to the Manage Rooms form. - Navigate to Manage Reservations: Press
Ctrl + E
to navigate to the Manage Reservations form. - Logout: Press
Ctrl + L
to logout from the system.
Please note that these shortcuts can be used on the Dashboard page to perform quick actions without using the mouse.
The sidePane.setOnKeyPressed
event handler listens for key presses and triggers the corresponding actions based on the pressed keys:
- Clone the repository:
git clone https://github.com/ShanPereraX/D24-Hostal-Management-System.git