Вы находитесь на странице: 1из 42



This project is for all information of employee in a company

it has a security level for every user through which
unauthorized user is not allowed to enter and view data. In
future easy enhancement may be possible. So this system
provides the facility to auto mate data processing making
the system error free and easy to access.
Platform independency-

Since on a network, users can use different operating

. system.We are implementing in java to fulfill.

Employee Payroll System



Employee Payroll System



Today almost every organization or educational institute has its

own payroll system to support its work within the

The organizations need to maintain the record all the employee,

so that no one can misuse the resources allocated to the
users in the organization.

Our payroll record system is such a system that can be used to

solve this purpose.

This system can be used in organizations to maintain the work of

its employees, in educational institutes, organisation to
maintain the record of all employee.

Employee Payroll System



Our objective is to learn the concept behind the payroll system,

and to learn new technologies like Swings programming by
implementing this concept practically.

The ultimate aim is achieved through-

1. Understanding and analyzing the problem statement.

2. Identify the input and output requirements of the system.

3. Designing a user-friendly interface to interact with the

system Implementing and deploying the system.

4. Preparing a well-organized documentation of the project to

understand the system and it’s working.


Employee Payroll System


Almost every organization or educational institute has its own

Staff to support its work within the organization. The
organizations need to work and every employee get perfect
salary. so that no one can misuse the resources in the
organization. We need to develop such a payroll system that can
perform following tasks-

• Can enter the new employee entry.

• Can see the exit employee detail.

• Can maintain the exit employee salary record.

• Can make a new month salary.

That system should support organizations to maintain the salary

record of its employees

Employee Payroll System




Employee Payroll System


It will work in one portal.

We have now a great solution for payroll system in our hand, but
still it have some limitations.

We can run this system and maintain all pay record of employee
and employee can’t open because the region of user name

The other limitation of the system is that the client should have
Java installed on it otherwise the system will not work.

Further Enhancements and Suggestions, we can maintain the

record up ten year past & ten year future.

We will try to resolve this limitation in our future work.


Employee Payroll System


The system will be used for following purpose in any


• To maintain the payroll system of the employee.

• To restrict empolyee from performing illegal task and

misuse resources.

• To get the information regarding the employee


• To communicate with the employee for giving instructions

or other reasons.

Employee Payroll System




In this project we are looking to provide the facility to

Administrator to maintain the pay record of empolyee. A
registered user can work freely.They can change the record of
the employee .This is the most important advantage because
administrator can deal this task on sitting.

Employee Payroll System




Hardware Infrastructure Required:

System Type : Personal Computer.

Processor Type : Celeron 1.79 GHz or higher.
RAM : 256 MB or higher.
HDD : At least 1000 Mb of free space for
Good performance.
25 Mb space required to install.
SVGA Modes : 256 color or higher and 800*600

Software Infrastructure Required:

Operating System : Windows 9x, NT, Me or XP

Other Software : JDK1.5 and Above
Developed on : JAVA

Employee Payroll System



• Technical Feasibility
The project uses the technologies that are best and easily
available to us, so it is technically feasible.

• Economical Feasibility
Many times it creates problem when someone tries to harm
the system with malicious intensions. Economically, it costs
almost nothing in comparison of those harms.

• Behavioral Feasibility
Many times creates problem when someone tries to harm the

system with malicious intensions. For this reason many people

need some kind of network monitoring system.

Employee Payroll System



Employee Payroll System


4.1Data Flow Diagram


Apply to login

Denied permission

Access the information

Add,modify,delete Data
Registration base

Employee Payroll System



Employee Payroll System


fnam s
Emp e
sex id
emp_name years


payrool y

e ha

emp_reg primdet

d lo

User name Login_det password

Employee Payroll System



Employee Payroll System



We will implement our project in JAVA, one of the most powerful


Java Development Kit

When the java programming language was introduced in 1995,

the only development tool available was the JDK from sun. This
set of command line tools makes it possible to write, compile and
debug JAVA programs. However, the JDK is the far cry from
integrated development environment such as Visual Basic and
Borland c++. An integrated development environment (IDE) is
software that combines several development tools into a single,
cohesive package. The assortment usually includes a source code
editor, compiler debugger and other utilities. These tools work
together the development process; most packages are highly
visual and rely on windows, drag and drop, and other graphical
elements. The goal is to make software design faster, more
efficient, and easier to debug.

Employee Payroll System


