MOBILE BANKING SYSTEM

A PROJECT REPORT

Submitted by A. JAGADEESH ARUMUGAM (41501104028)

in partial fulfillment for the award of the degree of BACHELOR OF ENGINEERING in COMPUTER SCIENCE AND ENGINEERING

S.R.M. ENGINEERING COLLEGE, KATTANKULATHUR-603 203, KANCHEEPURAM DISTRICT.

ANNA UNIVERSITY : CHENNAI - 600 025

MAY 2005 BONAFIDE CERTIFICATE

Certified that this project report " MOBILE BANKING SYSTEM " is the bonafide work of "A. JAGADEESH ARUMUGAM (41501104028)" who carried out the project work under my supervision.

-1-

Prof. S.S. SRIDHAR, M.S., (Ph.D) HEAD OF THE DEPARTMENT COMPUTER SCINECE AND ENGG S.R.M.Engineering College Kattankulathur - 603 203 Kancheepuram District

Ms. P. GIRIJA, B.E, SUPERVISOR Lecturer COMPUTER SCINECE AND ENGG. S.R.M.Engineering College Kattankulathur - 603 203 Kancheepuram District

ACKNOWLEDGEMENT Our foremost and profound gratitude to our Director Dr.T.P.Ganesan and our Principal Prof.RVenkataramani for making available to us state-of-art laboratories and a highly equipped library for our research and the successful implementation of our project.

Our sincere thanks and respects to Prof.S.S.Sridhar, M.S.,(Ph.D),Head of the Department of Computer Science and Engineering Department for giving us the freedom to explore and for providing us with a highly qualified team for guiding us in our project.

-2-

Our heartfelt gratitude to our Project coordinators Mrs.M.Pushpalatha, M.E. and Mrs.C.Lakshmi, M.E., (Ph.D). for guiding us in choosing our area of interest and enabling an in-depth research of the project by sharing their expertise.

We would like to thank our Project guide Ms.P. Girija, B.E. for her constant guidance and encouragement in helping us to overcome the obstacles in our project and for putting us on the right track whenever necessary.

ABSTRACT Now a days, the bank customer who is everything based on the bank and can‟t able to involve in the bank process. This Problem can be solved through Mobile System. The title of the project is MOBILE BANKING SYSTEM. The main aim of my project is to computerize the Bank Process, which is used to reduce the customer transaction time as well as user can able to access from anywhere. It provides a system for the user to access his bank account through his Mobile. The system also enables the user to pay his bill through the Mobile as well as pay for some other services, which he has availed. The Mobile banking system is not just for payment but a user of the system can also transfer money through the system. He can receive from his bank or from his business associates or friend or other person who is also connected to the system. TABLE OF CONTENTS CHAPTER NO. TITLE ABSTRACT LIST OF TABLES LIST OF FIGURES 1. INTRODUCTION 1.1About the Project 2. SYSTEM REQUIREMENTS 2 1 PAGE NO. i xv xi

-3-

2.1 2.2 2.3

Hardware Requirements 2 Software Requirements Required tools 3 2.4.Installation procedure SYSTEM ANALYSIS 6

2

4

3. 3.1 3.2 4. 4.1 4.2 4.3 5.

Existing System Proposed System SYSTEM DESIGN 7

6 6

Project description 8 Data Flow Diagram 11 Table Structure 15 SYSTEM TESTING AND IMPLEMENTATION Testing Fundamentals Implementation 18 21

18

5.1 5.2

6. 6.1 6.2 6.3 7. 7.1 7.2 8.

MAINTENANCE 22 Corrective Maintenance Adaptive Maintenance Enhance Maintenance APPENDIX 24 List of forms List of codings USES 53

22 23 23

24 39

9.

CONCLUSION 53 REFERENCES 54

10.

-4-

1.INTRODUCTION

1.1 ABOUT THE PROJECT Mobile banking enable customer to access the information from his personal mobile and can able to view his account details. This system also used to transact money to another client through the keypad of the mobile itself. The user can also verify his Cheque and demand draft details if another person may pass a demand draft or Cheque.

The Mobile Banking System runs in a Mobile Browser (Nokia Simulator). The software consists of two parts viz, the server part and the client part. The server part is present in Mobile Banking server in the form of Downloaded Application module. The client part is present at each client‟s mobile the server and the client are connected to each other over the Internet using WAP technology.

Mobile Banking provides a system for the user to access his bank account through his Mobile. The system also enables the user to pay his EB Bill, Telephone Bill through his mobile as well as pay for some other services, which he has availed. The Mobile banking system is not just for payment but a user of the system can also transfer money to another account holder through this system. He can receive from his bank or from his business associates or friend or other person who is also connected to the system.

2.SYSTEM REQUIREMENTS

2.1 HARDWARE REQUIREMENTS: Processor Clock Speed PENTIUM III 667 MHz

-5-

