You are on page 1of 122

PROJECT TITLE

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.

 A little bit knowledge is required by use NET BANKING


SYSTEM.

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

SOFTWARE DEVELOPMENT LIFE CYCLE

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 :-

 Project planning, feasibility study:- Establishes a high-level view of


the intended project and determines its goals.

 Systems analysis:- Defines project goals into defined functions and


operation of the intended application. Analyzes end-user information
needs.

 Systems design:- Describes desired features and operations in detail,


including screen layouts, business rules, process diagrams, pseudo
code and other documentation.

 coding:- The real code is written here.

 Testing:- The code is tested at various levels in software testing.


Unit, system and user acceptance tastings are often performed. This is
a grey area as many different opinions exist as to what the stages of
testing are and how much if any iteration occurs. Iteration is not
generally part of the waterfall model, but usually some occur at this
stage.
 Acceptance, installation, deployment:- The final stage of initial
development, where the software is put into production and runs
actual business.

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.

In the following example (see picture) these stage of the Systems


Development Life Cycle are divided in ten steps from definition to
creation and modification of IT work products:

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.

 Platform – window 98/2000/xp/7/8

 Net Beans(Front End)

 SQL Server (Back end)

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:-

 Memory space – 32 MB.

 Disk space – 1.2 GB.

 Speed of processor – 486 MHZ.

 32 MB RAM is required.

 A Pentium series processors are very good of execution of


program.

A good resolution colored monitor unit high refreshing rate is also


helpful for achieving good graphics.

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.

2. Information and Data Analysis:-


Information is a very crucial commodity for end users. The
information system ability to product useful information can be
evaluated for the problems and opportunity.

Improving overloading is a big problem for the business. But we


get the correct and accurate information for the query that are given to
system we need to reduce the data redundancy and flexibility.

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.

4. Control and Security Analysis:-


Control is the installed to improve the system performance.
Prevent or detect system abuses or crime and guarantee security for
data and equipment a system ant the business system. On the other
hand a system with too many controls and check slow the throughput
of the system.

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.

There are two main approaches of desig

1. Data centered approach


2. Process oriented (centered) approach

In data centered approach, we define the data structures on


preferences and then the process but in the process oriented approach, we
define the process at priority and then the data structures.

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 :-

(a) Logical desigen :-

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 :-

 The review of physical designing.

20
 Rhe logical solutions for every problem.
 Editing & sequrity specifications.
 Review for budget & maintenance.

(b) Physical design :-

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.

There are four main components of the data flow diagram –

1. Data Flow:-

The data flow is used to show the movement of data or


information inside the system the flow of data is shown by -

2. Process:-

Process is the key component of DFD the process show the


transformation of input into the output the processes shown -

25
3. Entities:-

An entity is a real world object the data and information which


will be stored or we can say it is the object which is responsible for
storing and retrieving the data. The entity will be denoted by -

4. Data Storage:-

The data store is used to collect the data and is denoted by


open rectangle.

26
0 – Level DFD

27
1 – Level DFD

28
2 & 3 – Level DFD

29
ENTITY RELATIONSHIP
DIAGRAM

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.

The DFD is a process oriented but an E-R diagram is data


oriented. The E-R diagram does not provide any information about the
function of data. There are three main components of E-R diagram:-

1. Entity:-

An entity is a real world object for which data is maintained and


stored. Every entity have its identity. The entity can be represented by
rectangle. The name of the entity will be written inside the rectangle in
capital letters. The objects of entity can be identify can be identify uniquely
for example student -

STUDENT

2. Relationship:-

Different entities are connected with each other by the


relationship. A relationship is the reason for which different entities
are connected with each other. The relationship is denoted by diamond
shape.

31
TYPES Of relationship:-

1. One to one relationship.


2. One to many relationship.
3. Many to one relationship.
4. Many to many relationship.

3. Attributes:-

Every entity has multiple attributes. The properties or


characteristics of an object or entity are called attributes on the basis
of the attributes we can identify each object uniquely. The attributes
can be shown by the help of shape.

32
E-R DIAGRAM

33
USER FORMS

34
WELCOME FORM

35
ABOUT US FORM

36
FAQ FORM

37
New Account Form

Living any field blank

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

Implementation is the realization of an application, or execution


of a plan, idea, model, design, specification, standard, algorithm or
policy.

In computer science, an implementation is a realization of a


technical specification or algorithm as a program, software component,
or other computer system. Many implementations may exist for a given
specification or standard. For example, web browsers contain
implementations of Word Wide Web Consortium-recommended
specifications and software development tools contain implementations
of programming languages.

In the IT Industry, implementation refers to post-sales process of


