0% found this document useful (0 votes)
8 views16 pages

Newpro

The document provides an overview of JSP and JDBC technologies, highlighting their advantages and functionalities in web development and database connectivity. It discusses the objectives of the Total Pay Solution system, which aims to automate HR processes and improve data management. Additionally, it outlines the feasibility study steps, technical requirements, data flow diagrams, and hardware/software specifications for the system.

Uploaded by

ookok6913
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views16 pages

Newpro

The document provides an overview of JSP and JDBC technologies, highlighting their advantages and functionalities in web development and database connectivity. It discusses the objectives of the Total Pay Solution system, which aims to automate HR processes and improve data management. Additionally, it outlines the feasibility study steps, technical requirements, data flow diagrams, and hardware/software specifications for the system.

Uploaded by

ookok6913
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

About the Technology (JSP)

JSP is a server side technology which helps to create a web page


dynamically using java as the programming language. JSP is a
specification from Sun Microsystems. It is an extension to Servlet API.

Advantages of JSP
1. JSP has all the advantages that a servlet has, Better performance than
CGI
2. Inherits the features of java technology ie. multi-threading, exception
handling, Database connectivity, etc.
3. JSP Enables the separation of content generation from content
presentation. Which makes it more flexible.
4. With the JSP, it is now easy for web designers to showcase the
information.
5. JSP is built on Java technology, so it is platform independent.

Java Database Connectivity (JDBC)


The Java Database Connectivity (JDBC) API is the industry standard for
database-independent connectivity between the Java programming
language and a wide range of databases – SQL databases and other
tabular data sources, such as Excel or flat files. The JDBC API provides a
call-level API for SQL-based database access.
JDBC technology allows you to use the Java programming language to
exploit "Write Once, Run Anywhere" capabilities for applications that
require access to enterprise data. With a JDBC technology-enabled driver,
you can connect all corporate data even in a heterogeneous environment.

Advantages of JDBC Technology


 Leverage Existing Enterprise Data: With JDBC technology, businesses
are not locked in any proprietary architecture, and can continue to use
their installed databases and access information easily -- even if it is
stored on different database management systems.

 Simplified Enterprise Development: The combination of the Java API


and the JDBC API makes application development easy and
economical.

 Zero Configuration for Network Computers: With the JDBC API, no


configuration is required on the client side.

Loads database drivers and manages the


Driver manager
connections between the application and the driver

Translates API calls into operations for a specific


Driver
data source
Connection A session between an application and a database
A SQL statement to perform a query or update
Statement
operation
Information about returned data, database and
Metadata
driver

Logical set of columns and rows of data returned by


Resultset
executing a statement
Driver Manager Connection Statement ResultSet

Driver

Database
Database

The JDBC architecture is based on a collection of java interfaces and


classes that together enable you to connect to data sources, to create and
execute SQL statements and to retrieve and modify data in a database.
The JDBC-ODBC Bridge –"sun.jdbc.odbc.jdbcodbcDriver"- is included
with JDK and it enables Java applications to access data through drivers
written to the ODBC standard. The driver bridge is useful for accessing
data in data sources for which no pure JDBC drivers exist. The bridge
works by translating the JDBC methods into ODBC function calls.

Structured Query Language (SQL)

SQL is not a procedural language. It is not used to define complex


processes; we can use SQL to use commands that define and manipulate
data. SQL is different from other languages. SQL is very readable. In SQL,
we always issue commands.
SQL statements fall into two groups:

Data Defination Language (DDL): DDL statements are used to


describe the tables and the data they contain. The subset of SQL
statements used for modeling the structure (rather than the contents) of a
database or cube. The DDL gives you the ability to create, modify, and
remove databases and database objects.
Data Manipulation Language (DML): DML statements that are used to
operate on data in the database. These are statements that allow you to
create or alter objects (such as tables, indexes, views, and so on) in the
database. The subset of SQL statements used to retrieve and manipulate
data. DML can be further divided into 2 groups:
• Select Statements – Statements that return a set of results.
• Everything else – Statements that don’t return a set of results.