Servlets 2.0 Nokia Browser4.968 Bytes 32 MB Super Video Graphics (SVGA) Logitech Serial Mouse Adapter Standard 104 Enhanced Keyboard 2.WML.1.WML-Script Server side scripting JSP.011.30 Nokia Simulator 4.2 SOFTWARE REQUIREMENTS: Web Server Browser Database Language Client side scripting Apache Tomcat Server 4.0 MS Sql-Server J2EE HTML.RAM Hard Disk Cache Memory Virtual Memory Display Card Mouse Keyboard 128 MB 4 GB 11.0 Nokia 5100 Sdk Nokia WAP Gateway SOFTWARE DESCRIPTION SOFTWARE ARCHITECTURE -6- .3 REQUIRED TOOLS: Nokia Mobile Internet Toolkit 4.

Copy and paste all the html and asp files into the folder Net Bank. and Win98 or Windows NT environment. Create a Virtual directory named as bank in Public Web Server. -7- .4 INSTALATION PROCEDURE: Install soft wares such as Public Web Server. Create Data Source Name as bank in ODBC connectivity.The following diagram illustrates the links between various components involved in this system: CLIENT SERVER HTML AND JAVASCRIPT SEVLETS JAVA DATABASE In the following sections the salient features of each of their components are discussed: Java JavaScript HTML Servlets JDBC 2. MS-SQL SERVER.

0 Nokia Mobile Internet Toolkit (NMIT) consists of a set of editors for creating various types of mobile Internet content. NMIT 4. NMIT enables the display of this content on Multiple supported phone SDKs.0. which has been newly redesigned to Focus primarily on content authoring futures and to support multiple active phone SDKs. WAP Server Simulator. such as the Nokia 5100 content authoring SDK as well As the Nokia Mobile Browser Simulator (NMB)”concept” phone SDK. NMIT detects installed.0 defers considerably from the previous NMIT 3. Nokia Mobile Internet Toolkit (NMIT) 4. newly renamed Nokia WAP Gateway Simulator (NWGS) -8- . NMIT provides a DTD manager through which you can import new DTDs for use by NMIT editors. You can display Content you Author on any supported phone SDK by simply clicking a Show button within an editor. Most NMIT editors are used for creating XML-based content types defined by Document type definitions (DTDs). These editors employ content validation to check Content against a DTD.html in the address bar and follow the page accordingly. and they provide futures for easily selecting elements and Attributions for insertion based on current cursor position.Open the browser and type http://localhost/bank/Myhome. In addition. Phone SDKs are installed separately.0 Nokia 5100 SDK Nokia Mobile Internet Toolkit 4.1 versions in that the following NMIT 3.1 components are no longer included with NMIT and are now available as Separate downloads from forum Nokia. supported phone SDKs at startup and lists these in its SDK Control Panel. ABOUT THE NOKIA SIMULATOR: Nokia Simulator: Nokia Mobile Internet Toolkit 4.

1 Set of tab views for viewing current. This redesign of NMIT provides several benefits such as the ability to: Launch multiple phone SDKs and multiple instances of most individual phone SDKs. View panels WIM and WTLS views are absent from the diagnostic views of Phone SDKs that do not support these functions. Bookmarks. the NMIT 3. and WIM information is not included in NMIT 4. In additional. which are Used for diagnostic monitoring of the interaction of phone SDKs with the Network. have been integrated within each phone SDK and made accessible through a window attached to each running SDK instance.0. a single user WAP gateway. WTLS. session. Launch diagnostic views from running individual phone SDKs with targeted individually to phone SDKs capability. DRM (Digital Rights Management). -9- . This tool for supplementing the DTDs used by NMIT‟s XML-based editors is an integral part of NMIT.0. This tool for managing phone SDKs is an integral part of NMIT. Newly renamed Nokia Mobile Browser (NMB) Simulator 4. Send content simultaneously to multiple instances of running phone SDKs. for Example. not integrated with NMIT. This tool. DTD manager. is a separate application. These views. Associate file types with NMIT editors during NMIT installation so that doublechecking a file of That type opens the file in an NMIT editor NMIT enables you to launch the following tools: SDK control panel.Nokia Mobile Browser (NMB) 3.01 device simulator.