Characteristics of Java
• JAVA is object oriented
Object oriented programming is a power full way of organizing
and developing software. Object oriented programming uses a
set of components called objects. These objects exist
independently of each other and communicate with each
other. That’s why object oriented program are more adoptable
and more bug proof.

• JAVA is small and simple

The most complex parts of c++ were excluded from java, such
as pointers and memory management. These elements are
complicated to use and are thus easy to se incorrectly.

• JAVA is safe
Another thing essential to java’s success is that it is safe. Java
provides security and several different levels. Before a java
program is run, a verifier check each by code to make sure
nothing suspicious is going on.

• JAVA is platform independent

Platform independence is another way of saying that java is
architectural neutral. The basically means that java programs
don’t care what system they are running on.

Employee Payroll System


• JAVA is architectural neutral

The JAVA designers made several hard decisions in the java
languages and JVM is an attempt to alter the situation
programs not running on the same machine after few days.
Their goal was “Write once; run anywhere, anytime, forever”.

• JAVA is Distributed
Java is designed for the distributed environment of Internet
because it handles TCP/IP protocols. The feature of inter-
address-space messaging is done with the help of package
Remote Method Invocation (RMI). This feature brings an
unparalleled level of instructions to the client/server

• JAVA is dynamic
Java programs carry with them substantial amounts of run
time type information that is use to verify and resolve
accesses to objects at run time. This is crucial to the
robustness to the applet environment.

Employee Payroll System



Swing is set of classes that provide more powerful and flexible
functionality than is possible with the standard AWT components.
In addition to the familiar components, such as buttons, check
boxes, and labels, Swings supplies several exciting additions
including tabbed panes, scroll panes, trees, and a button may
have both image and text string associated with it. Also the
image can be changed as the state of the button changes.

Swing is built upon the foundation of the AWT. Unlike AWT

components, Swing component are not implemented by platform
specific code. Instead they are written entirely in Java and
therefore are platform independent. The term lightweight is used
to describe such elements.

The class Swing Utilities, which provides methods that, facilitates

the use of Swing. The Swing related classes are contained in
javax.swing.tree and its sub packages, such as javax.swing.tree.

Swing is a large system, and it has many features. Swing

provides toolbar, tool tips, and progress bars. Also swing
component can provide a pluggable look and feel, which means
that it is easy to substitute another appearance and behavior for
an element. This can be also done dynamically. We may design
our own look and feel. Because of the power of swing, it has
become the approach of first choice by many programmers for
creating GUIs

Employee Payroll System




A database management, or DBMS, gives the user access to

their data and helps them transform the data into information.
Such database management systems include dBase, paradox,
IMS, SQL Server and SQL Server. These systems allow users to
create, update and extract information from their database.

A database is a structured collection of data. Data refers to

the characteristics of people, things and events. SQL Server
stores each data item in its own fields. In SQL Server, the fields
relating to a particular person, thing or event are bundled
together to form a single complete unit of data, called a record (it
can also be referred to as raw or an occurrence). Each record is
made up of a number of fields. No two fields in a record can have
the same field name.

During an SQL Server Database design project, the analysis

of your business needs identifies all the fields or attributes of
interest. If your business needs change over time, you define
any additional fields or change the definition of existing fields.

Employee Payroll System


SQL Server Tables

SQL Server stores records relating to each other in a table.
Different tables are created for the various groups of information.
Related tables are grouped together to form a database.

Primary Key
Every table in SQL Server has a field or a combination of
fields that uniquely identifies each record in the table. The
Unique identifier is called the Primary Key, or simply the Key.
The primary key provides the means to distinguish one record
from all other in a table. It allows the user and the database
system to identify, locate and refer to one particular record in the

Relational Database
Sometimes all the information of interest to a business
operation can be stored in one table. SQL Server makes it very
easy to link the data in multiple tables. Matching an employee to
the department in which they work is one example. This is what
makes SQL Server a relational database management system, or
RDBMS. It stores data in two or more tables and enables you to
define relationships between the table and enables you to define
relationships between the tables.

Employee Payroll System


Foreign Key
When a field is one table matches the primary key of
another field is referred to as a foreign key. A foreign key is a
field or a group of fields in one table whose values match those of
the primary key of another table.

Referential Integrity
Not only does SQL Server allow you to link multiple tables, it
also maintains consistency between them. Ensuring that the
data among related tables is correctly matched is referred to as
maintaining referential integrity.

