This Java-based project aims to enhance the equipment loaning processes for the Art Department at British International School.
- Streamlined equipment loaning processes for the Art Department
- Front-end GUI designed using Java Swing for students
- Database connectivity through Microsoft SQL Server Management Studio
-
Rental Screens: Intuitive screens for students to view and request available equipment for loan.
-
Calendar Integration: A calendar feature allowing students to choose loan dates conveniently.
-
Loan History: Detailed history of previous equipment loans for students to track their usage.
-
Availability Indicator: Real-time availability status of equipment to assist students in making informed choices.
-
Email Reminders: Automated email notifications sent to students as a reminder to return equipment on time, implemented using Java Mail API.
-
Equipment Management: Teachers can easily add or remove equipment from the system, ensuring an up-to-date inventory.
-
Email Notifications: Teachers can notify students via email, enhancing communication for important announcements and updates.
- Java Development Kit (JDK)
- Microsoft SQL Server Management Studio
Execute the SQL script script.sql using Microsoft SQL Server Management Studio to create the necessary database schema and tables.
To establish a connection with your SQL Server database, you need to update the JavaConnectionDataBase.java
file located at Equipment Management System/src/equipment/management/system/JavaConnectionDataBase.java
. Follow these steps:
-
Open the
JavaConnectionDataBase.java
file in a text editor. -
Locate the following section of code:
// Update the following information based on your database configuration String dbUrl = "jdbc:sqlserver://YOUR_SERVER_NAME;databaseName=YourDatabaseName;user=YourUsername;password=YourPassword";
To deploy the Equipment Management System as a JAR file, follow these steps using your preferred Integrated Development Environment (IDE):
-
Open Eclipse and navigate to your Equipment Management System project.
-
Right-click on the project in the Project Explorer.
-
Select "Export" from the context menu.
-
In the Export dialog, expand the "Java" category and select "Runnable JAR file." Click "Next."
-
Choose the launch configuration (main class) for your project. If it's not already selected, use the dropdown to find and select the main class (e.g.,
Main
). -
Choose the export destination for your JAR file.
-
Select "Package required libraries into generated JAR" or choose another option based on your preference.
-
Click "Finish" to export the JAR file.
-
Open IntelliJ IDEA and navigate to your Equipment Management System project.
-
Go to "File" > "Project Structure."
-
In the Project Structure dialog, go to "Artifacts" and click the "+" icon to add a new artifact.
-
Choose "JAR" > "From modules with dependencies."
-
Select the main class (e.g.,
Main
) and click "OK." -
Configure the JAR settings, such as specifying the output directory and selecting "Extract to the target JAR." Click "OK."
-
Go to "Build" > "Build Artifacts" and choose "Build" to build the JAR file.
-
The JAR file will be generated in the specified output directory.