Java Project Bank

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 49

The Technolgical Insitute of

Texitle & Sciences

PROJECT

Online Banking
Service

Submitted To :
Dr. Akhil Kaushik
Submitted By :
Aditya Pundir – 19ce007
Deepanshu – 19ce031
Deepanshu - 19ce029
Acknowledgement

We are really grateful to our Java Teacher Mr. Himanshu


Sir for advising me and introducing the project to me in a
easy to understand way which has helped me complete
my project easily and effectively on time.

I am dearly obliged for giving me an opportunity to work


on this project which has provided valuable information
about Online Banking Project.

Thank You
Table of Contents

1. INTRODUCTION

1.1. Overview
1.2. About the Project
1.3. Bank Profile
1.4. Our Culture
1.5. Purpose
1.6. Scope
1.7. Functional Components of the Project
1.8. Functionality to Enhance the Project

2. SYSTEM ANALYSIS

2.1. Present System


2.2. Proposed System
2.3. Benefits of the System
2.4. System can be used Extensively

3. FEASIBILITY REPORT

3.1. Understanding Feasibility


3.2. Technical Feasibility
3.3. Operational Feasibility
3.4. Economic Feasibility

4. SOFTWARE REQUIREMENT SPECIFICATIONS

5. SYSTEM DESIGN

5.1. Introduction
5.2. Normalization
5.3. ER-Diagrams
5.4. DFDs
5.5. Database Table
6. CODING

7. OUTPUT SCREENS

8. Conclusion and Scope for Future Development

BIBLIOGRAPHY
CHAPTER- 1
Introduction
1.1 Overview
Internet Banking is all about knowing our customer need and provide them with the right service
at the right time through right channel 24*7 day a week.

Being “electronic”, it not only provides its customers with faster and better facilities, it even
reduces the manual overhead of accounts maintenance.

1.2 ABOUT THE PROJECT

APANA-BANK C.P. is one of the most prestigious BANKs in India. Founded as a Public BANK
in 1972 in New Delhi, it is a private institution run by the Delhi Public BANK Society.

APANA-BANK, C.P. is affiliated to the Central Board of Bank (CBB), which is the largest
educational board in the country. It is recognized by the Department of Education, Govt. of NCT
Delhi and the Ministry of HRD, Govt. of India. Over 5000 BANKs in India, with over 80,000
students, are members of the Board.

The BANK is also affiliated to the Indian Public BANKs' Conference (IPSC), and the National
Progressive BANKs' Conference (NPSC). The members of these organizations include some of
the premier BANKs in the country.

Life at DPSRKP centers on a shared commitment to academic excellence, intellectual growth,


art, athletics, high standards of ethical awareness, sportsmanship, and community service. The
BANK's traditions and accessibility to a broad curriculum add depth to each student’s life.
The BANK upholds the founders' commitment to excellence in all fields, with emphasis on its
motto Service Before Self.

1.3 BANK PROFILE:


APANA-BANK, C.P. is a co-educational day-cum-boarding BANK, with approximately 9,500
customer on its rolls. These children, in the Junior and Senior branches, study in the three
different campuses at East of Kailash, Vasant Vihar and C.P.

The BANK is among the most distinguished members of the Ravi Public BANK, C.P.. It is a
path breaker in the pursuit of excellence. Its endeavor of integrating quality with quantity is
reflected in the pivotal role it has played in the setting up of DPS Vasant Kunj, DPS Faridabad
and DPS Manali at the national level. It has also promoted three BANKs abroad in Kuwait, Nepal
and Indonesia. As their Linking BANK it also co-ordinates their activities.

The BANK has also extended its expertise further and in collaboration with the Government of
Haryana, has taken up 3 BANKs in the under-privileged area of Mewat, to augment and enhance
their standards and make them more conducive to teaming.

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.

To sum up, the mission of APANA-BANK, C.P. “to open doors and open minds” and prepare the
ground for the future of the nation.

1.4 OUR CULTURE:

In the portals of APANA-BANK, C.P., C.P. customer discover their own talents, and get an
opportunity to develop them to the fullest. The BANK provides an invigorating and competitive
atmosphere, created by excellent facilities and guidance provided by a highly qualified and
dedicated faculty.

