0% found this document useful (0 votes)
43 views

Final Printout

This document is a project report submitted by Rohit Aggarwal in partial fulfillment of the requirements for a Bachelor of Technology degree in Computer Science and Engineering. The report describes a project on developing a Personnel Management System using Java technology. It includes sections acknowledging the guide and institution, tables of contents, and descriptions of system analysis, design, requirements, and implementation.

Uploaded by

Rohit Aggarwal
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Final Printout

This document is a project report submitted by Rohit Aggarwal in partial fulfillment of the requirements for a Bachelor of Technology degree in Computer Science and Engineering. The report describes a project on developing a Personnel Management System using Java technology. It includes sections acknowledging the guide and institution, tables of contents, and descriptions of system analysis, design, requirements, and implementation.

Uploaded by

Rohit Aggarwal
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 37

PROJECT REPORT ON PERSONNEL MANAGEMENT SYSTEM Submitted in partial fulfilment of the requirement for the award of degree of Bachelors

of Technology In Computer Science & Engineering (Batch: 2009-2013)

KIIT COLLEGE OF ENGINEERING GURGAON

Under the Guidance of:

Submitted by: ROHIT AGGARWAL 41088

ACKNOWLEDGEMENT
I owe a great many thanks to many people who helped and supported me during the completion of this project. I am thankful to the Guide of the project for guiding and correcting various documents of mine with attention and care. He has taken pain to go through the project and make necessary correction as and when needed. I would also thank my Institution and my faculty members without whom this project would have been a distant reality.

ROHIT AGGARWAL 41088

TABLES OF CONTENT

Abstract Introduction Java System analysis Feasibility study Design analysis Performance requirement Acceptance criteria About the project System Requirement Flow chart E-R Diagram Data Flow Diagram Screenshots Bibliography

ABSTRACT
The project titled Library Management System is Library management software for monitoring and controlling the transactions in a library. It mainly focuses on basic operations in a library like adding new member, new books, and updating new information, searching books and members and facility to borrow and return books. The problems, which existed in the earlier system, have been removed to a large extent. And it is expected that this project will go a long way in satisfying users requirements. The computerization of the Library Management will not only improve the efficiency but will also reduce human stress thereby indirectly improving human recourses.

INTRODUCTION
The project titled Personnel Management System is Personnel management software for monitoring and controlling the transactions in a personnel system .The project Personnel Management System is developed in java, which mainly focuses on basic operations of the personnel. Traditional system of personnel is very time consuming and needs all the work to be done manually. Because all the work is done manually there are chances of mistakes done carelessly and chances always remain there that the records can be changed by any unauthorized individual. This Personnel Management System solves these problems to a large extent as the whole personnel records are secure under the computerized system. The

computerization of the Personnel Management will not only improve the efficiency but will also reduce human stress thereby indirectly improving human recourses. All the basic operations like adding a new employee, update the record, delete the record and searching the record of the employee. Only the authorized person can access the system by entering the correct combination of username and password.

JAVA
The entire component has been developed using Java technology. Java has been chosen as the platform because of its feature rich nature. The Java Platform provides robust end-to-end solutions for networked applications as well as a trusted standard for embedded applications. So Java was a natural choice for development process.

Characteristics of Java

Object Oriented: Java is object oriented to the truest sense of the word. Everything in Java is represented as objects. Variables and methods both are encapsulated in objects. Java is the purest object-oriented language. Robust:

Java is a very robust language owing to the following features. Excellent exception handling facilities. Memory management relief for the user. User does not have to worry about allocation and deallocation of memory.

Strict compile-time and runtime checks for data types.


Portable and Architecture-neutral (Platform Independent): Java is portable and platform independent so much that they satisfy write once; run anywhere, anytime, forever. This feature is implemented in the following ways: Compiler generates machine independent byte-code instructions which can be run on any machine supporting Java Virtual Machine. Size of primitive data type is machine independent.

Multithreaded: Programs can do many things simultaneously using different threads. Provides a solution for multiprocess synchronization.

Allows the creation of networked and interactive programs.


Distributed: Open access to remote objects by the use of RMI (Remote Method Invocation). Brings a level of abstraction to client/server programming.

Secure:

Security is achieved by confining a java program to the java execution


environment and not allowing access to other parts of the user computer.

Absence of pointers provides memory related security as encroachment of memory is avoided Proper measures for prevention of viral infection and malicious intent.

Dynamic and Extensible: Facilitates linking in of new classes, objects and methods. Supports native methods (methods written in other languages like C, C++). Programs carry with them a substantial amount of runtime type information that is used to verify and resolve accesses to objects at run-time.

