Data Centric Knowledge Management System (DCKMS)

92
ABSTRACT The purpose of the Data Centric Knowledge Management System (DCKMS) is to centralize knowledge generated by employees working within and across functional areas, and to organize that knowledge such that it can be easily accessed, searched, browsed, navigated, and curated. DCKMS is a web based application which allows employees of a company to share their knowledge with others in the company. Also it allows them to search for knowledge assets when in need. It provides a facility for the employees to register themselves as ‘experts’ as well as search for other ‘experts’ incase of any problem/requirement in their project. It is a one stop shop for finding solutions for your problems. Every employee needs some help at some point of time. To solve some issues or bugs or problems employees has to depend upon many sources like internet. This is very difficult and time consuming task. Also accurate solution may not be available. Data Centric Knowledge Management System is a perfect solution to overcome the above mentioned problems. It provides a facility to share your knowledge by submitting various knowledge assets and to search for assets

description

doc

Transcript of Data Centric Knowledge Management System (DCKMS)

Page 1: Data Centric Knowledge Management System (DCKMS)

ABSTRACT

The purpose of the Data Centric Knowledge Management System (DCKMS) is to

centralize knowledge generated by employees working within and across functional

areas, and to organize that knowledge such that it can be easily accessed, searched,

browsed, navigated, and curated.

DCKMS is a web based application which allows employees of a company to

share their knowledge with others in the company. Also it allows them to search for

knowledge assets when in need. It provides a facility for the employees to register

themselves as ‘experts’ as well as search for other ‘experts’ incase of any

problem/requirement in their project. It is a one stop shop for finding solutions for your

problems.

Every employee needs some help at some point of time. To solve some issues or

bugs or problems employees has to depend upon many sources like internet. This is very

difficult and time consuming task. Also accurate solution may not be available. Data

Centric Knowledge Management System is a perfect solution to overcome the above

mentioned problems. It provides a facility to share your knowledge by submitting various

knowledge assets and to search for assets when in need. It allows users to search

documents based on keywords as well as name of the author, topic, category etc.

This application allows users to register themselves as experts in their favorite

areas. Also allows users to find and contact experts in order to seek help from them. This

application provides end to end solution to maintain shared knowledge assets in a

company. It allows K-Team and Experts to evaluate the documents submitted by various

employees before publishing them. Also based on this rating various awards are being

awarded to employees.

This application maintains the entire data in a centralized and secured database

server to maintain consistency in report generation and allows users to access from any

Page 2: Data Centric Knowledge Management System (DCKMS)

location. This is an online application that allows multi-user access of system and to track

or manage the data simultaneously. Various roles and authentications have been provided

and access to various areas in the tool is restricted according to the role given to users.

.

K-Bank Module: This module handles the document submission and

searching for documents using different criteria like keyword search, topic search, by

author name etc.

Document Finder Module

Upload & Download Module

Admin Module: This module provides interface to K-Team for initial

screening of documents and assigns evaluators to rate the documents.

User management module

K-Team Documents initiation module

Documents forwarding module

Evaluation Module: This module provides a dashboard for evaluators to view

the documents assigned to them for review and allows them to accept or reject the

document and rate them based on the quality.

Document Evaluation

Documents Rating module

Dash Board Module

Reporting Module: This module is responsible in generating various reports.

User Report Module

Category wise documents report module

Ratings Report module

Page 3: Data Centric Knowledge Management System (DCKMS)

1. INTRODUCTION1.1 Company Profile

B & I Tech Solutions develops software geared toward the payment of growers

and producers of agricultural commodities. Our applications manage the entire

procurement process, including managing producer profiles, agreements and contracts,

receiving, pricing calculations, and generation of payments and deductions. We are

involved in the procurement workflows of over 25 different commodities, including fluid

milk, fruits, grains, and livestock.

The strength of our software is found in the ability to create workflows that mirror

the business processes of our clients. Customer specific transactions, business rules, and

output requirements are configured in the application through a definition layer, and these

details are shared throughout the modules. The effectiveness of these configurations is

enhanced by the experience and expert knowledge that our staff brings to the industries

we serve.

Whether in a standalone environment or integrated with an ERP solution, our

applications manage procurement workflows that are more complicated than traditional

purchasing processes. Find out today how we can deliver on increasing the efficiency of

your procurement process, and improving the information advantage you need!

BITS (B & I Tech Solutions Pvt Ltd.) is an offshore software development and

Outsourcing company located in Hyderabad, India. We deliver superior IT concepts and

solutions for International businesses in competitive markets.

