Banking on Mobile

55
INTRODUCTION 1.1 About the Project The main theme of the project (Banking on Mobile) is to facilitate the mobile users to utilize the services provided by bank. The mobile bank covers all the activities related to bank like open account, balance check, order cheque book, money transfers, stop the cheque and more transactions. Apart from the above specified services, the system has to provide many more facilities to allow mobile user to use online services through their handset. 1.2 Existing System with Limitations The existing system is total time taking process. There are many existing services provided to people such as net banking, e- seva etc. Where the people available with these existing services by accessing internet or directly going to the setup centers. Limitations: 1)No Portability. 2) Cannot be immediately accessed. 3) No security (Password hacking may be done). 1.3 Proposed System with Features The implementation of the proposed system is Web based System. This automated system allows the users to access all bank activities 1

description

CSE final Project

Transcript of Banking on Mobile

Page 1: Banking on Mobile

INTRODUCTION1.1 About the Project

The main theme of the project (Banking on Mobile) is to facilitate the mobile users to utilize the services provided by bank. The mobile bank covers all the activities related to bank like open account, balance check, order cheque book, money transfers, stop the cheque and more transactions. Apart from the above specified services, the system has to provide many more facilities to allow mobile user to use online services through their handset.

1.2 Existing System with Limitations

The existing system is total time taking process. There are many existing services provided to people such as net banking, e-seva etc. Where the people available with these existing services by accessing internet or directly going to the setup centers.

Limitations:1)No Portability.2) Cannot be immediately accessed.3) No security (Password hacking may be done).

1.3 Proposed System with Features The implementation of the proposed system is Web based System.This automated system allows the users to access all bank activities through their mobiles.

Advantages:1) Any time any where access.2) Provides secured access to the system.3) Provides device portable solution to access services.

1

Page 2: Banking on Mobile

2

Page 3: Banking on Mobile

2. SYSTEM ANALYSIS

2.1 Requirements:

2.1.1 Software & Hardware Requirements:

Software Requirements:

Hardware Requirements:

3

Presentation Layer HTML, JavaScript and MIDLETS

Network Layer TCP/IP

Web Server Layer Tomcat 5.5.9

Technologies Servlets, JSP and JDBC

Database Oracle

Language Specification J2EE 1.5 and J2ME

Operating Systems Windows Xp or above version

1. Pentium4 or better

2. 256MB RAM minimum (recommended)3. 800 * 600 resolution; 16 bit color (1024*768, 24 bit is recommended)

Page 4: Banking on Mobile

2.1.2 Functional & Non-Functional Requirements:

Functional Requirements:

Functional requirements are J2ME wireless toolkit, Java development kit

in order to execute this project.

Tomcat web server.

Non-Functional Requirements: Maintainability

Reliability

4

Page 5: Banking on Mobile

5

Page 6: Banking on Mobile

2.2 Modules & Description:

Banking on Mobile aims to make the bank transactions easy and fast using mobile.

Using this application you can do any transactions through your mobile easily

without going to bank.

Modules:

This system is aimed to give a better out look to the user interfaces and to

implement all the banking transactions like:

Open Account.Change password.Transfer Amount.Bank Information.Order daft.Order cheque book.

Stop Cheque Payment.

First, the user needs to sign up with the system. After login, using his userid and

password, the user can do any transactions or access the system. For sign up the

user needs to provide his personal information like name, address, phone no, email-

id, mobile no, etc.

6

Page 7: Banking on Mobile

Open Account

Here user can create an account. In order to use the Banking services on the

mobile.

Change PasswordIn this user can change the password for his convenience.

Transfer Amount

The system will transfer the amount from one account to another. Here the user

needs to enter both the account numbers from and to account number. He needs to

enter the pin, userid and the amount to be transferred. Both accounts will get

updated during the transaction.

Banking Information

By this user can be able to get the bank information like establishment

date and other information to the user.

Order Draft: In this section user can send a Demand draft to his destination one by

Entering few details.

7

Page 8: Banking on Mobile

Order Cheque book

Cheque books will be issued to an account holder whenever he requests and it

should be on the basis of the minimum balance. The chequebook number generated

by the system must be unique.

