nilayamkandel / EmployeeManagementSystem

I am using Spring MVC pattern to make Employee Management System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"JAVA" "Spring Boot" "Maven" "HTML5" "JavaScript" "Css3" "Bootstrap" "MySql" "Github" "MD" "Windows 10"

Employee Management System

Table of Contents

Employee Management System

Here, this website helps to manage the employee and department record. It is usually used in organization to store the detail on employee and department.

Requirements Analysis

Summarizing all the user requirements we can conclude the following measures as the actual user requirements. According to client requirements we must create an inventory application with following requirements:

  1. User
    1. Register, login
  2. Department
    1. add, update, delete, list and view Department
    2. department list
  3. Employee
    1. add, update, delete, list and view Employee
    2. Employee detail

Briefing out the requirements, I will be creating an website which can store details of employee, department.

Design Pattern

In order to implement a model I have used MVC template.

  1. Create a pojo file. give annotation like @Entity, @Data, @Table
  2. Map the pojo file to database (JPA repository)
  3. Make a repository
  4. Make an interface
  5. Make an implementation class for implementing interface abstract method
  6. Make a controller where getMapping and postMapping are done
  7. Finally, make view(html template)

Language and Tool Selection

The list of tools used while developing the project are as follows.

Backend : Java, Spring Boot Framework
Package Manager: Maven
Server : Apache Tomcat
Frontend : Html5, Thymeleaf
Styling : Bootstrap, Css
Documentation : MarkDown (MD)
Database : MySQL
Database Management system : MySQLyog
IDE : Spring Tool Suite
Version Control : GitHub
Project Manager : GitHub Projects
Development OS: Windows 10 Home Edition

Database Scripting With Spring Data JPA

Spring Data JPA API provides JpaTemplate class to integrate spring application with JPA. It is currently used as the replacement for complex entity beans.

The implementation of JPA specification are provided by many vendors such as:

  • Hibernate
  • OpenJPA etc.

Advantage of Spring JpaTemplate

Really handy for persisting, updating, deleting or searching object. JPA handles most of the complexity of JDBC-based database access and object-relational mappings. On top of that, Spring Data JPA reduces the amount of boilerplate code required by JPA.

Spring Data JPA helps to generate database itself using JPA API Under the hood configured with moduls you create. Readmore about Spring Data JPA

About

I am using Spring MVC pattern to make Employee Management System


Languages

Language:HTML 55.8%Language:Java 44.2%