High Performance:
Just-In-Time (JIT) compilers are used to convert byte-code into native machine code resulting in very high performance. These JIT compilers can be used on a real time, piece by piece demand basis to perform on-the-fly compilation of byte-code into native-code.

Compilation and Interpretation:


Java programs are implemented as a two-stage system.

Compilation: Source code to byte-code and not machine instructions. Interpretation: Byte-code to machine code (for any system that supports using JVM)
Thus cross-platform programs can be written.

JAVA SWINGS
"Swing" refers to the new library of GUI controls (buttons, sliders, checkboxes, etc.) that replaces the somewhat weak and inflexible AWT controls. The Swing classes eliminate Java's biggest weakness: its relatively primitive user interface toolkit. Java Swing helps you to take full advantage of the Swing classes,

providing detailed descriptions of every class and interface in the key Swing packages. It shows you how to use all of the new components, allowing you to build state-of-the-art user interfaces and giving you the context you need to understand what you're doing. It's more than documentation; Java Swing helps you develop code quickly and effectively. 1. Main New Features

Lightweight. Not built on native window-system windows. Much bigger set of built-in controls: Trees, image buttons, tabbed panes, sliders, toolbars, color choosers, tables, text areas to display HTML or RTF, etc.

Much more customizable. Can change border, text alignment, or add image to almost any control. Can customize how minor features are drawn. Can separate internal representation from visual appearance.

"Pluggable" look and feel. Can change look and feel at runtime, or design own look and feel.

Many miscellaneous new features. Double-buffering built in, tool tips, dock able tool bars, keyboard accelerators, custom cursors, etc.

2. Components are named JXxx. E.g. JFrame, JPanel, JApplet, JDialog, JButton etc.

J Component
The J Component class is the root of the Visual component class hierarchy in JFC. All Swing components are implemented as subclass of J components class, which inherits from the Container class. Swing component inherit the following functionality from J Component a). Borders- Using the setBorder() method, you can specify the border that a component displays around its edges. You can specify that component have extra space around its edges using an EmptyBorder instance.

b). Double Buffering- It can improve the appearance of frequently changing components. Now you do not have to write the double buffering code because Swing provides it for you. By default Swing components are double buffered. c). Tool Tips- By specifying a string with the setToolTipNext() method, you can provide help to users of a components. When the cursor pauses over the components, the specified string is displayed in small window near the component. d). Look and Feel- Subject to the security restriction, you can choose the look and feel used by all Swing components by invoking the UIManager.setLookAndFeel() method. 3. Instead of adding components directly to frames or applets, we can use the content pane.

Add to content pane via getContentPane().add Replace content pane via setContentPane()

5. Model-View-Controller architecture let us change the internal data representation for lists, trees, tables, etc. 6. Mixing AWT and Swing is doomed. AWT components are always on top, and z-ordering problems catch you in many unexpected ways. Stick with the AWT or move completely to Swing.

APPLETS
Applet is java program that can be embedded into HTML pages. Java applets runs on the java enables web browsers such as mozila and internet explorer. Applet is designed to run remotely on the client browser, so there are some restrictions on it. Applet can't access system resources on the local computer. Applets are used to make the web site more dynamic and entertaining.

Advantages of Applet:

Applets are cross platform and can run on Windows, Mac OS and Linux platform Applets can work all the version of Java Plugin Applets runs in a sandbox, so the user does not need to trust the code, so it can work without security approval

Applets are supported by most web browsers Applets are cached in most web browsers, so will be quick to load when returning to a web page

User can also have full access to the machine if user allows

Disadvantages of Java Applet:


Java plug-in is required to run applet Java applet requires JVM so first time it takes significant startup time If applet is not already cached in the machine, it will be downloaded from internet and will take

JDBC
The JDBC is a set of the database access classes. The very term JDBC stands for Java Database Connectivity. It was developed by Java Soft. JDBC technology is an API (Application Program Interface) that allows virtual access to any tabular data source from the Java programming language by means of some connecting software called Drivers. It provides cross-DBMS connectivity to a wide range of SQL databases. JDBC defines a set of interfaces to enable developers to access data independently of the actual database product used to store the data. JDBC allow Java applets, Servlets, and application to access data in famous database management systems. It also provides access to other tabular data sources, such as spreadsheets or flat files. The JDBC API allows developers to take advantage of the Java platform's "Write Once, Run Anywhere" capabilities for industrial strength, cross-platform applications that require access to enterprise data. With a JDBC technology-enabled driver, a developer can easily connect all corporate data even in a heterogeneous environment. The JDBC API is the industry standard for database-independent connectivity between the Java programming language and a wide range of databases. The JDBC API makes it possible to do three things:

Establish a connection with a database or access any tabular data source Send SQL statements Process the results

CREATING DATA SOURCE NAME (DSN)


Before starting the program using JDBC ODBC bridge drivers, create tables in Microsoft Access according to requirement. Let its name be emp and fields ename, design, hiredate, deptno. Now lets create a DSN by name empdb, which we will use in the program based on JDBC ODBC drivers. The steps to create DSN are given below 1. Goto Control panel, click on Administrative Tool and then click on ODBC Data Sources as shown in figure 2 and 3.

Figure 2. Selecting Administrative Tool

Figure 3. Selecting ODBC 2. Click on Add button of User DSN as shown in figure 4

Figure 4 3. Select Microsoft Access Driver & then click Finish as shown in figure 5

Figure 5. Selecting Microsoft Access Driver 4. Write Data Source name as Personnel and click on Select button then select .mdb file where it is stored and click on OK as shown in figure 6 and 7.

Figure 6

Figure 7 5. Now at last click on OK as shown in figure 8.

Figure 8

SYSTEM ANALYSIS
Identification of Need
It is the study of various operations performed by the system and their relationship in and outside the system. This study is used to gain an in depth understanding of the existing system and what is required from the new system. At the conclusion of the analysis phase there is a System description for the new system or a set of requirements of the new system. If there is no existing system then analysis defines only the requirements.

System Analysis consists of five basic parts:


Gathering The Tools of Structured Analysis Feasibility Study Cost I Benefit System Planning And Initial Investigation Information Analysis

System Planning And Initial Investigation


This is the first step in project. To launch a system investigation a master plan detailing of the system to be taken , the people to be questioned and the expected outcome is required. The objective is to determine whether the user request has potential merit.

Information Gathering
There are four key strategies or general approaches for. Eliciting information regarding the user's requirement: Asking Getting information from existing system

Onsite observation.

Prototyping

Each approach has its advantages and limitations these are described below: Asking
This is the approach where the information is gathered by directly asking the person about his problem requirements.

Advantages
It gives the users a feeling of participation.

Helps to explore the details of the solution by observing the facial expression, body language by listening to the verbal replies to the question.

Disadvantages
This process is time consuming. The success depends upon the analyst who is conducting theinterview. Sometimes the candidates hesitate.

Feasibility Study
As not every imagination is feasible, not even in software, evanescent as it may appear to outsiders. On the contrary, software feasibility has five solid dimensions:

Technical Feasibility
Is the prepared technology practical? Technical feasibility centres on the existing computer system and to what extent it can support the proposed addition. But in this case since earlier all the work was manual and there was no existing system, so the system proposed is technically feasible. Also, the new system should be brought according to the specification of the product being designed.

Operational Feasibility
Is the problem worth solving? Will the solution to problem work? The answer to the above question is yes. As the problem is worth solving because the manual work is very inefficient and from the statement of the problem gives us a clue that there is a solution to the problem and there are pretty good chances that the solution will work.

Economic Feasibility
It is used to measure the cost effectiveness of a project which is commonly known as cost-benefit analysis. The project is also economically feasible as the only requirement involving expenses are related to the cost of buying a new system and a printer for the hard copies. And the maintenance involved in this is only the maintenance of the computer and that does not cost much. So according to the requirements the system is economically fit.

Legal Feasibility
Legal feasibility means that the software developed is legal; it is not violating any governmental constraints and it is following all the legal laws. Since the project is

developed for use within a particular college only, it can be no mean violate any legal laws. Therefore, it is said to be legally feasible too.

Behavioural Feasibility
Behavioural feasibility is an estimate of how strong reaction the user staff is likely to have towards the development of a computer system. Since this project lightens the burden of the manual work in the cell, so the end users of the software will always be encouraging towards the use of computer. Also, no jobs are going to be replaced in this case.

DESIGN ANALYSIS
Designing is the most important part of the software development lifecycle. It requires careful planning and logical thinking on the part of the software designer. Designing the software means how the various parts of the software are going to meet the user requirement and goals. It should be done with utmost care as a simple mistake or miscalculation at this stage can result in errors which can be compounded manifold as the development process moves up the development hierarchy. This compounded error can result in low performance, more processing time, and more coding and extra load. System Design attempts to accomplish the following: Improve productivity of analysts and programmers. Improve documentation and subsequent maintenance and enhancements. Cut down drastically on cost over runs and delays. Improved communication among the users ,analysts, designers and

