Вы находитесь на странице: 1из 32

A

PROJECT REPORT
ON
BANKING
MANAGEMENT
SYSTEM
Submitted in the partial fulfillment of the requirement of

BACHELOR OF COMPUTER APPLICATION


(Session 2011-2012)

MAHARISHI MARKANDESHWAR UNIVERSITY


MULLANA,AMBALA

​Submitted By:
ADITI GIRDHAR
Roll No. 11091309

ACKNOWLEDGEMENT

I take this opportunity to express my profound sense gratitude and respect to all those
who helped us throughout this endeavor. I owe my regards to MR.SANJAY KUMAR for
his cooperation and valuable support and for giving me the opportunity to undertake this
project work and necessary infrastructure.

I would like to express my heartiest thanks to our teachers for their


valuable support and encouragement.
Last but not the least I owe my overwhelming gratitude to my family and
friends who gave us constant support and motivation to continue with this endeavor.
ADITI GIRDHAR
11091309
INDEX

Certificate
​Introduction to Project

​Problem selection

​Project monitoring

​Introduction to java

​System study

Documentation
​Project Coding

Design
Conclusion of the project
Scope of the project
​Bibliography
INTRODUCTION TO PROJECT

This documentation is meant to capture the requirements of the project as given by the
client and understood by the project representative. This also acts as a reference for other
phases in the lifecycle like design; coding, testing etc. It also helps as a future reference
for any enhancements/ modifications to the requirement specification/ system.

This is also meant to be a guidance document for:

1. USER: For understanding the functionality that would be implemented by the


system.

2. SYSTEM DESIGNER: Source for requirement specification needed for the


design of the system.

3. TESTER​: To understand the testing requirement specification and derived the


test cases and to arrive a feasible approach for testing the system.
PROBLEM SELECTION

The objective of this phase is to obtain a system definition which will than be
implemented if accepted in the subsequent analysis and design phases.

The basic activities are:


1. Determine the objectives of current system.

2. Study current system to see how far it meets its objective.

3. Analyze users and companies requirements to develop new objectives.

4. Identify constraints imposed by user’s environment.

5. Identify user’s responsibility of data inputs and outputs to other systems.

6. Examine interaction of proposed system with other systems.

7. Prepare details of requirements user data elements, volumes, response time etc.

8. Prepare design specification.

9. Prepare plan for design and implementation phases.

10. Produce a report for the user and system management.


PROJECT MONITORING

Project monitoring system means monitor or evaluate the system regularly. It includes the
following functions:

1. Estimating resource requirements.

2. Scheduling tasks and events.

3. Providing for training and site preparation.

4. Selecting qualified staff and supervising their work.

5. Monitoring the project’s program.

6. Documenting.

7. Periodic evaluating.

8. Contingency planning.
SYSTEM STUDY

The term system refers to the concept by which we can able to understand the system
according to the basic concepts of system.

It is derived from the Greek word System which means an organized relationship
between functioning units or components.

It is designed to achieve more than one objective. The study of system has three basic
implications:

1. A system must be designed to achieve a predetermined objective.

2. Interrelationships and the interdependence must exit among the components.

3. The objectives of the organization as a whole have a higher priority that the
objectives of its subsystems.
SYSTEM ANALYSIS

At the heart of system analysis is a detailed understanding of all important faces of the
business areas under investigation. The key questions are:
1. What is being done?

2. How is it being done?

3. How frequently does it occur?

4. How great is the volume of transactions or decisions?

5. How well is the task being performed?

6. Does a problem exist?

7. If a problem exists? How serious is it? What is the underline cause?

To answer the above questions system analyst discuss with different category
of persons to collect the facts about the business process and their opinion of why things
happen as they do and their views for changing the existing process. During analysis data
are collected on the available files, decision points and transactions handled by the
present system.
SYSTEM DESIGN

System design is a solution, a “how to” approach the creation of a new system.
This important phase is composed of several steps. It provides the understanding and
procedural details necessary for implementing the recommended in the feasibility study.
Emphasis is on translating the performance requirements into design specification.
Design goes through logical and physical stages of development.

Logical design reviews the present physical system, prepares input and output
specifications, makes edit, security and Control specification, details the implementation,
and prepares a logical design walkthrough. The physical design maps out the details of
the physical system, plans the systematic implementation, devises a test and
implementation plan, and specifies any new hardware and software.
SYSTEM TESTING

The objective of testing is to verify that the program function as it should, that it
confirms with its specification and solves the right problem in the real world.