The values, which are ingrained help to promote confidence, direction, and critical thinking
skills, leading to the development of well-adjusted, adaptable and integrated personalities. In
other words, APANA-BANK, C.P. offers comprehensive and holistic education.

Besides being committed to academic excellence and providing education for all round
development, another special characteristic of DPS R.K. Puram is the appreciation of the worth
of the each student. The BANK is equally committed to the under-represented and less-privileged
segments of the population, such as gifted applicants whose parents could not attend BANK, and
children with high potential facing difficult financial circumstances.

A major landmark development has been the inclusion of the physically and mentally
handicapped children into the mainstream of BANK life. This contributes to a strong sense of
community life, so characteristic of the BANK. In other words, children belonging to every strata
of society are given the opportunity to study here. The BANK, does not in any way, discriminate
on the basis of race, color, religion, sex, caste or creed, in the implementation of its admission
policy.

These qualities have placed APANA-BANK, C.P. on the forefront. There has been a continuity
of purpose, underlying the change and growth of the BANK. Over the years, APANA-BANK,
C.P. has steadily reflected a spirit of innovation in response to need, and has broadened its
educational mission, by creating an academic environment that fosters close association and the
exchange of ideas with some of the top BANKs in the nation and the world.

Its membership with the IPSC has brought it into regular interaction with BANKs of national
standing such as Mayo College, Ajmer; Scindia BANK, Gwalior; The Doon BANK, Dehradun;
Bishop Cotton, Simla Hills; St. Xavier's and La-Martiniere at Calcutta; which has further
inculcated a healthy spirit of competition and strong bonds of brotherhood, conducive to national
integration.

All the academic programs and activities at APANA-BANK, C.P. work towards one purpose - to
help coustemer develop lives of significance for themselves and for others, true to the traditions
of the BANK Motto "Service Before Self".

1.5 Purpose:
The Online Banking suite provides a global accounting foundation that provides the all private
banks with electronic banking facilities. It allows client of private banks to carry out their day to
day banking transactions.

1.6 Scope:
The Online Banking project is widely applicable with private banks. It can even be used in
industries for their personal transactions (working).

1.7 Functional components of the project:


Following are the functional needs of the software:-

1. Customer must have a valid user ID and password to login to the system.

2. After the valid user logs in, the system shows the present balance in that particular account
number.

3. Customer can perform transactions like deposit and withdrawal from his account.

4. Proper help to be provided as and when requested by the customer.

1.8 More functionality can be added to “enhance the project”:


1. By adding new modules of different accounts like saving A/C, current A/C etc. to facilitate
new customers/users.

2. By the use of electronic media, “Digital Signature” on the card can be provided with the
customer to make it secure and efficient.
CHAPTER- 2
System Analysis
PRESENT SYSTEM
The developed system is an innovation in the area of private banking. In
the existing system the no. of staff required for completing the work is
more, while the new system requires lesser staffs generally.
The data entry process requires the data on the paper, which is then feed
into the application by the operator while doing so; the data entry
operator has to look into the paper again &again and thus the chances of
in accuracies in the typed contents increases. Also the process includes
higher transportation cost, increased handling cost, more time delays,
low accuracy, more usage of resources like registers, books, papers, etc.

PROPOSED SYSTEM

“Why an Automated Private Banking System?”

Almost 60% of today’s information is still paper based.

30% of all office time is spent finding documents.

The average time to manage a single document is 12 minutes,

9 minutes to re-file and 3 minutes to process.

Hence the requirement is to develop a system that minimizes allthese overheads included while
giving the maximum output for theorganization.
The basis for the project is to develop a fullyautomated banking system that includes depositing
of amount,

withdrawal of amount and exporting the outcome back to the clientwhile considering all the tools
and facilities than a client may needfor efficient and effective output.

Benefits of the system


Quick, authenticated access to accounts via the desktop.

Easily scalable to grow with changing system requirement.

Enterprise wide access to information.

Improved information security, restricting unauthorized access.

