Management System
Management System
PROJECT REPORT
ON
STUDENT ATTENDANCE MANAGEMENT SYSTEM
NAME OF STUDENT:-
Name:-Mohd Amash
Roll No:-222807420304
Name:- Sahib Ali
Roll No:-222807420467
DECLARATION
We Mohd Amash and Sahib Ali hereby declare that the project report title
“Student Management System” is an original work carried out by me under
the supervision of Dr. Pramod Kumar.
We further declare that this work has not been submitted to any other
Institute/University for the award of the degree of Bachelor of Computer
Applications.
Students Name:-
Name:-Mohd Amash
Roll No:-222807420304
Name:-Sahib Ali
Roll No:-222807420467
FORWARDING LETTER
The matter embodied in this project work has not been submitted earlier for
the award of degree or Bachelor of Computer Applications.
We wish him/her all the best for the future.
1 INTRODUCTION 6
2 BACKGROUND 7
3 LIMITATIONS 8
7 MODULES 11-12
9 ER Diagram 14
10 Database Table 15
12 Coding 21-64
13 CONCLUSION 65-66
14 FUTURE IMPROVEMENT 67
15 Bibliography 68-70
1.INTRODUCTION
Everything has been digitised in our age of ever-increasing technology.
The human workforce has grown as a result of the abundance of job
options. As a result, a system that can handle the data of such a vast
number of people in a company is required. Because of its user-friendly
design, this project makes the process of keeping records easier. The
"Student Attendance Management System" was created to address the
issues that plagued the previous manual system. This programme is
designed to eliminate, and in some cases, decrease, the problems that
the current system has.
2.BACKGROUND
An organization needs to manage the leave and Join of its employees. Student
Attendance has direct relation with employees, their payroll and leave. Various
software for Information of the employee are available in the Company. Most of
them are the desktop based applications and the others, though they are web
based applications, during our preliminary survey we found that they were not
efficient enough to cater the needs of the organization. Hence, we thought it be
a beneficial project for us and the college as well as the concerned
organizations.
3.LIMITATIONS
• Due to the constraint of resources and time, the size of the project could
not be increased.
• The project has been developed through utilizing the records of the
employees and other information available at certain organization. The
requirements gathered through various sources might not be properly reflected
in the requirements analysis and the design documents due to limited knowledge
and time.
• Due to the small scope the project may not represent the whole spectrum of
the human resource management.
• Due to very little knowledge of the team members about java language and
MySQL database, the project may not have been developed as envisioned.
The manager cannot trace out the Employee's activities like web history,
unauthorized call history and unauthorized web list in the mobile. The manager
cannot know the Student Management cannot get alert message on his/her
mobile
The size of the database increases day-by-day, increasing the load on the
database back up and data maintenance activity.
Training for simple computer operations is necessary for the users working on
the system.
4.1. Advantages
An employee management system can help you keep
employees engaged and productive. For instance, live feed
capabilities within the software can allow employees to initiate
a conversation with their coworkers at any time. Similarly,
employees can stay updated on everything that's happening in
their organization.
4.2. Disadvantages
• It requires active internet connection.
• Data need to feed properly.
5.Front-End and Back-End User
1. Front end
1.Hardware Requirements:
Processor :- Pentium 4 or higher processor
RAM :- 1gb or higher
Keyboard :- 104 keys
2.Software Requirements:
7.MODULES
1.
Employees
Admin Management System Employee
2.
9
.
10.
ER Diagram
11.
Database Table
Output Screen
Output of all modules are given below sequencially:-
1.Splash
13.
14.
2.Login
This is the login frame of this system where user have to enter the required
credentials to have access for the main dashboard.
3. 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
3.Add Employe
Here user have to enter all the required credentials to add a new employee to
the system
4. Update Employee
In order to update employee information, the user have to enter employee ID
5.View Employee
In order to view employee information, the user have to enter employee ID
6.Deleat Employee
User has to enter the employee id in order to delete his information from the
system.
7. Employee Salary
User has to enter the employee id in order to view the employee salary his
information from the system.
12.Coding
1.SPLASH:-
package employee.management.system;
Splash(){
getContentPane().setBackground(Color.WHITE);
setLayout(null);
ImageIcon i1 = new
ImageIcon(ClassLoader.getSystemResource("icons/front.jpg"));
Image i2 = i1.getImage().getScaledInstance(1100, 700,
Image.SCALE_DEFAULT);
}
heading.setVisible(true);
try {
Thread.sleep(500);
}
catch(Exception e){
}
}
2.Login
package employee.management.system;
import java.awt.*; import javax.swing.*;
import java.awt.event.*; import java.sql.*;
Login(){
getContentPane().setBackground(Color.WHITE);
setLayout(null);
ImageIcon i1 = new
ImageIcon(ClassLoader.getSystemResource("icons/second.jpg"));
Image i2 = i1.getImage().getScaledInstance(200, 200,
Image.SCALE_DEFAULT);
setSize(600, 300);
setLocation(450, 200);
setVisible(true);
}
ResultSet rs = c.s.executeQuery(query); if
(rs.next()){ setVisible(false);
new Home();
} else{
JOptionPane.showMessageDialog(null,"Invalid username or
password");
setVisible(false);
}
}
3.Conn
package employee.management.system;
import java.sql.*;
Connection c;
Statement s;
}
}
4.login
package employee.management.system;
import java.awt.*; import
javax.swing.*; import java.awt.event.*;
import java.sql.*;
Login(){
getContentPane().setBackground(Color.WHITE);
setLayout(null);
JLabel lblusername = new JLabel ("Username");
lblusername.setBounds(40, 20, 100, 30); add(lblusername);
ImageIcon i1 = new
ImageIcon(ClassLoader.getSystemResource("icons/second.jpg"));
Image i2 = i1.getImage().getScaledInstance(200, 200,
Image.SCALE_DEFAULT);
ImageIcon i3 = new ImageIcon(i2);
JLabel image = new JLabel(i3);
image.setBounds(350, 0, 200, 200);
add(image);
setSize(600, 300);
setLocation(450, 200);
setVisible(true);
}
ResultSet rs = c.s.executeQuery(query); if
(rs.next()){
setVisible(false);
new Home();
} else{
JOptionPane.showMessageDialog(null,"Invalid username or
password");
setVisible(false);
}
}
5.HOME:
package employee.management.system;
import javax.swing.*; import
java.awt.*;
import java.awt.event.*;
Home(){ setLayout(null);
ImageIcon i1 = new
ImageIcon(ClassLoader.getSystemResource("icons/home.jpg"));
Image i2 = i1.getImage().getScaledInstance(1120, 630,
Image.SCALE_DEFAULT);
ImageIcon i3 = new ImageIcon(i2); JLabel
image = new JLabel(i3);
image.setBounds(0, 0, 1120, 630);
add(image);
} else {
setVisible(false); new
RemoveEmployee(); }
package employee.management.system;
AddEmployee(){
getContentPane().setBackground(Color.WHITE);
setLayout(null);
back.addActionListener(this); back.setBackground(Color.BLACK);
back.setForeground(Color.WHITE); add(back);
setSize(900, 700);
setLocation(300, 50); setVisible(true);
}
public void actionPerformed(ActionEvent ae){ if
(ae.getSource() == add){
String name = tfname.getText();
String fname = tffname.getText();
String dob = ((JTextField)
dcdob.getDateEditor().getUiComponent()).getText();
String salary = tfsalary.getText();
String address = tfaddress.getText();
try {
Conn conn = new Conn();
String query = "insert into employee1 values('"+name+"', '"+fname+"',
'"+dob+"', '"+salary+"', '"+address+"', '"+phone+"', '"+email+"', '"+education+"',
'"+designation+"', '"+aadhar+"', '"+empId+"')";
conn.s.executeUpdate(query);
JOptionPane.showMessageDialog(null, "Deatils added successfully");
setVisible(false); new Home();
} else{ setVisible(false);
new Home();
}
}
}
7.VIEW EMPLOYEE
package employee.management.system;
JTable table;
Choice cemployeeId;
JButton search, print, update, back;
ViewEmployee(){
getContentPane().setBackground(Color.WHITE);
setLayout(null);
JLabel searchlbl = new JLabel("Search by Employee Id");
searchlbl.setBounds(20, 20, 150,20); add(searchlbl);
try
{ Con
n c = new
Conn();
while(rs.next()){
cemployeeId.add(rs.getString("empId"));
}
}
table = new JTable();
try {
Conn c = new Conn();
ResultSet rs = c.s.executeQuery("select * from employee1");
table.setModel(DbUtils.resultSetToTableModel(rs));
setSize(900, 700);
setLocation(300, 100); setVisible(true);
}
public void actionPerformed(ActionEvent ae){
if (ae.getSource() == search){
String query = "select *from employee1 where empId =
'"+cemployeeId.getSelectedItem()+"'"; try{
else {
setVisible(false); new
Home();
}
}
UpdateEmployee(String empId){
this.empId = empId;
getContentPane().setBackground(Color.WHITE);
setLayout(null);
try{
Conn c = new Conn();
String query = "select * from employee1 where empId = '"+empId+"'";
ResultSet rs = c.s.executeQuery(query);
while (rs.next()){
lblname.setText(rs.getString("name"));
tffname.setText(rs.getString("fname"));
lbldob.setText(rs.getString("dob"));
tfaddress.setText(rs.getString("address"));
tfsalary.setText(rs.getString("salary"));
tfphone.setText(rs.getString("phone"));
tfemail.setText(rs.getString("email"));
tfeducation.setText(rs.getString("education"));
lblaadhar.setText(rs.getString("aadhar"));
lblempId.setText(rs.getString("empId"));
tfdesignation.setText(rs.getString("designation"));
}
} catch (Exception e){
e.printStackTrace();
setSize(900, 700);
setLocation(300, 50);
setVisible(true);
} else{
setVisible(false);
new Home();
}
}
import javax.swing.*;
import java.awt.*; import
java.sql.*;
import java.awt.event.*;
RemoveEmployee(){
getContentPane().setBackground(Color.WHITE);
setLayout(null);
try {
Conn c = new Conn();
String query = "select * from employee1"; ResultSet
rs = c.s.executeQuery(query);
while(rs.next()){
cEmpId.add(rs.getString("empId"));
}
} catch (Exception e){
e.printStackTrace();
}
JLabel labelname = new JLabel("Name");
labelname.setBounds(50, 100, 100, 30);
add(labelname);
try {
Conn c = new Conn();
String query = "select * from employee1 where empId =
'"+cEmpId.getSelectedItem()+"'";
ResultSet rs = c.s.executeQuery(query);
while(rs.next()){
lblname.setText(rs.getString("name"));
lblphone.setText(rs.getString("phone"));
lblemail.setText(rs.getString("email"));
}
} catch (Exception e){
e.printStackTrace();
}
cEmpId.addItemListener(new ItemListener(){
public void itemStateChanged(ItemEvent ie){
try {
Conn c = new Conn();
String query = "select * from employee1 where empId =
'"+cEmpId.getSelectedItem()+"'";
ResultSet rs = c.s.executeQuery(query);
while(rs.next()){
lblname.setText(rs.getString("name"));
lblphone.setText(rs.getString("phone"));
lblemail.setText(rs.getString("email"));
}
} catch (Exception e){
e.printStackTrace();
}
}
});
ImageIcon i1 = new
ImageIcon(ClassLoader.getSystemResource("icons/delete.png"));
Image i2 = i1.getImage().getScaledInstance(600, 400,
Image.SCALE_DEFAULT);
ImageIcon i3 = new ImageIcon(i2); JLabel
image = new JLabel(i3);
image.setBounds(350, 0, 600, 400);
add(image);
setSize(1000, 400);
setLocation(300, 150);
setVisible(true);
} else{
setVisible(false);
new Home();
}
}
public static void main(String[] args){
new RemoveEmployee();
}
}
10.View Employee
package employee.management.system;
import javax.swing.*;
import java.awt.*; import
java.sql.*;
import net.proteanit.sql.DbUtils; import
java.awt.event.*;
public class ViewEmployee extends JFrame implements ActionListener{
JTable table;
Choice cemployeeId;
JButton search, print, update, back;
ViewEmployee(){
getContentPane().setBackground(Color.WHITE);
setLayout(null);
JLabel searchlbl = new JLabel("Search by Employee Id");
searchlbl.setBounds(20, 20, 150,20); add(searchlbl);
while(rs.next()){
cemployeeId.add(rs.getString("empId"));
}
try {
Conn c = new Conn();
ResultSet rs = c.s.executeQuery("select * from employee1");
table.setModel(DbUtils.resultSetToTableModel(rs));
}
JScrollPane jsp = new JScrollPane(table);
jsp.setBounds(0, 100, 900, 600);
add(jsp);
setSize(900, 700);
setLocation(300, 100);
setVisible(true);
} else {
setVisible(false);
new Home();
}
}
import javax.swing.*;
import java.awt.*; import
java.sql.*;
import java.awt.event.*;
Choice cEmpId;
JButton back;
Selery(){
//
getContentPane().setBackground(Color.WHITE);
setLayout(null);
try {
Conn c=new Conn();
String query = "select *from employee1"; ResultSet
rs = c.s.executeQuery(query);
while(rs.next()){
cEmpId.add(rs.getString("empId"));
}
}catch (Exception e){
e.printStackTrace();
}
JLabel labelselery = new JLabel("Selery");
labelselery.setBounds(50,100,100,30);
add(labelselery);
try {
Conn c=new Conn();
String query = "select * from employee1 where empId =
'"+cEmpId.getSelectedItem()+"'";
ResultSet rs = c.s.executeQuery(query);
while(rs.next()){
lblselery.setText(rs.getString("salary"));
}
}catch (Exception e){
e.printStackTrace();
}
lblselery.setText(rs.getString("salary"));
}
}catch (Exception e){
e.printStackTrace();
}
}
});
setSize(1000, 400);
setLocation(300,150);
setVisible(true);
}
public void actionPerformed(ActionEvent ae){
setVisible(false);
new Home();
}
public static void main(String[] args){
new Selery();
}
13.CONCLUSION:-
It has been a great pleasure for me to work on this exciting and challenging
project. This project proved good for me as it provided practical knowledge of
not only programming in ASP.NET web based application and no some extent
Windows Application and SQL Server, but also about all handling procedure
related with "employee leave management system". It also provides knowledge
about the latest technology used in developing web enabled application and
client server technology that will be great demand in future. This will provide
better opportunities and guidance in future in developing projects
independently.
BENEFITS:-
The project is identified by the merits of the system offered to the user. The
merits of this project are as follows:-
This project offers user to enter the data through simple and interactive forms.
This is very helpful for the client to enter the desired information through so
much simplicity.
The user is mainly more concerned about the validity of the data, whatever he
is entering. There are checks on every stages of any new creation, data entry or
updation so that the user cannot enter the invalid data, which can create
problems at later date.
Sometimes the user finds in the later stages of using project that he needs to
update some of the information that he entered earlier. There are options for
him by which he can update the records. Moreover there is restriction for his
that he cannot change the primary data field. This keeps the validity of the data
to longer extent.
User is provided the option of monitoring the records he entered earlier. He can
see the desired records with the variety of options provided by him.
Data storage and retrieval will become faster and easier to maintain because
Allocating of sample results becomes much faster because at a time the user
can see the records of last years.
Easier and faster data transfer through latest technology associated with the
computer and communication.
This system being web based and an undertaking of cyber security division.
needs to be thoroughly tested to find out any security gaps.
A console for the data centre may be made available to allow the personnel
to monitor on the site which cleared for hosting during a particular period.
1. Data Encryption: Encrypt sensitive data, including employee personal and financial
information.
2. Access Control: Control access to sensitive data and features, including role-based
access control.
3. Audit Trails: Maintain audit trails, including logs of user activity and data changes.
16.Objective
Primary Objectives
1. Effective Utilization of Human Resources: To ensure that employees are
utilized effectively and efficiently to achieve organizational goals.
2. Employee Satisfaction and Engagement: To create a work environment
that motivates and engages employees, leading to increased job satisfaction
and reduced turnover.
3. Improved Productivity and Performance: To enhance employee
productivity and performance through training, development, and feedback.
Secondary Objectives
1.JAVA
2.MySql
3.NetBeans
• NetBeans started as a student project (originally called
Xelfi) in the Czech Republic, in 1996. The goal was to write
a Delphi-like Java IDE (Integrated Development
Environment) in Java. Xelfi was the first Java IDE written in
Java, with its first pre-releases in 1997. Xelfi was a fun
project to work on, especially since the Java IDE space was
uncharted territory at that time.