Professional Documents
Culture Documents
Net Banking System
Net Banking System
1
Net
Banking
System
2
EXISTING
SYSTEM
Existing System
3
Present system or existing system of “NET BANKING
SYSTEM” have lack of User Interface problem.
Therefore all type informations are carried by the customer
for his/ her satisfaction.
4
DRAWBACKS
5
Drawbacks
There are some general problems in existing system they are the
following---
Time consuming
Difficult to Get Information of the system
Less accessibility
Organized records in a file, that a not reliable
6
PROPOSED
SYSTEM
7
Proposed System
The present system has obvious problems, inhibiting to Organized
any services. The present system which has been proposed is
Provide a effective services to the user. Use of Graphical User
Interface (GUI) and online service make it easy to use and provide
24 by 7 hr. services. The computerization of the every tools in the
project of NET BANKING SYSTEM will reduce the work that is
done manually. The man power is reduced to the maximum extent.
The services information are maintained without any complexity
and all the functions are made automatically by this system there is
no need for the functions.
8
DEVELOPMENT
APPROACH
9
The “SYSTEM DEVELOPMENT LIFE CYCLE” was developed by
U.S. department of justice. It has different steps for the development of
software. Generally it is used for development of the software. It is also
known as information system development or application development
with the help of different steps in SDLC. We can develop the software
which fulfill the needs of customers with in the time and must be cheap
in cost. It can work efficiently and effectively.
There are different activities in the SDLC and these activities are
interrelated. The SDLC is developing in a sequential order of different
phases and these are following :-
10
Maintenance:- What happens during the rest of the software's life:
changes, correction, additions, moves to a different computing
platform and more. This, the least glamorous and perhaps most
important step of all, goes on seemingly forever.
11
SOFTWARE
REQUIREMENT
Software Requirement
12
Software is easily executed by compiling the source code. Graphics
by require a good pixel environment so that can be drawn easily and
effectively.
In the Net Banking System project the platform used is either window
8 or window 7. The compiler of the project is done in Net Beans which is
used as front end and SQL Server as a back end.
13
HARDWARE
REQUIREMENT
Hardware Requirement
14
Hardware is necessary background for making run time base for any
software.
Net Banking System is light complex software and that way it requires
very few hardware specification. This requirements includes:-
32 MB RAM is required.
15
Requirment
Analysis
Requirement Analysis
16
The goal of systems analysis is to determine where the problem is in an
attempt to fix the system. This step involves breaking down the system in
different pieces and drawing diagrams to analyze the situation, analyzing
project goals, breaking down what needs to be created and attempting to
engage users so that definite requirements can be defined. Requirements
gathering sometimes requires individuals/teams from client as well as
service provider sides to get detailed and accurate requirements.
1. Performance Analysis:-
Performance Problem occur when business takes are Performed
too Slowly to achieve the objectives. Performance opportunity
occurs when some one recognizes away to spend up a business task
that is otherwise achieving objectives. A Performance directive may
occurs if management decides that all transaction is to be done on
line to the computer to improve the Performance. Performance is
measured by throughput and response time is the average delay
between a transactions and a response to that transaction. Although
throughput and response time are taken separately that must also
be considered together.
17
3. Economic Analysis:-
Economic is perhaps the most common motivation for projects.
Economic problem and opportunities pertain to cost. Thus we must
analysis to that our projects are both worthwhile. This will in turn
increase the efficiency.
18
SYSTEM DESIGN
19
System Design
In systems design the design functions and operations are described
in detail, including screen layouts, business rules, process diagrams and
other documentation. The output of this stage will describe the new
system as a collection of modules or subsystems.
Types of designing :-
1. System design :-
In system designing, the complete s/w will be devided into different
modules. It means in the system design, we have to follow the
modular approach. System designing has two phases :-
With the help of DFD, the logical flow of data in the ststem will be
shown & the boundries of the system will be defined. This is the part of
logical designing. In the logical design, we also includes inputs, outputs
& procedures by following which we can fulfill the requirements. The
logical design contains the following :-
20
Rhe logical solutions for every problem.
Editing & sequrity specifications.
Review for budget & maintenance.
The Physical design produces the working module of any system. The
parts of physical design describes the details which help the programmers
to identity what the system will exactly do.
2. Detailed design :-
The system design provides different modules but not the
specifications & working in detail. In the detailed design, the
designers have to design each & every analyst part which is required
for further development will be the part of subpart. We also specify
the behavior & interaction of all the components with each other.
21
FLOW CHART
22
Flow Chart
23
DATA FLOW DIAGRAM
24
Data Flow Diagram
Data flow diagram is also called bubble chart. The main objective
of data flow diagram is to Show the flow of data from one part of
the system to the other. It is in important modeling tool which allow
to create clear picture of the system.
1. Data Flow:-
2. Process:-
25
3. Entities:-
4. Data Storage:-
26
0 – Level DFD
27
1 – Level DFD
28
2 & 3 – Level DFD
29
ENTITY RELATIONSHIP
DIAGRAM
30
It is a different tool for the problem analysis which is generally
called E-R diagram. It is a detailed logical representation of data for the
organization there are three main components of E-R diagram data entry,
their relationship and their attributes.
1. Entity:-
STUDENT
2. Relationship:-
31
TYPES Of relationship:-
3. Attributes:-
32
E-R DIAGRAM
33
USER FORMS
34
WELCOME FORM
35
ABOUT US FORM
36
FAQ FORM
37
New Account Form
38
On submitting the form with correct
information
39
Balance Form
40
Deposite Form
41
Withdraw Form
42
Transfer Form
43
Close Account Form
44
Facilities Form
45
Contact Us Form
46
Site Map Form
47
IMPLEMAINTAION
48
49
Implementation
50
Home Page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<script type="text/javascript">
function ctck()
</script>
</head>
<body>
<div id="top_links">
51
<div id="header"></div>
<tr>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
<ul>
52
<li><a href="create.html">New Account</a></li>
<li><a href="balance1.jsp">Balance</a></li>
<li><a href="deposit1.jsp">Deposit</a></li>
<li><a href="withdraw1.jsp">Withdraw</a></li>
<li><a href="transfer1.jsp">Transfer</a></li>
</ul>
</dd>
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
</div>
53
<br></td>
</tr>
<tr>
<tr>
<div class="ws_images">
<ul>
</ul>
</div>
54
src="data1/tooltips/3.jpg" alt="3"/>3</a> <a href="#" title="4"><img
src="data1/tooltips/4.jpg" alt="4"/>4</a> <a href="#" title="5"><img
src="data1/tooltips/5.jpg" alt="5"/>5</a> <a href="#" title="6"><img
src="data1/tooltips/6.jpg" alt="6"/>6</a> </div>
</div>
</tr>
</div>
</table></td>
</tr>
</table>
<table>
<tr>
</marquee></td>
</tr>
</table>
55
<tr>
<div class="box_1">
<h1>Home</h1>
</div>
<br>
<ul>
<li>To sum up, the mission of Bank "to open doors and open minds"
and prepare the ground for the future of the nation.</li>
</ul>
</div></td>
</tr>
</table>
<div id="footer_top">
56
<div id="footer_navigation"> </div>
</div>
<center>
</center>
<br>
<div id="footer_copyrightline"></div>
<p>Site best viewed at 1024 x 768 resolution in I.E 7 or above, Mozilla 3.5
or above, Google Chrome 3 or above,
</div>
<script type="text/javascript">
document.onload = ctck();
</script>
</div>
</body>
</html>
57
About Us Page
<!--
-->
<html>
<head>
<script type="text/javascript">
function ctck()
</script>
58
</head>
<body>
<div id="top_links">
<div id="header"></div>
<tr>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
59
<dd style="display: block; height: 4px; opacity: 0.0225989;" id="four-
ddcontent" onMouseOver="cancelHide('four')"
onMouseOut="ddMenu('four',-1)">
<ul>
<li><a href="balance1.jsp">Balance</a></li>
<li><a href="deposit1.jsp">Deposit</a></li>
<li><a href="withdraw1.jsp">Withdraw</a></li>
<li><a href="transfer1.jsp">Transfer</a></li>
</ul>
</dd>
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
60
<dt id="seven-ddheader" onMouseOver="ddMenu('seven',1)"
onMouseOut="ddMenu('seven',-1)"><a href="map.html">Site
Map</a></dt>
</dl>
</div>
<br></td>
</tr>
<tr>
<tr>
<div class="ws_images">
<ul>
61
</ul>
</div>
</div>
</tr>
</div>
</table></td>
</tr>
</table>
<table>
<tr>
62
</marquee></td>
</tr>
</table>
<tr>
<div class="box_1">
<h1>About Us</h1>
</div>
<br>
<h2>History</h2>
<br>
<ul>
</ul>
<br>
</div>
<div id="aboutpro">
63
<h2>Bank Profile</h2>
<br>
<ul>
<li>To sum up, the mission of Bank "to open doors and open minds"
and prepare the ground for the future of the nation.</li>
</ul>
</div></td>
</tr>
</table>
<div id="footer_top">
<center>
64
</center>
<br>
<div id="footer_copyrightline"></div>
</div>
<script type="text/javascript">
document.onload = ctck();
</script>
</div>
</body>
</html>
65
FAQ Page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<script type="text/javascript">
function ctck()
</script>
</head>
<body>
<div id="top_links">
66
<div id="header"></div>
<tr>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
<ul>
67
<li><a href="balance1.jsp">Balance</a></li>
<li><a href="deposit1.jsp">Deposit</a></li>
<li><a href="withdraw1.jsp">Withdraw</a></li>
<li><a href="transfer1.jsp">Transfer</a></li>
</ul>
</dd>
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
</div>
<br></td>
68
</tr>
<tr>
<tr>
<div class="ws_images">
<ul>
</ul>
</div>
69
src="data1/tooltips/5.jpg" alt="5"/>5</a> <a href="#" title="6"><img
src="data1/tooltips/6.jpg" alt="6"/>6</a> </div>
</div>
</tr>
</div>
</table></td>
</tr>
</table>
<table>
<tr>
</marquee></td>
</tr>
</table>
<tr>
70
<td valign="top" class="box_2"><div id="faq">
<div class="box_1">
</div>
<br>
<ul>
<li>This Bank Group will never send an e-mail asking for personal or
financial information such as your username, login/profile or transaction
</ul>
</div></td>
</tr>
</table>
71
<div id="footer_top">
<center>
</center>
<br>
<div id="footer_copyrightline"></div>
</div>
<script type="text/javascript">
document.onload = ctck();
</script>
</div>
</body>
</html>
72
Services Page
Open New Account Form
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<script type="text/javascript">
function ctck()
</script>
</head>
<body>
<div id="top_links">
73
<div id="header"></div>
<tr>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
<ul>
74
<li><a href="balance1.jsp">Balance</a></li>
<li><a href="deposit1.jsp">Deposit</a></li>
<li><a href="withdraw1.jsp">Withdraw</a></li>
<li><a href="transfer1.jsp">Transfer</a></li>
</ul>
</dd>
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
<dl class="dropdown">
</dl>
</div>
<br></td>
75
</tr>
<tr>
<tr>
</tr>
</table></td>
</tr>
</table>
<table>
<tr>
</marquee></td>
</tr>
</table>
<tr >
76
<td width="161" valign="top" style="border-right:#666666 1px
dotted;"><div id="services">
<h1>Services</h1>
<br>
<ul>
<li><a href="balance1.jsp">BALANCE</a></li>
<li><a href="deposit1.jsp">DEPOSIT</a></li>
<li><a href="withdraw1.jsp">WITHDRAW</a></li>
<li><a href="transfer1.jsp">TRANSFER</a></li>
</ul>
</div></td>
<br>
<tr> </tr>
<tr>
<tr>
<td>USER NAME:</td>
77
<td><input type="text" name="usrmn"/></td>
</tr>
<tr>
<td>PASSWORD:</td>
</tr>
<tr>
<td>RE-PASSWORD:</td>
</tr>
<tr>
<td>AMOUNT:</td>
</tr>
<!-- Gender:<br/><br/>
<tr>
<td>ADDRESS:</td>
</tr>
<tr>
78
<td>PHONE:</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</form></td>
</tr>
</table>
</div></td>
<center>
</center>
</div></td>
</tr>
</table>
<div id="footer_top">
79
<div id="footer_copyright" >
<center>
</center>
<br>
<div id="footer_copyrightline"></div>
</div>
<script type="text/javascript">
document.onload = ctck();
</script>
</div>
</body>
</html>
80
Balance Page
<table>
<%
String num=request.getParameter("accountno");
int accountno=Integer.parseInt(num);
String username=request.getParameter("username");
String password=request.getParameter("password");
boolean
status=verifyLogin1.checkLogin(accountno,username,password);
//if(status==true){
try {
if(status==true){
Connection con=GetCon.getCon();
PreparedStatement ps=con.prepareStatement("Select *
from NEWACCOUNT where accountno=?");
ps.setInt(1,accountno);
ResultSet rs=ps.executeQuery();
81
out.print("<tr><th>ACCOUNT
NO</th><th>USERNAME</th><th>AMOUNT</th><th>ADDRESS</th>
<th>PHONE</th></tr>");
while(rs.next()){
int accountno1=rs.getInt(1);
session.setAttribute("accountno",accountno1);
System.out.print(accountno);
out.print("<tr>");
out.print("</tr>");
out.print("</table>");
82
else{
%>
<jsp:forward page="balance1.jsp">
</jsp:forward>
<%
}catch (SQLException e) {
e.printStackTrace();
//}
//}
%>
</table>
<%
%>
</table>
83
Deposite Page
<table>
<%
String num=request.getParameter("accountno");
int accountno=Integer.parseInt(num);
String username=request.getParameter("username");
String password=request.getParameter("password");
String amoun=request.getParameter("amount");
int accoun=Integer.parseInt(amoun);
boolean
status=verifyLogin1.checkLogin(accountno,username,password);
//if(status==true){
try {
if(status==true){
Connection con=GetCon.getCon();
PreparedStatement ps=con.prepareStatement("Select *
from NEWACCOUNT where accountno=?");
ps.setInt(1,accountno);
ResultSet rs=ps.executeQuery();
84
int dataamount=0;
if(rs.next()){
dataamount=accoun+rs.getInt(5);
Connection con1=GetCon.getCon();
PreparedStatement ps1=con1.prepareStatement("update
NEWACCOUNT set amount=? where accountno='"+accountno+"'");
ps1.setInt(1,dataamount);
ps1.executeUpdate();
ResultSet rs1=ps1.executeQuery();
if(rs1.next()){
request.setAttribute("totaldataamount",dataamount);
%>
<jsp:forward page="Totalbalance.jsp">
</jsp:forward>
<%
85
}
else{
%>
<jsp:forward page="deposit1.jsp">
</jsp:forward>
<%
}catch (SQLException e) {
e.printStackTrace();
%>
</table>
<%
%>
</table>
86
<%@ page import="java.io.*" %>
Withdraw Page
87
<table>
<%
String num=request.getParameter("accountno");
int accountno=Integer.parseInt(num);
String username=request.getParameter("username");
String password=request.getParameter("password");
String amoun=request.getParameter("amount");
int accoun=Integer.parseInt(amoun);
boolean
status=verifyLogin1.checkLogin(accountno,username,password);
//if(status==true){
try {
if(status==true){
Connection con=GetCon.getCon();
PreparedStatement ps=con.prepareStatement("Select *
from NEWACCOUNT where accountno=?");
ps.setInt(1,accountno);
ResultSet rs=ps.executeQuery();
int dataamount=0;
88
if(rs.next()){
dataamount=rs.getInt(5)-accoun;
Connection con1=GetCon.getCon();
PreparedStatement ps1=con1.prepareStatement("update
NEWACCOUNT set amount=? where accountno='"+accountno+"'");
ps1.setInt(1,dataamount);
ps1.executeUpdate();
ResultSet rs1=ps1.executeQuery();
if(rs1.next()){
request.setAttribute("totaldataamount",dataamount);
%>
<jsp:forward page="Totalbalance.jsp">
</jsp:forward>
<%
89
/*out.print("<table align='left' width='50%' border='4'
bgcolor='###FFF'>");
out.print("<tr><th>ACCOUNT
NO</th><th>USERNAME</th><th>AMOUNT</th><th>ADDRESS</th>
<th>PHONE</th></tr>");
while(rs.next()){
int accountno1=rs.getInt(1);
session.setAttribute("accountno",accountno1);
System.out.print(accountno);
out.print("<tr>");
//out.print("<td><a href='DeleteServlet'
>Delete</a></td>");
out.print("</tr>");
90
out.print("</table>");
*/
else{
%>
<jsp:forward page="withdraw1.jsp">
</jsp:forward>
<%
}catch (SQLException e) {
e.printStackTrace();
%>
</table>
<%
%>
91
</table>
Transfer Page
92
<table><%
String num=request.getParameter("accountno");
int accountno=Integer.parseInt(num);
String username=request.getParameter("username");
String password=request.getParameter("password");
String num1=request.getParameter("taccountno");
int taccountno=Integer.parseInt(num1);
String amoun=request.getParameter("amount");
int accoun=Integer.parseInt(amoun);
//accountno=taccountno;
boolean
status=verifyLogin1.checkLogin(accountno,username,password);
//if(status==true){
try {
if(status==true){
%> <A
href='index.html'><IMG SRC='images/home1.gif'></IMG></A>
<%
Connection con=GetCon.getCon();
93
PreparedStatement ps=con.prepareStatement("Select *
from NEWACCOUNT where accountno='"+taccountno+"'");
//ps.setInt(1,accountno);
ResultSet rs=ps.executeQuery();
int dataamount=0;
if(rs.next()){
dataamount=accoun+rs.getInt(5);
Connection con1=GetCon.getCon();
PreparedStatement ps1=con1.prepareStatement("update
NEWACCOUNT set amount=? where accountno='"+taccountno+"'");
ps1.setInt(1,dataamount);
ps1.executeUpdate();
ResultSet rs1=ps1.executeQuery();
if(rs1.next()){}
System.out.println("data amonut"+dataamount);
Connection con2=GetCon.getCon();
PreparedStatement ps2=con2.prepareStatement("Select *
from NEWACCOUNT where accountno=?");
ps2.setInt(1,accountno);
94
ResultSet rs2=ps2.executeQuery();
int dataamount1=0;
if(rs2.next()){
dataamount1=rs2.getInt(5)-accoun;
System.out.println(dataamount1);
Connection con3=GetCon.getCon();
PreparedStatement ps3=con3.prepareStatement("update
NEWACCOUNT set amount=? where accountno='"+accountno+"'");
ps3.setInt(1,dataamount1);
ps3.executeUpdate();
ResultSet rs3=ps3.executeQuery();
if(rs3.next()){
request.setAttribute("account B",dataamount1);
%>
<jsp:forward page="tbalance.jsp"></jsp:forward>
<%
//request.setAttribute("totaldataamount",dataamount);
95
//}
//request.setAttribute("totaldataamount",dataamount);
//}
out.print("<tr><th>ACCOUNT
NO</th><th>USERNAME</th><th>AMOUNT</th><th>ADDRESS</th>
<th>PHONE</th></tr>");
while(rs.next()){
int accountno1=rs.getInt(1);
session.setAttribute("accountno",accountno1);
System.out.print(accountno);
out.print("<tr>");
//out.print("<td><a href='DeleteServlet'
>Delete</a></td>");
96
out.print("</tr>");
out.print("</table>");
*/
else{
%>
<jsp:forward page="transfer1.jsp"></jsp:forward>
<%
}catch (SQLException e) {
e.printStackTrace(); }
%></table><%
%> </table>
97
<table><%
String num=request.getParameter("accountno");
int accountno=Integer.parseInt(num);
String username=request.getParameter("username");
String password=request.getParameter("password");
boolean
status=verifyLogin1.checkLogin(accountno,username,password);
//if(status==true){
try {
if(status==true){
Connection con=GetCon.getCon();
PreparedStatement ps=con.prepareStatement("delete
from NEWACCOUNT where accountno='"+accountno+"'");
//ps.setInt(1,accountno);
ps.executeUpdate();
out.print(" your account no
'"+accountno+"' has closed.");
out.print(" <A
href='index.html'><IMG SRC='images/home1.gif'></IMG></A>");
98
}
else{
%>
<jsp:forward page="closeac1.jsp"></jsp:forward>
<%
}catch (SQLException e) {
e.printStackTrace();
%></table><%
%> </table>
99
import java.io.IOException;
import java.io.PrintWriter;
import java.rmi.Naming;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.sql.*;
/**
* @author NEHA
*/
/**
*/
100
public void doGet(HttpServletRequest request, HttpServletResponse
response)
response.setContentType("text/html");
PrintWriter out=response.getWriter();
out.println("connect");
String username=request.getParameter("usrnm");
String password=request.getParameter("pass");
String repassword=request.getParameter("rep");
String amoun=request.getParameter("amoun");
//int amnt=Integer.parseInt(amoun);
String adderess=request.getParameter("adderes");
String ph=request.getParameter("phon");
//int phno=Integer.parseInt(ph);
//double mname=Double.parseDouble(num);
//String country=request.getParameter("country");
try{
101
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection
con=DriverManager.getConnection("jdbc:odbc:mydsn","sa","bansal");
Statement st=con.createStatement();
if(i>0)
else
} }
catch(Exception e)
out.println(e.toString());
} out.close();
DBInitializer Page
package g;
102
/**
* @author NEHA
*/
interface DBIntializer {
String DRIVER="com.microsoft.sqlserver.jdbc.SQLServerDriver";
String
CON_STRING="jdbc:sqlserver://sqlserver01;databaseName=Library";
String USERNAME="";
String PASSWORD="";
Details Page
package g;
103
import java.rmi.*;
/**
* @author NEHA
*/
GetCon Page
package g;
104
import java.sql.*;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @author NEHA
*/
import java.sql.*;
private GetCon(){}
static{
try {
Class.forName(DBIntializer.DRIVER);
105
con=DriverManager.getConnection(DBIntializer.CON_STRING,DBIntializ
er.USERNAME,DBIntializer.PASSWORD);
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (SQLException e) {
System.out.println("Exception in GetCon");
return con;
int nextvalue=0;
Connection con=GetCon.getCon();
PreparedStatement ps2;
try {
ResultSet rs=ps2.executeQuery();
rs.next();
nextvalue=rs.getInt(1);
106
} catch (SQLException e) {
e.printStackTrace();
return nextvalue;
Home Page
107
package g;
import javax.servlet.*;
import java.sql.*;
/**
* @author NEHA
*/
int status=0;
Connection con=null;
try{
con=GetCon.getCon();
try{
status=ps1.executeUpdate();
catch(Exception e)
{e.printStackTrace();
status=2;
108
System.out.println("my staus is1111111"+status);
if(status==0)
else if(status==2)
PreparedStatement ps3=con.prepareStatement("CREATE
SEQUENCE javatpointnewaccount MINVALUE 1 MAXVALUE
999999999999 INCREMENT BY 1 START WITH 1 NOCACHE
NOORDER NOCYCLE");
ps3.executeUpdate();
PreparedStatement ps=con.prepareStatement("CREATE
TABLE NEWACCOUNT(ACCOUNTNO NUMBER,USERNAME
VARCHAR2(4000),PASSWORD
VARCHAR2(4000),REPASSWORD VARCHAR2(4000),AMOUNT
NUMBER,ADDERESS VARCHAR2(4000),PHONE
NUMBER,PRIMARY KEY (ACCOUNTNO))");
ps.executeUpdate();
}}
catch(Exception e){e.printStackTrace();}}
System.out.println("project undeployed");}}
RegisterUser Page
109
package g;
import java.sql.*;
import g.GetCon;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @author NEHA
*/
//int accountno=1;
110
Connection con=GetCon.getCon();
PreparedStatement ps;
try {
int nextvalue1=GetCon.getPrimaryKey();
ps.setInt(1,nextvalue1);
ps.setString(2,username);
ps.setString(3,password);
ps.setString(4,repassword);
ps.setDouble(5,amount);
ps.setString(6,adderess);
ps.setDouble(7,phone);
status=ps.executeUpdate();
} catch (SQLException e) {
e.printStackTrace();
return status;
}}
VerifyLogin1 Page
111
package g;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* @author NEHA
*/
class verifyLogin1 {
boolean status=false;
Connection con=GetCon.getCon();
try {
ps.setInt(1,accountno);
ps.setString(2,username);
112
ps.setString(3,password);
ResultSet rs=ps.executeQuery();
status=rs.next();
} catch (SQLException e) {
e.printStackTrace();
return status;
113
TESTING
TESTING
114
The SDLC was declared by United States department of justice, USA. We
have to develop the software and information system and the steps by
following which we are developing the software is called Software
Development Life Cycle.
Type of Testing There are different types of testing that are described
below:
3. Volume Testing In the volume testing the testing team have to find
out the maximum volume or maximum number of data which is
properly maintained by the software. We have to find out the
115
maximum capacity of the software and by exceeding which the
software will produce errors. It is also known as Load Testing.
116
CONCLUSION
117
Conclusion
118
FUTURISTIC SCOPE
119
Futuristic Scope
120
BIBLIOGRAPHY
121
Bibliography
The following books have been referred during the preparation of this
project –
(For beginners)
122