You are on page 1of 30

S. H.

JONDHALE POLYTECHNIC DOMBIVLI (WEST)

A MICROPROJECT REPORT ON EMPLOYEE


MANGEMENT SYSTEM

SUBMITTED BY:-
922 SAHIL RANGREZ
972 ONKAR KHADE
969 DEVENDRA PANDE

IN THE PARTIAL FULFILLMENT OF


DIPLOMA IN COMPUTER ENGINEERING

1
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION

Certificate
this is to certify that
SAHIL RANGREZ (922),
ONKAR KHADE (972),
DEVENDRA PANDE (969)
Of SYCO Semester of Diploma in Computer Engineering of
Institute,
S. H. Jondhale Polytechnic (Code: 0044) has completed the
Micro Project satisfactorily in Subject:- JAVA for the
academic year 2023- 2024 as prescribed in the curriculum.

PLACE- DOMBIVILI
DATE-

TEACHER HOD PRINCIPAL

2
ACKNOWLEDGEMENT
WE WOULD LIKE TO EXPRESS OUR THANKS OF
GRATITUDE TO OUR PROFESSOR MRS. NEHA
MOHOLKAR AS WELL AS OUR PRINCIPAL WHO GAVE
US THE OPPORTUNITY TO DO THIS PROJECT ON
BANKING MANAGEMENT SYSTEM IN WHICH YOU CAN
HAVE ACCESS TO YOUR ACCOUNT BALANCE AND YOU
CAN KNOW HOW MUCH BALANCE IS THERE IN YOUR
ACCOUNT.

MICRO PROJECT ON EMPLOYEE MANGEMENT


SYSTEM

WHICH ALSO HELPED US


IN DOING A LOT OF RESEARCH AND WE
CAME TO KNOW ABOUT BANKING MANAGEMENT
SYSTEM WE ARE REALLY THANKS TO OUR
PARENTS AND GROUP MATES TO FINALIZING
THIS PROJECT WITHIN THE LIMITED TIME FRAME.

3
SR.NO TOPIC PG NO

1 INTODUCTION 5

2 APPLICATIION OF JAVA 6
PROGRAMMING

3 ADVANTAGES OF JAVA 7
PROGRAMMING

4 Employee management system 8

5 IMPORTANCE OF IMPLEMENTING 9-10


SUCH A SYSTEM USING JAVA AWT

6 OVERVIEW 11-12

7 CODE 13-17

8 OUTPUT 18-20

9 FUTURE SCOPE 21

10 CONCLUSION 22

11 REFERENCE 23

INDEX

4
INTRODUCTION

INTRODUCTION TO JAVA PROGRAMMING:


 Introduction to Java Programming" serves as a foundation for
understanding the Java language and its application in software
development.
 Java is a high-level, object-oriented programming language
developed by Sun Microsystems (now owned by Oracle
Corporation) in the mid-1990s.
 It was designed to be platform-independent, meaning that Java
programs can run on any device or operating system that has a
Java Virtual Machine (JVM) installed
 Java programming is widely used in various domains, including
web development, mobile app development (Android),
enterprise software development, scientific computing, and
more.
 It continues to be a popular choice among developers due to its
simplicity, versatility, and robustness.

JAVA PROGRAMMING REFERS TO SEVREAL


THINGS:
 PROGRAMMING LANGUAGE
 SOFTWARE DEVELOPMENT
 DEVELOPMENT TOOLS AND ENVIRONMENT
 FRAME WORK AND LIBRARIES
 LEARNING AND EDUCATION

5
APPLICATION OF JAVA PROGRAMMING:
 ENTERPRISE SOFTWARE DEVELOPMENT: Java is widely
used for developing enterprise-level applications such as
customer relationship management (CRM) systems, enterprise
resource planning (ERP) software, supply chain management
(SCM) systems, and business intelligence (BI) tools.
Frameworks like Spring and Java EE provide powerful tools for
building scalable, secure, and reliable enterprise applications.

 WEB DEVELOPMENT: Java is commonly used for server-side


