Core Java Project Final
Core Java Project Final
● Hotels: Stores information about hotels, such as name, location, and amenities.
● Rooms: Contains details about individual rooms in hotels, including room
number, type, price, and status.
● Guests: Stores information about guests, including name, email, and phone
number.
● Reservations: Keeps track of reservations made by guests, including check-in
and check-out dates.
Backend Java Code: The backend Java code will include Data Access Objects (DAOs)
for each entity (Hotel, Room, Guest, Reservation) to perform CRUD operations on the
database. Additionally, business logic will be implemented to handle operations such as
checking room availability and calculating reservation costs.
Swing GUI: The Swing GUI will provide an intuitive interface for users to interact with the
system. It will include functionalities such as adding/editing hotels, rooms, and guests,
making reservations, and viewing reservation details.
Features:
1. Hotel Management:
● Add/Edit/Delete hotels.
● View hotel details.
2. Room Management:
● Add/Edit/Delete rooms.
● View room details.
3. Guest Management:
● Add/Edit/Delete guests.
● View guest details.
4. Reservation Management:
● Make new reservations.
● View reservation details.
● Check room availability for specific dates.
2. Eclipse Code:
● Set up a Java project for the backend code.
● First create entity classes : Hotel.java, Room.java, Guest.java,
Reservation.java to define the fields and then constructor and
getters setters.
● Then create a DatabaseConnector class which will have the code
for connecting to MySQL Database.
● Create Data Access Objects (DAOs) for each entity (Hotel, Room,
Guest, Reservation) to interact with the database.
● Implement CRUD operations (Create, Read, Update, Delete) within
each DAO to manage data.
Submission Guidelines:
● Prepare a project folder encompassing your .jar file and compress it into a
zip archive.
● Upload the zipped project folder on their respective dashboard..