Data Abstraction
A major purpose of a database system is to provide users
with an abstract view of the data. This system hides certain
details of how the data is stored and maintained. Data
abstraction is divided into three levels.

Physical level: This is the lowest level of abstraction at which

one describes how the data are actually stored.

Conceptual Level: At this level of database abstraction all the

attributed and what data are actually stored is described and
entries and relationship among them.

View level: This is the highest level of abstraction at which one

describes only part of the database.

Employee Payroll System


Advantages of RDBMS

• Redundancy can be avoided

• Inconsistency can be eliminated
• Data can be Shared
• Standards can be enforced
• Security restrictions ca be applied
• Integrity can be maintained
• Conflicting requirements can be balanced
• Data independence can be achieved.

Disadvantages of DBMS

A significant disadvantage of the DBMS system is cost. In

addition to the cost of purchasing of developing the software, the
hardware has to be upgraded to allow for the extensive programs
and the workspace required for their execution and storage.
While centralization reduces duplication, the lack of duplication
requires that the database be adequately backed up so that in
case of failure the data can be recovered.

Employee Payroll System



SQL SERVER is one of the leading database management

systems (DBMS) because it is the only Database that meets the
uncompromising requirements of today’s most demanding
information systems. From complex decision support systems
(DSS) to the most rigorous online transaction processing (OLTP)
application, even application that require simultaneous DSS and
OLTP access to the same critical data, SQL Server leads the
industry in both performance and capability

SQL SERVER is a truly portable, distributed, and open DBMS that

delivers unmatched performance, continuous operation and
support for every database.

SQL SERVER RDBMS is high performance fault tolerant DBMS

which is specially designed for online transactions processing and
for handling large database application.

SQL SERVER with transactions processing option offers two

features which contribute to very high level of transaction
processing throughput, which are

• The row level lock manager

Employee Payroll System


Enterprise wide Data Sharing

The unrivaled portability and connectivity of the SQL
SERVER DBMS enables all the systems in the organization to be
linked into a singular, integrated computing resource.

SQL SERVER is fully portable to more than 80 distinct
hardware and operating systems platforms, including UNIX,
MSDOS, OS/2, Macintosh and dozens of proprietary platforms.
This portability gives complete freedom to choose the database
sever platform that meets the system requirements.

Open Systems
SQL SERVER offers a leading implementation of industry –
standard SQL. SQL Server’s open architecture integrates SQL
SERVER and non –SQL SERVER DBMS with industries most
comprehensive collection of tools, application, and third party
software products SQL Server’s Open architecture provides
transparent access to data from other relational database and
even non-relational database.

Employee Payroll System


Distributed Data Sharing

SQL Server’s networking and distributed database
capabilities to access data stored on remote server with the same
ease as if the information was stored on a single local computer.
A single SQL statement can access data at multiple sites. You can
store data where system requirements such as performance,
security or availability dictate.

Unmatched Performance
The most advanced architecture in the industry allows the
SQL SERVER DBMS to deliver unmatched performance.

Sophisticated Concurrency Control

Real World applications demand access to critical data.
With most database Systems application becomes “contention
bound” – which performance is limited not by the CPU power or
by disk I/O, but user waiting on one another for data access . SQL
Server employs full, unrestricted row-level locking and contention
free queries to minimize and in many cases entirely eliminates
contention wait times.

Employee Payroll System


No I/O Bottlenecks
SQL Server’s fast commit groups commit and deferred write
technologies dramatically reduce disk I/O bottlenecks. While
some database write whole data block to disk at commit time,
SQL Server commits transactions with at most sequential log file
on disk at commit time, On high throughput systems, one
sequential writes typically group commit multiple transactions.
Data read by the transaction remains as shared memory so that
other transactions may access that data without reading it again
from disk. Since fast commits write all data necessary to the
recovery to the log file, modified blocks are written back to the
database independently of the transaction commit, when written
from memory to disk.

Employee Payroll System



Software testing is a critical element of software quality

assurance and represents the ultimate review of specification,
design and code generation.

Once source code has been generated, software must be tested

to uncover as many errors as possible before delivery to the

Our goal is to design a series of test cases that have a high

likelihood of finding errors. That’s where software testing
techniques come into the picture.

These techniques provide systematic guidance for designing tests

that exercise the internal logic of software components and
exercise the input and output domains of the program to uncover
errors in program function, behavior and performance.