web development. Servlets and Java Server Pages (JSP) are
popular technologies for creating dynamic web pages and web
applications. Frameworks like Spring Boot, Hibernate, and
Apache Struts facilitate rapid development of web applications,
RESTful APIs, and micro services.

 MOBILE APP DEVELOPMENT: Java is the primary


programming language for developing Android applications.
Android Studio, the official integrated development
environment (IDE) for Android development, uses Java along
with Android SDK to build mobile apps for smartphones,
tablets, wearables, and other Android-powered devices.

 DESKTOP APPLICATION DEVELOPMENT: Java is used for


developing cross-platform desktop applications with graphical
user interfaces (GUIs). Java FX, Swing, and AWT (Abstract
Window Toolkit) are popular libraries for creating interactive
desktop applications. Applications like IDEs (e.g., Eclipse,
IntelliJ IDEA), media players, scientific tools, and productivity
software are often developed using Java.

6
ADVANTAGES OF JAVA PROGRAMMING:
 PLATFORM INDEPENDENCE: Java programs are compiled
into byte code, which can be executed on any platform with a
Java Virtual Machine (JVM). This "write once, run anywhere"
feature makes Java highly portable and platform-independent.

 OBJECT-ORIENTED: Java is an object-oriented programming


(OOP) language, which promotes modular design, reusability,
and extensibility of code. OOP concepts such as encapsulation,
inheritance, and polymorphism make it easier to manage and
maintain large-scale applications.

 SECURITY: Java incorporates several security features to


protect against various threats, such as viruses, malware, and
unauthorized access. Features like byte code verification,
sandboxing, and security manager help create secure and
reliable applications.

 MULTI-THREADING: Java provides built-in support for multi-


threading, allowing developers to create applications that can
perform multiple tasks simultaneously. This feature is essential
for developing scalable and high-performance applications,
especially in modern, multi-core processor environments.

 MEMORY MANAGEMENT: Java uses automatic memory


management through garbage collection, which automatically
de-allocates memory occupied by objects that are no longer in
use. This helps developers avoid memory leaks and reduces the
risk of crashes due to memory-related issues.

7
EMPLOYEE MANGEMENT SYSTEM

WHAT IS EMPLOYEE MANGEMENT SYSTEM ?


Employee management is the process by which
employers ensure workers perform their jobs to the best
of their abilities so as to achieve business goals. It
typically entails building and maintaining healthy
relationships with employees, as well as monitoring
their daily labor and measuring progress. In this way,
employers can identify opportunities for improvement
and recognize achievements.

What responsibilities does employee management


include?
Helping employees reach their full potential requires
managers and supervisors to fulfill several of the
following key responsibilities:
 Acquire talent
Filling open positions with the right people can
make employee management easier from the start.
That’s why many hiring managers are diligent
about writing detailed job descriptions, sourcing
and interviewing qualified applicants, and running
background checks.

8
 Manage performance
Employees tend to do their jobs better and are more
engaged when they are given opportunities to learn
new skills or grow with the organization. To this
end, employers may provide training and upskilling
programs, encourage attendance at conferences and
trade shows, or permit employees to adjust their
roles according to their strengths and interests.
Support two-way communication
Managers who want to make their employees feel
included generally have open door policies and share
important information about the business with them.
They also provide a forum for individuals to express
their ideas, opinions and complaints. This feedback is
then used to address any issues that may be negatively
affecting the workforce, improve processes and keep
employees engaged.

Recognize achievements
Employees who know their hard work is appreciated by
management and senior leadership are typically more
motivated to excel in their roles. Recognition can be a
simple thank you or shout-out during a meeting, or a
reward, such as a pay raise or promotion.

9
Why does employee management matter?
Employee management matters because lackluster
workforce performance typically increases operating
expenses. Not only that, but having to hire replacements
or additional team members is time consuming and
costly in its own right. By identifying problems and
creating action plans for improvement, employers may
be able to get the most out of their existing workforce
and avoid unnecessary terminations.

What is an employee management system?