guiding a client from purchase to use of the software or hardware that was
purchased. This includes Requirements Analysis, Scope Analysis,
Customizations, Systems Integrations, User Policies, User training and
delivery. These steps are often overseen by a Project Manager using Project
Management Methodologies set forth in the Project Management Body of
Knowledge. Software Implementations involve several professionals that are
relatively new to the knowledge based economy such as Business Analysts,
Technical Analysts, Solutions Architect, and Project Managers.

50
Home Page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Global Banking ..</title>

<link href="css/styles.css" rel="stylesheet" type="text/css">

<link href="style1.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" type="text/css" href="engine1/style.css"/>

<script type="text/javascript" src="engine1/jquery.js"></script>

<script type="text/javascript" src="css/tabination.js"></script>

<script type="text/javascript">

function ctck()

var sds = document.getElementById("dum");

</script>

</head>

<body>

<div id="top_links">

51
<div id="header"></div>

<table width="897" border="0" align="center" cellpadding="0"


cellspacing="0">

<tr>

<td colspan="2" align="left" valign="top"><div id="navigation">

<dl class="dropdown">

<dt id="one-ddheader" onMouseOver="ddMenu('one',1)"


onMouseOut="ddMenu('one',-1)"><a
href="index.html">Home</a></dt>

</dl>

<dl class="dropdown">

<dt id="two-ddheader" onMouseOver="ddMenu('two',1)"


onMouseOut="ddMenu('two',-1)"><a href="about.jsp" >About
Us</a></dt>

</dl>

<dl class="dropdown">

<dt id="three-ddheader" onMouseOver="ddMenu('three',1)"


onMouseOut="ddMenu('three',-1)"><a href="faq.jsp">FAQ</a></dt>

</dl>

<dl class="dropdown">

<dt id="four-ddheader" onMouseOver="ddMenu('four',1)"


onMouseOut="ddMenu('four',-1)"><a href="#">Services</a></dt>

<dd style="display: block; height: 4px; opacity: 0.0225989;" id="four-


ddcontent" onMouseOver="cancelHide('four')"
onMouseOut="ddMenu('four',-1)">

<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>

<li><a href="closeac1.jsp">Close Account</a></li>

</ul>

</dd>

</dl>

<dl class="dropdown">

<dt id="five-ddheader" onMouseOver="ddMenu('five',1)"


onMouseOut="ddMenu('five',-1)"><a
href="fac.html">Facilities</a></dt>

</dl>

<dl class="dropdown">

<dt id="six-ddheader" onMouseOver="ddMenu('six',1)"


onMouseOut="ddMenu('six',-1)"><a href="contact.html">Contact
Us</a></dt>

</dl>

<dl class="dropdown">

<dt id="seven-ddheader" onMouseOver="ddMenu('seven',1)"


onMouseOut="ddMenu('seven',-1)"><a href="map.html">Site
Map</a></dt>

</dl>

</div>

53
<br></td>

</tr>

<tr>

<td><table class="box_1" align="left" border="0" cellpadding="0"


cellspacing="0">

<tr>

<td align="left" valign="top"><div id="wowslider-container1">

<div class="ws_images">

<ul>

<li><img src="data1/images/1.jpg" alt="A" title="open account


online" id="wows1_0"/></li>

<li><img src="data1/images/2.jpg" alt="2" title="check balance"


id="wows1_1"/></li>

<li><img src="data1/images/3.jpg" alt="3" title="deposite


money" id="wows1_2"/></li>

<li><img src="data1/images/4.jpg" alt="4" title="withdraw cash"


id="wows1_3"/></li>

<li><img src="data1/images/5.jpg" alt="5" title="transfer


amount" id="wows1_4"/></li>

<li><img src="data1/images/6.jpg" alt="6" title="close account"


id="wows1_5"/></li>

</ul>

</div>

<div class="ws_bullets"> <a href="#" title="1"><img


src="data1/tooltips/1.jpg" alt="1"/>1</a> <a href="#" title="2"><img
src="data1/tooltips/2.jpg" alt="2"/>2</a> <a href="#" title="3"><img

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>

<script type="text/javascript" src="engine1/wowslider.js"></script>

<script type="text/javascript" src="engine1/script.js"></script></td>

</tr>

</div>

</table></td>

</tr>

</table>

<table>

<tr>

<td height="32" colspan="2" align="center" valign="middle"


class="mar1"><marquee behavior="alternate" align="absmiddle"
scrollamount="3">

<span class="mar2">Our internet banking portal provides personal


</span><span class="mar3">banking services that gives you
complete control </span>over all your banking demands online.

</marquee></td>

</tr>

</table>

<table style="width:897px; background:#FFF; margin:2 auto;" >

55
<tr>

<td valign="top" class="box_2"><div id="home">

<div class="box_1">

<h1>Home</h1>

</div>

<br>

<ul>

<li>This Bank is a co-educational day-cum-boarding BANK, with


more customers on its rolls.</li>

<li>Supply Chain Finance Customer Support</li>