Minimize Storage Space

In manual system, much storage space for data files is required so to overcome this problem, on
automated well managed

database is developed for saving storage space. This s/w saves space and stores information
efficiently. It ends the burden of having large manual filing storage system.

Banking System can be used extensively


Withdrawal of amount by the client.

Deposition of amount by the client.

Faster balance enquiry.


CHAPTER- 3
FEASIBILITY
REPORT
3.1 Understanding Feasibility

Feasibility study means the analysis of problem to determine if It can be solved effectively. In
other words it is the study of the possibilities of the proposed system it studies the work ability,
impact on the organization ability to meet user’s need and efficient use of resources.

Three aspects in which the system has to be feasible are:-

3.2 ECONOMICAL FEASIBILITY:


The economical analysis checks for the high investment incurred on the system. It evaluates
development &

implementing charges for the proposed “Banking Project”. The S/W used for the development is
easily available at minimal cost & the database applied is freely available hence it results in low
cost implementation.

3.3 TECHNICAL FEASIBILITY:


This aspect concentrates on the concept of using Computer Meaning, “Mechanization” of human
works. Thus the automated solution leads to the need for a technical feasibility study.

The focus on the platform used database management &users for that S/W.
The proposed system doesn’t require an in depth technical knowledge as the system development
is simple and easy to understand. The S/W (VB.NET) used makes the system user friendly
(GUI). The result obtain should be true in the real time conditions.

3.4 BEHAVIOURAL FEASIBILITY:


Behavioral feasibility deals with the runtime performance of the S/W the proposed system must
score higher than the present in the behavioral study. The S/W should have end user in mind
when the system is designed while designing s/w the programmer should be aware of the
conditions user’s Knowledge input, output, calculations etc.

The s/w contains only a minimum no. of bugs. Care should be also taken to avoid non-working
means &t buttons.
CHAPTER- 4
Software Requirement
& Specification
Software Required:
The project is implemented in Core Java as it provides the implementation of Socket and Server
Socket classes that are used to connect distinct applications, hence the software’s required in the
creation and execution of the project are j2sdk1.7 or Eclipse .As we know JAVA is a platform
independent language so this software runs with JRE environment on any desired platform i.e.
Linux ,windows 9x, XP, or 2000 or any operating system.

Hardware Required:
As the project does not involve any database, its hardware requirements are minimal. Any
System with Pentium P2 or above processor, 32MB RAM, 1GB Hard Disk, a LAN Card, and a
CDROM is sufficient. Its network based software so computers connected with any kind of mode
(wireless, LAN connected etc) will suit its requirements. . . . It can also be run on a single
machine for its demo use.

Best suited in laboratory where we can run its server on any machine and many clients can use it
simultaneously.
Software Analysis Report

About java: Features JDK 1.7

Platform Independent:

The concept of Write-once-run-anywhere (known as the Platform independent) is one of the


important key feature of java language that makes java as the most powerful language. Not even
a single language is idle to this feature but java is closer to this feature. The programs written on
one platform can run on any platform provided the platform must have the JVM. 

Simple:

There are various features that make the java as a simple language. Programs are easy to write
and debug because java does not use the pointers explicitly. It is much harder to write the java
programs that can crash the system but we can not say about the other programming languages.
Java provides the bug free system due to the strong memory management. It also has the
automatic memory allocation and de-allocation system.

Object Oriented:

To be an Object Oriented language, any language must follow at least the four characteristics.
 Inheritance  : It is the process of creating the new classes and using the behavior of the
existing classes by extending them just to reuse the existing code and adding the
additional features as needed.
 Encapsulation: It is the mechanism of combining the information and providing the
abstraction.
 Polymorphism:  As the name suggest one name multiple form, Polymorphism is the way
of providing the different functionality by the functions having the same name based on
the signatures of the methods.
 Dynamic binding: Sometimes we don't have the knowledge of objects about their specific
types while writing our code. It is the way of providing the maximum functionality to a
program about the specific type at runtime.        