An employee management system is technology
designed to streamline core HR services and improve
workforce productivity. It accomplishes these goals
largely by automating labor-intensive, administrative
tasks and using analytics to drive business decisions.
Depending on the vendor, the HR product suite may
include talent acquisition, payroll, timekeeping, benefits
administration and more.

Why is an employee management system important?


Employee management systems are important because a
business’s workforce is its greatest asset. Yet, despite
this intrinsic value, employee engagement is sometimes
overlooked because HR professionals are either too

10
busy with administrative work or lack the integrations
necessary to use their people data effectively.
Technology can alleviate such burdens and afford
employers more time to connect with workers and
create strategic initiatives that will attract and retain
talent.

Benefits of an employee management system


Employers rely on employee management systems to
help them not only maintain day-to-day workflows, but
also solve complex challenges and achieve long-term
business objectives. Some more specific benefits
include:
 Increased productivity
The automation and machine learning capabilities
that are common with most employee management
systems can help HR departments accomplish more
with less effort.

 Richer employee experiences


Mobile self-service features, online training and
upskilling programs and flexible pay options are
just a few of the ways technology can enrich the
employee experience.

11
 Actionable insights
With predictive analytics and benchmark data at
their disposal, employers may be able to make
more informed workforce decisions and improve
their profitability.

 Secure information
To deter hackers and prevent security
breaches, employee management systems
typically use multi-factor authentication, data
encryption and fraud detection.

 Compliance support
Some employee management system providers
offer global and/or local regulatory monitoring
services that can help decrease the risk of fines
or penalties for inadvertent non-compliance.

OVERVIEW OF CODE:
12
let's break down the provided code for the employee
management system IMPORTS: The program imports
necessary classes from the java.awt and java.awt.event
packages for building the graphical user interface (GUI)
and handling events.

 CLASS DEFINITION: The class


employeeSystem1 extends Frame and implements
the ActionListener interface. This means it is a GUI
application window, and it listens for action events
on the buttons.

 INSTANCE VARIABLES: The class defines


several instance variables including labels
(lblCustNo, lblName, lblPassword, lblAmount,
lblBalance), text fields (tfCustNo, tfName,
tfPassword, tfAmount, tfBalance), buttons
(btnDeposit, btnWithdraw, btnCheckBalance), and
a double variable balance to store the account
balance.

 CONSTRUCTOR: The constructor


employeeSystem1() initializes the GUI
components such as labels, text fields, and buttons.
It sets their positions and sizes using setBounds()

13
method and adds them to the frame using the add()
method.

 MAIN METHOD: The main() method creates an


instance of the employeeSystem1 class, sets it
visible, and starts the GUI application.

 WINDOW CLOSING EVENT: The


addWindowListener() method is used to add a
window listener to the frame. This listener is
responsible for closing the window when the close
button of the frame is clicked.

 VISUAL DESIGN:
1. The GUI components are organized using absolute
positioning (setLayout(null)), which allows precise
control over their placement.
2. Each component is added to the frame with specific
bounds (x, y, width, height) using setBounds()
method.
3. Colors are applied to the "Deposit", "Withdraw",
and "Check Balance" buttons using the
setBackground() method.

14
CODE:

CREATE DATABASE IF NOT EXISTS


employee_management;

USE employee_management;

CREATE TABLE IF NOT EXISTS employees (


id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
age INT,
position VARCHAR(100),
salary DOUBLE
);

import java.sql.*;