<li>The Bank has also extended its expertise further and in


collaboration with the Government and make them more conducive to
teaming. </li>

<li>The Bank considers education to be a life-long process which


should have a strong foundation. The goal of the BANK is to
inculcate in the customer a love for learning and a desire to excel at
every level. The BANK also aims at equipping the customer with the
intellectual and practical skills that are necessary to meet the
challenges in the future. </li>

<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>

<div id="footer_copyright" >

<center>

<img src="images/globe_10.gif" alt="business" width="196"


height="106">

</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,

Safari 5.0 +</p>

Copyright © Your Company Name</div>

</div>

<script type="text/javascript">

document.onload = ctck();

</script>

</div>

</body>

</html>

57
About Us Page
<!--

To change this template, choose Tools | Templates

and open the template in the editor.

-->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01


Transitional//EN">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Global Banking ..</title>

<link href="css/styles.css" rel="stylesheet" type="text/css">

<link href="style1.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" type="text/css" href="engine1/style.css"/>

<script type="text/javascript" src="engine1/jquery.js"></script>

<script type="text/javascript" src="css/tabination.js"></script>

<script type="text/javascript">

function ctck()

var sds = document.getElementById("dum");

</script>

58
</head>

<body>

<div id="top_links">

<div id="header"></div>

<table width="897" border="0" align="center" cellpadding="0"


cellspacing="0">

<tr>

<td colspan="2" align="left" valign="top"><div id="navigation">

<dl class="dropdown">

<dt id="one-ddheader" onMouseOver="ddMenu('one',1)"


onMouseOut="ddMenu('one',-1)"><a href="index.html">Home</a></dt>

</dl>

<dl class="dropdown">

<dt id="two-ddheader" onMouseOver="ddMenu('two',1)"


onMouseOut="ddMenu('two',-1)"><a href="about.jsp" >About Us</a></dt>

</dl>

<dl class="dropdown">

<dt id="three-ddheader" onMouseOver="ddMenu('three',1)"


onMouseOut="ddMenu('three',-1)"><a href="faq.jsp">FAQ</a></dt>

</dl>

<dl class="dropdown">

<dt id="four-ddheader" onMouseOver="ddMenu('four',1)"


onMouseOut="ddMenu('four',-1)"><a href="#">Services</a></dt>

59
<dd style="display: block; height: 4px; opacity: 0.0225989;" id="four-
ddcontent" onMouseOver="cancelHide('four')"
onMouseOut="ddMenu('four',-1)">

<ul>

<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>

<li><a href="closeac1.jsp">Close Account</a></li>

</ul>

</dd>

</dl>

<dl class="dropdown">

<dt id="five-ddheader" onMouseOver="ddMenu('five',1)"


onMouseOut="ddMenu('five',-1)"><a href="fac.html">Facilities</a></dt>

</dl>

<dl class="dropdown">

<dt id="six-ddheader" onMouseOver="ddMenu('six',1)"


onMouseOut="ddMenu('six',-1)"><a href="contact.html">Contact
Us</a></dt>

</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>

<td><table class="box_1" align="left" border="0" cellpadding="0"


cellspacing="0">

<tr>

<td align="left" valign="top"><div id="wowslider-container1">

<div class="ws_images">

<ul>

<li><img src="data1/images/1.jpg" alt="A" title="open account


online" id="wows1_0"/></li>

<li><img src="data1/images/2.jpg" alt="2" title="check balance"


id="wows1_1"/></li>

<li><img src="data1/images/3.jpg" alt="3" title="deposite


money" id="wows1_2"/></li>

<li><img src="data1/images/4.jpg" alt="4" title="withdraw cash"


id="wows1_3"/></li>

<li><img src="data1/images/5.jpg" alt="5" title="transfer


amount" id="wows1_4"/></li>

<li><img src="data1/images/6.jpg" alt="6" title="close account"


id="wows1_5"/></li>

61
</ul>

</div>

<div class="ws_bullets"> <a href="#" title="1"><img


src="data1/tooltips/1.jpg" alt="1"/>1</a> <a href="#" title="2"><img
src="data1/tooltips/2.jpg" alt="2"/>2</a> <a href="#" title="3"><img
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>

<script type="text/javascript" src="engine1/wowslider.js"></script>

<script type="text/javascript" src="engine1/script.js"></script></td>

</tr>

</div>

</table></td>

</tr>

</table>

<table>

<tr>

<td height="32" colspan="2" align="center" valign="middle"


class="mar1"><marquee behavior="alternate" align="absmiddle"
scrollamount="3">

<span class="mar2">Our internet banking portal provides personal


</span><span class="mar3">banking services that gives you complete
control </span>over all your banking demands online.

62
</marquee></td>

</tr>

</table>

<table style="width:897px; background:#FFF; margin:2 auto;" >

<tr>