Stop Cheque Payments

Using this option an account holder can add a stop on particular chequenumber.

The withdraws on a particular Cheque will be stopped upon the request made by the

customer.

Here administrator will approve deposits of different users. When the bank will get

the Cheque/DD of amount to be deposited, the administrator will approve the deposit

and the amount will be added to the respective account.

8

Page 9: Banking on Mobile

9

Page 10: Banking on Mobile

3. System Design

3.1 Block Diagram

10

User Banking System

Banking Database Server

Page 11: Banking on Mobile

11

Page 12: Banking on Mobile

DATA FLOW DIAGRAM:

A data flow diagram is graphical tool used to describe and analyze movement

of data through a system. These are the central tool and the basis from which the

other components are developed. The transformation of data from input to output,

through processed, may be described logically and independently of physical

components associated with the system. These are known as the logical data flow

diagrams. The physical data flow diagrams show the actual implements and

movement of data between people, departments and workstations. A full description

of a system actually consists of a set of data flow diagrams. Using two familiar

notations Yourdon, Gane and Sarson notation develops the data flow diagrams.

Each component in a DFD is labeled with a descriptive name. Process is further

identified with a number that will be used for identification purpose. The

development of DFD’s is done in several levels. Each process in lower level

diagrams can be broken down into a more detailed DFD in the next level. The lop-

level diagram is often called context diagram. It consists a single process bit, which

plays vital role in studying the current system. The process in the context level

diagram is exploded into other process at the first level DFD.

The idea behind the explosion of a process into more process is that

understanding at one level of detail is exploded into greater detail at the next level.

This is done until further explosion is necessary and an adequate amount of detail is

described for analyst to understand the process.

12

Page 13: Banking on Mobile

Larry Constantine first developed the DFD as a way of expressing system

requirements in a graphical from, this lead to the modular design.

A DFD is also known as a “bubble Chart” has the purpose of clarifying system

requirements and identifying major transformations that will become programs in

system design. So it is the starting point of the design to the lowest level of detail. A

DFD consists of a series of bubbles joined by data flows in the system.

DFD SYMBOLS:

In the DFD, there are four symbols

1. A square defines a source (originator) or destination of system data.

2. An arrow identifies data flow. It is the pipeline through which the information

flows.

3. A circle or a bubble represents a process that transforms incoming data flow into

outgoing data flows.

4. An open rectangle is a data store, data at rest or a temporary repository of data.

13

Page 14: Banking on Mobile

Process that transforms data flow.

Source or Destination of data

Data flow

Data Store

14

Page 15: Banking on Mobile

CONSTRUCTING A DFD:

Several rules of thumb are used in drawing DFD’s:

1. Process should be named and numbered for an easy reference. Each name

should be representative of the process.

2. The direction of flow is from top to bottom and from left to right. Data traditionally

flow from source to the destination although they may flow back to the source.

One way to indicate this is to draw long flow line back to a source. An alternative

way is to repeat the source symbol as a destination. Since it is used more than

once in the DFD it is marked with a short diagonal.

3. When a process is exploded into lower level details, they are numbered.

4. The names of data stores and destinations are written in capital letters. Process

and dataflow names have the first letter of each work capitalized

A DFD typically shows the minimum contents of data store. Each data store

should contain all the data elements that flow in and out.

Questionnaires should contain all the data elements that flow in and out. Missing

interfaces redundancies and like is then accounted for often through interviews.

15

Page 16: Banking on Mobile

SAILENT FEATURES OF DFD’s:

1. The DFD shows flow of data, not of control loops and decision are controlled

considerations do not appear on a DFD.

2. The DFD does not indicate the time factor involved in any process whether

the data flows take place daily, weekly, monthly or yearly.

3. The sequence of events is not brought out on the DFD.

4. TYPES OF DATA FLOW DIAGRAMS:1. Current Physical

2. Current Logical

3. New Logical

4. New Physical

CURRENT PHYSICAL:In Current Physical DFD process label include the name of people or their

positions or the names of computer systems that might provide some of the overall

system-processing label includes an identification of the technology used to process

the data. Similarly data flows and data stores are often labels with the names of the