` BITS offers a full suite of IT solutions and services, including custom application

development, application management outsourcing (AMO), consulting, legacy

modernization and migration, and system integration. We have delivered path-breaking

solutions in key areas such as Grower accounting & Commodity Procurement.

Page 4: Data Centric Knowledge Management System (DCKMS)

BITS is dedicated towards providing quality software solutions in a most cost

effective way with-in budget and on-time. By following engineering practices in IT, we

ensure that not only our projects are completed within time and budget but also result in

higher quality standards and quicker resolution of technical challenges.

Growth and diversification has been fueled by our constant search for solutions to

the challenges our clients face. We have established a solid foundation of success and we

continue to build on that foundation. As BITS continues to grow, we remain globally

committed to providing strategic IT solutions.

Services:

Custom Software Development

C++, Java / .NET Programming

Embedded Software Development

Application Re-Engineering and Re-Factoring...

Internet/Intranet Software Development

Client/Server and Distributed application development

CRM

Corporate document and knowledge management systems

Web Development

Remote DBA

Benefits:

Page 5: Data Centric Knowledge Management System (DCKMS)

With B & I Tech software development services, you reduce outsourcing software

development costs and enhance revenue growth due to our:

High responsiveness

Skilled and organized personnel

Solid experience in projects of different complexity and scope

Mature software development process

On-time and within budget delivery

Cost-competitive custom software programming services

1.2 About Project

Page 6: Data Centric Knowledge Management System (DCKMS)

The purpose of the Data Centric Knowledge Management System (DCKMS) is to

centralize knowledge generated by employees working within and across functional

areas, and to organize that knowledge such that it can be easily accessed, searched,

browsed, navigated, and curated.

DCKMS is a web based application which allows employees of a company to

share their knowledge with others in the company. Also it allows them to search for

knowledge assets when in need. It provides a facility for the employees to register

themselves as ‘experts’ as well as search for other ‘experts’ incase of any

problem/requirement in their project. It is a one stop shop for finding solutions for your

problems.

Every employee needs some help at some point of time. To solve some issues or

bugs or problems employees has to depend upon many sources like internet. This is very

difficult and time consuming task. Also accurate solution may not be available. Data

Centric Knowledge Management System is a perfect solution to overcome the above

mentioned problems. It provides a facility to share your knowledge by submitting various

knowledge assets and to search for assets when in need. It allows users to search

documents based on keywords as well as name of the author, topic, category etc.

This application allows users to register themselves as experts in their favorite

areas. Also allows users to find and contact experts in order to seek help from them. This

application provides end to end solution to maintain shared knowledge assets in a

company. It allows K-Team and Experts to evaluate the documents submitted by various

employees before publishing them. Also based on this rating various awards are being

awarded to employees.

This application maintains the entire data in a centralized and secured database

server to maintain consistency in report generation and allows users to access from any

location. This is an online application that allows multi-user access of system and to track

Page 7: Data Centric Knowledge Management System (DCKMS)

or manage the data simultaneously. Various roles and authentications have been provided

and access to various areas in the tool is restricted according to the role given to users.

This system design is modularized into various categories. This system has

enriched UI so that a novice user did not feel any operational difficulties. This system

mainly concentrated in designing various reports requested by the users as well as higher

with export to excel options.

Features:

24 X 7 availability

Better component design to get better performance at peak time

Flexible service based architecture will be highly desirable for future extension

Professional look and feel

Browser testing and support for IE

Website is highly customizable and flexible enough to easily deploy without much

effort

Secured data driven role based access

Page 8: Data Centric Knowledge Management System (DCKMS)

2. SYSTEM ANALYSIS

2.1 System Study

All projects are feasible given unlimited resources and infinite time. But the

development of software is plagued by the scarcity of resources and difficult delivery

rates. It is both necessary and prudent to evaluate the feasibility of a project at the

earliest possible time.

Three key considerations are involved in the feasibility analysis.

Technical Feasibility

This project, Data Centric Knowledge Management System needs the support to

web based technology being implemented for other useful systems in our company. It

requires PC’s and NIC Card with normal configuration for Intranet access. Almost all

administrators have their own PC on their desk. Thus it is technically feasible to

implement the new system here.

Economic Feasibility

“Data Centric Knowledge Management” is an in-house project. It is very much

useful for the company to maintain their knowledge assets. The infrastructure for the

development of their new system is available in the campus itself. The system is

developed at no additional cost. Hence it is economically feasible for the new system to

be implemented.

Operational Feasibility

This system is being automated on the request of the technical department of our

company. This new system meets their requirement and covers all aspects required much

better than the old manual system. Most of the people involved in this branch are

computer literate and do not need much training if this system is implemented. Hence it

is operationally feasible.

Page 9: Data Centric Knowledge Management System (DCKMS)

2.2 Existing System

Here in the existing system, the company maintains all the knowledge based

documents in a separate system which will be accessible for all employees through LAN

and they can post their new documents into this and access the earlier documents.

Searching for related documents based on author, technology etc is a time taking process.

Managing the documents category wise and restrict them not to be accessible based on

the user type becomes complicated. This system doesn’t restrict unnecessary documents

to be posted.

Drawbacks:

Difficulty in maintaining security levels for the documents.

Difficulty in browsing, navigating and searching for required document.

Difficulty in giving ratings for the documents.

Availability of information in this manner is subjected to damage.

Difficulty in restricting the employees not to update the documents

Difficulty in generating different reports

One way to overcome all these difficulties is so store all the information in the

computer. The computerization helps the users a lot.

Page 10: Data Centric Knowledge Management System (DCKMS)

2.3 Proposed System

The proposed system is fully computerized, which removes all the drawbacks of

existing system. In the proposed system, it allows different employees of the company to

upload their knowledge document into this system which will be verified by next level

users to avoid unnecessary documents. Also it allows them to search for knowledge

assets very easily when in need. It provides a facility for the employees to register

themselves as ‘experts’ as well as search for other ‘experts’ incase of any

problem/requirement in their project. It provides a facility for the evaluator to rate the

documents posted by the employees.

Advantages:

It provides a facility a to share knowledge documents across the company

It allows the employees to upload and download the documents from their

systems

Easy in browsing, navigating and searching for required documents

Provides a facility to restrict the unnecessary documents to be posted

Provides flexible way in generating different reports

By the following the new approach the information can be accessed from any

where just with a mouse click. This helps the users by saving lot of time providing

the user with the up to date information Centralized database helps in avoiding

conflicts

This project provides a rich user interface for the user to access information with

least effort (“look and feel”).

It allows to rate the documents at different levels

It allows to publish or reject the documents.

Page 11: Data Centric Knowledge Management System (DCKMS)

3. SYSTEM ENVIRONMENT

3.1 Hardware Requirement

Pentium IV processes architecture

1. 256 MB RAM.

2. 40 GB Hard Disk Space.

3. Ethernet card.

3.2 Software Requirement

Operating System: Windows 2000/XP

Web Server: Apache Tomcat Web Server

Server side Application Software: Java Server Pages (JSP)

Client Side Application Software: Java Script, HTML

Data Base: MySQL 5.0

Client Browsers: Internet Explorer 6.0 or Netscape Navigator 4.7

Java Software : Jdk1.5.0

Page 12: Data Centric Knowledge Management System (DCKMS)

3.3 Software Specification

Introduction to HTML:

The hypertext markup language (HTML) is a simple markup language. Used to

create a hypertext documents that are portable from one platform to another HTML

documents are SGML (Standard generalized mark up language) documents with generic

semantics that are appropriate for representing information from a wide range of

applications. This specification defines HTML version 3.2.HTML 3.2 aims to capture

recommended practice as of early ’96 and as such a replacement for HTML2.0 (RFC

1866).

A set of instructions embedded in a document is called mark up language. These

instructions describe what the document text means and hoe it should look like in a

display. Hyper Text Mark Up language (HTML) is the language used to encode World

Wide Web documents.

WHY TO USE HTML:

Website is a collection of pages, publications, and documents that reside on web

server. While these pages publications and a document as a formatted in a single format,

you should use HTML for home page and all primary pages and the site. This will enable

the millions of web users can easily access and to take advantage of your website.

HTML is considered first for formatting any new material you plan to publish on

the web. HTML documents are platform independent, meaning that they don’t confirm to

any standard. If they are created properly you can move home page to any server

platform or you can access them with any complaint www browser.

STRUCTURE OF HTML:

HTML elements perform a defined task. HTML uses two types of elements

. Empty Tags

Page 13: Data Centric Knowledge Management System (DCKMS)

. Container Tags

Empty (or open) tags and container tags. These tags differ because of what

they represent. Empty tags represent formatting constricts such as line breaks and

horizontal rules. Container tags define a section of text and specify the formatting the

containers dot all of the selected text. A container tag has both a beginning and an ending.

HTML LAYOUT:

An HTML document consists of text, which comprises the content of the

document and tags, which, defines the structure, and appearance of the document. The

structure of an HTML document is simple, consists of outer.

<HTML>tag enclosing the document header and body

<HTML><HEAD> <TITLE>the title of HTML document</TITLE></HEAD><BODY>This is where the actual HTML documents Text lies, which is displayed in the browser</BODY></HTML>

Each document has a head and body delimited by the <HEAD> and

<BODY > tag. The head is where you give your HTML document a title and where you

indicate other parameters the browser may use when displaying the document. This

includes the text for displaying the text. Tag also references special and indicates the hot

spots that link your document to other documents.

HTML FORMS:

Create a form usually involves two independent steps: create the layout for

the form itself and then writing a script program on the server side to process the

formation you get back from a form.

Page 14: Data Centric Knowledge Management System (DCKMS)

To create a form. You use the <FORM> tag. Inside the opening and closing FORM

tags are each of the individual form elements plus any other HTML content to create a

layout for that form.

The opening tag of the FORM element usually includes the attributes: METHOD and

ACTION. The METHOD attributes can be either GET or POST which determines how

your form data is sent to the script to process it.

The ACTION attribute is a pointer to the script that processes the form on the server

side. The ACTION can be included by a relative path or by a full URL to a script on your

server or somewhere else. For example, the following <FORM> tag would call a script

called form-name in cgi-bin directory on server www.myservser.com

<FORM Method= post action=http://www.mytservser.com/cgi-bin/form-name.pl>……………….</FORM>

METHOD ATTRIBUTE:

The other required attribute for the <form> tag sets the methods by which the

browser form’s data to the server for processing. There are two ways: the POST method

and GET method. With POST method, the browser sends the data in two steps: the

browser first contacts the form-processing server specified in the action attributes, and

once contact is made, sends the data to the in to a separate transmission.

The GET method in the other hand, contacts the form processing server and sends

the form data in a single transaction step: the browser appends the data to the form’s

action URL, separated by the question mark (?) character.

INTRODUCTION TO JAVA:

CREATION OF JAVA

Page 15: Data Centric Knowledge Management System (DCKMS)

Java was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank

and Mike Sheridan at SUN Microsystems Incorporation in the year 1991.It took 18

months to develop the 1st working version. This language was initially called “OAK”,

but was renamed “JAVA” in 1995, many more contributed to the design and evolution of

the language.

JAVA OVERVIEW

Java is a powerful but lean object-oriented programming language. It has

generated a lot of excitement because it makes it possible to program for Internet by

creating Applets. Programs that can be embedded in web page. The context of an applet

can be an animation with sound, an interactive game or a ticker tape. With constantly

updated stock prices. Applets can be just little decorations to liven up web page, or they

can be serious applications like Word processor or Spreadsheet.

But Java is more than a programming language for writing Applets. It is being

used more and more for writing standalone applications as well. It is becoming so

popular that many people believe it will become standard language for both general

purpose and Internet programming.

There are many buzzwords associated with Java, but because of its spectacular

growth in popularity, a new buzzword has appeared ubiquitous. Indeed, all indications

are that it will soon be everywhere.

Java builds on the strength of C++. It has taken the best features of C++ and

discarded the more problematic and error prone parts. To this lean core, it has added

garbage collection (automatic memory management), multithreading (the capacity for

one program to do more than one thing at a time), security capabilities. This result is that

Java is simple, elegant, and powerful and easy-to-use.

Java is actually a platform consisting of 3 components:

Java Programming Language.

Java Library of Classes and Interfaces.

Page 16: Data Centric Knowledge Management System (DCKMS)

Java Virtual Machine

The following sections will say more about these components.

JAVA IS PORTABLE:

One of the biggest advantages Java offers is that it is portable. An application

written in Java will run on all the major platforms. Any computer with a Java-based

browser can run the applications or Applets written in the Java-Programming-Language.

A programmer no longer has to write one program to run on a Macintosh, another

program to run on a Windows-machine still another to run on a UNIX-machine and so

on. In other words, with Java developers write their programs only once.

The Virtual Machine is what gives Java is cross platform capabilities. Rather

being compiled into machine language, which is different for each OS’s and computer

architecture, Java code is compiled into Byte codes.

With other languages, the program code is compiled into a language that the

computer can understand. The problem is that other computers with different machine

instruction set cannot understand that language. Java code on the other hand is compiled

into Byte-Code rather than a machine language. These byte codes go to the JVM, which

executes them directly or translates them into the language that is understood by the

machine running it.

In summary, these means that with the JDBC API extending Java, a programmer

writing Java code can access all the major RDBMS on any platform that supports the

JVM.

JAVA IS OBJECT-ORIENTED:

The Java programming language is OBJECT-ORIENTED, which makes program

design focus on what you are dealing with, rather than on how your are going to do

Page 17: Data Centric Knowledge Management System (DCKMS)

something. This makes it more useful for programming in sophisticated projects, because

one can break the things into understandable components. A big benefit is that these

components can then be reused.

Object-Oriented Languages use the paradigm of classes. In simplest term, a class

includes both the data and the functions to operate on data. You can create an instance of

a class, also called an object, which will have all the data members and functionality of

its class. Because of this, you can think of a class as being like template, with each object

being a specific instance of a particular type of class.

The class paradigm allows one to encapsulate data so that specific data values are

those using the data cannot see the function implementation. Encapsulation makes it

possible to make the changes in code without breaking other programs that use that code.

If for example, the implementation of a function is changed, the change is

invisible to any programmer who invokes that function, and does not affect his/her

program, except hopefully to improve it.

Java includes inheritance, or the ability to derive new classes from existing

classes. The derived class, is also called as Sub-Class, inherits all the data in the functions

of the existing class.

JAVA DEVOLPMENT EVNIRONMENT

To code, edit, debug and test the java programs, one needs to have a java

development environment. At the minimum this will consists of a java compiler

interpreter and applet viewer where applets can be tested.

Sun’s java development kit (JDK) latest version is 2.2 can be freely downloaded

from the Internet.

Java compiler is available on DOS, Win95, WIN’NT, Solaris and MAC etc.

Introduction to JavaScript

JavaScript:

Page 18: Data Centric Knowledge Management System (DCKMS)

JavaScript is a new scripting language for WebPages scripts written with java

script can be embedded into your HTML pages. With java script you have very many

possibilities for enhancing your HTML page with interesting elements. For example you

are able to respond to user-initiated events quite easily. Some effects that are now

possible with java script were some time ago only possible with CGI. So you can create

really sophisticated pages with the helps of java script on the Internet.

Difference between java and Java Script

Although the names are almost the same Java is not the same as Java Script.

These are two different techniques for Internet programming. Java is programming

language. JavaScript is a scripting language as the name implies. The difference is that

we can create real programs with java. But about real programming. So Java Script is

meant to be easy to understand and easy to use. JavaScript authors should not have to

care too much about programming. We could say that Java Script is rather an extension

to HTML than a separate computer language. Of course this is not the official definition

but it makes it easier to understand the difference between java and java script.

How can Java Script scripts run?

The first browser to support java script was the Netscape Navigator 2.0 of course

the higher versions do have java script as well. You might know that java does not run

on all Netscape Navigators 2.0 (or higher versions) versions. But this is not true for java

script -although there are some problems with the different versions.

The Mac version for example seems to have many bugs. In the near future there

are going to be some other browsers, which support java script. The Microsoft Internet

explorer 3.0 is going to support java script. JavaScript enabled browsers are going to

spread soon - it is worth learning this new technique now. You might realize that is really

easy to write Java Script scripts. We have to know is some basic techniques and some

work-around for problems you might encounter. Of course we need a basic.

Understanding HTML before reading this tutorial you can find many really good online

Page 19: Data Centric Knowledge Management System (DCKMS)

resources about HTML. Best you make an online search about ‘html’ at yahoo if you

want to get informed about HTML. Now I want to show some small script s so you can

learn how they are implemented into HTML-documents and to show which possibilities

you have with the new scripting language. The following is a very small script, which

will only print a text into an HTML document.

<html>

<head>

My first JavaScript

</head>

<body><br>

This is a normal HTML document

<br>

<script language=”JavaScript”>

Document.write (“this is a java script”)

</script><b r>

Backing HTML again

</body>

</html>

If you are using a java script enabled-browser at the moment then you will have

the possibility to see this script working. If your browser doesn’t support Java Script then

this output might be some kind of strange…

This is a normal HTML document

This is java script!

Back in HTML again.

Functions

Functions are bet declared between the <Head> tag of HTML page. Functions

are called by user-initiated events. Seems reasonable to keep the functions between the

Page 20: Data Centric Knowledge Management System (DCKMS)

<Head> tags. They are loaded first before a user can do anything that might call a

function. Scripts can be placed between inside comment fields to ensure that older

browser do not display the script itself.

<html><head><script language=”JavaScript”> function pushbutton (){

alert (“Hello!”);}</script></head><body><form><input type=”button” name=”Button1” value=”push me” onclick=”pushbutton ()”></form></body></html>

If we want to test this one immediately and you are using a Java Script enabled

browser then please go ahead and push the button.

This script will create a button and when you press it a window will pop up saying

“hello!”. In fact we have a lot of possibilities just by adding functions to our scripts.

The common browsers transmit the form information by either method: here’s the

complete tag including the GET transmission method attribute for the previous form

Example

<Form method =GET action=http://www.mycompany.com/cgi-bin/upfdate.pl>………</form>

Input elements.

Use the <input> tag to define any one of a number of common form elements including

text fields multiple choice lists click able images and submission buttons. There are

many attributers for this tag only that types and name attributes are required for each

element, each type of input element uses only a subset of the followed attributes.

Page 21: Data Centric Knowledge Management System (DCKMS)

Additional <input> attributes may be required based upon which type of the form

element you specify.

Submit button:The submit button (<input type=submit>) does what its name implies, settings in

motion the form’s submission to the server from the browser. We many have more than

submit buttons will be added to the parameter list the browser sends along to the server.

Example

< Input type =”submit”>

<Input type=”submit” value=”submit” name=”name”>

Reset button:

The reset button if firm <input> button is nearly self- explanatory; it lets the user reset

erase or set to some default value all elements in the form. By default the browser

displays a reset button worth the label “reset”. We can change that by specifying a value

attribute with tour own button label.

INTRODUCTION TO JDBC

JDBC (Java Database connectivity) is a front-end tool for connecting to a server to

ODBC in that respect, however JDBC can connect only java client and it uses ODBC for

the connectivity. JDBC is essentially a low-level API since any data manipulation,

storage and retrieval has to be done by the program itself. Some tools, which provide a

higher-level abstraction, are expected shortly.

The next question that needs to be answered is why we need JDBC, once we have

ODBC on hand. We can use the same ODBC to connect the entire database and ODBC is

a proven technology.

Page 22: Data Centric Knowledge Management System (DCKMS)

Problem for doing this is ODBC gives a ‘c’ language API, which uses pointers

extensively. Since java does not have any pointes and is object-oriented sun

Microsystems, inventor of java developed to suit its needs.

Requirements to use JDBC: To use JDBC you need a basic knowledge of databases and SQL.A part from this

you need the jdk1.1 (Java Development Kit1.1 available javasoft’s website) or a version

of Java since jdk1.1 and above come bundled with JDBC software.

After that you need to have a back-end database engine for which a JDBC driver is

available. When JDBC drivers are not available JDBC-ODBC bridge drivers are used to

access the database through ODBC.Back-end is not needed when JDBC driver is capable

of storing and retrieving the data itself, or if JDBC-ODBC Bridge and the ODBC driver

can be used to store and retrieve the information.

DATABASE MODELS

JDBC and accessing the database through applets and JDBC.API via an

intermediate server resulted server resulted in a new type of database model which

is different from the client-server model. Based on number of intermediate server through

the request should go it is named as single tire, two tire and multi tire architecture

Single Tier

In a single tier the server and client are the same in the sense that a client program

that needs information (client) and the source of this type of architecture is also possible

in java, in case flat files are used to store the data. However this is useful only in case of

small applications. The advantage with this is the simplicity and portability of the

application developed.

Page 23: Data Centric Knowledge Management System (DCKMS)

Database

Two Tier (client-server)

In two architecture the database resides in one machine the network. In this type of

architecture a database management takes control of the database and provides access to

clients in a network. This software bundle is also called as the server. Software in

different machines, requesting for information are called as the clients.

Database

Three Tier and N-Tier

In the three-tier architecture, any number servers can access the database that

resides on server. Which in turn serve clients in a network. For example, you want to

access the database using java applets, the applet running in some other machine, can

send request only to the server from which it is down loaded. For this reason we will need

to have a intermediate server which will accept the requests from applets and them to the

actual database server. This intermediate server acts as a two-way communication

channel also. This is the information or data from the database is passed on to the applet

Server and client

Server

Client

Client

Page 24: Data Centric Knowledge Management System (DCKMS)

that is requesting it. This can be extended to make n tiers of servers, each server carrying

to specific type of request from clients, however in practice only 3 tiers architecture is

popular.

JDBC Driver Types:

The JDBC drivers that we are aware of at this time fit into one of four categories

1. JDBC-ODBC BRIDGE PLUS ODBC DRIVER

The java soft bridge product provides JDBC access via ODBC drivers. Note that

ODBC binary code end in many cases database client code must be loaded on each client

machine that uses this driver. As a result, this kind of driver is most appropriate on a

corporate network where client installations are not major problem, or for application

server code written in java in a 3-tier architecture.

2. NATIVE API PARTLY-JAVA DRIVER

This kind of driver converts JDBC calls into calls on the client API for oracle

Sybase, Informix, DB2, or other DBMS. Note that, like the bridge driver, this style of

driver requires that some binary code be loaded on each client machine.

1. JDBC-NET ALL-JAVA DRIVER

This driver translates JDBC calls into a DBMS independent net protocol, which is

then translated, to a DBMS protocol by a server. This net server middle-ware is able to

connect its all java clients to many different databases. The Specific protocol used

depends on the vendor. In general, this most flexible JDBC alternative. It is likely that all

vendors of this solution will provide products suitable for intranet use. In order for these

products to also support Internet access, they must handle the additional requirements for

security, access through firewalls, etc that the web imposes. Several vendors are adding

JDBC drivers to their existing database middleware products.

Page 25: Data Centric Knowledge Management System (DCKMS)

2. NATIVE PROTOCOL ALL-JAVA DRIVER

This kind of driver converts JDBC calls into the network protocol used by DBMS

directory. This allows a direct call from the client machine to the DBMS server that is

practical solution for intranet access. Since many of these protocols are proprietary, the

database vendors themselves will be the primary source. Several database vendors have

these in progress. Eventually, we expect that driver categories 3 and 4 will be the

preferred way to access databases from JDBC. Driver categories one and two are interim

solutions where direct all java drivers are not yet available. Category 4 is in some sense

the ideal; however, there are many cases where category 3 may be preferable: eg: -where

a thin DBMS-independent client is desired, or if a DBMS –independent protocol is

standardized and implemented directly by many DBMS vendors.

Servlets

Servlets provides a Java-Based solution used to address the problems currently

associated with doing server side programming, including inextensible scripting

solutions, platform specific APIs, and incomplete interfaces. Servlets are objects conform

to a specific interface that can be plugged into a Java-based server. Servlets are to the

server-side what applets are to the client-side-object byte codes that can be dynamically

loaded off the net. They differ from applets in that they are faceless objects (without

graphics or a GUI component). They serve as platform independent, dynamically

loadable, plug gable helper byte code objects on the server side that can be used to

dynamically extend server-side functionality.

For example, an HTTP servlet can be used to generate dynamic HTML content.

When you use servlets to do dynamic content you get the following advantages:

They’re faster and cleaner than CGI scripts.

They use a standard API (the Servlet API)

They provide all the advantages of Java (run on a variety of servers

Page 26: Data Centric Knowledge Management System (DCKMS)

without needing to be rewritten)

The attractive of Servlets

There are many features of servlets that make them easy and attractive to use. These include:

Easily configured using the GUI-based Admin Tool.

Can be loaded and invoked from a local disk or remotely across the network.

Can be linked together, or chained, so that one servlet can call another servlets or several servlets in sequence.

Can be called dynamically from within HTML pages, using server-side include tags

Invoking the servlet

To invoke a servlet you call it by creating a URL with “/servlet/” pretended to the

servlet name. Then enter this URL in your favorite browser to see the output of the

Servlet.

Example:

After installing according to the directions above, access the HelloServlet by entering

the following URL in your favorite browser:

http://server-host-name:8080/servlet/hell

Internal Servlets

The Java Server servlet architecture is very flexible and the server takes

advantage of this by dividing up its work among several internal servlets. These are

File Servlet Invoker Servlet Server side include servlet Admin Servlet CGI Servlet Image map servlet

File Servlet

Page 27: Data Centric Knowledge Management System (DCKMS)

The file servlet provides the standard document serving capabilities of java server.

This servlet includes a caching mechanism to speed up response times of frequently

accesses files. In addition it recognizes files that are to be parsed for server side includes

and passes them on to the SSInclude Servlet.

Servlets are an effective substitute for CGI scripts and provide a faster and cleaner

way to generate dynamic documents.

The java server is both flexible and extensible. Using the java serer APIs you can

write your own servlet and incorporate it into the server. To do this follows these three

steps

1. Write the servlet

2. Configure the servlet

3. Invoke the servlet

Writing the Servlet

Unless they are used with the http protocol, servlets subclass the servlet.

GenericServlet class and override the service (ServletRequest, ServletResonse) method.

Servlets use with the HTTP protocol should subclass the javax.servlet.HttpServlet

class override one or both of the doGet (HttpServletRequest, HttpServletResonse) and

doPost (HttpServletRequest, HttpServletResonse) methods

Servlets class may choose to override the default implementations of the servlet

“lifecycle” servlet methods, init (ServletConfig) and destroy ().

Configuring the Server:

The real beauty of the java server is that it is extensible. But, before you can use a

Servlet to add an extended functionality to the JavaServer. You have to use the Java

Server administration applet to install the Servlet and specify the default parameters and

arguments.

Display the Administration Applet by connecting to:

http://server_Host_Name:8000/index.html

Page 28: Data Centric Knowledge Management System (DCKMS)

Are secure-even when downloading across the network, the servlets security model and

the Servlet sandbox to protect your system from unfriendly behavior.

The advantage of the Sevlet API

One of the great advantages of the Servlet API is protocol independence. It assumes

nothing about:

The protocol being used to transmit on the net.

How it is loaded.

The server environment it will be running in.

These qualities are important, because it allows the Servlet API to be embedded in

many different kinds of Servers. There are other advantages to the servlet API as

well.

Servlet Features

The Java Server provides several important Servlet features. These include:

Loading & Invoking Servlets.

Servlets can be loaded both locally and remotely.

Filters and Servlets change.

The Java Server uses MIME types to call Servlets sequentially.

Server size includes:

Servlets can be invoked from dynamic HTML documents using Server side

include tags.

Replacing the CGI Scripts.

Page 29: Data Centric Knowledge Management System (DCKMS)

4. SYSTEM DESIGN4.1 System Overview

The design of an information system produces the details that state how a system

will meet the requirements identified during systems analysis. This stage is login design.

Module Description:

We have identified the following modules:

Admin Module: This module provides interface to administrator to manage (add

/delete) the employees and view the list of currently available employees. It allows admin

to create logins for different employees and assign different roles while creation. My

Submissions option in this module displays the list of documents submitted by

administrator and allows downloading those documents. K-Team for initial screening of

documents and assigns evaluators to rate the documents. It allows to change the password

information.

K-Bank Module: This module allows different users (generally K-Users nothing

employees) to submit the document by entering the details like Title, Author, date of

creation, content type, keywords, technology, reference, target users, description and

provides a facility to upload a document. It also allows the users to search for a document

based on author, keywords or technology and download that download. It allows K-team

member to manage the reviewers list. It allows to register an expert by entering the

details like Name, EmailID, Primary Skills, Secondary Skills, Experience, Current

Page 30: Data Centric Knowledge Management System (DCKMS)

project, Previous project, Phone number etc) and provides a facility to search for an

expert based on email ID or Primary Skills or Secondary skills or expert ID.

Evaluation Module: This module allows K-Team Members to the list of documents

submitted by different employees and provides a facility to evaluate in the initial

screening phase and changing the document status to K-Team or reject the document

here itself and allows to assign this document to a reviewer by changing the document

status to In-review. It allows Reviewer to view the list of documents forwarded from K-

Team members and assigned to this person. It provides a facility evaluate the document

technically and finally publish or reject the document. It makes the published documents

to be available for all the employees. It allows to rate the document at different levels by

different users.

Reporting Module: This module is responsible in generating various reports.

My Submissions report – It displays the list of documents submitted by this user.

Monthly Submissions report – It displays the list of documents submitted by all

the users in a month

Monthly Rejections report - It displays the list of documents rejected in a month.

Ratings report – It allows administrator to view the ratings report of the

documents.

Status Document report – It allows administrator to view the status of all

documents.

Page 31: Data Centric Knowledge Management System (DCKMS)

4.2 Data Flow Diagrams

Data Flow Diagram

login

Document submission

Document rating

Document Search

Technical review

Theoretical review

Tracing document Status

Employee

K-Team Member

Evaluator

Use Case Diagram between Employee, k-team member and evaluator

Page 32: Data Centric Knowledge Management System (DCKMS)

LOGIN SEQUENCE DIAGRAM

Page 33: Data Centric Knowledge Management System (DCKMS)

Sequence diagram for document

EMPLOYEE SEQUENCE DIAGRAM

Page 34: Data Centric Knowledge Management System (DCKMS)

K-Team Sequence diagram

Evaluator Sequence Diagram

Page 35: Data Centric Knowledge Management System (DCKMS)

Administrator Sequence diagram

Page 36: Data Centric Knowledge Management System (DCKMS)

4.3 Input-Output Design

Employee Management

User Management

Register as expert

Reviewer Management

Search for an expert

Upload document

View document

Evaluate document

Evaluate document

postSearch documment

Download document

Logout

Activity Diagram

Page 37: Data Centric Knowledge Management System (DCKMS)

Input Design :

Input design includes data mediums used for inputting data and validations that are

to be done during data entry. Different messages regarding data are given to guide users

during data entry. Validation checks are done for each input.

Data entry screens are designed so that the system interacts with the user in

providing an effective dialogue. Fields in the screen are logically arranged to help the

user.

The design is the process of converting the user-originated inputs into a compute-

based format. The goal of the input design is to make the data entry easier, logical and

free from error. Errors in the input data are controlled by input design.

The application has been developed in a user-friendly manner. The windows have

been designed in such a way that during the processing the cursor is placed in the position

where the data must be entered. If any of the data going into the system is wrong then the

process and output will magnify these errors.

The decisions made during design of input are:

1) To achieve the highest possible level of accuracy.

2) To provide a list of possible choices and help while accepting the input

for an important field wherever possible outputs from computer system are

required primarily to communicate the results of processing to the users.

They are also used to provide a permanent copy of these results for later

consultation/verification.

Output Design

Output refers to the results and information that are generated by the

system. Output is the main reason for developing the system and based on this, the

usefulness and applicability of system are evaluated.

Page 38: Data Centric Knowledge Management System (DCKMS)

Outputs from computer systems are required primarily to communicate

the results of processing to users. Efficiently designed outputs enhance the

understandability of the information.

According to the requirements of the system, various types of outputs

are considered and designed as follows.

Internal outputs, whose destination is within the organization and which require

careful design because they are the user’s main interface with the computer.

Interactive outputs, in which the user communication with the Computer is essential.

4.4 Database Design

1. TABLE NAME: EXPERTS

Page 39: Data Centric Knowledge Management System (DCKMS)

Field Name Data Type Size PRIMARYKEY

EXPERTID VARCHAR 11

NAME VARCHAR 25

EMAILID VARCHAR 25

PRIMARYSKILLS TINYTEXT 50

SECONDARYSKILLS TINYTEXT 30

EXPERIENCE INT 3

CURRENTPROJECT VARCHAR 33

PREVIOUSPROJECT VARCHAR 35

PHONENUMBER VARCHAR 15

2. TABLE NAME: KBDATA

Field Name Data Type Size Primary key

KID VARCHAR 25 PRIMARY

TITLE VARCHAR 35

AUTHOR VARCHAR 24

DATE OF CREATION DATE

DATE OF SUBMISSION DATE

KEYWORDS VARCHAR 44

TECHNOLOGY VARCHAR 31

REFERENCE VARCHAR 21

DESCRIPTION TEXT

CONTENENT TYPE VARCHAR 40

TARGET USERS VARCHAR 44

PUBLISHED ON DATE

Page 40: Data Centric Knowledge Management System (DCKMS)

STATUS VARCHAR 33

REMARKS TEXT

KTEAM RATING DOUBLE (4,2)

REVIEWERID VARCHAR 20

REVIEWER RATING DOUBLE (4,2)

NOOFHITS INT 5

FILENAME VARCHAR 49

3. TABLE NAME: login

Field Name Data Type Size

USERID VARCHAR 25

PASSWORD VARCHAR 25

AUTH VARCHAR 10

4. TABLE NAME: MASTERDATA

Field Name Data Type Size Primary key

SNO INT 5 PRIMARY

EMPNO INT 10

NAME VARCHAR 25

EMAILID VARCHAR 35

PROJECT CODE VARCHAR 49

CLIENT NAME VARCHAR 18

PROJECT MANAGER VARCHAR

Page 41: Data Centric Knowledge Management System (DCKMS)

START DATE DATE

END DATE DATE

CURRENT LOCATION VARCHAR 36

BASE LOCATION VARCHAR

JOINING DATE DATE

ROLE VARCHAR 30

DESIGNATION VARCHAR 22

5. TABLE NAME: MENU_BASE

Field Name Data Type Size Primary key

MENU ID INT 11 PRIMARY

LABEL VARCHAR 35

DESCRIPTION VARCHAR 49

6. TABLE NAME: MENU_FRAME_EXECUTABLE_MAPPING

Field Name Data Type Size Primary key

SNO INT 11 PRIMARY

MENU RELATIONSHIP ID INT 11TARGET FRAME VARCHAR 48EXECUTABLE VARCHAR 35

7. TABLE NAME: MENU_ROLE_RELATIONSHIP

Field Name Data Type Size Primary key

MENU RELATIONSHIP ID INT 11 PRIMARY

Page 42: Data Centric Knowledge Management System (DCKMS)

ROLE VARCHAR 20

DESCRIPTION VARCHAR 35

8. TABLE NAME: MENUITEM_RELATIONSHIP

Field Name Data Type Size Primary key

MENU RELATIONSHIP ID INT 11 PRIMARY

PARENT MENU ID INT 11

CHILD MENU ID INT 11

MENU LEVEL INT 11

RELATIONSHIP DESCRIPTION VARCHAR 255

9. TABLE NAME: REVIEWER DETAILS

Field Name Data Type Size Primary key

REVIEWER ID VARCHAR 29 PRIMARY

NAME VARCHAR 31

EMAIL ID VARCHAR 44

SKILL SET VARCHAR 48

EXPERIENCE INT 3

5. SYSTEM TESTING

Software Testing is a critical element of software quality assurance and represents the

ultimate review of specification, design and coding, Testing presents an interesting

anomaly for the software engineer.

Page 43: Data Centric Knowledge Management System (DCKMS)

Testing Objectives include:

1. Testing is a process of executing a program with the intent of finding an error

2. A good test case is one that has a probability of finding an as yet undiscovered

error

3. A successful test is one that uncovers an undiscovered error

Testing Principles:

All tests should be traceable to end user requirements

Tests should be planned long before testing begins

Testing should begin on a small scale and progress towards testing in large

Exhaustive testing is not possible

To be most effective testing should be conducted by a independent third

party

Testing Strategies

A Strategy for software testing integrates software test cases into a series of well

planned steps that result in the successful construction of software. Software testing is a

broader topic for what is referred to as Verification and Validation. Verification refers to

the set of activities that ensure that the software correctly implements a specific function

Validation refers he set of activities that ensure that the software that has been built is

traceable to customer’s requirements

Unit Testing:

Unit testing focuses verification effort on the smallest unit of software design that

is the module. Using procedural design description as a guide, important control paths

are tested to uncover errors within the boundaries of the module. The unit test is

Page 44: Data Centric Knowledge Management System (DCKMS)

normally white box testing oriented and the step can be conducted in parallel for multiple

modules.

Integration Testing:

Integration testing is a systematic technique for constructing the program structure

while conducting test to uncover errors associated with the interfacing. The objective is

to take unit tested methods and build a program structure that has been dictated by

design.

Top-down Integration:

Top down integrations an incremental approach to construction of program

structure. Modules are integrated by moving downward through the control hierarchy,

beginning with the main control program. Modules subordinate to the main program are

incorporated in the structure either in the breath-first or depth-first manner.

Bottom-up Integration:

This method as the name suggests, begins construction and testing with atomic

modules i.e., modules at the lowest leveling the program structure. Because the modules

are integrated in the bottom up manner the processing required for the modules

subordinate to a given level is always available and the need for stubs is eliminated.

Validation Testing:

At the end of integration testing software ids completely assembled as a package.

Validation testing is the next stage which can be defined as successful when the software

functions in the manner reasonably expected by the customer. Reasonable expectations

Page 45: Data Centric Knowledge Management System (DCKMS)

are those defined in the software requirements specifications. Information contained in

those sections form a basis for validation testing approach.

System Testing:

System testing is actually a series of different tests whose primary purpose is to

fully exercise the computer-based system. Although each test has a different purpose, all

work to verify that all system elements have been properly integrated to perform

allocated function.

6. SYSTEM IMPLEMENTATION

Page 46: Data Centric Knowledge Management System (DCKMS)

7. FUTURE ENHANCEMENTS

Limitations and Enhancements

Page 47: Data Centric Knowledge Management System (DCKMS)

1). Limitations:

Once the user (employee) submits a document then he is not going to have the

immediate response from the expert. We call this is as offline response. Some

times it is better to provide online response in that situation user can get the status

of his request immediately and gets wide thinking.

It is only the intranet application. Because of this if any employee is working

from client place then he can’t enter into this application from online since it’s

access is restricted with in the company..

2) Enhancements:

Extendibility ----provides high level extendibility. It means it provides all the

basic features and allows us to extend their features very easily with out

disturbing the existing code.

We can make this Internet application if we desire.

We can make this application is suitable to work on any application just by

changing the deployment files.

By providing some more features like providing accessibility to internet users to

involve in this process.

8. CONCLUSION

Page 48: Data Centric Knowledge Management System (DCKMS)

The new system, Data Centric Knowledge Management System has been

implemented to cater the needs of company employees in sharing different knowledge

assets effectively with role based access. The present system has been integrated with the

already existing. The database was put into the My SQL server. This was connected by

JDBC. The database is accessible through Intranet on any location. This system has been

found to meet the requirements of the users and departments and also very satisfactory.

The database system must provide for the safety of the information stored,

despite system crashes or attempts at unauthorized access. If data are to be shared among

several users, the system must avoid possible anomalous results.

9. BIBLIOGRAPHY

Reference text books

Page 49: Data Centric Knowledge Management System (DCKMS)

o Core java volume-II Advanced features 7th edition by Cay S.Horstmann and Gary

Cornell (Pearson education).

o Java Servlet Programming by O’relly publishers

o Java Complete Reference 5th edition by Herbert Schildt (Tata McGraw Hill).

o Algorithm and applications in java 3rd edition by Satraj Sahni (Tata McGraw

Hill).

o Classical Data Structures by Samantha (Pearson education).

o Java Server Programming 2.0 with complete J2EE concepts included (apress).

o Software Engineering practice and principles 6th edition by Roger Pressmen (Tata

McGraw Hill).

o Java How to program 5th edition Deitel and Deitel (Prentice Hall of India).

o Internet & World Wide Web How to program 3rd edition by Deitel & Deitel and

Goldberg (Pearson education).

o Web enabled commercial application development using Java 2.0 by Ivan

Bayross (Prentice Hall of India).

o Data base System Concepts 4th edition by Silbershatz, Korth, and Sudharshan

(Tata McGraw Hill).

o Fundamentals of Data base systems 4th edition by Ramez Elmasri and Shamkant

B.Navathe (Pearson education).

Websites

o www.javaworld.com

o www.apaache.org

o www.java.sun.com

o www.w3schools.com www.itpapers.com

10. APPENDIX

10.1 Screen Shots

Page 50: Data Centric Knowledge Management System (DCKMS)

Admin:

Page 51: Data Centric Knowledge Management System (DCKMS)
Page 52: Data Centric Knowledge Management System (DCKMS)
Page 53: Data Centric Knowledge Management System (DCKMS)
Page 54: Data Centric Knowledge Management System (DCKMS)
Page 55: Data Centric Knowledge Management System (DCKMS)
Page 56: Data Centric Knowledge Management System (DCKMS)
Page 57: Data Centric Knowledge Management System (DCKMS)
Page 58: Data Centric Knowledge Management System (DCKMS)
Page 59: Data Centric Knowledge Management System (DCKMS)
Page 60: Data Centric Knowledge Management System (DCKMS)
Page 61: Data Centric Knowledge Management System (DCKMS)
Page 62: Data Centric Knowledge Management System (DCKMS)
Page 63: Data Centric Knowledge Management System (DCKMS)
Page 64: Data Centric Knowledge Management System (DCKMS)
Page 65: Data Centric Knowledge Management System (DCKMS)
Page 66: Data Centric Knowledge Management System (DCKMS)
Page 67: Data Centric Knowledge Management System (DCKMS)
Page 68: Data Centric Knowledge Management System (DCKMS)
Page 69: Data Centric Knowledge Management System (DCKMS)
Page 70: Data Centric Knowledge Management System (DCKMS)
Page 71: Data Centric Knowledge Management System (DCKMS)
Page 72: Data Centric Knowledge Management System (DCKMS)