<td valign="top" class="box_2"><div id="about">

<div class="box_1">

<h1>About Us</h1>

</div>

<br>

<h2>History</h2>

<br>

<ul>

<li>This Bank is one of the most prestigious BANK in India.</li>

<li>The Bank is also affiliated to the Indian Public BANKs'


Conference (IPSC), and the National Progressive Bank' Conference (NPSC).
The members of these organisations include some of the premier Bank in the
country. </li>

<li>The BANK upholds the founders' commitment to excellence in all


fields, with emphasis on its motto Service Before Self. </li>

</ul>

<br>

</div>

<div id="aboutpro">

63
<h2>Bank Profile</h2>

<br>

<ul>

<li>This Bank is a co-educational day-cum-boarding BANK, with


more customers on its rolls.</li>

<li>Supply Chain Finance Customer Support</li>

<li>The Bank has also extended its expertise further and in


collaboration with the Government and make them more conducive to
teaming. </li>

<li>The Bank considers education to be a life-long process which


should have a strong foundation. The goal of the BANK is to inculcate in the
customer a love for learning and a desire to excel at every level. The BANK
also aims at equipping the customer with the intellectual and practical skills
that are necessary to meet the challenges in the future. </li>

<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">

<div id="footer_navigation"> </div>

<div id="footer_copyright" >

<center>

<img src="images/globe_10.gif" alt="business" width="196"


height="106">

64
</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,

Safari 5.0 +</p>

Copyright � Your Company Name</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>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Global Banking ..</title>

<link href="css/styles.css" rel="stylesheet" type="text/css">

<link href="style1.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" type="text/css" href="engine1/style.css"/>

<script type="text/javascript" src="engine1/jquery.js"></script>

<script type="text/javascript" src="css/tabination.js"></script>

<script type="text/javascript">

function ctck()

var sds = document.getElementById("dum");

</script>

</head>

<body>

<div id="top_links">

66
<div id="header"></div>

<table width="897" border="0" align="center" cellpadding="0"


cellspacing="0">

<tr>

<td colspan="2" align="left" valign="top"><div id="navigation">

<dl class="dropdown">

<dt id="one-ddheader" onMouseOver="ddMenu('one',1)"


onMouseOut="ddMenu('one',-1)"><a href="index.html">Home</a></dt>

</dl>

<dl class="dropdown">

<dt id="two-ddheader" onMouseOver="ddMenu('two',1)"


onMouseOut="ddMenu('two',-1)"><a href="about.jsp" >About Us</a></dt>

</dl>

<dl class="dropdown">

<dt id="three-ddheader" onMouseOver="ddMenu('three',1)"


onMouseOut="ddMenu('three',-1)"><a href="faq.jsp">FAQ</a></dt>

</dl>

<dl class="dropdown">

<dt id="four-ddheader" onMouseOver="ddMenu('four',1)"


onMouseOut="ddMenu('four',-1)"><a href="#">Services</a></dt>

<dd style="display: block; height: 4px; opacity: 0.0225989;" id="four-


ddcontent" onMouseOver="cancelHide('four')"
onMouseOut="ddMenu('four',-1)">

<ul>

<li><a href="create.html">New Account</a></li>

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>

<li><a href="closeac1.jsp">Close Account</a></li>

</ul>

</dd>

</dl>

<dl class="dropdown">

<dt id="five-ddheader" onMouseOver="ddMenu('five',1)"


onMouseOut="ddMenu('five',-1)"><a href="fac.html">Facilities</a></dt>

</dl>

<dl class="dropdown">

<dt id="six-ddheader" onMouseOver="ddMenu('six',1)"


onMouseOut="ddMenu('six',-1)"><a href="contact.html">Contact
Us</a></dt>

</dl>

<dl class="dropdown">

<dt id="seven-ddheader" onMouseOver="ddMenu('seven',1)"


onMouseOut="ddMenu('seven',-1)"><a href="map.html">Site
Map</a></dt>

</dl>

</div>

<br></td>

68
</tr>

<tr>

<td><table class="box_1" align="left" border="0" cellpadding="0"


cellspacing="0">

<tr>

<td align="left" valign="top"><div id="wowslider-container1">

<div class="ws_images">

<ul>

<li><img src="data1/images/1.jpg" alt="A" title="open account


online" id="wows1_0"/></li>

<li><img src="data1/images/2.jpg" alt="2" title="check balance"


id="wows1_1"/></li>

<li><img src="data1/images/3.jpg" alt="3" title="deposite


money" id="wows1_2"/></li>

<li><img src="data1/images/4.jpg" alt="4" title="withdraw cash"


id="wows1_3"/></li>

<li><img src="data1/images/5.jpg" alt="5" title="transfer


amount" id="wows1_4"/></li>

<li><img src="data1/images/6.jpg" alt="6" title="close account"


