Escolar Documentos
Profissional Documentos
Cultura Documentos
Dinesh Diggiwal
SKIT
2. Recognition of need
3. 1.System Scope and Objectives 4. Analysis and Design 4. 1. Entity Relationship Diagram 4. 2. Table Relationship Diagram 4. 3. Data Dictionary 4. 4. Table Design 4. 5. Data Flow Diagram 4. 6. Class Diagram 4. 7. Use Case Diagram 4. 8. Activity Diagram
5. Hardware and Software Specification 6. Test Procedures and Implementation
7. Installation
8. User s Manual
.21 ..22
30
32
9. Administrator s Manual
10. Appendix 11. Bibliography
..
..34
36 38
SKIT
OBJECTIVE
Looking for an online comprehensive solution to manage Internet banking. This will be accessible to all customers who have a valid User Id and Password. This system provides the following facilities: Balance Enquiry Funds Transfer to another account in the same bank Request for cheque book/change of address/stop payment of cheques Viewing Monthly and annual statements.
SKIT
RECOGITION OF NEED
2.1.1 Drawbacks
Customer need to visit to the bank regularly. Customer has to wait in a queue for his turn. Customer needs to get his passbook updated regularly. Customer needs to fill up various form before his query is resolved. Customer has to visit the bank if he needs to update his/her address. For every individual transaction, a new form has to be filled.
SKIT
SKIT
FEASIBILITY STUDY
Here we estimate whether the identified requirements may be satisfied using current software and hardware technologies within the given time and budgetary constraints. The outcome of the research would offer the best available system and help us in the decision of whether to go ahead with sufficient confirmative logics.
1. Customer must have a valid User Id and password to login to the system 2. If a wrong password is given thrice in succession, that account will be locked and the customer will not be able to use it. When an invalid password is entered a warning is given to the user that his account is going to get locked. 3. After the valid user logs in he is shown the list of accounts he has with the bank. 4. On selecting the desired account he is taken to a page which shows the present balance in that particular account number 5. User can request details of the last n number of transactions he has performed. A report can also be taken of this 6. User can make a funds transfer to another account in the same bank. User is provided with a transaction password which is different from the login password.
SKIT
7. User can transfer funds from his account to any other account with this bank. If the transaction is successful a notification should appear to the customer, in case it is unsuccessful, a proper message should be given to the customer as to why it failed. 8. User can request for cheque book/change of address/stop payment of cheques
Client/Server System
In a multi tier client/server system, the client application logic is run in 2 locations. The first location is the thin client (browser), which is run on the user s local computer and is focused on displaying results to the user. The second location is the server where the procedures for business logic are located. Thin client request various functions from the server application, which is itself a multithreaded application capable of working with many concurrent users. The server application is the one that opens connection to the database server and can be running on the same server as the database, or it can connect across the network to a separate server operating as a database server.
Here is a brief introduction of major components of J2EE and their relevance in implementing the proposed system.
1. Servlets: They are networked components that are used to dynamically extend the functionality of web server .they follow request response paradigm. In our project they are used to generate dynamic web pages and to do some instantiation tasks.
2. JSP: They are similar to Servlets and used to generate dynamic web pages. They are more oriented toward look and feel and allow for template based web page generation. They are a mix of HTML, JAVA code and JSP tags. They are used to generate dynamic web pages and to do some middleware tasks. 3. Java Database Connectivity: Provide an easy interface to various standard databases through a common set of APIs. Its value lies in providing common
SKIT
interface to any relational database. Here we are using JDBC for connecting to Oracle through our entity Beans, and to directly fire queries on Database. 4. Java Beans: They specify a component framework for multi-tier distributed applications. They provide standard means to implement complex server side processing logic. Session beans are used to model various business processes. Entity beans are used to model business data of your application. In our project Session Beans are used to model various procedures like order processing, cart simulation. Entity Beans are used to model data about entities in our project.
SKIT
SKIT
10
SKIT
Data Dictionary
Field name Username Password Status Userid Name Address P_Address C_Address PinCode City Telephone AccountNumber Category Balance Cheque Cheque_Date ChequeSeries Statement_Date Particulars Withdrawal Deposit S_Balance ChequeNumber Transaction_Password
Data Type VARCHAR VARCHAR INTEGER INTEGER VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR DOUBLE INTEGER DATE VARCHAR DATE VARCHAR DOUBLE DOUBLE DOUBLE VARCHAR VARCHAR
Description User s name User Password Current status of user Type of user Name of customer Address of customer Permanent address of customer Current Address of customer Pincode Customer city Telephone number of customer Account number held by customer Type of Account Account Balance Status of cheque book(issued or not) Date of cheque book request Cheque book series Date of transaction Details of account whom transfer has been made Amount Withdrawn Amount Deposited Balance after transactiono Cheque number whose payment is to be stopped Transaction Password
11
SKIT
Table Design
Table Name: LOGINTABLE Description: This Table is used to store Login details.
Key
PK
Field Name
USERNAME PASSWORD STATUS USERID
Data Type
VARCHAR VARCHAR INTEGER INTEGER
Length
30 30 4 4
Nullable
NO NO NO NO
Table Name: PERSONAL_DETAILS Description: This Table is used to store User details.
Key
FK
Field Name
USERNAME NAME P_ADDRESS C_ADDRESS CITY PINCODE TELEPHONE
Data Type
VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR
Length
30 30 50 50 20 6 10
Nullable
NO NO NO NO NO NO YES
Table Name: ACCOUNT Description: This Table is used to store account number details.
Key
FK PK
Field Name
USERNAME ACCNUMBER CATEGORY
Data Type
VARCHAR VARCHAR VARCHAR
Length
30 17 10
Nullable
NO NO NO
Table Name: BALANCE Description: This Table is used to store final balance.
Key
FK
Field Name
ACCNUMBER BALANCE
Data Type
VARCHAR DOUBLE
Length
17 8
Nullable
NO NO
12
SKIT
Table Name: REQUESTTABLE Description: This Table is used to store cheque book request.
Key
FK
Field Name
ACCNUMBER CHEQUE CHEQUE_DATE CHEQUE_SERIES
Data Type
VARCHAR INTEGER DATE VARCHAR
Length
17 4 4 10
Nullable
NO NO NO YES
Table Name: STOPTABLE Description: This Table is used to store details of cheque whose payment is to be stopped.
Key
FK
Field Name
Data Type
Length
17 10
Nullable
NO NO
Table Name: STATEMENT Description: This Table is used to store transaction details.
Key
FK
Field Name
ACCNUMBER PARTICULARS WITHDRAWAL DEPOSIT BALANCE STATEMENT_DATE
Data Type
VARCHAR VARCHAR DOUBLE DOUBLE DOUBLE DATE
Length
17 30 8 8 8 4
Nullable
NO NO NO NO NO NO
Table Name: TRANSACTIONPASS Description: This Table is used to store the transaction password.
Key
FK
Field Name
Data Type
Length
17 30
Nullable
NO NO
13
SKIT
14
SKIT
15
SKIT
1 6
SKIT
Class Diagram
17
SKIT
18
SKIT
19
SKIT
Transaction Process
20
SKIT
CLIENT SIDE
Software Internet Explorer 6.0 PROCESSOR Pentium II at 500 MHz RAM 64 MB DISK SPACE 1 GB
SERVER SIDE
Software Web Sphere Application Server V5.0 DB2 V8.1 Pentium IV at 1 GHz 1 GB 1 GB(Excluding Data Size) PROCESSOR Pentium IV at 1 GHz. RAM 512 MB DISK SPACE 1 GB
21
SKIT
INTRODUCTION
Software testing is typical element of software quality assurance. Testing represents the ultimate review of specification, design and coding. After completion of system analysis, design and coding thorough testing of the system was carried out in a systematic approach,
The main objectives of the Testing the system is : To ensure that the operations of the system will perform as per the specification. To make sure that the system meets the user requirements during the operations. To cross check the when current input are feed into the system outputs are correct. To make sure that during the operation incorrect inputs and the outputs will be detected.
22
SKIT
Test Cases
Login Form
Test Case
Input
Expected Output
IB-TC01Login IB-TC02Login
System reads username and Password System rejects invalid username and/ or Password
P User is logged on and system checks for the type of user. P Login page is again loaded. System displays a error notification with the number of chances left with the user.
System accepts username and Password System tests username and Password System loads list of all the accounts held by the customer. System allows user to logout any time from the account Opens the Transaction page System asks customer to choose an account to transfer to and the amount to be transferred System validates the account number System asks customer to enter the transaction
Correct username and Password Incorrect username and Password Choose a particular account.
System displays list of accounts held by the customer. Invalid Password Test Case. System enters the user home page with the menu. System displays Login page Monet transfer page is displayed System displays a request to enter the transaction Password. System displays a notification for invalid account number System displays a notification for
User s Choose Money home page Transfer Money transfer page Money transfer response page Transactio n Enter Account number
P P
IB-TC03Transfer IB-TC04Transfer
23
SKIT
Password
successful transfer. System prints a correct receipt showing amount and correct updated balance; Displays a notification for invalid transaction Password. P
IB-TC05Transfer
System performs a legitimate validates the transaction Password and performs legitimate money transfer. A transfer transaction can be cancelled by the customer any time prior to entering amount A transfer transaction can be cancelled by the customer any time prior to entering transaction Password. System performs a inquiry transaction for balance. System performs opens cheque book request page. System performs the cheque book transaction properly.
P Money Transfer Page Transactio n Password Page User s home page. Press "Cancel" key System displays user s home page. P Press "Cancel" key System displays user s home page. System prints a correct P receipt showing correct balance. Confirmation to put a P request for a cheque book. P Request for cheque book submitted. Rejects request for cheque book; displays a notification a request for cheque book has already been submitted. P
IB-TC06Transfer
IB-TC07Transfer
Choose Request User s home page cheque book Cheque book request page Cheque book request page Confirm request.
IB-TC04Request
Confirm request
System opens Stop payment request page System opens the cheque number page System accepts the cheque number and performs stop payment transaction properly.
Choose Stop User s payment for home page cheque. Stop Choose Single Payment Cheque Page Stop payment Enter correct request cheque number page
System opens the requested page. System opens the requested page. Accepts request for the cheque.
P P
2 4
SKIT
IB-TC08Request IB-TC09Request
System opens the cheque number page System accepts the cheque number and performs stop payment transaction properly.
System opens the requested page. Accepts request for the rage of cheque.
IB-TC10Request
System validates the cheque number System opens the Change address page and performs action to retrieve address System performs the change address transaction properly. System opens the Request Statement page System accepts the number of transaction to be retrieved
Stop payment request page User s home page. Change Address page
Displays a notification for invalid cheque number. Displays Change Address page with the previous address Displays notification for successful address change. Displays Request Statement page. Displays the last n transaction with closing balance and details of the customer. Also displays a link for E-statement. Displays the last n transaction in a new window. Customer is asked to re-enter Password. An appropriate message is displayed and re-entry of the Password is again requested Account is locked
Address
IB-TC02Statement
System retrieves data to display E-Statement. Customer is asked to reenter Password Incorrect re-entry of Password is not accepted Three incorrect reentries of Password result in retaining user account.
Statement page
Login page
Login page
IB-TC04Invalid
Password IB-TC05-
Correct re-entry of
Login
Enter incorrect
Displays user s
2 5
SKIT
Invalid Password
page
IB-TC06Invalid Password
Login page
Password the first time, then correct Password the second time Enter incorrect Password the first time and second times, then correct Password the third time
Account page.
Test Case
Input
Expected Output
IB-TC01AdminLogi n IB-TC02AdminLogi n
System reads username and Password System rejects invalid username and/ or Password
Login page
User is logged on and system checks for the type of user. Login page is again loaded. System displays a error notification with appropriate message. System displays Administrator home page. System displays the Create Account page.
System accepts username and Password System opens the Create Account page. System asks user for details
Login page
Correct username and Password Choose Create Account Enter Username, Password, Confirm Password, City, Pin code, Telephone, Permanent and Current Address. Leave Username field blank Leave
System accepts all the p Details about the customer and displays a notification for successful transaction.
26
SKIT
CreateAcco unt IB-TC05CreateAcco unt IB-TC06CreateAcco unt IB-TC07CreateAcco unt IB-TC08CreateAcco unt IB-TC09CreateAcco unt IB-TC10CreateAcco unt IB-TC11CreateAcco unt IB-TC12CreateAcco unt IB-TC01AddAccoun t IB-TC02AddAccoun t
System validates the entered fields System validates the entered fields System validates the entered fields System validates the entered fields System validates the entered fields
Create Account page Create Account page Create Account page Create Account page Create Account page
Password field blank Leave Permanent Address field blank Leave Current Address field blank Leave City field blank Leave Pin code field blank Leave Telephone field blank Leave Confirm Password field blank Incorrect Confirm Password Enter Username which already exists Choose Add Account Enter Username, Transaction Password; Confirm Password, Account Number, Category, And Initial Balance. Leave Username field blank
enter the password. System prompts to enter the permanent address. System prompts to enter the current address. System prompts to enter the city. System prompts to enter the pin code. System prompts to enter the telephone. System prompts to enter the password. p
Create Account page Create Account Response page Admin Home Page Add Account page
System prompts to confirm the password System displays an notification and ask to choose different username System displays the Add Account page.
System opens the Add Account page. System asks user for details
System accepts all the p details about the new account about the customer and displays a notification for successful transaction.
2 7
SKIT
IB-TC04System validates the AddAccoun entered fields t IB-TC05System validates the AddAccoun entered fields t IB-TC06System validates the AddAccoun entered fields t IB-TC07AddAccoun t IB-TC08AddAccoun t IB-TC01Search IB-TC02Search IB-TC03Search System validates the entered fields System validates username
Add Account page Add Account Response page Admin Home Page Search Page
System opens the Search page System ask to enter Account number System perform balance retrieval
Leave Transaction Password field blank Leave Confirm Password field blank Leave Account Number field blank Leave Initial Balance field blank Enter Username which doesn t exists Choose Search Page Account Number Account Number
System prompts to enter the Account Number. System prompts to enter the Initial Balance. System displays an notification and ask to choose correct username System displays the Search Page System accepts the account number and displays its details System displays correct balance for the specified account number. System prompts to enter the account number System displays a notification to enter correct account number. System displays the Cheque Book Page with the list of all the pending requests System displays the cheque number page System issues a cheque book to the respective
p p
IB-TC04Search
IB-TC05Search
System opens the Cheque Book Page and Retrieves the pending requests System opens the cheque number page System accepts the cheque number
Leave Account Number Field blank Incorrect Account Number which doesn t exists Choose Cheque Book
2 8
SKIT
29 k Customer s Account Number System opens the Clearance Page System accepts the cheque number Admin Home Page Clearance Page Choose Clearance Cheque Number Account Number. Displays a notification for successful transaction. System displays Clearance Page System displays message whether the cheque is cleared or to be stopped. System opens the requested page.
IB-TC01Clearance IB-TC02Clearance
System opens Stop payment request page System opens the cheque number page System accepts the cheque number and performs stop payment transaction properly. System opens the cheque number page System accepts the cheque number and performs stop payment transaction properly. System validates the cheque number
User s home page Stop Payment Page Stop payment request page Stop Payment Page Stop payment request page Stop payment request page
Choose Single System opens the Cheque requested page. Enter correct cheque number Accepts request for the cheque.
Choose Range System opens the of Cheque requested page. Enter correct cheque number Incorrect cheque number Accepts request for the rage of cheque. Displays a notification for invalid cheque number.
p p
SKIT
INSTALLATION
The objective of this step is to install the finally tested and approved system at user s site and assist the user in changing over from old system to the new system. It involves various stages like:
Server Setup
It involves: 1. Install WebSphere Application Server. 2. Start the server. 3. Open http://localhost:8080/ in a web browser. 4. Click on Administrator link on the Left panel. 5. Type the username and password. Username: system Password: manager 6. Click on Login. 7. In the Console Navigation click on Deploy New. 8. In the Archive textbox Browse for WebContent.war.
9. The web application is deployed with the name WebApp_ID. 10. Click on Web Apps Wars to see the Installed Web Application. 11. To access the site type in the address bar of the Browser.
http://localhost:8080/WebApp_ID/ .
30
SKIT
Database Migration
-Driver,connection string ,username & password can be set in the following file project/technoocean/connect/connect.jsp file 1. Install IBM DB2 on the system and select the username and password as Username: db2admin Password: ibm 2. Create a database name BANK 3. Open the Command Editor. 4. Copy and paste the DDL file.(Database/ddl/ddl.txt) 5. DATABASE : BANK is created SCHEMA: IBANK TABLES: 1. LOGINTABLE 2. ACCOUNT 3. PERSONAL_DETAILS 4. BALANCE 5. REQUESTTABLE 6. STOPTABLE 7. STATEMENT 8. TRANSACTIONPASS 6. The initial value for the administrator username and password is:
User
Administrator Customer Customer Customer Customer
Username
rip aneesh amit dheeraj ankit
Password
rip aneesh amit dheeraj ankit
31
SKIT
MANUAL
USER S MANUAL
[Balance Enquiry]
To inquire about balance 1. Click on Balance Enquiry on the Quick Links panel. 2. Your updated Balance will be displayed.
[Statement]
To make a Statement request 1. Click on Statement on the Quick Links Panel. 2. Enter the last n number of Statement. 3. Click Submit to view the Statement. 4. To take the printout click on Click here for E-Statement .
[Money Transfer]
To transfer funds 1. Click on Money Transfer on the Quick Links panel. 2. Enter a valid account number and the amount to be transferred. 3. User can transfer amount from one account to another in the same bank. 4. The customer should have enough balance or a notification appears for insufficient balance. 5. To transfer the funds, customer needs to enter the valid transaction password. 6. Amount is successfully transferred.
[Change Address]
To change address 1. Customer can change his/her current/ postal address only 2. Click on Change address on the Quick Links panel. 3. Edit and click on Submit to change the address.
32
SKIT
3 3
SKIT
ADMINISTRATOR S MANUAL
[Create Account]
To create a new account 1. Click on Create Account on the Quick Links panel. 2. Enter username, password, name, address, city, pincode, telephone. 3. A notification appears if a username already exists. 4. Click on Submit to create account. 5. Click on Add Account to enter details of account.
[Add Account]
To add a new account 1. Click on Add Account on the Quick Links panel. 2. Enter username whose account details need to be entered. 3. Enter Transaction password. 4. Enter the Account Number. 5. Select the type of account. 6. Enter the initial balance. 7. Click on Submit to add account details.
[Search]
To search a customer 1. Click on Search on the Quick Links panel. 2. Enter the username. 3. The user information gets displayed.
34
SKIT
[Statement]
To make a Statement request 1. Click on Statement on the Quick Links Panel. 2. Enter the last n number of Statement and the account number of the customer. 3. Click Submit to view the Statement. 4. To take the printout click on Click here for E-Statement .
[Clearance]
To clear a cheque 1. Click on Clearance on the Quick Links panel. 2. Enter the cheque number. 3. Click on Submit.
3 5
SKIT
APPENDIX
The proposed system can be better implemented if it is developed in the framework of ntier architecture. We developed a set of different project modules, which can be termed as subsystems that are finally integrated to culminate into a total business solution. J2EE nTier architecture breaks down to following layers.
User Interface : It handles user s interaction with the application .it can be a web browser ,a desktop application or even a wireless device. In our case it will be a browser. Presentation logic: It defines what the user interface displays and how user requests are handled. in our system it is decided by Servlets and JSPs Business logic: It models complex business rules and processing, often through the interaction with application data. In our application it is done by session beans and entity beans. Infrastructure services: These are the middleware services that enhance the functionality of our application. Some are like transaction management, security, lifecycle management, naming and directory service etc. these are provided by WebSphere Application server. Data Layer: Here the enterprise s data resides. In our application IBM DB2 has been used to store data in persistent manner.
36
SKIT
SERVLET CONTAINER
DATABASE
DB2
BROWSER
RDBMS
JSP PAGES
PRESENTATION LOGIC
WASCE
37
SKIT
Bibliography
1. [Professional] Java Server Programming J2EE Edition, Wrox Press Ltd. 2. Java Server Pages, Oreily Publications. 3. Java Beans, Oreily Publicatons 4. [HTML- The Complete Reference], Tata Mc Graw-Hill Edition 5. Database Design : Korth 6. IBM TGMC-08 Resources
References
1. http://tgmc.in 2. www.axisbank.co.in
38
SKIT
39
SKIT
Account Page
40
SKIT
41
SKIT
Fund Transfer
Transaction password
Notification
42
SKIT
Statement
Result
43
SKIT
Result
44
SKIT
Add Account
Result
45
SKIT
46
SKIT
Result1
Result2
47
SKIT
Clearance
Result1
Result2
48