programmers Standardize the approach to analysis and design Simplify design by segmentation

PERFORMANCE REQUIREMENT
The following performance characteristics were taken care of while developing System: User Friendliness:
The system is easy to learn and understand. A native user can also use the system effectively, without any difficulty.

User Satisfaction:
The system is such that it stands up to the user expectations.

Response Time:
The response of all the operation is good. This has been made taken tare of to ensure that the system operates without halting. Safety and Robustness: The system is able to avoid or tackle disastrous action. In other words, it should be full proof. The system safeguards against undesired events without human intervention.

ACCEPTANCE CRITERIA

User Friendliness:
The system should satisfy the user's need. It should be easy to learn & operate.

Modularity:
The system should have relatively Independent and single function parts that can be put together to make complete system.

Maintainability:
The developed system should be such that the time & effort for the program maintenance, enhancements are reduced.

Timeliness:
The system should operate well under peak & recovery conditions.

ABOUT THE PROJECT

The project titled PERSONNEL MANAGEMEMT SYSTEM is the Personnel management software for monitoring and updating the employees information from time to time. This project Personnel management system is mainly developed in java, which mainly focussed on basic operation like inserting the information of new employee, searching the information of existing employee, deleting the data of the past employee with a strong and effective user interface combined with searching option. The report generation facility of personnel system helps to get a well known idea in which information of employee is being updated by time to time. The PERSONNEL MANAGEMENT SYSTEM process made computerized to reduce human errors and to increase the efficiency. The main focus of this project is to lessen human efforts. The maintenance of the records is made efficient, as all the records are stored in the ACCESS database, through which data can be retrieved easily. The navigation control is provided in all the forms to navigate through the large amount of records. If the numbers of records are very large then user has to just type in the search string and user gets the results immediately. The editing is also made simpler. The user has to just type in the required field and press the save button to update the desired field. In this first of all log in form is appeared in this user fill the log in detail for accessing the data which is protected by password. If user enter the wrong password it will show wrong password and try again later, if its right three panes are shown in the window. these three panes are following : Inquire Personnel Detail: In this user wants the information of any employee, he use this window. If employee exist database will show the details otherwise employee doesnt exist. Update and Delete Personnel Detail: In this user update or delete the information of any employee ,use this window. Insert Personnel Detail: In this user want to insert the information of any new employee,he will use insert personnel detail.

BASIS FOR DATA DICTIONARY

A data dictionary is a centralized collection of all data flowing among functions & to or from data stores. It is nothing but a repository of various data flows defined in a DFD. The associated data dictionary states precisely the structure of each data flow in the DFD. The list of the various data structure along with their data type & description is as follows: Table-1 Login FieldName User Password Authorization Type Text Password Number Size 10 8 Not Null

Table 2 Persons Field Name Type AutoNumber Person_Id FirstName LastName MiddleName Nick Name Gender Martial Status Age BirthDate Address Res_Phone_Number Off_Phone_Number Cell_Number Company Name Email address Text Text Text Text Text Text Number Date/Time Text Text Text Text Text Text 30 30 30 15 1 10 integer yyyy/mm/dd 30 15 15 15 30 30 Size Long Integer Not Null

SYSTEM REQUIREMENT
HARDWARE

Pentium V Processor RAM:- 2 GB Hard Disk:- 320 GB Other:-CD Writer,Keyboard,mouse

SOFTWARE

Front-end:- JAVA Back-end:- SQL For Connectivity:- JDBC

PRODUCTION

WATERFALL MODEL
The project is based on waterfall technique, which is based on topdown approach. First I have discovered all the problems present in the current system and hence accordingly framed the requirements. After the identification of requirements I have froizen them i.e. no future requirements can be identified. The user will get finally whatever he desires without having ant intermediate interface. The Waterfall Model offers a means of making the developmemt process more visible.

FLOW CHART

start

Enter Login Detail

NO
If detail matched

Print Error Wrong user Name and Password

YES

Open Main Menu Module

End

E-R DIAGRAM For Customer Detail

DATA FLOW DIAGRAM


0 - LEVEL DFD

Ist level DFD

SCREEN SHOTS

Login Screen

Personnel Management System


Inquire Form

Update/Delete Form

Insert form

BIBLIOGRAPHY
BOOKS REFERED

The Complete Reference Java J2SE. Java How to Program.Programmers Guide to Java Certification. Java published by Sun Java.

You might also like