The aim of debugging on the other hand is to remove program errors and does not
necessarily have the same result as testing. Testing may through errors which have to be
corrected; debugging in the sense of dealing with errors as they become evident but
otherwise “leaving well alone” , may leave at any stage some section of programs
untested.

Ideally, the program should be tested without possible combinations of inputs and
its output for each case checked against precalculated correct results. Testing must be
focused on the validation of small, separate parts of the program which do have
generalarity. The testing, takes overall constructions, proceeds from the top to the
downwards. Testing of a modular program starts with the main module in an environment
where all other module is simulated.

As each module is validated it can be added to the structure and its subordinate
modules can be investigated. After the test short, the program output must be compared
with the precalculated results, and if the program is at fault then the error must be found
and tested. Program testing ends when the program has been successively through all of
its logical paths.
SYSTEM IMPLEMENTATION

Operational systems are quickly taken for granted. Every system requires periodic
evaluation after implementation. A post implementation review measures the system’s
performance against predefined requirements.

Unlike system testing, which determine where the system fails so that the
necessary adjustments can be made, a post implementation review determines how well
the system continues to meet performance specification. It is after the design and
conversions are complete. It also provides information to determine whether major
redesign is necessary.
DOCUMENTATION

REQUIREMENTS:

1) HARDWARE:

Processor : Pentium IV
RAM : 128 MB
Graphics Card : Intel(R) 82845G/PE/GV Graphic Controller.
CD ROM : CD ROM 48X/52X
Floppy Drive : 1.44 MB.
Monitor : Colored screen

2) SOFTWARE:

❖ Platform: Microsoft Windows/DOS

❖ Turbo C++
CODING

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
class global
{
Connection con;
ResultSet rs;
Statement stmt;
public Connection getconnection()
{
return(con);
}
global()
{
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:xyz");
stmt = con.createStatement();
}
catch(Exception e)
{
System.out.println(e.getMessage());
}
}
ResultSet execute(String s) throws Exception
{
rs = stmt.executeQuery(s);
return(rs);
}
void update(String s) throws Exception
{
stmt.executeUpdate(s);
}
}
class mytest
{
public static void main(String s[ ])
{
myframe f1 = new myframe(" USER AUTHENTICATION");
f1.setVisible(true);
int i;
int x=1;
for(i=2;i<=300;i+=4,x+=6)
{
f1.setLocation((400-((i+x)/2) ),300-(i/2));
f1.setSize(i+x,i);
}
}
}
class myframe extends JFrame implements ActionListener
{
JPasswordField t1;
JTextField t2;
JButton b1,b2;
myframe(String s)
{
super(s);
Container con=getContentPane();
con.setLayout(new FlowLayout());
t1 = new JPasswordField(10);
t2 = new JTextField(10);
b1= new JButton(" OK ");
b2= new JButton(" CANCEL");
ImageIcon c1 = new ImageIcon("login.png");
JLabel m1 = new JLabel(c1);
con.add(m1);
con.add(new JLabel("User Name "));
con.add(t2);
con.add(new JLabel("Password "));
con.add(t1);
con.add(b1);
con.add(b2);
b1.addActionListener(this);
b2.addActionListener(this);
}
public void actionPerformed(ActionEvent ae)
{
if(ae.getSource() == b1)
{
global g1 = new global();
ResultSet rs=null;
try {
String ss="select * from login where username='"+ t2.getText()+"' and password
='"+t1.getText()+"' ";
System.out.println(ss);
rs = g1.execute(ss);
rs.next();
int n= rs.getRow();
if(n>0)
{
bank b1 = new bank();
b1.setSize(400,400);
b1.setVisible(true);
this.setVisible(false);
}
else
JOptionPane.showMessageDialog(null, "I N V A L I D username or password");
}catch(Exception e)
{
t2.setText(e.getMessage());
}
}
}
}

class bank extends JFrame implements ActionListener