For this testing techniques are used. These techniques provide

systematic guidance for designing tests that -
(1) Exercise the internal logic of software components and
(2) Exercise the input and output domains of the program to
uncover errors in program function, behavior and performance.

Employee Payroll System


Testing objective

A number of rules that can serve as testing objectives are: -

1. Testing is a process of executing a program with the intent
of finding an error.
2. A good test case is one that a high probability of finding an
as-yet-undiscovered error.
3. A successful test is one that uncovers an as-yet-
undiscovered error.

Testing Methods

All tests should be traceable back to some requirements of the

The test should be planned before testing begins and as soon as
requirements model is complete.

The earlier test planned and executed focus on individual

components. As testing progresses, focus shifts in an attempt to
find errors in integrated cluster of components and ultimately in
entire system. Exhaustive testing is not possible because it is
impossible to execute every combination of paths during testing.

Employee Payroll System


White Box Testing

It is also called Glass Box Testing. It is a test case design

method that uses control structure of the procedural design to
derive test cases. Using White Box Testing methods, the
software engineer can derive test cases that guarantee that all
independent paths have been exercised at least once.
Exercised all routes at their boundaries and within their
operational bounds. Exercised all logical decision on their true
and false sides. Exercised internal data structure to assure
their validity.

Black Box Testing

Black Box Testing focuses on the functional requirements of

the software. That is, Black Box Testing enables the
software engineer to derive sets of input conditions that will
fully exercise all functional requirements for a program.
Black Box Testing is not an alternative to White Box Testing.
Rather, it is a complementary that is likely to uncover a
different class of errors than White Box Testing. Black Box

Testing attempts to find errors on the following categories –

1. In-correct or missing functions.
2. Interface errors.
3. Errors in data structures or external database access.
4. Performance errors.
5. Initialization and termination errors.
6. System Analysis

Employee Payroll System


Process Model Used

Rapid Application Development is incremental software
development process model that emphasizes an extremely
short development cycle. The RAD model is a “high-speed”
adaptation of linear sequential model in which rapid
development is achieved by using component-based –

• Used primarily for information systems applications, the

RAD approach encompasses the following phases:

• Business Modeling- The information flow among business

functions is modeled in a way that answers the following
questions: What information drives the business process?
What information is generated? Who generates it? Where
does the information go? Who processes it?

• Data Modeling- The information defined as part the business

modeling phase refined into a set of data objects that
are needed to support the business. The characteristics
of each object are identified and the relationship between
these objects defined.

• Process modeling- The data objects defined in the data-

modeling phase is transformed to achieve the
information flow necessary to implement a business

Employee Payroll System


function. Processing descriptions are created for adding,

modifying, deleting, or retrieving a data object.
• Application generation- RAD assumes the use of fourth
generation techniques. Rather than creating software
using conventional third generation programming
languages the RAD process works to reuse existing program
components or create reusable components. In all cases,
automated tools are used to facilitate construction of the

Testing and turnover-

Since RAD process emphasizes reuse many of the program
components have already been tested. This reduces overall
testing time. However new components must be tested and
all interface must be fully exercised.

Employee Payroll System



Employee Payroll System


Employee Payroll System


Employee Payroll System


Employee Payroll System


Employee Payroll System



We have now a great solution for network monitoring in our hand,

but still it have some limitations.

We can’t run this system in hidden mode i.e. client will know that
he is being monitored.

The other limitation of the system is that the client should have
Java installed on it otherwise the system will not work.

Employee Payroll System



Can be developed as a web based application. Many more

modules can be added such as promotion. It can also include
information about employee salary incensement.

Employee Payroll System



This system is just an introduction to the world of software for

employee payroll information system where every record matter
a lot and can make big difference can effect the employee carrier
so this system provides the facility to automat employee data
processing making the system error free and easy to access.

Employee Payroll System



We have referred to lot of books as well as many websites that

give us much information.

Except this we have in contact of many seniors as well as our

faculty for getting some support related to our project.
This is the list of books which we have referred-

1. JAVA The complete reference

By: Herbert shield
2. Java Server Pages
By: Larne Pekowsky
3. Java Servlet And JSP Cookbook
By: O’Reilly
4. Software Engineering A Practical Approach
By: Roger S. Pressman
5. JavaScript Programming
By: Stephen Bucaro

We referred following sites:

1. www.java.sun.com

2. www.java.com

Employee Payroll System