public class Employee {


private int id;
private String name;
private int age;
private String position;
private double salary;

15
public Employee(String name, int age, String position, double salary) {
this.name = name;
this.age = age;
this.position = position;
this.salary = salary;
}

// Getters and setters

public int getId() {


return id;
}

public String getName() {


return name;
}

public void setName(String name) {


this.name = name;
}

public int getAge() {


return age;
}

public void setAge(int age) {


this.age = age;

16
}

public String getPosition() {


return position;
}

public void setPosition(String position) {


this.position = position;
}

public double getSalary() {


return salary;
}

public void setSalary(double salary) {


this.salary = salary;
}

// Database operations

public void saveToDB() {


try (Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost/employee_manage
ment", "username", "password")) {
String query = "INSERT INTO employees (name, age, position,
salary) VALUES (?, ?, ?, ?)";
PreparedStatement statement = conn.prepareStatement(query,
Statement.RETURN_GENERATED_KEYS);
statement.setString(1, this.name);
17
statement.setInt(2, this.age);
statement.setString(3, this.position);
statement.setDouble(4, this.salary);
int rowsInserted = statement.executeUpdate();
if (rowsInserted > 0) {
ResultSet rs = statement.getGeneratedKeys();
if (rs.next()) {
this.id = rs.getInt(1);
}
}
} catch (SQLException e) {
e.printStackTrace();
}
}
}

import java.util.Scanner;

public class EmployeeManagementSystem {


public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (true) {
System.out.println("\n1. Add Employee\n2. Exit");
System.out.print("Enter your choice: ");
String choice = scanner.nextLine();
switch (choice) {
case "1":

18
addEmployee();
break;
case "2":
System.out.println("Exiting...");
return;
default:
System.out.println("Invalid choice. Please try again.");
}
}
}

private static void addEmployee() {


Scanner scanner = new Scanner(System.in);
System.out.print("Enter employee name: ");
String name = scanner.nextLine();
System.out.print("Enter employee age: ");
int age = Integer.parseInt(scanner.nextLine());
System.out.print("Enter employee position: ");
String position = scanner.nextLine();
System.out.print("Enter employee salary: ");
double salary = Double.parseDouble(scanner.nextLine());
Employee employee = new Employee(name, age, position, salary);
employee.saveToDB();
System.out.println("Employee added successfully.");
}
}

19
OUTPUT:

Following are the screens of the Employee


Management System where you can see all the
features of this system in use and you can also
see the GUI of the system:

1.Login frame – This is the login frame of this


system where user have to enter the
required credentials to have access for the
main dashboard.

20
Fig. 1

1.Main Dashboard – After login in, user is


directed to the main dashboard of this
system where user can perform various
operations like adding an employee,
deleting an employee

21
22
Fig. 2

2.Add employee – Here user have to enter all


the required credentials to add a new
employee to the system.

23
24
Fig. 3

1.Remove employee – User has to enter the


employee id in order to delete his information
from the system.

25
Fig. 4

2.View and update employee – In order to


view and update employee information, the
user have to enter employee ID.

26
27
FUTURE SCOPE:
 The GUI and the features added to this
system are the basic ones. In future, there
will be a better Graphical User Interface
and there will be more features added to
this system. If Graphical User Interface is
improved then this system will be more user
friendly and more features added will make
this system a lot better and HR will be able
to perform more operations.

CONCLUSION:
The goal of the initiative is to digitise personnel
databases in businesses and provide
administrators access to computers. Employees
and administrators use software as an
information system. The user can store his or
her database safe and secure for an indefinite
amount of time here. Adding, deleting,
accessing, and changing employee information
is simple and easy using the Employee
Management System.

28
REFERENCE:

1.Renae Broderick, John W. Boudreau,


“Human resource management,
information technology, and the
competitive edge”, Academy of
Management Executive, 1992 Vol. 6 No.
2
2.Julie Bulmash, “Human Resource
Management and Technology”, Chapter
3.
3.Ian Sommerville, “Software
Engineering”, 9th Edition, Addison-
Wesley, 2011.
4.Avison, D. and Fitzgerald, G.
(2003).Information systems
Development Methodologies,
Techniques and Tools.3rd Edition.
McGraw-Hill Education Limited
Bershire
5.Juan Manuel Munoz Palacio,
Information systems development
29
methodologies for Data-driven Decision
Support Systems, 2010.
6.Deitel, PJ & Deitel, HM, 2008, Internet
& World Wide Web How To
Program,Dorling Kindersley, India.

 https://www.geeksforgeeks.org/java/
 https://www.w3schools.com/java/
 https://www.javatpoint.com/

30

You might also like