Skip to content

Latest commit

 

History

History
118 lines (73 loc) · 4.51 KB

File metadata and controls

118 lines (73 loc) · 4.51 KB
layout default
title 🎉 Employee - Manage Your Team with Ease
description 💼 Build an employee management system using Java, JSP, and MySQL for efficient login, record search, and database handling on Apache Tomcat.

🎉 Employee - Manage Your Team with Ease

🚀 Getting Started

Welcome to the Employee Management System! This Java web application helps you manage employee information effortlessly. Follow the steps below to download and run the application.

📥 Download Application

Download Employee

💻 System Requirements

To run the Employee Management System, ensure your system meets the following requirements:

  • Operating System: Windows 10 or later, macOS, or a modern Linux distribution
  • Java Runtime Environment (JRE): Java 8 or later
  • Web Browser: Any modern browser (Chrome, Firefox, Safari)
  • Database: MySQL 5.7 or later

🛠️ Installation Steps

Follow these steps to set up the Employee Management System on your computer.

  1. Visit the Releases Page

    Go to the Releases page to find the latest version of the application.

  2. Download the Application

    Under the latest release, look for the file named Employee.war. Click on the file to download it to your computer.

  3. Set Up a Local Server

    To run the application, you need a local server that supports Java web applications. Apache Tomcat is a good option. Download and install Apache Tomcat from the official website.

  4. Deploy the Application

    • Open the Apache Tomcat folder.
    • Navigate to the webapps directory.
    • Place the downloaded Employee.war file here.
  5. Start Apache Tomcat

    Launch the Apache Tomcat server. You can do this by double-clicking on the startup.bat file located in the bin folder of the Tomcat installation.

  6. Access the Application

    Open a web browser and go to http://localhost:8080/Employee. This will launch the Employee Management System.

📚 Features

  • Employee Registration: Easily add new employees with their details.
  • Data Management: Update and delete employee records as needed.
  • Search Functionality: Quickly find employee information using search filters.
  • User-Friendly Interface: Simple and intuitive layout for all users.

🔑 Login Credentials

To access the application, use the following default credentials:

  • Username: admin
  • Password: password

Make sure to change the password after your first login for security reasons.

⚙️ Configuration

In case you need to connect the application to a MySQL database, follow these steps:

  1. Install MySQL

    Download MySQL from the official website and install it on your computer.

  2. Create a Database

    Open your MySQL client and create a new database named employee_db.

  3. Configure Database Connection

    Locate the context.xml file inside the META-INF folder of the application. Update the database connection details:

    <Resource name="jdbc/EmployeeDB" auth="Container"
              type="javax.sql.DataSource" 
              maxActive="100" maxIdle="30" maxWait="10000"
              username="yourUsername"
              password="yourPassword"
              driverClassName="com.mysql.cj.jdbc.Driver"
              url="jdbc:mysql://localhost:3306/employee_db"/>

🚧 Troubleshooting

If you encounter issues while running the application, consider the following solutions:

  • Tomcat Won't Start: Ensure Java is installed correctly and the JAVA_HOME environment variable is set.
  • Database Connection Error: Verify that MySQL is running and your database configuration is correct.
  • Page Not Found: Ensure you entered the correct URL (http://localhost:8080/Employee).

📞 Support

For additional help, you can reach out via the Issues section on the GitHub repository. We welcome your feedback and questions.

🔗 Additional Information

For more details about the technologies used, here are some key topics related to this application:

  • Java: The main programming language for the application.
  • JSP and Servlets: Used for web development.
  • JDBC: For database connectivity.
  • MySQL: The database management system used.

Thank you for using the Employee Management System! We hope it meets your needs effectively.