The project is implemented using Swing GUI widget toolkit and MYSQL database. There are totally 9 classes. The root class i.e Hotel exhibits singleton design pattern whereas RoomCustomer and RestuarantCustomer incorporate the properties of factory design pattern.
A customer can select either of the services provided by the hotel i.e., Accommodation or Food. Based on the customer’s choice he/she will be redirected to the next page where he/she can select desired food items or book rooms. Admin can add/delete dishes or rooms to the database.
Technology Used :
- Front end : Java Swing.
- Database :Mysql Database
- IDE Used : Netbeans 8.2 RC
How to run the Payroll System using Java source code
The following are the software that you’ll need in order for this program to run:
Step 1: You must have Java Development Kit Software. you can download the JDK in this website
Step 2: You must have Netbeans 8.2 .
Step 3: Install XAMPP
Step 4: Download the Source code below
Step 5: Setup the database