actual physical media on which data are stored such as file folders, computer files,

business forms or computer tapes.

16

Page 17: Banking on Mobile

CURRENT LOGICAL:The physical aspects at the system are removed as mush as possible so that

the current system is reduced to its essence to the data and the processors that

transforms them regardless of actual physical form.

NEW LOGICAL:

This is exactly like a current logical model if the user were completely happy

with he user were completely happy with the functionality of the current system but

had problems with how it was implemented typically through the new logical model

will differ from current logical model while having additional functions, absolute

function removal and inefficient flows recognized.

NEW PHYSICAL: The new physical represents only the physical implementation

of the new system.

RULES GOVERNING THE DFD’S:

PROCESS:1) No process can have only outputs.

2) No process can have only inputs. If an object has only inputs than it must

be a sink.

3) A process has a verb phrase label.

DATA STORE:17

Page 18: Banking on Mobile

1) Data cannot move directly from one data store to another data store, a

process must move data.

2) Data cannot move directly from an outside source to a data store, a

process, which receives, must move data from the source and place the

data into data store

3) A data store has a noun phrase label

SOURCE OR SINK:The origin and /or destination of data.

1) Data cannot move direly from a source to sink it must be moved by a

process

2) A source and /or sink has a noun phrase land

DATA FLOW:

1) A Data Flow has only one direction of flow between symbols. It may flow

in both directions between a process and a data store to show a read

before an update. The later is usually indicated however by two separate

arrows since these happen at different type.

2) A join in DFD means that exactly the same data comes from any of two or

more different processes data store or sink to a common location.

3) A data flow cannot go directly back to the same process it leads. There

must be at least one other process that handles the data flow produce

some other data flow returns the original data into the beginning process.

18

Page 19: Banking on Mobile

4) A Data flow to a data store means update (delete or change).

5) A data Flow from a data store means retrieve or use.

6) A data flow has a noun phrase label more than one data flow noun phrase

can appear on a single arrow as long as all of the flows on the same arrow

move together as one package.

3.2 Dataflow Diagrams

19

Page 20: Banking on Mobile

Context-Level DFD’s:

Top-Level DFD’s:

20

Page 21: Banking on Mobile

P1: New User Entry

Users

21

P1Administrators

Page 22: Banking on Mobile

P2: Login:

P3: Account Type Specification

P4: New Customer

22

User

P2 System

Users

User P3 Account Type

User P4 Customer

Page 23: Banking on Mobile

P5: Checkbook Issue

P6: StopPayment:

P7: Transaction:

23

Account Type

User P5 Checkbook Details

Customer

User P6

Customer

Stop Payment

Checkbook Details

User P7 Transactions

Customer

Page 24: Banking on Mobile

3.3 ER Diagrams

24

Checkbook Details

Page 25: Banking on Mobile

25

Page 26: Banking on Mobile

3.4 UML Diagrams

Usecase Diagram:

26

Page 27: Banking on Mobile

Sequence Diagram:

27

Page 28: Banking on Mobile

Collaboration Diagram:

28

Page 29: Banking on Mobile

29

Page 30: Banking on Mobile

Deployment Diagram:

4. Data Dictionary

30

Page 31: Banking on Mobile

Data dictionary consists of description of all the data used in the system. It

consists of logical characteristics of current systems data stores including name,

description, aliases, contents and organization. Data dictionary serves as the basis

for identifying database requirements during system design. Data dictionary is a

catalog, a depositary of the elements in the system.

The data dictionary is used to manage the details in the large system.

To communicate a common meaning for all system elements, to document

the future of the system, to locate errors and omission in the system. Data dictionary

contains two types of descriptions for the data flowing through the system attributes

and tables. Attributes are grouped together to make up the tables. The most

fundamental data level is attributes tables are a

Set of data items, data related to one another and that collectively describes a

component in the system. The description of the attributes consists of data names,

data descriptions, aliases, length and data values. The description of data structures

consists sequence relationship, selection relationship, iteration relationship and

operational relationship.

31

Page 32: Banking on Mobile

5. Forms and Sample Coding

This is a menu form in our project:

This is a form for Balance Enquiry. 32

Page 33: Banking on Mobile

