Professional Documents
Culture Documents
Manipulation Tool
Abstract:
Common Database Browser & Data Manipulation Tool which provides an easy
to use Web-Based based common interface for viewing, adding, editing, or
deleting entries in almost all the databases. The user should never have to
write SQL to view the data although a SQL window is provided. All user tables
and basic data type fields are available for access in the selected database.
As technology advances we tend to switch to new ways of accomplishing the
same tasks. Faster machines and better software increase our overall
computing and information processing speed as well as overall comfort and
reliability. New solutions sometimes offer expanded functionality and
increased performance. It is a database-independent application that defines
a common interface to provide fast access to SQL database servers.
This tool can be used to build, test, and debug PL/SQL packages, procedures
and functions. Using these users can create and edit database objects such
as tables, views, indexes, constraints, and users. Database Interface's SQL
editor provides an easy and efficient way to write and test scripts and
queries, and its powerful data grids provide an easy way to view and edit
data related to any DBMS or RDBMS.
Features:
Organization Profile:
System Analysis
My-SQL
etc).
The
Data
Manipulation Tool can be used to build, test, and debug PL/SQL packages,
procedures and functions. Common Database Browser & Data Manipulation
Tool users can create and edit database objects such as tables, views,
indexes, constraints, and users. Database Interface's SQL Editor provides an
easy and efficient way to write and test scripts and queries, and its powerful
data grids provide an easy way to view and edit data related to any
DBMS/RDBMS tool.
: Windows
Technology
Web Technologies
Web Server
: Tomcat
Database
Softwares
HARDWARE REQUIREMENTS:
Hardware
RAM
: 256MB (minimum)
Feasibility Study:
Preliminary investigation examines project feasibility, the likelihood the
system will be useful to the organization. The main objective of the feasibility
study is to test the Technical and Economical feasibility for adding new
modules and debugging old running system. All systems are feasible if they
are given unlimited resources and infinite time. There are aspects in the
feasibility study portion of the preliminary investigation:
Technical Feasibility
Economical Feasibility
TECHNICAL FEASIBILITY
The technical issue usually raised during the feasibility stage of the
investigation includes the following:
ECONOMIC FEASILITY:
The computerized system takes care of the present existing systems
data flow and procedures completely and should generate all the reports of
the manual system besides a host of other management reports.
It should be built as a web based application with separate web server
and database server. This is required as the activities are spread throughout
the organization customer wants a centralized database. Further some of the
linked transactions take place in different locations. Open source software
like TOMCAT, JAVA, Mysql and Linux is used to minimize the cost for
Customer.
the
System Design
Functional Requirements:
The main purpose of functional requirements within the requirement
specification document is to define all the activities or operations that take
place in the system. These are derived through interactions with the users of
the system.
1. This system should allow the user to interact with any database.
2. This system should allow the user to view list of all tables which are
present in the current/selected user.
3. This system should allow the user to browse and view the structure of an
existing database object.
4. This system should allow the user to design new database objects
5. This system should allow the user to view entire information about
database like database product name, product version etc. to the user.
6. This system should allow the user to use and implement different kinds of
SQL statements. The result of the SQL statement will be displayed
immediately after executing the statement.
7. This system should allow the user to import any database structure along
with data.
8. This system should allow the user to export database structure along with
data
9. This system should allow the user to perform some operations on tables
of any Database like create table, alter table, rename table and drop
table.
10.
This system should allow the user can search any keywords which are
related to data in database.
11.
This system should allow the user to view list of all columns which are
This system should allow the user can change the table settings like
display settings etc
13.
This system should allow the user can insert data in to any table
of any table like alter column, rename column, drop column and empty
column.
15.
This system should allow the user to search any keywords which are
related to data in database.
16.
This system should allow the administrator will get different types of
reports regarding all the users who are registered in this portal.
Nonfunctional requirements:
Nonfunctional requirements describe user-visible aspects
of the
from a single application. With the help of this interface, users even
without
tasks.
adequate knowledge of
would
complete their
Documentation:
The proposed system requires proper documentation, user level
documentation which helps the users and administrator how to interact
with the
provided and get reports that can be generated by the system. In the
proposed system help link provides the user level documentation. The
RAD prepared during analysis phase helps the developer in-order to
develop the system as per clients requirements. The system design
documentation prepared
information
regarding
during
design
development
goals
and
about
process
subsystems
provides
into
the
addition to
proposed system
Hardware Consideration:
Hardware Considerations includes the virtual machine on which
the system should be built. Virtual machine includes operating system and
any software components needed. Virtual machine minimum required for
web server
Performance Characteristics:
The
proposed
system
is
server
applications
and
server
the
proposed
system
developed
using
JavaServerPages
which
Exceptions
arises
user
should
be
shown
with
appropriate
Quality Issues:
Quality
issues
refers
to
how
reliable and
robust
should
the
system be? While developing the proposed system the developer must
be able to guarantee the reliability transactions so that they will be
processed completely and accurately.
The ability of system to detect failures and recovery from those
failures refers to the availability of system. Robustness of system refers
to
the
capability
of
system
providing
information
when
concurrent
is
reliable
and
it
will
be
developed
using
JSP
which
supports
System modification:
As the proposed is not implementing employee hikes information
so
it
can
be
extended
and
this
updation
hardware
can
be
done
and software
by
any
constraints
Security Issues:
Security and confidentiality are the top most concerns of the client.
The proposed system should provide the following.
Administrator should be provided with id and password for secured
access of information regarding all users.
Each user should give certain parameters to interact with a databases
System Design:
SYSTEM DESIGN phase follows system analysis phase.
Design is
maintaining record proof design divisions and providing a blueprint for the
implementation phase. Design is the bridge between system analysis and
system implementation.
System design is transition from a user oriented, document oriented to
programmers or database personnel. The design is a solution, a how to
approach to the creation a new system. This is composed of several steps.
It
provides
the
understanding
and
procedural
details
necessary
for
OBJECTIVES OF DESIGN
System design is like a blue print for a building, it specifies all the
features that are to be in the finished product.
Modules Description:
This application consist four modules:
1. User Module
2. Database level
3. Table level
4. Reports Module
1. User Module:
This module tells all about users who are using UNIVERSAL
DATABASE MANAGEMENT AND APPLICATION DEVELOPMENT INTERFACE as
user
interface
to
interact
with
any
database.
While
developing
Properties:
The properties functionality will gives entire information about database
By using this functionality any database structure along with data can be
imported in this portal.
Export:
By using this functionality any database structure along with data can be
exported from this portal.
Operations:
By using this functionality user can do some operations on tables of any
Database like create table, alter table, rename table and drop table.
Search:
By using this functionality user can search any keywords which are
related to data in database.
Export:
By using this functionality any database structure along with data can be
exported from this portal.
Operations:
By using this functionality user can do some operations on columns of
any table like alter column, rename column, drop column and empty column.
Search:
By using this functionality user can search any keywords which are
related to data in database.
4. Reports Module:
In this module administrator will get different types of reports
regarding all the users who are registered in this portal..
SDLC
SPIRAL MODEL was defined by Barry Boehm in his 1988 article, A
spiral Model of Software Development and Enhancement. This model was
not the first model to discuss iterative development, but it was the first
model to explain why the iteration models.
Each phase starts with a design goal and ends with a client
reviewing the progress thus far. Analysis and engineering efforts are applied
at each phase of the project, with an eye toward the end goal of the project.
The steps for Spiral Model can be generalized as follows:
At the customer option, the entire project can be aborted if the risk
is deemed too great. Risk factors might involved development cost
overruns, operating-cost miscalculation, or any other factor that
could, in the customers judgment, result in a less-than-satisfactory
final product.
prototype,
and
if
necessary,
another
prototype
is
The preceding steps are iterated until the customer is satisfied that
the refined prototype represents the final product desired.
Project Architecture
Web Interface Layer: It will be on the web server; It contains the web
pages (JSPs) of the application which will interact with the front-end
browsers
Client Layer: Contains the web browser which interacts with web server
UML DIAGRAMS
UseCase Diagram:
Class Diagram:
Sequence Diagram:
Activity Diagram:
Screen shots
Technologies:
Java has had a profound effect on the Internet. This is because; Java
expands the Universe of objects that can move about freely in Cyberspace.
In a network, two categories of objects are transmitted between the Server
and the Personal computer. They are: Passive information and Dynamic
active programs. The Dynamic, Self-executing programs cause serious
problems in the areas of Security and probability. But, Java addresses those
concerns and by doing so, has opened the door to an exciting new form of
program called the Applet.
Servlets
Introduction:
The Java web server is JavaSoft's own web Server. The Java web server
is just a part of a larger framework, intended to provide you not just with a
web server, but also with tools. To build customized network servers for any
Internet or Intranet client/server system. Servlets are to a web server, how
applets are to the browser.
About Servlets
associated
with
doing
server-side
programming,
including
Attractiveness of Servlets
There are many features of Servlets that make them easy and
attractive to use. These include:
Can be loaded and invoked from a local disk or remotely across the
network.
Are secure - even when downloading across the network, the Servlets
security model and Servlets sandbox protect your system from
unfriendly behavior.
Java Script
JavaScript is a script-based programming language that was developed
by Netscape Communication Corporation. JavaScript was originally called
Live Script and renamed as JavaScript to indicate its relationship with Java.
Even though JavaScript supports both client and server Web programming,
we prefer JavaScript at Client side programming since most of the browsers
supports it. JavaScript is almost as easy to learn as HTML, and JavaScript
statements can be included in HTML documents by enclosing the statements
between a pair of scripting tags .
<SCRIPTS>..</SCRIPT>.
<SCRIPT LANGUAGE = JavaScript>
JavaScript statements
</SCRIPT>
Here are a few things we can do with JavaScript :
Detect the browser in use and display different content for different
browsers.
-->
Specifies comments
<A>.</A>
<B>.</B>
<BIG>.</BIG>
<BODY></BODY>
Contains
all
tags
and
text
in
the
HTML
document
<CENTER>...</CENTER>
Creates text
<DD></DD>
Definition of a term
<DL>...</DL>
<FONT></FONT>
<FORM>...</FORM>
<FRAME>...</FRAME>
<H#></H#>
<HEAD>...</HEAD>
<HR>...</HR>
<HTML></HTML>
<META>...</META>
<SCRIPT></SCRIPT>
<TABLE></TABLE>
Creates a table
<TD></TD>
<TR></TR>
<TH></TH>
ADVANTAGES
A HTML document is small and hence easy to send over the net.
It is small because it does not include formatted information.
HTML is platform independent.
HTML tags are not case-sensitive.
Java Database Connectivity
What Is JDBC?
JDBC is a Java API for executing SQL statements. (As a point of interest, JDBC
is a trademarked name and is not an acronym; nevertheless, JDBC is often
thought of as standing for Java Database Connectivity. It consists of a set of
classes and interfaces written in the Java programming language. JDBC
provides a standard API for tool/database developers and makes it possible
to write database applications using a pure Java API.
Using JDBC, it is easy to send SQL statements to virtually any relational
database. One can write a single program using the JDBC API, and the
program will be able to send SQL statements to the appropriate database.
The combinations of Java and JDBC lets a programmer write it once and run it
anywhere.
1. ODBC is not appropriate for direct use from Java because it uses a C
interface. Calls from Java to native C code have a number of drawbacks
in the security, implementation, robustness, and automatic portability
of applications.
2. A literal translation of the ODBC C API into a Java API would not be
desirable. For example, Java has no pointers, and ODBC makes copious
use of them, including the notoriously error-prone generic pointer "void
*". You can think of JDBC as ODBC translated into an object-oriented
interface that is natural for Java programmers.
3. ODBC is hard to learn. It mixes simple and advanced features together,
and it has complex options even for simple queries. JDBC, on the other
hand, was designed to keep simple things simple while allowing more
advanced capabilities where required.
4. A Java API like JDBC is needed in order to enable a "pure Java" solution.
When ODBC is used, the ODBC driver manager and drivers must be
manually installed on every client machine. When the JDBC driver is
written completely in Java, however, JDBC code is automatically
installable, portable, and secure on all Java platforms from network
computers to mainframes.
Features of JSP:
Portability:
Java Server Pages files can be run on any web server or web-enabled
application server that provides support for them. Dubbed the JSP engine,
this support involves recognition, translation, and management of the Java
Server Page lifecycle and its interaction components.
Components:
It was mentioned earlier that the Java Server Pages architecture can
include reusable Java components. The architecture also allows for the
embedding of a scripting language directly into the Java Server Pages file.
The components current supported include Java Beans, and Servlets.
Processing:
Manager transactions
Implementation:
Login.java:
import java.lang.String;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
"<STYLE>" +
"#t1 { " +
"
position:absolute; " +
"
margin-left:210px; " +
"
margin-top:50px; " +
"
width:340px; " +
"
height:33px; " +
"
background:#336699; " +
"
font-family:Serif; " +
"
font-weight:bold; " +
"
font-size:20px; " +
"
color:#ffffff; " +
"
text-align:center; " +
"
border-style:double; " +
"
border-color:black; " +
"
border-width:2px; " +
position:absolute; " +
"
margin-left:210px; " +
"
margin-top:84px; " +
"
width:340px; " +
"
height:180px; " +
"
background:#f5f5f5; " +
"
font-family:Tahoma; " +
"
font-weight:bold; " +
"
font-size:14px; " +
"
color:black; " +
"
border-style:groove; " +
"
border-color:black; " +
"
border-width:1px; " +
"} " +
"#msg {" +
"
background:#abcdef; " +
"
font-family:Tahoma; " +
"
font-size:14; " +
"
font-weight:bold; " +
"
color:black; " +
"
text-align:center; " +
"
text-transform:Capitalize; " +
"} " +
"input { " +
"
height:26px; " +
"
width:240px; " +
"
font-size:14px; " +
"} " +
"select {
font-size:16px;
}"+
"</STYLE>");
writer.println(
"<SCRIPT LANGUAGE=javascript>" +
"
var onImages
"
var ur =
"
"
document.loginform.url.value; " +
\") { " +
"+
"
document.loginform.url.focus(); " +
"
}"+
"
else document.loginform.submit();
"+
"} " +
"function isEmpty(id) { " +
"
if(id.value==null || id.value==\"\"
"
id.focus(); " +
entered.\"); " +
"
}"+
"} " +
"function empty() { " +
"
document.loginform.reset(); " +
"
document.loginform.url.value
"
document.loginform.userid.focus();
= \"jdbc:odbc:mydsn\"; " +
"+
"} " +
"function down(id) { " +
"
if(id == 1)
"
if(id == 2)
if(id == 1)
if(id == 2)
"
"
onImages[0].src
"
onImages[1].src
"
"
"
offImages[0].src
"
offImages[1].src
"
document.loginform.url.value
= \"pics/login2.jpg\"; " +
= \"pics/reset2.jpg\"; " +
= \"pics/login1.jpg\"; " +
= \"pics/reset1.jpg\"; " +
= \"jdbc:odbc:mydsn\"; " +
"
document.loginform.userid.focus();
"+
"} " +
"function setURL() { " +
"
var i =
document.loginform.driver.selectedIndex; " +
"
if(i == 0)
else if(i == 1)
document.loginform.url.value = \"jdbc:mysql://localhost:3306/test\";" +
"
else if(i == 2)
writer.println("</TABLE>");
writer.println("<HR WIDTH=80%>");
writer.println("<OPTION>oracle.jdbc.driver.OracleDriver</OPTION>");
writer.println("</SELECT>");
writer.println("</TD>");
writer.println("</TR>");
writer.println("<TR><TD align=center>URL</TD>");
writer.println("<TD align=center><INPUT type=text name=url
size=32></TD></TR>");
writer.println("<TR><TD align=center>Username</TD>");
writer.println(
border=0 " +
"onMouseOut='up(1)'
STYLE='cursor:hand' onMouseDown='down(1)' " +
"onMouseUp='up(1)'
onClick='verify()'>   ");
writer.println(
border=0 " +
"onMouseOut='up(2)'
STYLE='cursor:hand' onMouseDown='down(2)' " +
"onMouseUp='up(2)'
onClick='empty()'>");
writer.println("</TD></TR>");
writer.println("</TABLE>");
writer.println("</FORM>");
writer.println("</BODY>");
writer.println("</HTML>");
writer.close();
}
}
Testing
Testing:
Testing is the process of detecting errors. Testing performs a very
critical role for quality assurance and for ensuring the reliability of
software. The results of testing are used later on during maintenance
also.
Testing Objectives:
The main objective of testing is to uncover a host of errors,
systematically and with minimum effort and time. Stating formally, we
can say,
Testing is a process of executing a program with the intent of
finding an error.
A successful test is one that uncovers an as yet undiscovered
error.
LEVELS OF TESTING
In order to uncover the errors present in different phases we have
the concept of levels of testing. The basic levels of testing are
Client Needs
Acceptance Testing
Requirements
System Testing
Design
Integration Testing
Code
Unit Testing
Unit testing:
Unit testing focuses verification effort on the smallest unit of
software i.e. the module. Using the detailed design and the process
specifications testing is done to uncover errors within the boundary of
the module. All modules must be successful in the unit test before the
start of the integration testing begins.
In this project each service can be thought of a module. There are
so many modules like Admin, Tracking, and Inventory. Each module has
been tested by giving different sets of inputs. When developing the
module as well as finishing the development so that each module
works without any error. The inputs are validated when accepting from
the user.
Integration Testing:
After the unit testing we have to perform integration testing. The
goal here is to see if modules can be integrated properly, the emphasis
being on testing interfaces between modules. This testing activity can
be considered as testing the design and hence the emphasis on testing
module interactions.
In this project the main system is formed by integrating all the
modules. When integrating all the modules I have checked whether the
integration effects working of any of the services by giving different
combinations of inputs with which the two services run perfectly before
Integration.
System Testing
Here the entire software system is tested. The reference
document for this process is the requirements document, and the goal
is to see if software meets its requirements.
Here
entire
Common
Database
Browser
&
Data
Acceptance Testing
Acceptance Test is performed with realistic data of the client to
demonstrate that the software is working satisfactorily. Testing here is
focused on external behavior of the system; the internal logic of
program is not emphasized.
In this project Universal Database Management Application
Development Interface I have collected some data and tested
whether project is working correctly or not.
Test cases should be selected so that the largest number of
attributes of an equivalence class is exercised at once. The testing
phase is an important part of software development. It is the process of
finding errors and missing operations and also a complete verification
to
determine
whether
the
objectives
are
met
and
the
user
S.N
O
1
TESTING
OBJECT
Login/UserID
EXPECT
ED
VALUE
name
SIMULATE EXPLANATI
D VALUE
ON
name
Pass
REMARKS
Expected
Value=Simul
ated Value
User ID
Login/UserID
name
Fail
Field
empty
Login/UserID
Login/Passw
ord
name
passwor
d
NAME
password
Fail
Pass
Case
Sensitive
Expected
Value=Simul
ated Value
Password
Login/Passw
ord
passwor
d
Login/Passw
ord
passwor
d
PASSWOR
D
Fail
Field
Empty
Fail
Case
Sensitive
CONCLUSION
CONCLUSION
This project named Common Database Browser & Data Manipulation Tool
functional requirements, the design of the project using UML, importance and
division of modules (components), writing test cases and performing testing etc., I
also learnt the management skills and the team work.
FUTURE ENHANCEMENTS
Bibliography
Bibliography
References:
Core java volume-II Advanced features 7th edition by Cay S.Horstmann and
Gary Cornell (Pearson education).
Java Complete Reference 5th edition by Herbert Schildt (Tata McGraw Hill).
Algorithm and applications in java 3rd edition by Satraj Sahni (Tata McGraw
Hill).
Java Server Programming 2.0 with complete J2EE concepts included (apress).
Java How to program 5th edition Deitel and Deitel (Prentice Hall of India).
Internet & World Wide Web How to program 3rd edition by Deitel & Deitel and
Goldberg (Pearson education).
Data base System Concepts 4th edition by Silbershatz, Korth, and Sudharshan
(Tata McGraw Hill).
Websites
o www.javaworld.com
o www.apaache.org
o www.java.sun.com
o www.w3schools.com
o
www.itpapers.com