Here are some of the queries defined:


Select: SQL statement used to request a selection, projection, join, query,
and so on, from a SQL Server database.

Primary Key: Primary key constraints, identify the column or set of


columns whose values uniquely identify a row in a table. You cannot enter
a NULL value for any column in a primary key.

Foreign Key: A Foreign Key in one table Points to the Primary key in
another table. The FOREIGN KEY constraint also prevents invalid data
from being inserted into the foreign key column, because it has to be one
of the values contained in the table it points to.

Insert: The Insert logical operator inserts each row from its input into the
object specified in the Argument column. To insert the data into a relation
we either specify a tuple to be inserted or write a query.

Delete: The Delete logical operator deletes from an object row that
satisfy the optional predicate in the Argument column. We can delete only
whole tuples; we cannot delete values of only particular attributes.

Update: The Update logical operator updates each row from its input in
the object specified in the Argument column. It provides a way of
modifying existing data in a table.
OBJECTIVES
The Total Pay Solution is very user friendly and appealing. The human
objective of the system is to maintain and retrieve information about the
entire personnel framework of the organizational system. The system is
fairly simple in design and implementation.

The main objectives of this system to handle online browser based


application that automates processes Employee life-cycle

 To reduce the work load of HR, employees of company and other staff.

 To facilitate faster access of HR related information of various


branches. Multi branches can use it from anywhere and main admin
can manage data.

 Online Leave Request and leave summary should be considered for


salary calculation

 Employees Loan, claim, reimbursement details and all other calculation


done online and updated in Salary Calculation Package by Payroll
software.

 Computerized payroll generation, manipulation and management.

 Search for all employees, departments, dependent information, etc.


possible. Also department-wise, level-wise and other parameter based
search enabled.

 Easy management of databases of various sections covering key


aspects.
FEASIBILITY STUDY
Depending on the result of initial investigation the survey is now
expanded to a more feasibility study. A feasibility study is a test of the
system proposal, according to its workability, impact on the organization,
ability to meet needs and effective use of the resources. It focuses on
these major questions:
 What are the use demonstrable needs and how does a candidate
system meet them?
 What resources are available for given candidate system?
 What are the likely impacts of the candidate system for the
organization?
 Whether it is working to solve the problem?

During feasibility analysis for this project following primary areas of


interest are to be considered. Investigation and generating ideas about a
new system does this.

STEPS IN FEASIBILITY ANALYSIS


 Form a project team and point a project leader.
 Prepare system flow chart.
 Enumerate potential proposed system.
 Define and identify characteristics of the proposed system.
 Evaluate performance and cost effectiveness of the proposed system.
 Weight system performance and cost data.
 Select the best proposed system.

Technical Feasibility
This is a study of resource availability that may affect the ability to
achieve an acceptable system. This evaluation determines whether the
technology needed for the proposed system is available or not. The key
questions to be addressed are:
 Can the work for the project be done with current equipment existing
software technology & available personnel.
 Can the system be upgraded if further developments and requirements
increase.
 If new technology is needed than what can be developed.
Technical feasibility is concerned with specifying equipment and software
that will successfully satisfy the user requirement. Technical needs of the
system include:

FRONT-END AND BACK-END SELECTION:


An important issue for the development of a project is the selection of
suitable front-end and back-end. When we decided to develop the project
we went through an extensive study to determine the most suitable
platform that suits the needs of the organization as well as helps in the
development of the project.

The aspects of our study included the following factors.

Front-end selection:

• Creates sophisticated windows and applications in a short time.

• Provision of inbuilt templates for visual elements like frames, labels,


buttons etc.

• Use of keyboard and mouse for visual design.

• Automatic generation of standard codes.

Back-end Selection:
• Efficient data handling

• Provide inherent features for security

• Efficient data retrieval and maintenance

• Stored procedures

• Popularity

• Operating System Compatibility

• Easy to install

• Various drivers must be available


