Banking Project
Banking Project
1
ONLINE BANKING WEBSITE
*ACKNOWLEDGEMENT*
2
ONLINE BANKING WEBSITE
Feasibility study………………………………………………
SDLC …………………………………………………………
DFD…………………………………………………
E-R DIAGRAM……………………………………….
Design………………………………………………..
Testing ……………………………………………
3
ONLINE BANKING WEBSITE
Java operators……………………………………
Coding………………..
4
ONLINE BANKING WEBSITE
*CERTIFICATE*
5
ONLINE BANKING WEBSITE
*INTRODUCTION*
During the past several decades personnel function has been transformed from a relatively
obscure record keeping staff to central and top-level management function. There are
many factors that have influenced this transformation like technological advances,
professionalism, and general recognition of human beings as most important resources.
This project intends to introduce more user friendliness in the various activities such as
record updating, maintenance, and searching. The searching of record has been made quite
simple as all the details of the customer can be obtained by simply keying in the
identification or account number of that customer. Similarly, record maintenance and
updation can also be accomplished by using the account number with all the details being
automatically generated. These details are also being promptly automatically updated in
the master file thus keeping the record up to date.
6
ONLINE BANKING WEBSITE
The entire information has maintained in the database or Files and whoever wants to
retrieve can’t retrieve, only authorization user can retrieve the necessary information which
can be easily accessible.
7
ONLINE BANKING WEBSITE
This project intends to introduce more user friendliness in the various activities such as record
updating, maintenance, and searching. The searching of record has been made quite simple as
all the details of the customer can be obtained by simply keying in the identification or
account number of that customer. Similarly, record maintenance and updating can also be
accomplished by using the account number with all the details being automatically generated.
These details are also being promptly automatically updated in the master file thus keeping
the record absolutely up to date.
The main objective of our project is providing the different typed of customers facility, the
main objective of this system is to find out the actual customer service. Etc.
This project includes the entire upgraded feature required for the computerization banking
system. This system is very easy to use, so that any user can use without getting pre-
knowledge about this. It’s very much user friendly and meet almost all daily working process
8
ONLINE BANKING WEBSITE
requirements. This system is completely GUI based and can be use by mouse and as well as
keyboard.
FEASIBILITY ANALYSIS: -
Depending on the results of the initial investigation, the survey is expanded to a more detailed
feasibility study. A feasibility study is a test of a system proposal. According to its
workability,
impact on the
organization,
ability to meet
user’s needs and
effective use of
the resources its
main task done
during the feasibility study are:-
1. Evaluation of existing system and procedures. Our group went to various Banking
Professionals to gather information about the software system. They are using and
evaluating those system and the procedures invoked in it during the period of
feasibility study.
9
ONLINE BANKING WEBSITE
FEASIBILITY STUDY
TECHNICAL FEASIBILITY: -
The proposed system is technically feasible as it can be developed easily with the help of
available technology. The proposed system requires MS – VISUAL Studio 2005 using
VB.Net as a Interface for Programming & back-end as MS-SQL Server 2000 for
10
ONLINE BANKING WEBSITE
OPERATIONAL FEASIBILITY: -
Automation makes our life easy. The proposed system is highly user friendly and
is much easily able to interact with the system. Therefore, the users will readily accept the
system as data entry and making queries can be easily done.
SYSYTEM REQUIREMENTS
Hardware specifications:
Software Requirements:
various tasks. Software is like a current inside the wire, which cannot be seen but
its effect can be felt.
1. Operating System: - Windows NT / 2000 / XP
2. Application Software: - Application software uses front end visual basic and database access
etc.
The major phases involved in the MIS development process are referred to as system
development life cycle. Each phase of the development process must have well defined
objectives, and at the end of each phase, progress towards meeting the objectives must be
evaluated.
The development process should not continue until the objectives of all prior phases have
been met.
System development life cycle is a phased approach to analysis and design to ensure that
systems are best developed.
The system development life cycle can be divided into seven phases as shown in fig
12
ONLINE BANKING WEBSITE
What is Java?
Java is a general-purpose, class-based, object-oriented programming language designed for
having lesser implementation dependencies. It is a computing platform for application
development. Java is fast, secure, and reliable, therefore. It is widely used for developing Java
applications in laptops, data centers, game consoles, scientific supercomputers, cell phones,
etc.
Features of java
13
ONLINE BANKING WEBSITE
Java Platform is a collection of programs that help programmers to develop and run Java
programming applications efficiently. It includes an execution engine, a compiler, and a set of
libraries in it. It is a set of computer software and specifications. James Gosling developed the
Java platform at Sun Microsystems, and the Oracle Corporation later acquired it.
Object means a real word entity such as pen, chair, table etc. Object-Oriented
Programming is a methodology or paradigm to design a program using classes and
objects. It simplifies the software development and maintenance by providing
Thakore concepts:
o Object
o Class
o Inheritance
o Polymorphism
o Abstraction
o Encapsulation
Java Constructor
14
ONLINE BANKING WEBSITE
Java Destructor
There can be a lot of usage of Java this keyword. In Java, this is a reference
variable that refers to the current object.
15
ONLINE BANKING WEBSITE
Java Inheritance
Types Of Inheritance
o Single inheritance
o Multiple inheritance
o Hierarchical inheritance
o Multilevel inheritance
o Hybrid inheritance
Generics in Java
Generics means parameterized types. The idea is to allow type (Integer, String, …
etc., and user-defined types) to be a parameter to methods, classes, and interfaces.
Using Generics, it is possible to create classes that work with different data
types. An entity such as class, interface, or method that operates on a parameterized
type is a generic entity.
Generic Method: Generic Java method takes a parameter and returns some value
after performing a task. It is exactly like a normal function, however, a generic
method has type parameters that are cited by actual type. This allows the generic
method to be used in a more general way. The compiler takes care of the type of
safety which enables programmers to code easily since they do not have to perform
long, individual type castings.
18
ONLINE BANKING WEBSITE
Stream
A stream can be defined as a sequence of data. There are two kinds of Streams −
19
ONLINE BANKING WEBSITE
Java provides strong but flexible support for I/O related to files and networks but
this tutorial covers very basic functionality related to streams and I/O. We will see
the most commonly used examples one by one −
Byte Streams
Java byte streams are used to perform input and output of 8-bit bytes. Though there
are many classes related to byte streams but the most frequently used classes
are, FileInputStream and FileOutputStream. Following is an example which
makes use of these two classes to copy an input file into an output file −
Example
import java.io.*;
public class CopyFile {
try {
in = new FileInputStream("input.txt");
out = new FileOutputStream("output.txt");
20
ONLINE BANKING WEBSITE
int c;
while ((c = in.read()) != -1) {
out.write(c);
}
}finally {
if (in != null) {
in.close();
}
if (out != null) {
out.close();
}
}
}
}
Now let's have a file input.txt with the following content −
$javac CopyFile.java
$java CopyFile
21
ONLINE BANKING WEBSITE
Character Streams
Java Byte streams are used to perform input and output of 8-bit bytes, whereas
Java Character streams are used to perform input and output for 16-bit unicode.
Though there are many classes related to character streams but the most frequently
used classes are, FileReader and FileWriter. Though internally FileReader uses
FileInputStream and FileWriter uses FileOutputStream but here the major
difference is that FileReader reads two bytes at a time and FileWriter writes two
bytes at a time.
We can re-write the above example, which makes the use of these two classes to
copy an input file (having unicode characters) into an output file −
Example
import java.io.*;
public class CopyFile {
try {
in = new File Reader("input.txt");
out = new File Writer(
22
ONLINE BANKING WEBSITE
“output.txt");
int c;
while ((c = in.read()) != -1) {
out.write(c);
}
}finally {
if (in != null) {
in.close();
}
if (out != null) {
out.close();
}
}
}
}
23
ONLINE BANKING WEBSITE
$javac CopyFile.java
$java CopyF
Visual programming aims at providing the user with an interface that is intuitive and easy
to use. In developing such an interface, the programmer employs user-friendly features
such as windows, menus, buttons, and list boxes.
Its Environment provides all features that are required to develop a graphical user interface
as ready -to- use components. The programmer does not have to write code to create and
display commonly required user-friendly features each time around.
24
ONLINE BANKING WEBSITE
When the programmer needs a specific user interface feature such as button, he selects
the appropriate ready-to-use component provided by the visual programming
environment. These components can be moved, resized, and renamed as required.
For Example: -
If the programmer needs to have a button, then the visual programming environment
provides him with one. All that, the programmer does this select t the button and place it
on screen at the required position.
Typically, the mouse is used to select and place the necessary components. Thus, the visual
programming environment is also called a point and click environment.
A visual programming environment automates the process of creating a user interface. The
interface provided by the visual programming environment to the programmer designs the
user interface visually instead of writing code.
25
ONLINE BANKING WEBSITE
In addition, it also provides a means of associating code with each component. In each case
of calculator, for each button, we can specific that the code is to execute when we click on
it.
There are several programming tools that allow us to build such visually appealing and
intuitive interface. These tools allow us to design interface that employ user friendly
features such as menus, buttons, windows etc.
However, the disadvantage of such tools is that the interface is designed using code. The
programmer must code the user interface features specifying the size, position etc. this
makes designing the user interface a major task in itself.
Visual development of graphical user interface which are easy to use and easy to learn.
26
ONLINE BANKING WEBSITE
For Example: -
The visual programming environment displays a list of available components. The programmer
picks up the required component from this list to display it.
The interface components provided by the visual programming environment have some
code built into them.
For example: -
A button’ knows’ when it has been clicked upon. In the case of conventional programming
tools, the programmer must write code to determine the component that has been clicked
and then execute the appropriate code.
Visual Basic is one of the most popular programming tools available today. And it’s also
secret that there have been massive changes in it as it became Visual Basic.Net.
The reason of that change is Visual Basic itself, which has now become Visual Basic.Net.
The difference between Visual Basic.Net and the previous version. Visual Basic 6.0 is
27
ONLINE BANKING WEBSITE
revolutionary and far reaching. Visual Basic.Net has been more than four years in the
marking and it represents entirely new directions for Visual Basic. Besides the biggest
change integrated support for web development the very syntax, of techniques that you’ve
probably learned carefully are now completely different such as data handling and many
controls; project types and other aspects of Visual Basic 6.0 are no longer available at all.
Visual Basic has a long and so far, glorious history. When it first appeared, it created a
revolution in windows programming. Visual Basic introduced unheard of ease to windows
programming just builds the program you want right before your eyes, and then run it. In so
doing it changed programming form a chore to something very like fun.
Introduction to SQL: -
SQL is an ANSI (American National Standards Institute) standard computer language for accessing and manipulating
database systems. SQL statements are used to retrieve and update data in a database. SQL works with database
programs like MS Access, DB2, Informix, MS SQL Server, Oracle, Sybase, etc.
Unfortunately, there are many different versions of the SQL language, but to be following the ANSI standard; they
must support the same major keywords in a similar manner (such as SELECT, UPDATE, DELETE, INSERT, WHERE, and
others).
A database most often contains one or more tables. Each table is identified by a name (e.g., "Customers" or "Orders").
Tables contain records (rows) with data.
29
ONLINE BANKING WEBSITE
The table above contains three records (one for each person) and four columns (Last Name, First Name, Address,
and City).
SQL Queries: -
With SQL, we can query a database and have a result set returned.
Last Name
Hansen
Svendson
Petersen
SQL (Structured Query Language) is syntax for executing queries. But the SQL language also includes syntax to
update, insert, and delete records.
These query and update commands together form the Data Manipulation Language (DML) part of SQL: -
The Data Definition Language (DDL) part of SQL permits database tables to be created or deleted. We can also define
indexes (keys), specify links between tables, and impose constraints between database tables.
1. Create a database
-- Creating database
create database bank;
);
The data flow diagram is also known as “bubble chart” has the purpose of clarifying system
requirements and identifying major transformations that will become programs in system design, so it
is the starting point of specification down to the lowest level of detail. A DFDs consists of a series if
bubbles joined by lines. The bubbles represent data transformation, and the lines represent the data
flow in the system.
33
ONLINE BANKING WEBSITE
DFD SYMBOLS:
A circle represents the process that transforms incoming data flow to outgoing data flow.
E-R DIAGRAM
34
ONLINE BANKING WEBSITE
technique are called Entity-Relationship Diagrams, or ER diagrams or ERDs. So, you can say
that Entity Relationship Diagrams illustrate the logical structure of databases.
Dr. Peter Chen is the originator of the Entity-Relationship Model. His original paper about ER-
modeling is one of the most cited papers in the computer software field. Currently the ER
model serves as the foundation of many systems analysis and design methodologies,
computer-aided software engineering (CASE) tools, and repository systems.
The original notation for ER-Diagrams uses rectangles to represent entities, and diamonds to
represent relationships.
Entities are the "things" for which we want to store information. An entity is a person,
place, thing, or event.
Attributes are the data we want to collect for an entity.
Relationships describe the relations between the entities.
ERDs show entities in a database and relationships between tables within that database. It is
essential to have ER-Diagrams if you want to create a good database design. The diagrams
help focus on how the database works.
Entity (Instance)
Entity Class
Attributes
Types:
Simple
Composite
Multiple
Key
Each simple attribute associated with a VS that may be assigned to that attribute for each
individual entity,
37
ONLINE BANKING WEBSITE
“ACCOUNT_INFO” Table: -
38
ONLINE BANKING WEBSITE
Photo_S Image
Sign_S Image
39
ONLINE BANKING WEBSITE
Photo_T Image
Sign_T Image
“Branch_Info” Table: -
40
ONLINE BANKING WEBSITE
“Deposit_Info” Table: -
Deposit_Date DateTime
“Fixed_Info” Table: -
41
ONLINE BANKING WEBSITE
“LOGIN_INFO” TABLE: -
“Withdrawl_Info” Table: -
42
ONLINE BANKING WEBSITE
“Loan_Info” Table: -
43
ONLINE BANKING WEBSITE
INTRODUCTION: -
Source code clarity is enhanced by structured coding techniques, by good coding style, by,
appropriate supporting documents, by good internal comments, and by feature provided in
modern programming languages.
44
ONLINE BANKING WEBSITE
The implementation team should be provided with a well-defined set of software requirement,
an architectural design specification, and a detailed design description. Each team member must
understand the objectives of implementation.
1. Error:
The term error is used in two ways. It refers to the difference between the actual output of
software and the correct output, in this interpretation, error is essential a measure of the
difference between actual and ideal. Error is also to use to refer to human action that result in
software containing a defect or fault.
2. Fault:
Fault is a condition that causes to fail in performing its required function. A fault is a basic
reason for software malfunction and is synonymous with the commonly used term Bug.
3. Failure:
Failure is the inability of a system or component to perform a required function according to its
specifications. A software failure occurs if the behavior of the software is the different from the
specified behavior. Failure may be caused due to functional or performance reasons.
45
ONLINE BANKING WEBSITE
a. Unit Testing:
The term unit testing comprises the sets of tests performed by an individual programmer prior
to integration of the unit into a larger system.
A program unit is usually small enough that the programmer who developed it can test it in
great detail, and certainly in greater detail than will be possible when the unit is integrated into
an evolving software product. In the unit testing the programs are tested separately, independent
of each other. Since the check is done at the program level, it is also called program teasing.
b. Module Testing:
A module and encapsulates related component. So can be tested without other system module.
c. Subsystem Testing:
Subsystem testing may be independently design and implemented common problems are sub-
system interface mistake in this checking we concentrate on it.
There are four categories of tests that a programmer will typically perform on a program unit.
1) Functional test
2) Performance test
3) Stress test
4) Structure test
46
ONLINE BANKING WEBSITE
1) Functional Test
Functional test cases involve exercising the code with Nominal input values for which expected
results are known; as well as boundary values (minimum values, maximum values and values
on and just outside the functional boundaries) and special values.
2) Performance Test
Performance testing determines the amount of execution time spent in various parts of the unit,
program throughput, response time, and device utilization by the program unit. A certain
amount of avoid expending too much effort on fine-tuning of a program unit that contributes
little to the overall performance of the entire system. Performance testing is most productive at
the subsystem and system levels.
3) Stress Test
Stress test are those designed to intentionally break the unit. A great deal can be learned about
the strengths and limitations of a program by examining the manner in which a program unit
breaks.
4) Structure Test
Structure tests are concerned with exercising the internal logic of a program and traversing
particular execution paths. Some authors refer collectively to functional performance and stress
testing as “black box” testing. While structure testing is referred to as “white box” or “glass
box” testing. The major activities in structural testing are deciding which path to exercise,
47
ONLINE BANKING WEBSITE
deriving test date to exercise those paths, determining the test coverage criterion to be used,
executing the test, and measuring the test coverage achieved when the test cases are exercised.
DEBUGGING
Defect testing is intended to find areas where the program does not confirm to its
specifications. Tests are designed to reveal the presence of defect in the system.
When defect have been found in the program. There must be discovered and
removed. This is called “Debugging”.
We can establish and start various Branches and available help centers for Account
Holder’s Queries.
48
ONLINE BANKING WEBSITE
We can also deal through internet by creating web pages and a banking website for
internet dealing.
To attract Account Holder’s, we can offer various offers during festivals months.
To have more and more customer satisfaction we will emphasize more and more on our
dealings.
49
ONLINE BANKING WEBSITE
coding
About Bank:
javax.swing.ImageIcon; import
javax.swing.JLabel; import
javax.swing.JOptionPane; import
50
ONLINE BANKING WEBSITE
import javax.swing.JTextArea;
JPanel panel1;
JLabel message;
JLabel image;
ImageIcon imgicon;
MenuBar menubar1;
JLabel lmessage;
JLabel lmessage1;
JLabel about;
JTextArea text1;
Dimension dimension;
Toolkit toolkit;
AboutBank()
{ try
toolkit=Toolkit.getDefaultToolkit(); dimension=toolkit.getScreenSize();
51
ONLINE BANKING WEBSITE
JPanel(null);
about.setBounds(60,20,600,300);
JLabel();
panel1.add(lmessage); panel1.add(lmessage1);
add(panel1);
JLabel(imgicon); image.setBounds(300,-80,700,600);
panel1.add(image);
a wide range of banking products and financial services to corporate and retail customers
through a variety of delivery channels and through its specialised subsidiaries in the
areas of investment banking, life and non- life insurance, venture capital and asset
management.</h1></body></html>");
lmessage.setText("<html><body text=#003399><h2>Software is
Powered By <br> Vee
Software
Solutions Private Limited S.C.F 45 Phase 7 Mohali 0172 -5091616
9464 161616</h1></body></html>");
lmessage.setBounds(30,600,1200,50); lmessage1.setBounds(100,310,850,250);
}catch(Exception e)
} finally {
setSize(1000,700); setLocation(200,30);
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);
new AboutBank();
53
ONLINE BANKING WEBSITE
}}
AdminLogin:-
java.awt.event.KeyAdapter; import
import javax.swing.JTextField;
JTextField tname;
JPasswordField tpassword;
JLabel lname;
JLabel lpassword;
JLabel lmessage;
JPanel panel;
Dimension dimension;
AdminLogin()
{ try { dimension
Toolkit.getDefaultTo
olkit().getScreenSize
JPanel(null);
lmessage = new
JLabel("V"); bank =
new JLabel("Bank");
55
ONLINE BANKING WEBSITE
lname = new
JLabel("Admin");
lpassword = new
JLabel("Password");
tname = new
JTextField(40);
tpassword = new
JPasswordField(40);
login = new
JButton("Login");
close = new
JButton("Close");
lmessage.setText("<html><body text=#003399><h2>Software is
powered By
<br> Vee Software Solutions Private
Limited S.C.F 45 Phase 7 Mohali 0172 - 5091616 9464 161616</h1></body></html>");
add(panel); panel.add(lmessage); login.addActionListener(this);
close.addActionListener(this); tname.addKeyListener(new KeyAdapter()
56
ONLINE BANKING WEBSITE
} else
","ERROR",JOptionPane.ERROR_MESSAGE);
}//end of try
catch(Exception exception)
JOptionPane.showMessageDialog(null,exception, "Error",
JOptionPane.ERROR_MESSAGE);
setSize(1000,700); setLocation(200,30);
setDefaultCloseOperation(EXIT_ON_CLOSE);
57
ONLINE BANKING WEBSITE
if(message.equalsIgnoreCase("login"))
if(tname.getText().equals(""))
"Error",JOptionPane.ERROR_MESSAGE); return ;
} // end of if
if(tpassword.getText().equals(""))
"Error",JOptionPane.ERROR_MESSAGE); return ;
}// end of if
if(!tname.getText().equals("")&& !tpassword.getText().equals(""))
String username="";
58
ONLINE BANKING WEBSITE
result=true;
try
connection =
DriverManager.getConnection(url+database,user,password); // get connection
statement = connection.createStatement();
resultset=statement.executeQuery(selectquery); while(resultset.next())
username=tname.getText(); userpassword=tpassword.getText();
if(username.equalsIgnoreCase(resultset.getString(1))&&
userpassword.equalsIgnoreCase
(resultset.getString(2)))
login.addActionListener(new ActionListener()
FrontPage(); setVisible(false);
} // end of if
}//end of while
} //end of try
catch(ClassNotFoundException error)
System.out.println("sql exception::"+error.getMessage());
} // end of catch
}// end of if
}// end of if
} //end of ActionEvent
System.exit(0);
{ try {
panel.add(tname); panel.add(tpassword);
panel.add(lname); panel.add(lpassword);
panel.add(lmessage); panel.add(login);
panel.add(close);
lname.setBounds(100,250,100,20); lpassword.setBounds(100,280,100,20);
tname.setBounds(200,250,300,20); tpassword.setBounds(200,280,300,20);
login.setBounds(200,350,140,30); close.setBounds(350,350,150,30);
login.setMnemonic('L'); close.setMnemonic('C');
panel.add(bank);
vee.setBounds(650,200,300,300); bank.setBounds(750,450,300,150);
lmessage.setBounds(40,600,1200,50);
catch(Exception exception)
JOptionPane.showMessageDialog(null,exception, "Error",
JOptionPane.ERROR_MESSAGE);
61
ONLINE BANKING WEBSITE
constructor
new AdminLogin().login();
*CONCLUSIONS*
WEBSITES: - WWW.VBTUTORIALS.COM
WWW.LOGICATWORK.INFOSEARCH ENGINES: -
YAHOO, GOOGLE etc.
REFERENCES:
• http:// HYPERLINK
"http://www.coreservlets.com/"www.coreservlets.com HYPERLINK
"http://www.coreservlets.com/"
64