As the languages like Objective C, C++ fulfills the above four characteristics yet they  are not
fully object oriented languages because they are structured as well as object oriented languages.
But in case of java,  it is a fully Object Oriented language because object is at the outer most level
of data structure in java. No stand alone methods, constants, and variables are there in java.
Everything in java is object even the primitive data types can also be converted into object by
using the wrapper class.

Robust:

Java has the strong memory allocation and automatic garbage collection mechanism. It provides
the powerful exception handling and type checking mechanism as compare to other programming
languages. Compiler checks the program whether there any error and interpreter checks any run
time error and makes the system secure from crash. All of the above features makes the java
language robust.

Distributed:

The widely used protocols like HTTP and FTP are developed in java. Internet programmers can
call functions on these protocols and can get access the files from any remote machine on the
internet rather than writing codes on their local system.

Portable:

The feature Write-once-run-anywhere makes the java language portable provided that the system
must have interpreter for the JVM. Java also have the standard data size irrespective of operating
system or the processor. These features make the java as a portable language.

Dynamic:
While executing the java program the user can get the required files dynamically from a local
drive or from a computer thousands of miles away from the user just by connecting with the
Internet.

Secure:

Java does not use memory pointers explicitly. All the programs in java are run under an area
known as the sand box. Security manager determines the accessibility options of a class like
reading and writing a file to the local disk. Java uses the public key encryption system to allow
the java applications to transmit over the internet in the secure encrypted form. The byte code
Verifier checks the classes after loading. 

Performance:

Java uses native code usage, and lightweight process called threads. In the beginning
interpretation of byte code resulted the performance slow but the advance version of JVM uses
the adaptive and just in time compilation technique that improves the performance. 

Multithreaded:

Java is also a multithreaded programming language. Multithreading means a single program


having different threads executing independently at the same time. Multiple threads execute
instructions according to the program code in a process or a program. Multithreading works the
similar way as multiple processes run on one computer.  
Multithreading programming is a very interesting concept in Java. In multithreaded programs not
even a single thread disturbs the execution of other thread. Threads are obtained from the pool of
available ready to run threads and they run on the system CPUs. This is how Multithreading
works in Java which you will soon come to know in details in later chapters.

Interpreted:

we all know that Java is an interpreted language as well. With an interpreted language such as
Java, programs run directly from the source code. 
The interpreter program reads the source code and translates it on the fly into computations.
Thus, Java as an interpreted language depends on an interpreter program.
The versatility of being platform independent makes Java to outshine from other languages.
The source code to be written and distributed is platform independent.  
Another advantage of Java as an interpreted language is its error debugging quality. Due to this
any error occurring in the program gets traced. This is how it is different to work with Java.
Architecture Neutral:

The term architectural neutral seems to be weird, but yes Java is an architectural
neutral language as well. The growing popularity of networks makes developers
think distributed. In the world of network it is essential that the applications must
be able to migrate easily to different computer systems. Not only to computer
systems but to a wide variety of hardware

architecture and operating system architectures as well.  The Java compiler does
this by generating byte code instructions, to be easily interpreted on any machine
and to be easily translated into native machine code on the fly. The compiler
generates an architecture-neutral object file format to enable a Java application to
execute anywhere on the network and then the compiled code is executed on many
processors, given the presence of the Java runtime system. Hence Java was
designed to support applications on network. This feature of Java has thrived the
programming language.

ABOUT : JDK:

The Java Development Kit (JDK) is a Sun Microsystems product aimed at Java developers.
Since the introduction of Java, it has been by far the most widely used Java SDK. On 17
November 2006, Sun announced that it would be released under the GNU General Public License
(GPL), thus making it free software. This happened in large part on 8 May 2007[1] and the source
code was contributed to the OpenJDK.

The primary components of the JDK are a selection of programming tools, including:

 java – The loader for Java applications. This tool is an interpreter and can interpret the
class files generated by the javac compiler. Now a single launcher is used for both
development and deployment. The old deployment launcher, jre, is no longer provided
with Sun JDK.
 javac – The compiler, which converts source code into Java bytecode
 jar – The archiver, which packages related class libraries into a single JAR file. This tool