• Easy to implant with the Front-end

According to above stated features we selected MySQL as the backend.


The technical feasibility is frequently the most difficult area encountered
at this stage. It is essential that the process of analysis and definition be
conducted in parallel with an assessment of technical feasibility. It centers
on the existing computer system (hardware, software, etc.) and to what
extent it can support the proposed system.
DATA FLOW DIAGRAM (DFD)

Context Level Diagram


The CFD shows the external entity action in the software is shown here in
CFD as a single process.

Administrator

Us Up De Up
Ad
er da let da
d
Inf te e te
Ne
or Us Us Le
w
m er er av
Us
ati er e
on M
as
te
r

TPS

Le
Le Sa av
av lar e
e y Re
St Sli qu
at p es
us
t

Employee
DFD at 0 Level (Admin)

Display Errors

Userid
Admin Login PROCESS Home Page
Password

Profile Employee Master Search Record

Leave Master Delete Record Update Record


DFD at 0 Level (User)

Display Errors

Userid
User Login PROCESS Home Page
Password

Profile Salary Slip Leave Request Leave History


DFD at 1 Level
Admin

MANAGE
S

Salary Leave Employee Search


Detail Details Detail Record

Salary Database Leave Datatabase Employee Datatabase


ENTITY RELATIONSHIP (ER) DIAGRAM

User

MANAGE
S

Salary Leave Employee Search


Detail Details Detail Record

Salary Database Leave Datatabase Employee Datatabase


HARDWARE/SOFTWARE SPECIFICATIONS
 Browser: All the Browsers i.e. IE, Chrome, Firefox
 Front End: HTML, CSS, JavaScript, JDBC, Java, JSP and Servlet
 Back End: MySQL 2008
 Design Tool: Manual Coding

HARDWARE SPECIFICATION
 Processor: x86 compatible processor with 1.7 GHz Clock Speed
 RAM: 512 MB or greater
 Hard Disk: 20 GB or greater
 Monitor: VGA/SVGA
 Keyboard: 104 keys standard
 Mouse: 2/3 button. Optical/Mechanical.

USER CHARACTERISTICS
Every user:
 Should be comfortable with basic working of the computer
 Must have been knowledge of English
 Must carry a login ID and password used for authentication

CONSTRAINTS

• The GUI is restricted to English

• Login ID and password used for identification of the user/administrator.


There is no facility for a guest login

DATA STRUCTURE
LOGIN

FIELD NAME DATA TYPE FIELD LENGTH


userId (Primary Key) BIGINT
userPassword VARCHAR 10
userRole VARCHAR 20

EMPLOYEE
FIELD
FIELD NAME DATA TYPE
LENGTH
userID (Primary Key) BIGINT -
empName CHAR 30
empFatherName CHAR 30
empDesignation CHAR 30
empAddress VARCHAR 60
empCity VARCHAR 30
empQualification VARCHAR 30
empEmail VARCHAR 30
empDepartment VARCHAR 30
empMobile BIGINT -
empDOJ DATE -
empDOB DATE -
empGender CHAR 6
empMaritalStatus CHAR 10
empPFNo VARCHAR 30
empESINo VARCHAR 30

SALARY
FIELD
FIELD NAME DATA TYPE
LENGTH
userID BIGINT -
empBasic INT -
empHRA INT -
empTranport INT -
empMedical INT -
empTelephone INT -
empFuel INT -
empPF INT -
empInsurance INT -
effFromDate DATE -
effToDate DATE -
LEAVEMASTER
FIELD
FIELD NAME DATA TYPE
LENGTH
casualLeave INT -
sickLeave INT -
priviledgeLeave INT -
userId (Foreign Key from Employee) INT -

LEAVES
FIELD
FIELD NAME DATA TYPE
LENGTH
applyDate DATE 8
startDate DATE 8
endDate DATE 8
fullOrHalf VARCHAR 15
leaveType VARCHAR 20
Total DOUBLE -
userId BIGINT -

You might also like