id="wows1_5"/></li>

</ul>

</div>

<div class="ws_bullets"> <a href="#" title="1"><img


src="data1/tooltips/1.jpg" alt="1"/>1</a> <a href="#" title="2"><img
src="data1/tooltips/2.jpg" alt="2"/>2</a> <a href="#" title="3"><img
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

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>

<script type="text/javascript" src="engine1/wowslider.js"></script>

<script type="text/javascript" src="engine1/script.js"></script></td>

</tr>

</div>

</table></td>

</tr>

</table>

<table>

<tr>

<td height="32" colspan="2" align="center" valign="middle"


class="mar1"><marquee behavior="alternate" align="absmiddle"
scrollamount="3">

<span class="mar2">Our internet banking portal provides personal


</span><span class="mar3">banking services that gives you complete
control </span>over all your banking demands online.

</marquee></td>

</tr>

</table>

<table style="width:897px; background:#FFF; margin:2 auto;" >

<tr>

70
<td valign="top" class="box_2"><div id="faq">

<div class="box_1">

<h1>FAQ on Safe Online Banking</h1>

</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

password, PIN number or credit card number.</li>

<li>Any e-mail, which asks for such information, is fraudulent and


should be deleted immediately.</li>

<li>Do not be lured if you receive an e-mail promising you a reward


for providing personal information and do not be afraid if the email warns of

an impending penalty for non-compliance.</li>

<li>Access the corporate Internet banking website only by typing the


URL: https://www.onlinesbi.com/corporate/sbi_home.html in the

address bar of your browser. Do not click on links in any e-mail


message to access the site.</li>

<li>If you receive an e-mail purportedly sent from a bank or a trusted


organisation, promising a reward or warning of penalty for non-compliance,

contact Bank immediately.</li>

</ul>

</div></td>

</tr>

</table>

71
<div id="footer_top">

<div id="footer_navigation"> </div>

<div id="footer_copyright" >

<center>

<img src="images/globe_10.gif" alt="business" width="196"


height="106">

</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,

Safari 5.0 +</p>

Copyright � Your Company Name</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>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Global Banking ..</title>

<link href="css/styles.css" rel="stylesheet" type="text/css">

<link href="style1.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="css/tabination.js"></script>

<script type="text/javascript">

function ctck()

var sds = document.getElementById("dum");

</script>

</head>

<body>

<div id="top_links">

73
<div id="header"></div>

<table width="897" border="0" align="center" cellpadding="0"


cellspacing="0">

<tr>

<td colspan="2" align="left" valign="top"><div id="navigation">

<dl class="dropdown">

<dt id="one-ddheader" onMouseOver="ddMenu('one',1)"


onMouseOut="ddMenu('one',-1)"><a href="index.html">Home</a></dt>

</dl>

<dl class="dropdown">

<dt id="two-ddheader" onMouseOver="ddMenu('two',1)"


onMouseOut="ddMenu('two',-1)"><a href="about.jsp" >About Us</a></dt>

</dl>

<dl class="dropdown">

<dt id="three-ddheader" onMouseOver="ddMenu('three',1)"


onMouseOut="ddMenu('three',-1)"><a href="faq.jsp">FAQ</a></dt>

</dl>

<dl class="dropdown">

<dt id="four-ddheader" onMouseOver="ddMenu('four',1)"


onMouseOut="ddMenu('four',-1)"><a href="#">Services</a></dt>

<dd style="display: block; height: 4px; opacity: 0.0225989;"


id="four-ddcontent" onMouseOver="cancelHide('four')"
onMouseOut="ddMenu('four',-1)">

<ul>

<li><a href="create.html">New Account</a></li>

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>

<li><a href="closeac1.jsp">Close Account</a></li>

</ul>

</dd>

</dl>

<dl class="dropdown">

<dt id="five-ddheader" onMouseOver="ddMenu('five',1)"


onMouseOut="ddMenu('five',-1)"><a href="fac.html">Facilities</a></dt>

</dl>

<dl class="dropdown">

<dt id="six-ddheader" onMouseOver="ddMenu('six',1)"


onMouseOut="ddMenu('six',-1)"><a href="contact.html">Contact
Us</a></dt>

</dl>

<dl class="dropdown">

<dt id="seven-ddheader" onMouseOver="ddMenu('seven',1)"


onMouseOut="ddMenu('seven',-1)"><a href="map.html">Site
Map</a></dt>

</dl>

</div>

<br></td>

75
</tr>

<tr>

<td><table class="box_1" align="left" border="0" cellpadding="0"


cellspacing="0">

<tr>

<td align="left" valign="top"><img src="images/1.jpg"></td>

</tr>

</table></td>

</tr>

</table>

<table>

<tr>

<td height="32" colspan="2" align="center" valign="middle"


class="mar1"><marquee behavior="alternate" align="absmiddle"
scrollamount="3">