33

Page 34: Banking on Mobile

This is a Balance Enquiry Form.

Transferring Amount to a Account.

34

Page 35: Banking on Mobile

Transfer Amount Successful.

35

Page 36: Banking on Mobile

36

Page 37: Banking on Mobile

This is a form to Order a chequebook.

37

Page 38: Banking on Mobile

7. System Testing

38

Page 39: Banking on Mobile

The proposed system is tested parallel with the software effort that consists of its

own phases of analysis, implementation, testing and maintenance

UNIT TESTING: -

Unit testing comprises the set of tests performed by an individual programmer

prior to integration of the unit into a large system.

Coding and debugging -> Unit testing -> Integration testing

There are four categories of tests should be performed.

Functional Testing

Performance Testing

Stress Testing

Structure testing

Function test cases involve exercising the code with the nominal input values

for which the expected results are known, as well as boundary values maximum.

Performance testing determines the amount of execution spent in various

parts of the unit program throughput, response time and device utilization by the

program unit.

Stress tests are those tests designing to initially break the unit.

Structure tests are con concerned with exercising the internal logic of a program and

traversing particular execution path.

Establishing a test completion criterion is another difficulty encountered in the unit

testing of real programs. Unit testing includes.

Statement Converge

Branch Converge

Logical path Converge

39

Page 40: Banking on Mobile

Using Statement Converge programmer attempts to find a set of test cases that will

execute each statement in a program at least once.

Using Branch Converge as the test completion criterion the programmer attempts to

find a set of cases that will execute each branching statement in each direction at

least once.

Logical Path Converge acknowledges that the order in which the branches are

executed during a test is an important factor in determining the test outcome.

INTEGRATION TESTING

Integration testing is of three types:

40

Page 41: Banking on Mobile

Bottom up Integration

Top down Integration

Sandwich Integration

Bottom up integration testing consists of unit testing followed by system

testing. Unit testing has the goal of testing individual modules in the system.

Subsystem testing is concerned with verifying the operation of the interfaces

between modules in the sub systems.

System Testing is concerned with subtleties in the interfaces, decision logic,

control flow recovery procedure, throughput, capacity and timing characteristics.

Top down integration starts with the main routine and one or two immediately

subordinate routines in the system structure. Top down integration requires the use

of program stubs to simulate the effect of lower level routines that are called by

those being tested.

Top down method has the fallowing advantages:

System integration is distributed through the implementation phase. Modules

are integrated as they are developed.

Top-level interfaces are tested first and mist often.

The top-level routine provides a natural test harness for lower level routines.

Errors are localized to the new modules and interfaces that are being added.

Sandwich integration is predominately top down, but bottom up techniques

are used on some modules and sub system. This mix alleviates many of the

problems encountered in pure top down and retains the advantages of the top

down integration at the subsystem and system level.

41

Page 42: Banking on Mobile

8. FUTURE SCOPE OF THE PROJECT

This project is having a broad future scope as it can be extended to provide

services to the customers on line. This system can be implemented for online 42

Page 43: Banking on Mobile

transactions without the intervention of the authority. If it is done so the customer

can access his account status from anywhere in the world. He can transfer money

from his account to another account without going to the bank physically. He can

request for the stop payments over the internet. In other words the future scope is to

provide the service over the internet.

43

Page 44: Banking on Mobile

9. CONCLUSION

This system is implemented fulfilling all the client requirements. The interfaces designed for the system is very user friendly and attractive. It has successfully implemented the banking transactions like new accounts, deposits, withdraws, money transfers, Chequebook issues, stop payments successfully as per the client requirement.

44

Page 45: Banking on Mobile

The system has successfully passed the testing at the development site and is under the testing phase in the presence of the client. The system is waiting for the client response.

10. Bibliography

The Complete Reference Java J2ME 5th Edition, Herbert Schildt.

45

Page 46: Banking on Mobile

Big Java 2nd Edition, Cay Horstmann,John Wiley and Sons.

Java How to program, sixth edition, H.M.Dietel and P.J. Dietel, Pearson Education/PHI.

Websites:

www.java.sun.com/j2me

www.java.sun.com/j2ee

46