also helps manage JAR files.
 javadoc – The documentation generator, which automatically generates documentation
from source code comments
 jdb – The debugger
 javap – The class file disassembler
 appletviewer – This tool can be used to run and debug Java applets without a web
browser.
 javah – The C header and stub generator, used to write native methods
 extcheck – This utility can detect JAR-file conflicts.
 apt – The annotation processing tool
 jhat – (Experimental) Java heap analysis tool
 jstack – (Experimental) This utility prints Java stack traces of Java threads.
 jstat – (Experimental) Java Virtual Machine statistics monitoring tool
 jstatd – (Experimental) jstat daemon
 jinfo – (Experimental) This utility gets configuration information from a running Java
process or crash dump.
 jmap – (Experimental) This utility outputs the memory map for Java and can print shared
object memory maps or heap memory details of a given process or core dump.
 idlj – The IDL-to-Java compiler. This utility generates Java bindings from a given IDL
file.
 policy tool – The policy creation and management tool, which can determine policy for a
Java runtime, specifying which permissions are available for code from various sources
 VisualVM – visual tool integrating several command line JDK tools and lightweight
performance and memory profiling capabilities

The JDK also comes with a complete Java Runtime Environment, usually called a private
runtime. It consists of a Java Virtual Machine and all of the class libraries that will be present in
the production environment, as well as additional libraries only useful to developers, such as the
internationalization libraries and the IDL libraries.

Also included are a wide selection of example programs demonstrating the use of almost all
portions of the Java API.

Technologies and Requriments

IDE:

My Eclipse

Front End:
JSP, JDBC, Javascript, AJAX

Programming Language:

JAVA

Back End:

Oracle 10g
CHAPTER- 6

CODING

CreateServlet.java

package g;

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;