<span class="mar2">Our internet banking portal provides personal


</span><span class="mar3">banking services that gives you complete
control </span>over all your banking demands online.

</marquee></td>

</tr>

</table>

<table style="width:897px; background:#FFFFFF; margin:2 auto; border-


top:#00679F 2px solid">

<tr >

76
<td width="161" valign="top" style="border-right:#666666 1px
dotted;"><div id="services">

<h1>Services</h1>

<br>

<ul>

<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>

<li><a href="closeac1.jsp">CLOSE A/C</a></li>

</ul>

</div></td>

<td width="486" valign="top"><div id="welcome">

<h1>OPEN ACCOUNT FORM</h1>

<br>

<table align="center" bgcolor="white">

<tr> </tr>

<tr>

<td><form name=F1 action="CreateServlet" method="get" >

<table cellspacing="5" cellpadding="3">

<tr>

<td>USER NAME:</td>

77
<td><input type="text" name="usrmn"/></td>

</tr>

<tr>

<td>PASSWORD:</td>

<td><input type="password" name="pass"/></td>

</tr>

<tr>

<td>RE-PASSWORD:</td>

<td><input type="password" name="rep"/></td>

</tr>

<tr>

<td>AMOUNT:</td>

<td><input type="text" name="amoun"/></td>

</tr>

<!-- Gender:<br/><br/>

Male<input type="radio" name="gender"


value="male"> Female<input type="radio" name="gender"
value="female"/><br/><br/> -->

<tr>

<td>ADDRESS:</td>

<td><input type="text" name="adderes"/></td>

</tr>

<tr>

78
<td>PHONE:</td>

<td><input type="text" name="phon"/></td>

</tr>

<tr>

<td></td>

<td><input type="submit" value="Submit"/>

<INPUT TYPE=RESET VALUE="CLEAR"></td>

</tr>

</table>

</form></td>

</tr>

</table>

</div></td>

<td width="250" valign="top"><div id="welcome">

<center>

<img src="images/11.png" alt="business" width="196"


height="233">

</center>

</div></td>

</tr>

</table>

<div id="footer_top">

<div id="footer_navigation"> </div>

79
<div id="footer_copyright" >

<center>

<img src="images/globe_10.gif" alt="business" width="196"


height="106">

</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,

Safari 5.0 +</p>