{
bank()
{
super("Bank System");
JMenuBar mb = new JMenuBar();
setJMenuBar(mb);
JMenu m1 = new JMenu("masters");
mb.add(m1);
JMenuItem t1 = new JMenuItem("New Account");
JMenuItem t2 = new JMenuItem("Deposit");
JMenuItem t3 = new JMenuItem("Withdraw");
JMenuItem t4 = new JMenuItem("List");
m1.add(t1);
m1.add(t2);
m1.add(t3);
m1.add(t4);

JMenu mm1 = new JMenu("Loan Description");


mb.add(mm1);
JMenuItem tt1 = new JMenuItem("Loan Request");
JMenuItem tt2 = new JMenuItem("Accept Loan");
JMenuItem tt3 = new JMenuItem("Reject Loan");
JMenuItem tt4 = new JMenuItem("List");
mm1.add(tt1);
mm1.add(tt2);
mm1.add(tt3);
mm1.add(tt4);
tt1.addActionListener(this);
t1.addActionListener(this);
t2.addActionListener(this);
t3.addActionListener(this);
t4.addActionListener(this);
ImageIcon c1 = new ImageIcon("real.jpg");
JLabel mm2 = new JLabel(c1);
getContentPane().setLayout(new BorderLayout());
getContentPane().add(mm2,BorderLayout.CENTER);
}
public void actionPerformed(ActionEvent ae)
{
String msg = ae.getActionCommand();

if(msg.equals("Loan Request"))
{
loan b1 = new loan();
b1.setSize(450,150);
b1.setVisible(true);
b1.setLocation(200,200);
}

if(msg.equals("New Account"))
{
banknew b1 = new banknew();
b1.setSize(450,150);
b1.setVisible(true);
b1.setLocation(200,200);
}
if(msg.equals("Deposit"))
{
bankdep b1 = new bankdep();
b1.setSize(300,300);
b1.setVisible(true);
}
if(msg.equals("Withdraw"))
{
bankwt b1 = new bankwt();
b1.setSize(300,300);
b1.setVisible(true);
}
if(msg.equals("List"))
{
banklst b1 = new banklst();
b1.setSize(300,300);
b1.setVisible(true);
}
}
}
class banknew extends JFrame implements ActionListener
{
JTextField t1,t2,t3;
JLabel l1,l2,l3;
JButton b1,b2;
banknew()
{
super(" New Customer Account ");
t1 = new JTextField(20);
t2 = new JTextField(20);
t3 = new JTextField(20);
l1 = new JLabel(" Customer Accno");
l2 = new JLabel(" Customer Name");
l3 = new JLabel(" Customer Balance");
b1 = new JButton("Add");
b2= new JButton("Save");
getContentPane().setLayout(new FlowLayout());
getContentPane().add(l1);
getContentPane().add(t1);
getContentPane().add(l2);
getContentPane().add(t2);
getContentPane().add(l3);
getContentPane().add(t3);
getContentPane().add(b1);
getContentPane().add(b2);
b1.addActionListener(this);
b2.addActionListener(this);
}
public void actionPerformed(ActionEvent ae)
{
if(ae.getSource() == b1)
{
t1.setText("");
t2.setText("");
t3.setText("");
}
else
{
try
{
global g1 = new global();
String qry = "insert into bank values("+t1.getText()+",' "+ t2.getText()+" ' , "+
t3.getText() +" ) ";
g1.update(qry);
JOptionPane.showMessageDialog(null," Record is saved");
}catch(Exception e) { t1.setText(""+e);}

}
}
}

class bankdep extends JFrame implements ActionListener,ItemListener


{
Choice c1;
Label l1,l2,l3,l4;
JTextField t1,t2,t3;
Button b1,b2;
bankdep()
{
l1 = new Label("Acc no");
l2 = new Label(" Name ");
l3 = new Label(" Balance" );
l4 = new Label(" Deposit amount");
c1 = new Choice();
t1 = new JTextField(20);
t2 = new JTextField(20);
t3 = new JTextField(20);
b1 = new Button(" Add ");
b2 = new Button(" Update" );
getContentPane().setLayout(new FlowLayout());
getContentPane().add(l1);
getContentPane().add(c1);
getContentPane().add(l2);
getContentPane().add(t1);
getContentPane().add(l3);
getContentPane().add(t2);
getContentPane().add(l4);
getContentPane().add(t3);
getContentPane().add(b1);
getContentPane().add(b2);
try
{
global g1 = new global();
ResultSet rs = g1.execute("select * from bank");
while(rs.next())
{
c1.add(rs.getString("accno"));
}
}catch(Exception e) { t1.setText(""+e); }
b1.addActionListener(this);
b2.addActionListener(this);
c1.addItemListener(this);
}
public void actionPerformed (ActionEvent ae)
{
if(ae.getSource()==b1)
{
t1.setText("");
t2.setText("");
t3.setText("");
}
else
{
String s1= "update bank set balance=balance+" +t3.getText()+" where
accno="+c1.getSelectedItem();
try
{
global g1 = new global();
g1.update(s1);
JOptionPane.showMessageDialog(null,"updated");
}catch(Exception e){ t1.setText(""+e); }
}
}
public void itemStateChanged(ItemEvent ie)
{
try
{
global g1 = new global();
ResultSet rs = g1.execute( "Select * from bank where accno="+c1.getSelectedItem()
);
rs.next();
t1.setText(rs.getString("name"));
t2.setText(rs.getString("balance"));
}catch(Exception e) { }
}
}