public class CreateServlet extends HttpServlet {

public void doGet(HttpServletRequest request, HttpServletResponse


response)

throws ServletException, IOException {

response.setContentType("text/html");

PrintWriter out=response.getWriter();

String username=request.getParameter("username");

String password=request.getParameter("password");

String repassword=request.getParameter("repassword");

String amoun=request.getParameter("amount");

double amount=Double.parseDouble(amoun);

String adderess=request.getParameter("adderess");

String ph=request.getParameter("phone");
double phone=Double.parseDouble(ph);

//double mname=Double.parseDouble(num);

//String country=request.getParameter("country");

int status=RegisterUser.register(username, password, repassword,


amount, adderess,phone);

if(status>0){

out.print("WELCOME! YOUR ACCOUNT HAS OPENED");

RequestDispatcher
rd=request.getRequestDispatcher("index.jsp");

rd.include(request, response);

else{

out.print("Sorry,Registration failed. please try later");

RequestDispatcher
rd=request.getRequestDispatcher("MyHtml.html");

rd.include(request, response);

out.close();

}}

DBIntializer.java

package g;

public interface DBIntializer {

String DRIVER="oracle.jdbc.driver.OracleDriver";
String CON_STRING="jdbc:oracle:thin:@localhost:1521:xe";

String USERNAME="system";

String PASSWORD="oracle";

Details.java

package g;

// THIS PROGRAM GBANK IS THE INTERFACE FOR THE MAIN PROGRAM

import java.rmi.*;

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.java
package g;

import java.sql.*;

public class GetCon {

private GetCon(){}

public static Connection con;

static{

try {

Class.forName(DBIntializer.DRIVER);

con=DriverManager.getConnection(DBIntializer.CON_STRING,DBIntializer.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);

} catch (SQLException e) {

e.printStackTrace();

return nextvalue;

MyListener.java

package g;

import javax.servlet.*;
import java.sql.*;

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;

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

package g;

import java.sql.*;

import g.GetCon;

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

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

package g;

import java.sql.Connection;

import java.sql.PreparedStatement;

import java.sql.ResultSet;

import java.sql.SQLException;

public 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);
ps.setString(3,password);

ResultSet rs=ps.executeQuery();

status=rs.next();

} catch (SQLException e) {

e.printStackTrace();

return status;

WEB.XML

<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.5"

xmlns="http://java.sun.com/xml/ns/javaee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/javaee

http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

<welcome-file-list>

<welcome-file>index.html</welcome-file>

</welcome-file-list>
<servlet>

<description>This is the description of my J2EE component</description>

<display-name>This is the display name of my J2EE component</display-name>

<servlet-name>CreateServlet</servlet-name>

<servlet-class>g.CreateServlet</servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>CreateServlet</servlet-name>

<url-pattern>/CreateServlet</url-pattern>

</servlet-mapping>

<servlet>

<description>This is the description of my J2EE component</description>

<display-name>This is the display name of my J2EE component</display-name>

<servlet-name>registereduserServlet</servlet-name>

<servlet-class>g.registereduserServlet</servlet-class>

</servlet>

<servlet>

<description>This is the description of my J2EE component</description>

<display-name>This is the display name of my J2EE component</display-name>

<servlet-name>verifyLogin</servlet-name>

<servlet-class>verifyLogin</servlet-class>

</servlet>

<servlet>

<description>This is the description of my J2EE component</description>

<display-name>This is the display name of my J2EE component</display-name>

<servlet-name>VerifyLogin1</servlet-name>

<servlet-class>g.VerifyLogin1</servlet-class>
</servlet>

<servlet>

<description>This is the description of my J2EE component</description>

<display-name>This is the display name of my J2EE component</display-name>

<servlet-name>verifyLogin1</servlet-name>

<servlet-class>g.verifyLogin1</servlet-class>

</servlet>

<servlet>

<description>This is the description of my J2EE component</description>

<display-name>This is the display name of my J2EE component</display-name>

<servlet-name>GetCon</servlet-name>

<servlet-class>GetCon</servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>registereduserServlet</servlet-name>

<url-pattern>/go</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>verifyLogin1</servlet-name>

<url-pattern>/servlet/verifyLogin1</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>VerifyLogin1</servlet-name>

<url-pattern>/servlet/VerifyLogin1</url-pattern>
</servlet-mapping>

<servlet-mapping>

<servlet-name>verifyLogin1</servlet-name>

<url-pattern>/servlet/verifyLogin1</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>GetCon</servlet-name>

<url-pattern>/servlet/GetCon</url-pattern>

</servlet-mapping>

<listener>

<listener-class>g.MyListener</listener-class>

</listener>

</web-app>
CHAPTER- 7

OUTPUT SCREENS
Welcome Page

Steps:
1. Create new account by clicking on
New Account link:
Leaving any field blank:

On submitting the form with correct


information:
If you have already an account you can check
balance, deposit, with-draw, money transfer
and can close your account by clicking on
respective link.
2. Account holder can check balance:
On filling Incorrect Detail:

On filling Correct Detail:


3. Can deposit money:

On filling Incorrect Detail:


On filling correct Detail:

4. Can withdraw money:


On filling Incorrect Detail:
On filling Correct Detail:

5. Can transfer Money:


On filling Correct Detail:
On filling Incorrect Detail:

6. Can close Account:


On filling incorrect Detail:
On filling Correct Detail:
CHAPTER- 8

CONCLUSION &
SCOPE FOR
FUTRURE
DEVLOPMENT
CONCLUSION

This project developed, incorporated all the activities involved in the browsing centre.

It provides all necessary information to the management as well as the customer with the use of
this system; the user can simply sit in front of the system and monitor all the activities without
any physical movement of the file. Management can service the customers request best in time.

The system provides quickly and valuable information. These modules have been integrated for
effective use of the management for future forecasting and for the current need.

SCOPE FOR FURTHER DEVELOPMENT

The system can be designed for further enhancement .This could also be developed according to
the growing needs of the customer.
BIBLIOGRAPHY

 For Java installation


 https://www.java.com/en/download/
 For Oracle DataBase installation
 http://www.oracle.com/index.html
 Reference websites
 www.javatpoint.com
 www.w3schools.com
 http://www.tutorialspoint.com/java/index.htm
 Reference Books
 Thinking in java
 OCJP Certified Programmer for Java
 Learn Java in Eassy Steps
 Complete reference Java

You might also like