There are chances for changing the scheme report and do malpractice. 3. It is time consuming. The manual system is prone to error. It is the process of gathering and interpreting facts. Persons who are present in different part of the world cannot transact efficiently. diagnosing problems and using the information to recommend improvements to the system. less accuracy and less productivity. This system involves a lot of manual entries with the applications to perform the desired task. Less control of funds Time delay between the payment and its receipt. SYSTEM ANALYSIS System analysis focuses on specifying for what the system or the application is required to do. Increasing labors and hence errors.3. Usage of papers in the payment process leads to less efficiency. terminals and storage system). Increasing expenditure for papers shuffling and storage. 3. It is very difficult for a person to produce the report.2 PROPOSED SYSTEM: .1 EXISTING SYSTEM: The existing system is the manual system. It allows the individuals to see the logical elements (what the system should do) apart from the physical components it uses (computers.10 - .

Dozens of companies are in the race to convince bankers and merchants that a pot of gold awaits those who conduct their business on the Internet.The proposed system is designed to eliminate the drawbacks of the existing system. Already the business have to global with the coming of Internet. Hence. It comes as no surprise to one that when everything is being converted to electronics then how business and banking can be left behind. The primary aim of the new system is to speedup transactions. Everyone wants to lead the group. It is designed by keeping to eliminate the drawbacks of the present system in order to provide a permanent solution to the problems. Design is the first step in the development of any system or product. Design is much more creative process than analysis. System can be defined as the “a set of fact. 4. Since the advent of banking services in the Middle Ages bank customers have used paper-based instrument to move money between accounts. principles. The primary objective is to identify user requirements and to build a system that satisfies these requirements. no more the individual aims at the local market is also just a click of button away. electronics messages moving through private networks have largely replaced paper for most of the messages exchanged among banks each day MOBILE BANKING is the first step in electronic replacements for traditional forms of payments in the banks and among users. Design can be defined as “the process of . everyone is trying to make the best use of Internet. In this fast race of business and moneymaking. The report is prepared for the schemes and implemented by the concerned officials. no country. SYSTEM DESIGN The word system is possibly the most overused and abused term in the technical lexicon. rules etc. In the past few years. no company and no individual want to fall back.11 - . classified and arranged in an orderly form so as to show a logical plan linking the various parts” here the system design defines the computer based information system.. Now.

Understanding how the new system will work. In Net Bank. forms which has inputs in the system is discussed below: . It specifies the manner in which data enters the system for processing it can ensure the reliability of the system and produce reports from accurate data or it may results in output of error information. and Bill Payments are done only in offline with the help of bank staffs. 4. such that the user can retrieve the records in a user-friendly manner and it is very easy to navigate to the corresponding information. Customer does not view his account details such that what is the closing balance and the statements of transactions. Cheque Status Inquiry.12 - . Banker‟s Cheque Request. Understanding what the new system will do. when it was maintained manually.1 PROJECT DESCRIPTION: INPUT DESIGN: Input design is the bridge between users and information system. In Banking System. 2. Cheque Book Requests. Finding out what the system does now. So as to avoid these difficulties. Account Statement Inquiry. It involves four major steps they are: 1. Fund Transfer.applying various techniques and principles for the purpose of defining a device. it involves lot of inconveniences to customer when transact the money from one person to another person. Understanding how the system is working now. Therefore the manual process operation has been changed into GUI based environment. Account Balance Inquiry. a process or a system in sufficient detail to permit its physical realization”. 3. a new system was designed to keep these requirements in mind. and 4. Demand Draft Request.

Fund transfer: The user must enter the account number to whom he transfers the amount and the amount to be transferred is entered. consumer no for EB. age. Login form: The customer gives the inputs for their login into the system. Account Statement Inquiry: . Bill Payment: The customer must enter account no. After giving these inputs the amount will be subtracted from his account. phone. he enters into the system. e-mail id etc. name. accbranch. city. sex. custid. password. insurance and amount to be paid.Registration Login Fund transfer Bill payment Deposit Withdraw Account statement inquiry DD. If they are valid.13 - . address. Banker cheque requests Registration form: New customer gives their information like. Inputs are customer id and password. cellular.

Account Statement Inquiry which is used to display the account details such as account holder name. opening balance. which is used to display the account balance such as total balance. beneficiary name. then it will display the account details of that specific period. valdate. Bill payments. cheque Book requests are used to display whether the customer‟s requests are accepted or denied after checking the validations. Funds transfer. The main points on designing an output are deciding the media. They also used to provide a permanent copy of these results for later consultation / verification.14 - . and dd or bc amount. Then Mobile banking system checks the minimum balance of the customer. OUTPUT DESIGN: Outputs from the computer system are rewired primary to communicate the results of processing to the uses. narration. DD. Banker‟s cheque. DD. The user must enter the starting date and ending state. It displays the current date. Account Balance Inquiry. chddno. Bank account closing. and overdraft and credit balance. current date transactions and closing balance. The user must enter the accno. are simple to read and interpret. unclear funds. accno. which is used to display the bank details of the current day. . designing layout and report to be printed. Banker’s Cheque Request: This form is used to the customers for their corresponding requests. According the requirements of the system. transdate. it accepts the requests and provides the dd or banker cheque.This form is used to display the account details of current or specific period. The outputs are designed from the system. If valid. various types of outputs are as desired and designed as follows.

2 DATA FLOW DIAGRAM: A DFD is a logical model of the system. Specific period report gives the transactions details between the starting date and ending date. month wise and year wise.15 - . Customer Reports: Current period report gives only the last 10 transactions details from the current date to a particular customer. transactions details and closing balance for all the customers to a specific date that is given as input. The appraisal reports are prepared for the customers and bank. which are specified as inputs.REPORT DESIGN: Mobile Banking System supports and improves many of the core functionality of the organization ie. Banks and also helps in quick easy monitoring of the reports that have been automatically generated as and when the user performs some transactions in the system. The model does not depend on the hardware. Year report provides the opening balance. software and data structures of file organization. Month report provides the opening balance. according to the periods like current period. Bank Reports: Day report provides the opening balance. 4. transactions details and closing balance for all the customers to a specific year that is given as input. It tends to be easy for even non-technical users to understand and thus serves as an excellent communication tool. . specific period. day wise. transactions details and closing balance for all the customers to a specific month and year that are given as inputs.

16 - . Then the processing is exploded into major processes and the same is depicted as level one DFD. This is often referred to as zero level DFD.DFD can be used to suggest automatic boundaries for proposed system at pa very high level. the entire system is shown as a single logical process clearly identifying the sources and destination of data. Personal Details: Field Name Data Type Accno Cid Pass Fname Lname Dob Sex Madd Pin1 Con1 Toff Tres Fax Pager Mob Padd Pin2 Con2 Tele Mstatus Dep Edu Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Description Account number Customer id Password First name Last name Date of Birth Sex Mail address Pincode1 Country1 Telephone office Telephone residence Fax no Pager no Mobile no Permanent Address Pincode2 Country2 Telephone Maritial Status Dependents Education Constraints Primary key Not null Not null Not null Not null Not null Not null Not null Not null Not null Not null Not null -----Not null Not null Not null Not null Not null Not null Not null Not null Not null .

Occu Proff Emp Grade Income Asset Vech Res Text Text Text Text Text Text Text Text Occupation Profession Employed with Grade Income Assets Vechicles Residence Not null Not null Not null Not null Not null Not null Not null Not null Introducer Details: Field Name Accno Cid Inname Inacc Copy Data Type Number Number Text Number Text Description Account number Customer id1 Introducer‟s name Introducer‟s account no Attachments Constraints Reference Key Not null Not null Not null Not null Account Type: Field Name Accno Acctype Openamt Data Type Number Text Text Description Account number Savings / current account Opening Amount Constraint Reference key Not null Not null Transaction Details: Field Name Encode Accno Data Type Number Number Description Entry code Account number Constraints Not null Reference key .17 - .

Acctype Transdate Transtype Chddno Valdate Payer Depoamt Payee Withamt Balance Text Text Text Number Text Text Number Text Number Number Account type Transaction date Transaction type Cheque / DD number Value date Payer Deposit amount Payee Withdraw amount balance Not null Not null Not null ------Not null ------------------------Not null Cheque Details: Field Name Encode Accno Acctype Transdate Transtype Chddno Valdate Payer Depoamt Payee Withamt Status Data Type Number Number Text Text Text Number Text Text Number Text Number Text Description Entry code Account number Account type Transaction date Transaction type Cheque / DD number Value date Payer Deposit amount Payee Withdraw amount Cheque status Constraints Not null Reference key Not null Not null Not null Not null Not null ------------------------Not null Demand Draft Details: Field Name Fraccno Ddno Data Type Number Number Description From account number Demand draft number Constraints Reference key Not null .18 - .

TESTING FUNDAMENTALS .Bename Ddamt Appdate City State Text Number Text Text Text Beneficiary name Demand draft number Application date City State Not null Not null Not null Not null Not null Banker‟s Cheque Details: Field Name Fraccno Ddno Bename Ddamt Appdate Data Type Number Number Text Number Text Description From account number Demand draft number Beneficiary name Demand draft number Application date Constraints Reference key Not null Not null Not null Not null Cheque Book Details: Field Name Accno Reqdate Chbookno Stno Endno Refno Data Type Number Text Number Number Number Number Description Account number Requested date Cheque book number Starting number Ending number Reference number Constraints Reference key Not null Not null Not null Not null Not null 5.1.19 - .SYSTEM TESTING AND IMPLEMENTATION 5.

• • The testers import the same project or projects that the developers use. . Testing objectives: There are several rules that can serve as testing objectives. Associating the application with a project can be useful during the testing phase. or source). A combination of the second and third options works best. Create a project based on the development project but customized for the testers (for example. The increasing visibility of S/W as a system element and the costs associated with a S/W failure are motivating forces for well planned. Though the test phase is often thought of as separate and distinct from the development effort--first develop. We can create actions to automatically run test scripts or add script types and make them dependent on the modules to test. as well. who import it. There are at least three options for integrating Project Builder into the test phase: • Testers do not install Project Builder.20 - . design and coding. specs. and then test--testing is a concurrent process that provides valuable information for the development team.Software testing is an important element of S/W quality assurance and represents the ultimate review of specification. whose process remains unchanged. it does not include support documents. through testing. They are: Testing is a process of executing a program with the intent of finding an error. use Project Builder functionality to compile and source-control the modules to be tested and hand them off to the testers.

e. The .. so unit test can take place in a variety of environments and on a variety of platforms. it will uncover errors in the software. the module. If testing is conducted successfully according to the objectives stated above. that performance requirements appear to have been met. if functional units organize the project. The project or projects can also be exported. Also.A good test case is one that has a high probability of finding an undiscovered error. During unit test. A successful test is one that uncovers an undiscovered error. Unit test considerations: The tests that occur as part of unit testing. testers can use the same project or projects as the developers. The unit testing is always white-box oriented and the step can be conducted in parallel for modules. testing demonstrates that software functions appear to the working according to specification.21 - . or separate projects have been created for functional units. OBJECT ORIENTED TESTING: UNIT TESTING: Unit testing focuses the verification effort on the smallest unit of S/W design i. The module „interface‟ is tested to ensure that information properly flows into and out of the program unit under test.

. and returns. The objective is to take unit-tested modules and build a program structure that has been dictated by design. reviewed and verified for correct syntax. both are S/W that must be written but that is not delivered with the final S/W product. and is found successful. The Unit Test is carried out in this project. After the source level code has been developed. passes such data to the module to be tested.22 - . Unit test procedures: Unit testing is considered an equivalent to the coding step. The drivers and scrubs represent overhead i. Finally. all „error-handling paths‟ are tested. In most applications. may do minimal data manipulation. unit test case design begins since a module is not a stand alone program.e. „driver‟ and/or „stub‟ S/W must be developed for each unit test. „Boundary Conditions‟ are tested to ensure that the module operates properly at boundaries established to limit or restrict processing. The data is flowing correctly to all part of the project.„local data structures‟ are examined to ensure that data stored temporarily maintains its integrity during all steps in an algorithms execution. prints verification of entry. All „independent paths‟ through the control structures are exercised to ensure that all statements in a module have been executed at least once. If the drivers and the stub are kept simple. A stub or a dummy stub or a dummy subprogram uses the subordinate modules interface.. then the overhead is low. The stubs serve to replace modules that are subordinates called by the modules to be tested. a driver is nothing more than a main program that accepts test case data. and prints the relevant results. INTEGRATION TESTING: Integration testing is a systematic technique for constructing the program structure while at the same time conducting test to uncover errors associated with interfacing.

such as test scripts.Top-down integration: This method is an incremental approach to the construction of program structure. Modifying actions and macros to facilitate testing: If actions specifying "run with debugging" have not already been provided. In addition.IMPLEMENTATION: Once the system has been designed. to the project. Modules are integrated by moving downward through the control hierarchy. Adding test scripts and test data to the project: You may need to add some items. so as to satisfy the user requirements as excepted. 5.2. beginning with the main program module. If the system is approved to be error free it can be implemented. the next step is to convert the designed one in to actual code. or create new actions. you can either modify existing actions to include a debug flag. . Importing the test project and setting up the testing environment: The process of importing a test project and setting up a testing environment is the same as the process for importing a project and setting up the environment for development. Remember that you can automate the running of test scripts just as you can automate actions associated with the modules in your application. you may need to add connection strings to database accounts containing test data.23 - .

Adaptation of software to a new environment may involve moving the software to a different machine. Training was given to end -user about the software and its features. The system has been tested with data and has proved to be error-free and user-friendly. Software product enhancement may involve providing new functional capabilities. any new functional capabilities can be added to the project by simply including the new module in the homepage and giving a hyperlink to that module. The aim of the system illustration was to identify any malfunctioning of the system.1. CORRECTIVE MAINTENANCE: . The enhancement of this project can be accomplished easily. MAINTENANCE : The term “software maintenance” is used to describe the software engineering activities that occur following delivery of a software product to the customer. Maintenance activities involve making enhancement to software products. Implementation includes proper training to end-users.24 - . and upgrading external documents. After the development of the system a demonstration was given to them about working of the system. 6. Problem correction involves modification and revalidation of software to correct errors. That is. The maintenance phase of the software life cycle is the time period in which a software product performs useful work. 6. Initially the system was run parallel with manual system. adapting products to new environments and correcting problems. The implemented software should be maintained for prolonged running of the software.When the initial design was done for the system. improving user display and modes of interaction. Adaptation of this project to a new environment is also performed easily. the department was consulted for acceptance of the design so that further proceedings of the system development can be carried on.

25 - . In case of Fund Transfer. Now provisions are given so that the user can define various changes. the customer/user will recognize additional functions that will provide benefit. 7.3. ENHANCEMENT MAINTENANCE: As software is used.APPENDIX 7. adoptive maintenance has been performed. it is likely that they customer will uncover defects in the software. ADAPTIVE MAINTENANCE: An activity that modifies the software to properly interface with a changing environment. was a difficult task. Such as it designed to accommodate the new change in further. In the case of MOBILE BANKING system can be added new functions such that the user can able to retrieve the information in a user friendly and it will be very helpful for future development. 6. 6. Perceptive maintenance extends the software beyond its original functional requirements. Corrective maintenance changes the software to correct defects.Even with the best quality assurance activities.2. The system has been modified so that various change include to the new system.1 LIST OF FORMS: . that is in earlier system (character based UNIX system) changes are fixed and if any new changes are to be included.

.26 - .

27 - ..

.28 - .

.29 - .

30 - ..

.31 - .

32 - .s .

.33 - .

.34 - .

.35 - .

36 - .7.2 LIST OF CODING: .

cc=DriverManager.paye="". Statement s=cc.odbc.i=0.jdbc.getValue("ano"). /* from */ PreparedStatement p=cc.fraccno).todepamt=0.JdbcOdbcDriver"). int en1=0.getParameter("T2").check=0.type="fund transfer"."sa". . }catch(ClassNotFoundException try{ int ex){} en=0.bal from trans where accno=? ").balance2=0.check1=0. int f=0.forName("sun.createStatement().""). ResultSet rs=p.depamt=0.executeQuery().f3=0.parseInt(famt). String toatype="". String fraccno=(String)session.prepareStatement("select encode. cc=null.no=0. famt=request.sql. famt1=Integer. p.Fund Transfer: <%@ page language="java" session="true" import="java.tobalance=0.setString(1.balance=0.jsp" %> <html> <body background="indtextb. String atype="". String toaccno=request.f2=0.balance1=0.37 int Connection String .getConnection("jdbc:odbc:wallet".topaye="".getParameter("T1").y="".n=0.f1=0.auto=0.*" %> <%@ include file="date1.jpg" bgcolor="#FFFFFF" text="#000000" link="#3366CC" vlink="#666666" alink="#996600"> <% try { Class.

prepareStatement("select encode.next()) { atype=rs1. ResultSet rs1=p1. while(rs1. p5. PreparedStatement p1=cc. while(rs5. } /* toaccno */ PreparedStatement p5=cc.getString("acctype").damt. ResultSet rs5=p5.executeQuery().getInt("damt"). .38 - . while(rs.next()) { en=rs.payee from trans where accno=? "). paye=rs1.getInt("bal").toaccno). p1.prepareStatement("select acctype. balance=rs.executeQuery(). //depamt=rs1.setString(1.getInt("encode").fraccno). int ent1=0. if(ent<en) { ent=en. } } ent=ent+1.int ent=0.next()) { check1=1.setString(1.bal from trans where accno=? ").getString("payee").

} else { balance1=balance-famt1. } } ent1=ent1+1.getInt("damt").ur bal is"+ balance). out.setString(1. tobalance=rs5.39 - . topaye=rs6.executeQuery(). balance2=tobalance+famt1.en1=rs5. PreparedStatement p6=cc. while(rs6. if(check1==1) { if(famt1>balance) { check=1. if(ent1<en1) { ent1=en1. } p6. //todepamt=rs6.toaccno).println("cannot pass.getInt("encode").damt.next()) { toatype=rs6.getString("acctype"). //todepamt=todepamt+famt1. ResultSet rs6=p6. .getString("payee").payee from trans where accno=? ").getInt("bal").prepareStatement("select acctype.

y). p4.setInt(1.?.y).?.?. p2.setString(3. p4.?.balance1).?.setInt(2.?.setString(6. } String sq3=("insert into wdraw values(?. PreparedStatement p2=cc.setString(4. p2.x).type).?.setInt(12. p2.setString(10.?.famt1).} } if(check!=1) { /* Inserting Trans FROM*/ String sq2=("insert into trans values(?.setString(7.x).y).?.y).?.?.?.?. p2.setString(6.?)").paye). j=p2. PreparedStatement p4=cc. p4.?. p4. p2.setInt(2.?.?.n). p4. p2.toaccno). int if(j>0) { f=1.ent).?. p4.setString(5. p2. p4. p2.atype).parseInt(fraccno)).parseInt(fraccno)).prepareStatement(sq3). p4.executeUpdate(). p2.x).Integer.type). p2. p2.?. p4.y).setString(3.Integer.?. p4.prepareStatement(sq2).setInt(13.setString(5.?.setInt(9.famt1).?.setString(8.setString(10. p4.setString(11.setString(4.x).setInt(9. p4. . p2.?.paye). p4.setString(11.n).atype).?.setString(7.balance1). p2.setInt(1.setInt(13.?)").ent).40 - .setInt(12.setString(8.

Integer.?. p8.?.setString(11.?.parseInt(toaccno)).?.parseInt(toaccno)).setString(3.p4.setInt(12. } String sq5=("insert into deposit values(?.setString(6.setString(11.Integer.setInt(12.n).41 - . p8. p7. if(j1>0) { f2=1.?.executeUpdate().n).?.y). p7.prepareStatement(sq5).setString(6.topaye). p8.toatype). p8. int jj=p4. p7.setString(4. p8.?. p7.balance2). p8. p8.?.setInt(1.setInt(9. p7. p8.x).executeUpdate().setString(10.y).setInt(2.prepareStatement(sq4). int j1=p7.setInt(9.topaye).setString(5.setString(5.setInt(2. p7.?.?. PreparedStatement p7=cc. p7.setString(7.?. p7. PreparedStatement p8.type).x).setString(8.y).x).?.toatype). .?. p7.setString(4.?.?.?. p8.setString(10.?.y). if(jj>0) { f1=1.type).?)").famt1). p8.setString(3.setString(14.y).setString(8.?)").?.ent1).famt1).?.setInt(1.x).?.?.?. p7.setInt(13.ent1).y). p8. p8=cc. p7.y). } /* Inserting trans TO */ String sq4=("insert into trans values(?. p7.setString(7.?. p7.

} } }catch(SQLException ex){} %> </BODY> </HTML> Demand Draft <%@ page language="java" session="true" import="java. .*" %> <%@ include file="date1.jsp" %> <html> <body background="indtextb.setString(14. int jj1=p8.balance2).executeUpdate().JdbcOdbcDriver").sendRedirect("http://localhost:8080/examples/jsp/frames/final.sql. } if(f==1 && f1==1 && f2==1 && f3==1) { response.odbc.42 - .jdbc.p8. p8. if(jj1>0) { f3=1.setInt(13.forName("sun.jpg" bgcolor="#FFFFFF" text="#000000" link="#3366CC" vlink="#666666" alink="#996600"> <% try { Class.htm").fraccno).

"sa". String bename=request.f2=0. ex){} int en=0.balance1=0. Statement s=cc. balance=rs.getParameter("T4").next()) { en=rs. } } ent=ent+1.depamt=0.}catch(ClassNotFoundException try{ int f=0. //out.createStatement().parseInt(ddamt). String accno=(String)session.getInt("bal").getParameter("T3").prepareStatement("select encode. PreparedStatement p=cc. String state=request.paye="".no=0.getParameter("T1").auto=0.f1=0.n=0.balance=0. ddamt1=Integer. while(rs. .accno). p. String atype="".getInt("encode"). ResultSet rs=p.println(accno). String appdate=request.getValue("ano").type="dd". cc=DriverManager.i=0. String ddamt=request."").43 int Connection .bal from trans where accno=? ").setString(1.check=0.getParameter("T2"). if(ent<en) { ent=en.getParameter("T5").getConnection("jdbc:odbc:wallet".executeQuery().y="". String city=request. cc=null. int ent=0.

44 - .PreparedStatement p1=cc.prepareStatement("select acctype. while(rs2.setString(1. } else { balance1=balance-ddamt1.getInt("ddno").ur bal is"+ balance).executeQuery("select * from dd"). /* ddno increment*/ if(check!=1) { ResultSet rs2=s. while(rs1. ResultSet rs1=p1. depamt=rs1.getInt("damt").getString("acctype").next()) { no=rs2.executeQuery().damt. paye=rs1. out. if(auto<no) { auto=no.getString("payee").next()) { atype=rs1. } p1. } if(ddamt1>balance) { check=1.accno).payee from trans where accno=? ").println("cannot pass. } .

p3.atype).executeUpdate(). if(j>0) . PreparedStatement p3=cc.?.?)"). p2.paye).city).?. p2.?.parseInt(accno)).setInt(1.setString(6.?.auto).setString(8.x). p2. p2.setInt(3.?.?.?.ddamt1).?)").Integer. p3.setString(6.setString(10.?.setString(3. } /* Inserting Trans*/ String sq2=("insert into trans values(?.ent).?. p2.parseInt(accno)).?. p2. p2.prepareStatement(sq2).type). p3. /* Inserting dd*/ String sq=("insert into dd values(?.setString(2.?.?.ddamt1).setInt(1. p3. p3.?.state).appdate).setString(7.bename).setInt(2.setString(7. p2.setString(5.setInt(12. i=p3.setString(4.y).balance1).setInt(9.} auto=auto+1.Integer.?.x).setInt(13. int j=p2.n).45 - . p2.setString(5.prepareStatement(sq). p3. p2.y). p2.executeUpdate().setString(11.y). if(i>0) { f=1.?.setInt(4. PreparedStatement p2=cc.?. p3. p2. p2.

p4. p4.setString(5.?.parseInt(accno)). p4.y).setString(4.prepareStatement(sq3).setString(6.?. p4.?.?. } } }catch(SQLException ex){} %> </body> </html> p4.?. int jj=p4.setInt(12.?)"). p4.setInt(13.?. } if(f==1 && f1==1 && f2==1) { response. p4.executeUpdate(). if(jj>0) { f2=1.?. p4.type).?.?.setString(7. p4.x).setString(14.y).y).sendRedirect("http://localhost:8080/examples/jsp/frames/final.46 - .ent).?.setString(10.setString(11.atype). p4.setInt(9.setString(8.Integer. .y).setString(3. PreparedStatement p4=cc.ddamt1). p4. p4.htm").balance1). p4.{ f1=1.n).?.setInt(2. } String sq3=("insert into wdraw values(?. p4.setInt(1.paye).?.x).

*" %> <%@ include file="date1.wdamt=0.typ2="".K1=0.amt=0.tdat1="". String typ=request.getParameter("T1").odbc.Specific Period: <%@ page language="java" session="true" import="java.j=1.d2="".sql.balance=0.JdbcOdbcDriver"). }catch(ClassNotFoundException try{ String d="".k=1.jpg" <% try { Class.i=0.equals("Fund Transfer")) {typ1="fund transfer".getParameter("D1").check=0.getParameter("T2").typ1="".ii=0. String d1=" ". } . String accno=(String)session.equals("Demand Draft")) {typ1="dd".amt1=0.47 ex){} bgcolor="#FFFFFF" text="#000000" link="#3366CC" vlink="#666666" alink="#996600"> .getValue("ano"). } if(typ.equals("Bankers Cheque")) {typ1="cheque".k=1. } if(typ.int debit=0. if(typ.deamt=0.tdat="".forName("sun. int j=0.jj=0.j=1.k=0.k=1.j=1. String en=request. String st=request.jdbc.jsp" %> <html> <body background="indtextb.

createStatement().getInt("amount").executeQuery(). Statement s=cc.if(typ.println("<b>"+"<pre>"+" Date: "+x+" Balance:"+amt+"</pre>"+"</b>").executeQuery().prepareStatement("select bal from trans where accno=? "). PreparedStatement p=cc. of out. while(rs.k=1. if(j==1) { out.next()) { amt1=rs3."sa". } PreparedStatement p3=cc.println("<BLOCKQUOTE>"+"<table border=2 bordercolorlight='#008000' bordercolordark='#008000' cellspacing='0' bgcolor='#FFFFCC' bordercolor='#000000' Current Opening amount from curr where cellpadding='2'>"+"</BLOCKQUOTE>").setString(1. out. while(rs3.prepareStatement("select accno=? "). p3. ResultSet rs=p. cc=DriverManager.getInt("bal").accno).setString(1.println("<b>"+"<pre>"+" Balance:"+amt1+"</pre>"+"</b>").equals("Bill Pay")) {typ1="billpay".accno).getConnection("jdbc:odbc:wallet".48 - . } out.println("<th>Date</th>"+"<th>Narration</th>"+"<th>Date . p.j=1. ResultSet rs3=p3.next()) { amt=rs.""). } Connection cc=null.

getInt("bal").getInt("wamt").indexOf(" "). out. while(rs1.getInt("damt").println("<td>"+wdamt+"</td>").println("<td>"+typ1+"</td>").executeQuery(). out.println("<tr>").setString(1.setString(4. PreparedStatement p1=cc.println("</tr>").bal from trans where accno=? and tdate>=? and tdate<=? and type=? "). out.next()) { tdat=rs1. ResultSet rs1=p1. balance=rs1.type.getString("tdate"). deamt=rs1. check=1. } out.wamt. out. out. p1. jj=tdat.setString(3.println("<td>"+tdat1+"</td>").damt.en).Transaction</th>"+"<th>Debit</th>"+"<th>Credit</th>"+"<th>Balance</th>"). out.println("<td>"+tdat1+"</td>"). p1. wdamt=rs1.st).accno).jj). out.println("<td>"+deamt+"</td>").prepareStatement("select tdate. } else { .println("</table>"). p1.setString(2. tdat1=tdat.49 - .typ1).substring(0. out.println("<td>"+balance+"</td>"). p1.

PreparedStatement p2=cc.println("</table>"). out. ResultSet rs2=p2.getString("tdate").getInt("damt").jj).println("<td>"+tdat1+"</td>"). .substring(0. tdat1=tdat.indexOf(" "). out. out.println("<BLOCKQUOTE>"+"<table border=2 bordercolorlight='#008000' bordercolordark='#008000' cellspacing='0' bgcolor='#FFFFCC' bordercolor='#000000' cellpadding='2'>"+"</BLOCKQUOTE>").setString(1. out. out.next()) { tdat=rs2. jj=tdat. p2. p2. while(rs2. out.getString("type").damt.prepareStatement("select tdate.bal from trans where accno=? and tdate>=? and tdate<=?").executeQuery().println("<th>Date</th>"+"<th>Narration</th>"+"<th>Date of Transaction</th>"+"<th>Debit</th>"+"<th>Credit</th>"+"<th>Balance</th>").setString(2.type. balance=rs2.println("</tr>").println("<td>"+balance+"</td>").println("<tr>").getInt("bal").en).println("<td>"+tdat1+"</td>"). p2. typ2=rs2.println("<td>"+wdamt+"</td>"). wdamt=rs2.wamt.setString(3.out.50 - .getInt("wamt"). deamt=rs2.st). out. } out. out.println("<td>"+deamt+"</td>"). out. } check=1.println("<td>"+typ2+"</td>").accno).

CONCLUSION In the present situation where the technology is the buzzword and has revolutionized the way we work and live.println("NO"+typ1+" TRANSACTION IS DONE "). we would be the losers if we do not keep up with the changing world. . cost. } } catch(SQLException es){} %> </body> </html> 8.USES OF THIS MOBILE BANKING SYSTEM: Balance Enquiry Statement Enquiry Fund Transfer EB. it makes a world of difference and a whole of sense to break-up from the age old work culture and embrace the effective. and time saving ways of looking and working at things.if(k==1 && check==0) { out.println("NO TRANSACTION IS DONE IN THE SPECIFIED DATE ").51 - . K1=1. Moreover. } if(check==0 && K1==0) { out. Telephone Bill Payment DD/Cheque Request 9.

Nanda . 10.Arnold . HTML 3. JAVA2 The Complete Reference J. An Introduction to HTML James Jaworski . Banks and also helps in quick easy monitoring of the reports that have been automatically generated as and when the user performs some transactions in the system. Mastering JavaScript John December and Mark Ginsburg.This is precisely where the E-MONEY SYSTEM fit into place.REFERENCES Herbert . Credit Card Banking . TATA InfoTech P.52 - .C. Using such a system helps the organization in minimizing the time consumed in fulfilling the day-to-day functionality‟s and cutting down the expenses incurred on the same.2 UNLEASED JAVA handbook.e. E-MONEY SYSTEM supports and improves many of the core functionality of the organization i.

Sign up to vote on this title
UsefulNot useful