class banklst extends JFrame


{
banklst()
{
try
{
global g1 = new global();
ResultSet rs = g1.execute("select * from bank");
String c [ ] = { "Acc No","Name ","Balance"};
String[ ][ ] data = new String[30][3];
int i,j;
i=0;
j=0;
while(rs.next())
{
data[i][ j++]=rs.getString("accno");
data[i][ j++]=rs.getString("name");
data[i][ j]=rs.getString("balance");
j=0; i++;
}
JTable jtab = new JTable(data,c);
getContentPane().setLayout(new BorderLayout());
int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
JScrollPane jsp = new JScrollPane(jtab, v, h);

getContentPane().add(jsp,BorderLayout.CENTER);
}
catch(Exception e) {System.out.println(e); }
}
}

class bankwt extends JFrame implements ActionListener,ItemListener


{
Choice c1;
Label l1,l2,l3,l4;
JTextField t1,t2,t3;
Button b1,b2;
bankwt()
{
l1 = new Label("Acc no");
l2 = new Label(" Name ");
l3 = new Label(" Balance" );
l4 = new Label(" Deposit amount");
c1 = new Choice();
t1 = new JTextField(20);
t2 = new JTextField(20);
t3 = new JTextField(20);
b1 = new Button(" Add ");
b2 = new Button(" Update" );
getContentPane().setLayout(new FlowLayout());
getContentPane().add(l1);
getContentPane().add(c1);
getContentPane().add(l2);
getContentPane().add(t1);
getContentPane().add(l3);
getContentPane().add(t2);
getContentPane().add(l4);
getContentPane().add(t3);
getContentPane().add(b1);
getContentPane().add(b2);
try
{
global g1 = new global();
ResultSet rs = g1.execute("select * from bank");
while(rs.next())
{
c1.add(rs.getString("accno"));
}
}catch(Exception e) { t1.setText(""+e); }
b1.addActionListener(this);
b2.addActionListener(this);
c1.addItemListener(this);
}
public void actionPerformed (ActionEvent ae)
{
if(ae.getSource()==b1)
{
t1.setText("");
t2.setText("");
t3.setText("");
}
else
{
String s1= "update bank set balance=balance-" +t3.getText()+" where
accno="+c1.getSelectedItem();
try
{
global g1 = new global();
g1.update(s1);
JOptionPane.showMessageDialog(null,"updated");
}catch(Exception e){ t1.setText(""+e); }
}
}
public void itemStateChanged(ItemEvent ie)
{
try
{
global g1 = new global();
ResultSet rs = g1.execute( "Select * from bank where accno="+c1.getSelectedItem()
);
rs.next();
t1.setText(rs.getString("name"));
t2.setText(rs.getString("balance"));
}catch(Exception e) { }
}
}
SNAPSHOT

USER AUTHENTICATION
BANK SYSTEM
ACCOUNT SYSTEM
CONCLUSION OF THE PROJECT

ADVANTAGES OF THE PROPOSED SYSTEM​:

The benefits that are contributed by the proposed computer based

system is as follow:
Provide Maintenance Of Records.

Make access to data easy for users.

Provide response to the users request for data and information.

Since everything is done using computers, a lot of human effort is saved.

Easy to maintain.
DISADVANTAGES OF THE
PROPOSED SYSTEM

The only disadvantage of the system would be that this system

would require evaluation after implementation. We world have to

evaluate the system after a certain period to find out how well the system

is meeting the objectives originally set forth. This would lead to wastage

of time, money and require some improvements included.


SCOPE OF THE PROJECT

This project is aimed to improve organization effectiveness. It has a far-reaching impact


on the entire organization. The implementation of the project will affect more the
establiHed method and procedures .

This system can enhance the productivity by:

optimizing the output of the system.

helping in routine work functions.

Increase accuracy.

Reducing normal errors


​BIBLIOGRAPHY

Java programming language handbook by David H. Friedel,Jr. and Anthony Potts.

Head first java by Kathy.

Вам также может понравиться