Copyright © Your Company Name</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){

// out.print("Welcome " + username);

try {

if(status==true){

out.print("Welcome " + username);

Connection con=GetCon.getCon();

PreparedStatement ps=con.prepareStatement("Select *
from NEWACCOUNT where accountno=?");

ps.setInt(1,accountno);

ResultSet rs=ps.executeQuery();

out.print("<table align='left' cellspacing='5'


cellpadding='5'>");

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("<td>" + rs.getInt(1) + "</td>");

out.print("<td>" + rs.getString(2) + "</td>");

out.print("<td>" + rs.getInt(5) + "</td>");

out.print("<td>" + rs.getString(6) + "</td>");

out.print("<td>" + rs.getInt(7) + "</td>");

out.print("</tr>");

out.print("</table>");

82
else{

out.print("Please check your username and Password");

request.setAttribute("balance","Please check your


username and Password");

%>

<jsp:forward page="balance1.jsp">

</jsp:forward>

<%

}catch (SQLException e) {

e.printStackTrace();

//}

//}

%>

</table>

<%

%>

</table>

<%@ page import="java.sql.*"%>

<%@ page import="java.io.*" %>

<%@ page import="javax.servlet.*"%>

<%@ page import="g.*" %>

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){

// out.print("Welcome " + username);

try {

if(status==true){

out.print("Welcome " + username);

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()){

out.print("your balance has increase");

request.setAttribute("totaldataamount",dataamount);

request.setAttribute("balance","your balance has


increase");

%>

<jsp:forward page="Totalbalance.jsp">

</jsp:forward>

<%

85
}

else{

out.print("Please check your username and Password");

request.setAttribute("balance","Please check your


username and Password");

%>

<jsp:forward page="deposit1.jsp">

</jsp:forward>

<%

}catch (SQLException e) {

e.printStackTrace();

%>

</table>

<%

%>

</table>

<%@ page import="java.sql.*"%>

86
<%@ page import="java.io.*" %>

<%@ page import="javax.servlet.*"%>

<%@ page import="g.*" %>

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){

// out.print("Welcome " + username);

try {

if(status==true){

out.print("Welcome " + username);

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()){

out.print("your balance has increase");

request.setAttribute("totaldataamount",dataamount);

request.setAttribute("balance","your balance has


decrease");

%>

<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>" + rs.getInt(1) + "</td>");

out.print("<td>" + rs.getString(2) + "</td>");

out.print("<td>" + rs.getInt(5) + "</td>");

out.print("<td>" + rs.getString(6) + "</td>");

out.print("<td>" + rs.getInt(7) + "</td>");

//out.print("<td><a href='DeleteServlet'
>Delete</a></td>");

out.print("</tr>");

90
out.print("</table>");

*/

else{

out.print("Please check your username and Password");

request.setAttribute("balance","Please check your


username and Password");

%>

<jsp:forward page="withdraw1.jsp">

</jsp:forward>

<%

}catch (SQLException e) {

e.printStackTrace();

%>

</table>

<%

%>

91
</table>

<%@ page import="java.sql.*"%>

<%@ page import="java.io.*" %>

<%@ page import="javax.servlet.*"%>

<%@ page import="g.*" %>

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){

// out.print("Welcome " + username);

try {

if(status==true){

out.print("Welcome " + username);

out.print(" TARGET ACCOUNT NO DOES NOT


EXSIT --> " + taccountno);

%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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);

request.setAttribute("target account A ",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("target account A",dataamount);

request.setAttribute("account B",dataamount1);

%>

<jsp:forward page="tbalance.jsp"></jsp:forward>

<%

//out.print("your balance has increase");

//request.setAttribute("totaldataamount",dataamount);

//request.setAttribute("balance","your balance has


decrease");

95
//}

//out.print("your balance has increase");

//request.setAttribute("totaldataamount",dataamount);

//request.setAttribute("balance","your balance has


increase");

//}

/*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>" + rs.getInt(1) + "</td>");

out.print("<td>" + rs.getString(2) + "</td>");

out.print("<td>" + rs.getInt(5) + "</td>");

out.print("<td>" + rs.getString(6) + "</td>");

out.print("<td>" + rs.getInt(7) + "</td>");

//out.print("<td><a href='DeleteServlet'
>Delete</a></td>");

96
out.print("</tr>");

out.print("</table>");

*/

else{

out.print("Please check your username and Password and


target accountno");

request.setAttribute("balance","Please check your


username and Password and target acountno");

%>

<jsp:forward page="transfer1.jsp"></jsp:forward>

<%

}catch (SQLException e) {

e.printStackTrace(); }

%></table><%

%> </table>

<%@ page import="java.sql.*"%>

<%@ page import="java.io.*" %>

<%@ page import="javax.servlet.*"%>

<%@ page import="g.*" %>

Close Account Page

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){

// out.print("Welcome " + username);

try {

if(status==true){

out.print("Welcome " + username);

Connection con=GetCon.getCon();

PreparedStatement ps=con.prepareStatement("delete
from NEWACCOUNT where accountno='"+accountno+"'");

//ps.setInt(1,accountno);

ps.executeUpdate();

out.print("&nbsp;&nbsp;&nbsp;your account no
'"+accountno+"' has closed.");

out.print("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
href='index.html'><IMG SRC='images/home1.gif'></IMG></A>");

98
}

else{

out.print("Please check your username and Password");

request.setAttribute("balance","Please check your


username and Password");

%>

<jsp:forward page="closeac1.jsp"></jsp:forward>

<%

}catch (SQLException e) {

e.printStackTrace();

%></table><%

%> </table>

<%@ page import="java.sql.*"%>

<%@ page import="java.io.*" %>

<%@ page import="javax.servlet.*"%>

<%@ page import="g.*" %>

Create Servlet Page


package g;

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

*/

public class CreateServlet extends HttpServlet {

/**

* Processes requests for both HTTP <code>GET</code> and


<code>POST</code> methods.

* @param request servlet request

* @param response servlet response

* @throws ServletException if a servlet-specific error occurs

* @throws IOException if an I/O error occurs

*/

100
public void doGet(HttpServletRequest request, HttpServletResponse
response)

throws ServletException, IOException {

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();

int i=st.executeUpdate("insert into newaccount


values(2345,'"+username+"','','','','','')");

if(i>0)

out.println("data sccessfully enterd ");

else

{ out.println("data not entered .. ");

} }

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

*/

public interface Details extends Remote

public int open(String username,String password,double amount,String


adderess,double phone) throws RemoteException;

public String withdraw(int acno,String uname,String pwd,int amt) throws


RemoteException;

public String deposit(int acno,String uname,String pwd,int amt) throws


RemoteException;

public String transfer(int acno,String uname,String pwd,int tacno,int amt)


throws RemoteException;

public String close(int acno,String uname,String pass) throws


RemoteException;

public String balance(int acno,String uname,String pass) throws


RemoteException;

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.*;

public class GetCon {

private GetCon(){}

public static Connection con;

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");

public static Connection getCon(){

return con;

public static int getPrimaryKey(){

int nextvalue=0;

Connection con=GetCon.getCon();

PreparedStatement ps2;

try {

ps2=con.prepareStatement("select javatpointnewaccount.nextval from


dual");

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

*/

public class MyListener implements ServletContextListener{

public void contextInitialized(ServletContextEvent arg0) {

int status=0;

Connection con=null;

try{

con=GetCon.getCon();

PreparedStatement ps1=con.prepareStatement("Select * from


NEWACCOUNT");

try{

status=ps1.executeUpdate();

catch(Exception e)

{e.printStackTrace();

status=2;

108
System.out.println("my staus is1111111"+status);

if(status==0)

{System.out.println("your table name already exist"+status);}

else if(status==2)

{System.out.println("else if part table does not exist new table has


created"+status);

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();

else{System.out.println("else part "+status);

}}

catch(Exception e){e.printStackTrace();}}

public void contextDestroyed(ServletContextEvent arg0) {

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

*/

public class RegisterUser {

static int status=0;

//int accountno=1;

public static int register(String username,String password,String


repassword,double amount,String adderess,double phone){

//public static int register(String email,String password,String


gender,String country,String name){

110
Connection con=GetCon.getCon();

PreparedStatement ps;

try {

ps = con.prepareStatement("Insert into NEWACCOUNT


values(?,?,?,?,?,?,?)");

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 {

public static boolean checkLogin(int accountno,String username,String


password){

boolean status=false;

Connection con=GetCon.getCon();

try {

//PreparedStatement ps=con.prepareStatement("Select * from


MAILCASTINGUSER where EMAILADD = ? and PASSWORD
=?");

PreparedStatement ps=con.prepareStatement("Select * from


NEWACCOUNT where accountno=? and username = ? and password
=?");

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.

 Testing is a process of executing a program with the intend of finding


an error.
 A good test case is one that has a high probability of finding an as yet
undiscovered error.
 A successful text is one that uncovers an as yet undiscovered error.
 The main objective of testing phase is to improve the quality and
efficiency of the software.

Type of Testing There are different types of testing that are described
below:

1. Unit Testing A software is divided into small modules before


development. Each Module is considered as a unit at the time of
coding and after coding each unit is tested individually or separately.
In computer programming, a unit test is a method of testing the
correctness of a particular module of source code.

2. Integration Testing It is the phase of software testing in which


Individual software modules are combined and tested as a group. It
follows unit testing and process system testing. The purpose of
integration testing is to verify functional, performance and reliability
requirements placed on major design items.

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.

4. White Box Testing A software testing technique where by explicit


Knowledge of the internal working of the item being tested are used to
select the test data. In this type of testing the source code of the
complete project will be minutely check and the errors will be find out
and then they will be removed. It is also known as Glass Box,
Structural, Clear Box and Open Box Testing.

5. Black Box Testing A software testing technique where by the


internal working of the item being tested are not known by the tester.
The main objective of this testing is to check whether the program is
doing functionally or not. The syntax of the program will not be check
by the tester. It is also known as Functional Testing.

All the operation, which is to be performed by this program, has


been tested on sample data sets. All the tests of the system are found
satisfactory. We can now install this system, our expert declares that
the system is error free and can handle all the operation of the “Net
Banking System” as stated in the objectives definition.

116
CONCLUSION

117
Conclusion

This project is about the Implementing the different services


and Making Effect using JAVA SCRIPTS & CSS. This project
presents an investigative view of present Account Management
including detail of various type of services and Functions. Present
system of Banking application ” NET BANKING SYSTEM” is
having some shortcoming on which we have tried to work on that
to eliminate the disadvantages. In the last we conclude that
Banking application ” NET BANKING SYSTEM” is having a
strong customer oriented Infrastructure and a well-managed
services ,functions and organized details of the system but there is
some shortcoming in the system on which we have tried to work
on it and successfully completed our project.

118
FUTURISTIC SCOPE

119
Futuristic Scope

If anyone wants to extend this project then he or she can


make an additional coding of HTML and can add different
more services ,picture and Effects. And coding for updated
availability of new functions . which is available after the
changing of services on that specific period of time. He or she can
also add some more command buttons in the existing software and
extend working of the existing software.

The future scope of NET BANKING SYSTEM application is


very bright because now day’s everything becomes to more
popular and Effective with its Services . Because it is easy to use
and not time consuming or easy to Implement any services
And in future we can improve the quality and performance of the
software. There are many new technologies are available in
market which are better than old techniques. The software industry
is quickly growing on and the new talented software engineers are
developing more powerful and more functional software which are
the increased version of old software’s.

120
BIBLIOGRAPHY

121
Bibliography

The following books have been referred during the preparation of this
project –

BOOK NAME WRITER

VISUAL BASIC 6.0 STEVEN HOLZNER

MASTERING VB 6.0 PETROUTOSO EVANGELOS

TECH YOURSELF VB 6.0 GREG PERRY

VISUAL BASIC 6.0 GARY CORNELL

(For beginners)

122

You might also like