Você está na página 1de 204

Daily LiIe Banking

SYW










TABLE OF CONTENTS

TITLE OF PRO1ECT
2 INTRODUCTION 2-3
1.1 Background
1.2 Objectives
1.3 Purpose and Scope
1.3.1 Purpose
1.3.2 Scope
3. PRO1ECT CATEGORY. 4

4. REQUIREMENTS AND ANALYSIS 5-
3.1 Problem DeIinition
3.2 SoItware Requirements SpeciIication
3.3 Tools and PlateIorm
3.4 Planning and Scheduling
3.5 SoItware and Hardware Requirments
3.6 Preliminary Product Description
3.7 Conceptual Models.
3.7.1 DFD
3.7.2 E-R Diagram

5. SYSTEM DESIGN -23
4.1 Process Modules
4.2 Input oI the Project
4.3 Output oI the Project
4.4 Procedural Design
4.2.3 Data Structure
CONCLUSIONS 24 -25
5.1 Limitations oI the System
5.2 Future Scope oI the Project


Daily LiIe Banking


SYW





TITLE OF PRO1ECT




















Daily LiIe Banking


SYW





BACKGROUND
This project has been implemented to accomplish the needs oI daily task oI
SBI Bank. Daily activity contains almost all the activity oI banking oI any
banking organization. Daily task begins aIter the 2.00 o`clock general day but
at 12.00 o`clock to Saturday; when cash is close. But the Iirst step oI daily
activity is updating general ledger and maintains the background transaction
like ledger update oI master table, this is the reason that any bank doesn`t
perIorm transaction aIter closing the cash because it eIIects badly to
subsequent process. Subsequently we update cash book and then update
balance sheet. In this project we include all these activity which is maintained
in any banking organization daily to daily. In this project we include account
detail, loans detail, transaction, head oIIice account etc.

OB1ECTIVE
Capability:-This project title is 'Daily banking System. As Iar as daily
banking is concerned it means the daily work necessary work oI bank .There
is various Ieatures is provided by daily banking system. This improves
capability in three ways.
(a)Improve processing speed:-The daily banking system maintains a no oI
Iunctions provided by its back end language (Oracle). It maintains DDL
statements to keep all the data in memory until the program is terminated, so
this will improve the processing speed.
(b) Increase volume: - Daily banking system maintains the process oI
high volume oI activities Ior advantage oI greater security. All the
inIormation is integrated and available in memory so this volume oI data will
increase.
(c)Faster Retrieval of data:-To perIorm query in database is tedious task,
because the path oI data storing is vital Iactor .The daily banking system
designed as back end Oracle and Iront end java, so Iaster retrieval oI data is
possible.
CONTROL

(a)Greater accuracy and consistency:-By including well structured module
this project has a more accurate database with no inconsistency and minimized
redundancy. It calculates arithmetic operation more accurately, because java
Iully supports math co-processor.
b) Better security:-We use Oracle as back end so Oracle has a best security
level wise and by using object oriented approach all the inner mechanism is

Daily LiIe Banking


SYW


encapsulated. There are three level oI security, Iirst is data level second is
user level and last one is programmer level.




GRAPHICAL USER INTERFACE

(a) Enhance communication:-ava is a Iully object oriented language .The
data Irom one module to other is easily transIerable through the linking and
embedding Ieature oI window. It is possible to embed a part oI whole
document in speciIic module Irom another application.

(b)Integration:-In this project all modules are linked with each other through
primary key and Ioreign key, so all the databases are integrated. Due to
integration sql query will be easy to manipulate.

COST

(a) Monitor cost:-This system doesn`t need any paper work, because almost
all the data is stored in table so, it saves the extra expenses on paper.

(b) Reduce cost:-Using machine work we can get a better result greater with
greater accuracy rather than manual system. It also reduced the human
resource and human labor which indirectly aIIects the whole and sole budget
oI organization.

SCOPE

'Daily Banking System scope deIined by constraints oI attributes which
represents oI achievement oI SBI Bank day-to-day transaction. Main
Iunctionality oI this project is providing the Iacility oI customer transaction oI
your account, which is he not ware about where place transaction is perIormed
and takes easily.
PURPOSE

This project achieve all type oI transaction properly and get excepted output,
any project Iocus to use easy user interactive environment and Iocus all project
which create and update all type oI transaction.







Daily LiIe Banking


SYW









The purpose oI the Daily Banking System survey is to identiIy the value
type oI the person taking the survey. That's it. To Iind out about a person's
product ownership, media preIerences, hobbies, additional demographics, or
attitudes (Ior example, about global warming), the questions in the
Background survey integrate into larger questionnaires that ask about these
topics. For example, the Daily Transaction questions integrate into all
questions also integrate into our own Consumer Financial Decisions'
MacroMonitor survey, giving us in-depth inIormation about how each type
uses, invests, and saves money. InIormation Ior use by the public is available
in the Database Store. All intellectual-property rights oI materials that you
download are owned by Strategic Business Insights and cannot be reprinted or
resold. application developers Iace a dizzying array oI platIorms, languages,
Irameworks and technical artiIacts to choose Irom. The paper survey,
classiIies, and compares technologies supporting Web application
development. The classiIication is based on Ioundational technologies;
integration with other inIormation sources; and dynamic content generation.
The paper Iurther survey and classiIy soItware engineering techniques and
tools that have been adopted Irom traditional programming into Web
programming. The paper concludes that, although the inIrastructure problems
oI the Web have largely been solved, the cacophony oI technologies Ior
applications reIlects the lack oI a solid model tailored Ior this domain.Examine
the advantages oI moving to a SoItware as a Service model to better meet the
challenges oI growth, competition and regulatory compliance.Executive
Summary, Introduction, DEPOSITS in Bank Occurrences oI Low Grade
Transaction , This type oI Transaction Scenario in Bank , Status oI Utilisation
oI Low Grade Transaction as Basic in consumer , Status oI BeneIicial
Utilisation oI High level Implementin database as Front line implementaion,
Impact Assesment on Environment due to direct utilisation oI low grade rock
Application Developments , When he stays in India Ior less than or upto 182
days during the preceding Iinancial year. The period oI stay may not be
continuous` and the same shall be calculated by adding up the days oI his stay
in India during that Iinancial year. Thus a student who goes Ior studies abroad
and his stay in India during a Iinancial year is less than 182 days, then he shall
be treated as non-resident Indian Ior the next Iinancial year. Similarly, tourists
and all others who have gone out oI India without the purpose oI taking up
employment or starting any business abroad, shall be treated as non-residents
iI, their stay in India during the preceding Iinancial year was less than or upto

Daily LiIe Banking


SYW


182 days.When he goes or stays outside India Ior any oI the Iollowing
purposes:







PROBLEM DEFINITION
PerIorming the banking modules, each module broad itselI in banking system
but here is only describe a part oI transaction Iollowing that DAY
WISEDEPOSIT TO ALL ACCOUNT SEPARATELY: This is to store the
inIormation oI the all account in daily database and entered to Ietching data.
TOTAL DIPOSIT PER DAY: To handle total deposit oI account per day and
store and Ietch all branch.
Account wise total deposit.
Total matured Iixed account.
Total Iixed account across IiIty thousands.
.

SOFTWARE REQUIREMENT SPECIFICATION (SRS)

The Requirement analysis involves obtaining a clear and through
understanding oI the product to be developed. SRS should be a consistent,
correct, unambiguous and complete, document. SRS is an InterIace oI the
System They identiIies which is to Ilow Irom and to to the system. Normally
IEEE standard is Iollowed .A typical Iormat oI SRS is as Iollow:-

INTRODUCTION
Purpose
Scope
Objectives
Organization and Report
OVERALL DESCRIPTION
Product Description
Users oI Project
Assumptions Made.
SPECIFIC REQUIREMENTS
InterIace Requirements
User Requirements
Hardware Requirements
SoItware Requirements
Logical Database Requirements.
BASIC PROCESSING ACTION OF THE SYSTEM APPENDICES
Input/Output Iormats
Instruction Ior Security

Daily LiIe Banking


SYW


Results oI Fact Finding
Data Model
Functional Model
Process SpeciIication



TOOLS AND PLATFORM

FRONT END

We can develop our project in any language, but in the modern age we need
GUI Ieatures, because graphical user interIace provides a good look and Iell to
user. A GUI based application is easy to learn, easy to use etc. For
programmer point view a language should have capability to connect with any
relational database management system and which could supports the
networking concepts like client server programs.
This project is developed in ava. As we know that ava is most popular and
robust language. It is also an object oriented language. ava is broad language,
because it has capacity to support several types oI projects. It is highly
demanded by market on these days. ava provides a better Iacility to connect
with Oracle. It is very useIul to develop a complicated project, but it take little
more time to complete the task, while its security level is very high, because it
is highly case sensitive language , iI a single bit changes occurs in the program
it will not run on machine. ava is platIorm and architecture independent. For
executing the ava program 'M Iirst creates byte code then make the exe Iile,
such exe Iiles executes and gives the result. So it is very diIIicult to burglar the
ava security mechanism.
ava also supports multithreading. This means multiple programs run
concurrently. Due to object oriented language it supports abstraction,
encapsulation, inheritance and polymorphism. It provides a better Iront end
than any other language.
In spite oI all these Iacility to develop a project in java is a challenging task
but who is a man oI iron will can develop the project in java with enjoy Iull.

BACK END

As Iar as back end is concerned, we know that today we need not only DBMS
but also relational Ieatures. Modern age is oI relational database management
system. Oracle is one oI the most popular RDBMS. It provides Sql / Plsql Ior
developing database, user deIined Iunctions, procedures, trigger etc. Oracle
consists oI various operations to manipulate the database like quires,
subquries, joining, indexing, and cluster etc. It also support object oriented
concept (inheritance, polymorphism.etc). It provides key concepts like
primary key, candidate key, Ioreign key, unique key etc. It provides a better
security with previous deIined key concepts. Oracle has exception handling.

PLANNING AND SCHEDULING

Daily LiIe Banking


SYW


Planning, Ior our purposes, can be though oI as determining all the small tasks
that must be carried out in order to accomplish the goal. There are some charts
deIine that planning system under here:




GANTT CHART:

Work Task Week 1 Week 2 Week 3 Week 4 Week 5
.System
Analysis
Overview Existing
System
Preliminary
Investigation
IdentiIication oI
Need
Proposed Computer
Based System
2.Feasibility study
Technical
Feasibility
Economical
Feasibility
Operation
Feasibility
3.System Design
User InterIace
Design
Data Base Design
Coding the
Application
4.Testing
Unit Testing
Acceptance Testing
5.Implementation
Training
personal
Conversion
Procedure
Post
Implementation
Review





Daily LiIe Banking


SYW%





Figure 1

SOFTWARE & HARDWARE REQUIREMENTS


This application has developed using the Iollowing conIigution and
it will run smoothly almost on same conguration :-


HARDWARE REQUIREMENTS:

PROCESSOR : PENTIUM 4
RAM : 52 MB
HARD DISK DRIVE : .2 GB
CACHE MEMORY : 25 KB
MONITOR : VGA with 4 X 48
KEY BOARD : 4 Keys
MOUSE : Optical mouse

SOFTWARE REQUIREMENTS: -

OPERATING SYSTEM : WINDOWS XP
BACK-END : ORACLE 9i
FRONT-END : 1AVA (jdk.5 Onwards)







PRELIMINARY PRODUCT DESCRIPTION:-

Functionality oI daily Banking System project is IulIilling all requirements oI
client which perIorm all query task related to transaction, primarily deIine
three modules which perIorm diIIerent task.







Daily LiIe Banking


SYW%







CONCEPTUAL MODULES

DFD LEVEL





















LOAN A/C
CURRENT A/C
ACCOUNT DETAILS
ACCOUNT
DETAILS
CUSTOMER
DETAILS
CUSTOMER DETAILS
FIXED A/C
CURRENT A/C
DAILY
BANKING
SYSTEM
LOANS ACCOUNT
FIXED A/C
Daily LiIe Banking


SYW


ligure 2


CUSTOMER DFD
LEVEL



ORDER
Form Fill LOAN

Product
Order inIormation


Order




eriy


CUSTOMER
Billing InIormation

Customer Name and address


ACOUNT DETAILS









Figure 3
CUS1OMLR
DL1AILS

PROCESS
ORDER
COLLECT
PAYMENT
SLIP
PRODUCT
CUS1OMLR
DL1AILS
Daily LiIe Banking


SYW







FIXED A/C DFD
LEVEL




Veriy
1RANSAC1ION







Veriy
MA1URL


updates
FILL FORM











Figure 4
FIXED A/C
LOAN
PROCESS
OPEN
FIXED A/C
Daily LiIe Banking


SYW




CURRENT A/C DFD
LEVEL









'eriIy
LOAN







'eriIy
MA1URL


CUSTOMER DETAIL updates













Figure 5
CURRENT A/C
COLLECT
PAYMENT
TRANSACTION
CURRENT A/C
Daily LiIe Banking


SYW




LOAN A/C DFD
LEVEL








Veriy
CUSTOMER






Check A/c,cust
name,custid

ACCOUNT DETAIL


Updates
TRANSFER











LOANDETAILS


LOAN
TYPE
PROCESS
ORDER
LOANDETAILS
Daily LiIe Banking


SYW


Figure 6


Daily LiIe Banking


SYW


CUS1OMLR DL1AIL DID
LLVLL -J





Request orm















Result
















Figure 7




Customer
Detail
1 Process Deposit and Withdrawal
1.1
Order Form and Deposit
and Withdrawal Request
1.2
Get Reqiure Data Irom
Store

1.3
Relay data
Account Detail

Customer
Detail
Daily LiIe Banking


SYW





1RANSAC1ION DL1AIL DID
LLVLL -2








lill the customer detail data retrie entry











Making Balance sheet linal passbook













Figure 8

Transaction

2.1
Get the Customer details
And Iill the Iorm
1.2
Get the Ledger and
create Balance sheet
2.3
Final Cash Book
Result
Ledger Detail Cash _Book

Balance Sheet

Transaction
Daily LiIe Banking


SYW









M M




J



M










CUSTOMER_DETAILS
ACCOUNT_DETAILS
HAS
IS
A

CNAME
CUS_ID LNAME
FNAME
PHONE_NO
PANNO
ACC_ID
CUS_ID
IS
A
FIXED A/C
ACC_ID
FIX_AMT
DATE
SAVING A/C
WITHDRA
BAL_AMT

ACC_ID

DATE

ACC_ID

INTERSE
T
LOAN
DATE

MATURE

BAL_AMT

OPENDATE
AC_NAME

DATE

GENERAL LEDGER

CURBAL

SAVBA

FIXEBAL

BAL_AMT
IS
A
HEAD OFFICE A/C
DATE


Daily LiIe Banking


SYW%





PROCESS MODULES :-


. CUSTOMER DETAILS:

This module includes the all the master data about a customer which required
by a bank. This module is also a master table. The attributes oI this module is
customer code, customer name, nominee name, nominee name nominee
address etc, where customer code is primary key. This module is linked with
another table shaving a/c, current a/c etc. The pictorial representation oI this
module is as Iollows.



2. ACCOUNT DETAILS

This includes details oI an account. II any account opens in the bank then it
Iirst inserted into this module. It stores account no, type, customer id and their
opening date. This module is linked with
Saving account, current account, recurring account and Iixed deposit account.
It can be depicted as:













CUSTOMER DETAILS
LOAN_DETAILS
ACCOUNT DETAILS

ACCOUNT DETAILS
CURRENT ACCOUNT
SAVING ACCOUNT
FIXED DEPOSIT A/C
Daily LiIe Banking


SYW%



3. SAVING ACCOUNT:

This module stores the account condition oI shaving type account. This
account is best Ior medium level customer. In this module account id is
Ioreign key. In this account you can get interest 3.5 percent by bank.

4. CURRENT ACCOUNT:

This module contains the detail oI account oI current type. In the current
account we can perIorm transaction more than one times in a day, but we can
not get any interest by bank. This is one oI the oldest account and more
popular account. In this module account id is Ioreign key.

INPUT TO THE PRO1ECT

. CUSTOMER DETAILS: This module includes details oI customer such
as code, name, address, nominee etc. It shows the total account holder oI bank,
so it is also a master table oI this project.

2. ACCOUN1 DL1AILS: This module provides the accounts to be opened
by customer. In this module we mainly stores the account no and their type.
The attributes oI the table is account no account type and opening date.

3. CURRENT ACCOUNT: This module is type oI account is provided by
bank Ior the general purpose use. It contains the Iull details oI current account.
The customer can do transaction more than one times. The main attributes oI
this module is account id date balance amount.

4. SHAVING ACCOUNT: This is another general purpose account, but
diIIerence with current account is that it provides a three percent interest to the
customers, It also a daily transaction account.
The main attributes oI this module is account no, date and balance amount.

5. FIXED DEPOSIT ACCOUNT: This is a diIIerent type oI account where
customer deposit a Iixed amount Ior a Iixed period then bank provides a Iixed
interest rate according to the duration oI amount. This is one oI the most
popular accounts among business men, employees and other gentle persons.
The main attributes oI this module is account no, Iixed amount, Iixed period,
maturity amount, maturity date.

. TRANSACTION: This module plays a vital role in Iinancial system,
because the total transaction is stored in this module. The transaction medium
may be any one like cheque, Demand DraIt, withdrawal Iorm or deposit Iorm.
The main attributes oI this module is serial no account id, amount, date, by,
received by or pay To. This module updates all the next modules, because it is
the base oI daily transaction.
Daily LiIe Banking


SYW




. GENERAL LEDGER: This is also an important Iactor oI daily banking;
because it is necessary to be stored the daily transaction aIIects head wise.
This module stores such data means total deposit and total withdrawal oI daily
banking. The main attributes oI module is shdp, crdp, shdp, crdp, shdp, crbl,
shbl etc.

8. HEAD OFFICE A/C: This module keeps data that how much amount is
deposit at the head oIIice. Due to some reason any bank can not keeps too
many amount in his branch. RBI suggests that a branch keeps maximum 30
percent amount oI his total deposit cash.
The main attributes oI this module is date amount.

9. LOANS DETAILS: This module shows that how many amounts are
sanctioned by bank as loans, because this is needed in balance sheet. The
attributes oI this is date balance amount.

. ACCOUNT TRANSFER: This module includes all the inIormation about
transIerred account. Some times customer wishes that his account to be
transIerred to another desired branch due to such reason, bank provides such
Iacility. The main attributes oI this module is account id, account name,
transIerred bank etc. Stores we stores data head wise and also stores last day
balance and last cash in hand. The main attributes oI this module is date dsh,
dcr, drc, last day balance, csh, csh, crc ,cash in hand etc.





















Daily LiIe Banking


SYW








DATASTRUCTURE:



. CUSTOMER DETAIL

Fields Data type Width Precision Key Constraint
Customercode 'archar2 10 Primary key
Customername 'archr2 30
Customerlcadd 'archar2 60
Customerpradd 'archar2 60
D.O.B Date
Age Number 3
Sex 'archar2 4
Phoneno Number 12
Panno Number 12
Meritastatus 'archar2 10
Nationality 'archar2 15
QualiIication 'archar2 15
Nomineename 'archar2 30
Nominee add 'archar2 40
Nomineerelation 'archar2 15
Occupation 'archar2 15


2. ACCOUNT DETAIL:

Field Data type Width precision Key Constraint
Accountid 'archar2 10 Primary key
Customerid 'archar2 10 Foreign key
Opendate Date
Accountname 'archar2 15



Daily LiIe Banking


SYW






3. CURRENT ACCOUNT:




4. TRANSACTION:






5. SAVING A/C:

Field Data type Width Precision Key Constraint
Accountid 'archar2 10 Foreign key
Date Date
Balanceamount Number 15
Field Data type Width Precision Key Constraint
Serialno 'archar2 10 Primary key
Trmode 'archar2 15
Accountid 'archar2 10 Foreign key
Accountname 'archar2 30
Amount Number 15
Trtype 'archar2 15
Payto/receivedby 'archar2 30
Date Date
Field Data type Width Precision Key Constraint
Date Date Primary key
Deposit Number 10
Withdrawal Number 10
Balanceamount Number 10
Daily LiIe Banking


SYW




. GENERAL LEDGER:

. LOAN DETAILS:




8.Account Close




Field Data type Width Precision Key Constraint
Date Date Primary key
Savingdposit Number 15
Savingwithdrawal Number 15
Sbalance Number 15
Currentdposit Number 15
Currentwithdrawal Number 15
Currentbalance Number 15
Recurringdeposit Number 15
Recurringwithdrawal Number 15
Recurringbalance Number 15
Fixeddeposit Number 15
Fixedwithdrawal Number 15
Fixedbalance Number 15
Field Data type Width Precision Key Constraint
Accountid 'archar2 10 Foreign key
Date Date
Balanceamount Number 15
Field Data type Width Precision Key Constraint
Accountid 'archar2 10 Foreign key
Date Date
Balanceamount Number 15
Daily LiIe Banking


SYW




9. ACCOUNT TRASNFER:

Field Data type Width Precision Key Constraint
Accountid 'archar2 10 Foreign key
TransIerto 'archar2 30
Accounttype 'archar2 15
TransIerreddate Date
Amount 'archar2 10




. HEAD OFFICE ACCOUNT:

Field Data type Width Precision Key Constraint
Date Date Primarykey
Deposit Number 10
Withdrawal Number 10
Balanceamount

. FIXED DEPOSIT:

Field Data type Width Precision Key Constraint
Accountid 'archar2 10 Foreign key
Fixedterm Number 5
Fixedamount Number 15
Fixeddate Date
Interest Number 2 2
Maturitydate Date
Maturityamount Number 15





Daily LiIe Banking


SYW







LIMITATION OF THE SYSTEM

In this project it hard and Iast checked the security breaches by any routes, so
user would not irk due to security mechanism. In the using time user can not
amend any procedure .It would be only possible by programmer. Due to
primary key and Ioreign key this project is more secure. As previous
mentioned this is developed in ava as Iront end and, we know that java is
strong checking language so and also back end Oracle provide a tremendous
security. The other security is described as Iollows.

BACKUP OF THE SYSTEM:-

In this project we will also keep the backup oI the system, because in the case
oI mishap or natural disaster like earthquake cyclone etc the system may be
recovered.
USER LEVEL :-

On the user level we will provide security mechanism also because any
unauthentic person can not hack the system accidentally or incidentally. We
will design user name and password Iacility as designed in bank`s project.
FORM LEVEL:-

The Iorm oI this project is designed as user required but also we keep attention
on validity oI entered data by user, so user can`t enter wrong data or
unsuitable data. II he does such activity then a message will display and entry
be canceled.

DATA BASE LEVEL:-

Due to choosing oracle as back end we get a better security at database, so
can not change the attributes oI database, they will only use the database as the
part oI his work,






Daily LiIe Banking


SYW





FUTURE SCOPE OF THE PRO1ECT


In this project java is used as Iront end; as we know that java is Iully object
oriented language. OOP language provides the concept oI reusability, by
reusing the deIined Iunction we enhance this project very easily. The
inheritance Ieature also support in Iurther enhancement.
This project can also be installed in any commercial bank oI India even Gamin
bank also, because daily banking is same in any banking organization. This
will help the bank on Iurther day as Iollows.
It will save the extra paper work and manual eIIort.
This project will reduce the dead line oI completing daily
Banking like cash book updating or balance sheet.
It tells the Iinancial status oI bank daily to daily which is required by
head oIIice and then by RBI.







Daily LiIe Banking


SYW
































Daily LiIe Banking


SYW%


TABLE OF CONTENTS


INTRODUCTION 28-29
1.1 Background
1.2 Objectives
1.3 Purpose and Scope
1.3.1 Purpose
1.3.2 Scope

2. REQUIREMENTS AND ANALYSIS 3 -44
2.1 Problem DeIinition
2.2 SoItware Requirements SpeciIication
2.3 Tools and PlatIorm
2.4 Planning and Scheduling
2.5 SoItware and Hardware Requirements
2.6 Preliminary Product Description


3. SYSTEM DESIGN 45 - 52
3.1 Basic Modules
3.2 Input oI the Project
3.3 Output oI the Project
3.4 Procedural Design 53 - 5
3.5 Data Structure
3.6 Conceptual Models. 58 - 5
3.6.1 DFD
3.6.2 E-R Diagram

4. IMPLEMENTATION AND TESTING -5
4.1 Implementation Approaches
4.2Coding Details
4.2.1 Code EIIiciency
4.3 Test Approach
Unit Testing
Integrated Testing
4.4 ModiIication and Improvements
5 RESULTS AND DISCUSSION - 82
5.1 Font Page
5.2 Test Reports 83 - 9

CONCLUSIONS 93 -99
6.1 Limitations oI the System
6.2 Future Scope oI the Project 2
REFERENCES
GLOSSARY 2


Daily LiIe Banking


SYW%








.Background

~Daily Banking System has been created with the help oI two master minded
programming language 'ava and 'Oracle. The Iormer being in the
Ioreground and the later in the background respectively. The background
language is Iavorite oI many oI the programmers because it oIIers the much
wanted structured query Iacility. Moreover Oracle provides high security as
the database is stored in the logical area called 'db Engine. As dbEngine is
created in the virtual memory and end-user cannot access that directly it.
With these thoughts in mind 'Daily Banking System has been developed
aIter brainstorming the needs and requirements oI the SBI (State Bank oI
India).

.2Objective

.2. Capability:- The suggested name Daily Banking System where
business activity are inIluenced by an Bank`s ability to process
transaction quickly and eIIiciently inIormation system add capability in
three ways.
Improved Processing Speed:-The Row material management System
used number oI Iunctions and DLL to keep all transaction in the memory
until the programmed is to be terminated which increase the inherent
Speed oI the computer Ior processing data.
Increased Volume:-Daily Banking System Provides to Process oI greater
amount oI activities to take advantage oI new transaction, because oI data
available in main memory all inIormation are integrated and depends
upon memory, this volume oI data may also be increased.
Faster Retrieval of Information: - locating and retrieving inIormation
Irom storage, there is need to some complex searching. The Daily
Banking System designed as Iront-end ava and Back end oracle i.e. SQL
which supports more complex methods. So Iaster retrievals oI
inIormation.

.3 Ccontrol

.3.Greater Accuracy and Consistency: - Carrying out computing


steps including arithmetic, correctly and consistency because oI ava
Iully support math co-processor
.

Daily LiIe Banking


SYW


.3.2Better Security: - SaIeguarding sensitive and important by making
it accessible only to authorize persons. There are three level securities,
one is data level, second is user level and third is administrator level.




.4 Graphical User Interface

.4.Enhanced Communication: - As ava is window programming
language .The inIormation Irom the one application to another is easily
possible. Such as embedding and linking method oI windows. It is
possible to embed a part oI whole document in any speciIic module Irom
another application.
Integration:- As built in some MDZ and DLL support all inIormation
that take place in a single area oI virtual memory to co-ordinate each
other Ior quick processing oI data in remote areas such as DB-engine.

.5 Cost
.5. Monitor Cost:- Daily Banking System is a completely paperless
S/W, so there is no need oI extra paperwork to retrieve inIormation Irom
database.
.5.2Reduce cost: - Using computing capability to process data at a lower
cost then possible with other method while maintaining accuracy and
perIormance level.
. Competitiveness
As per S/W competitive Daily Banking System is designed in such a way that
it Iaces modernized S/W competitiveness as per S/W limitations. It consists oI
accuracy, Ilexibility, better documentation and other S/W requirements
Iacilities in modern era.









Daily LiIe Banking


SYW




2. Problem Definition
To identiIy the need Ior soItware we use the Principles oI Requirement
Engineering. Requirement engineering provides the appropriate mechanism
Ior understanding what the customer wants, analyzing need, assessing
Ieasibility, negotiating a reasonable solution, speciIying the solution
unambiguously, validating the speciIication and managing the requirement as
they are transIormed into an operational system. The requirement
engineering process can be described in Iive distinct steps: -
O Requirement elicitation.
O Requirement analysis & negotiation.
O Requirement speciIication.
O System Modeling.
O Requirement validation.
O Requirement Management.
In other words we can say that requirement analysis is a soItware task that
bridges the gap between system level requirement engineering and soItware
design. Requirement analysis allows the soItware engineering to reIine the
soItware allocation and build models oI the data, Iunctional and behavioral
domains that will be treated by soItware. Requirement analysis provides the
soItware designer with a representation oI inIormation, Iunction and behavior
that can be translated into data, architectural, interIace and component level
design; Iinally the requirement speciIication provides the developer and the
customer with the means to assess quality once soItware is built.
The most commonly used requirement elicitation technique is to conduct a
meeting or interview. The Iirst meeting between a soItware engineer and
customer can be likened to the awkwardness oI a Iirst date between to
adolescents. Neither person knows what to say or ask; Both are worried that
what they do say will be misinterpreted; both are thinking about where it
might lead (Both likely have radically diIIerent expectation here); Both want
to get the think over with, but at the same time, both want it to be a success.
Here according to this principle the analyst starts by asking context-Iree-
questions. That is a set oI question that will lead to a basic understanding oI
the problem, the people who want a solution, the nature oI solution that is
desired, and the eIIectiveness oI the Iirst encounter itselI. The Iirst set oI
Context-Iree question Iocuses on the customer, the overall goals, and the
beneIits. For example, the analyst might ask:-
O Who is behind the request Ior this
Work?
O Who will use the solution?
O What will be economic beneIit oI a
SuccessIul solution?
O Is there another source Ior the

Daily LiIe Banking


SYW


Solution that you need?
The next set oI questions enables the soItware engineer to gain a better
Understanding oI the problem and the customer to voice his or her
perceptions about a solution:-
How would you characterize 'good output that would be generated by a
successIul solution?
O What problem(s) will this solution address?
O Can you show me (or describe) the environment in which the
solution will be used?
O Will special perIormance issues or constraints aIIect the way the
solution is approached?
The Iinal set oI question Iocuses on the eIIectiveness oI the meeting:
Are you the right person to answer these questions? Are your answers?
OIIicial?
Are my questions relevant to the problem that you have?
Am I asking too many questions?
Can anyone else provide additional inIormation?
Should I be asking you anything else?
Account wise total deposit.
Total matured Iixed account.
Total Iixed account across IiIty thousands.
.
According to the above concepts I went to State Bank oI India and met its
staIIs, management, and some persons related with the organizational work,
which advised me related with my project.

2.2 Requirements and Scheduling

Software Requirements Analysis: - The requirements gathering process is
intensiIied and Iocused speciIically on soItware. To understand the nature oI
the program(s) to be built, the soItware engineer ('analyst) must understand
the inIormation domain Ior the soItware, as well as required Iunction,
behavior, perIormance, and interIace. Requirements Ior both the system and
the soItware are documented and reviewed with the customer.

Design: - Software design is actually a multi step process that Iocuses on Iour
distinct attributes oI a program data structure, soItware architecture, interIace
representations, and procedural (algorithmic) detail. The design process
translates requirements into a representation oI the soItware that can be
accessed Ior quality beIore coding begins. Like requirements, the design is
documented and becomes part oI the soItware conIiguration.

Code Generation: -The design must be translated into a machine-readable
Iorm. The code generation step perIorms this task. II design is perIormed in a
detailed manner, code generation can be accomplished mechanistically.
Testing: - Once code has been generated, program testing begins. The testing
process Iocuses on the logical internals oI the soItware, ensuring that all
statements have been tested and on the Iunctional externals, that is, conducting
Daily LiIe Banking


SYW


tests to uncover errors and ensure that deIined input will product actual results
that agree with required results.
Support: - Software will undoubtedly undergo change aIter it is delivered to
the customer (a possible exception is embedded soItware). Change will occur
because errors have been encountered, because the soItware must be adapted
to accommodate change in its external environment (e.g., a change required
because oI a new operating system or peripheral device), or because the
customer requires Iunctional or perIormance enhancements. SoItware
support/ maintenance reapply each oI the preceding phases to an existing
program rather than a new one.
AnaIysis Design Codimg ImpIementation
System Information
Engineering





Figure : The Linear Sequential Model

Daily LiIe Banking


SYW


Description Software Phase Typical
fraction
of total time




10



1. SpeciIication
10




2.Alogrithm design
15




3. Coding
15





4. 'eriIication and testing
10







5.ModiIication
50

D

O

C

U

M

E

N

T

A

T

I

O

N

Figure 2: Software Development Life Cycle
Initial
Statement oI
Problems
Precise
Formulation
oI problem
Development
oI a detailed
Plan to Solve
Problems
Translation
oI Plan into a
Computer
Program
Checking
Correctness
oI Solution
ModiIicatio
n oI
Program
Daily LiIe Banking


SYW


Figure 3: Waterfall Model of Software Life Cycle


Requirement & Analysis
SpeciIication
Design
&
SpeciIication
Coding
&
Module Testing
Integration
&
System Testing
Delivery
&
Maintenance
Daily LiIe Banking


SYW



2.3 Planning and Scheduling
Linear Sequential Model has been used in carrying out this project work. The
Linear Sequential Model is the oldest and the most widely used paradigm Ior
SoItware Engineering. Linear Sequential Model is called sometimes the
Classic LiIe Cycle or the WaterIall Model. The Linear Sequential Model
suggests a systematic, Sequential approach to soItware development that
begins at the system level and progresses through Analysis, Design, Coding,
Testing and Support. Linear Sequential Model contains the Iollowing
activities: -

System / Information Engineering and Modeling: - Because soItware is
always part oI a larger system (or business), work begins by establishing
requirements Ior all system elements and then allocating some subset oI these
requirements to soItware. This system view is essential when soItware must
interact with other elements such as hardware, people and database. System
engineering and analysis encompass requirements gathering at the system
level with a small amount oI top-level design and analysis. InIormation
engineering encompasses requirements gathering at the strategic business
level and at the business area level.


2.4 Software and Hardware Requirements

Following hardware and soItware components are
used in development oI proposed system: -

2.4. Hardware Requirements

Server:
Pentium II or higher Processor
S'GA Color Monitor
At least 10 GB Hard Disc
Minimum 128 MB RAM (Recommend 256 MB)
Mouse and Keyboard
Network InterIace Card
Clients:
Pentium II or higher Processor
S'GA Color Monitor
At least 2 GB Hard Disc
64 MB RAM
Mouse and Keyboard



Daily LiIe Banking


SYW


Network (LAN):
16 Port Hub
UTP (Cat-5) Cables & Connectors
TCP/IP Protocol

2. 4.2 Software Requirements
Server:
Window NT 4.0 Server or Windows 2000 Server
Oracle 9i Enterprise Edition
dk 1.5.
Clients:
Window 95/98/2000 ProIessional
Oracle Developer 2000 (Form 6.0)
dk 1.5.

2. 4. 3 Description of Software & Hardware Tools:
Database Management System (DBMS)
A database management system (DBMS) consists oI collection oI interrelated
data and a set oI program to access those data. The collection oI data, usually
reIerred to as the database, contains inIormation about one particular
enterprise. The primary goal oI DBMS is to provide an environment that is
both convenient and eIIicient to use database inIormation. Feature oI
Database Management System: DBMS permits the Iollowing
Iacility/capability: -
(A).Creating oI Iile, addition to data, deletion oI data; creation, addition and
deletion oI entire Iiles.
(B) Retrieving data collectively or selectively.
(a)The data stored can be sorted or indexed at the user direction and discretion.
(b)'arious reports can be produced Irom the system. These may be either
standardized report or that may be speciIically generated according to
speciIic user deIinition.
(c)Mathematical Iunctioned can be perIormed and the data stored in the
database can be manipulated with these Iunctions to perIorm the desired
calculations.
(d)To maintain data integrity and database use




Daily LiIe Banking


SYW%



Relational Database Management System:-
Relational Database Management System (RDBMS) have much more
advantage over DBMS. One oI the main advantages oI Relational Data Base
Management System is that it is based on mathematical theory oI relation. So,
its database management system has the capability to recombine the data
elements to Ior, diIIerent relations thus giving great Ilexibility in the uses oI
data. The data structure aspects oI RDBMS deals with deIining tables, its
various attributes etc. Tables are nothing but the logical structure in relational
system, not the physical structure, we can also say that tables represent an
abstraction oI the way the data is physically stored.
Capabilities oI RDBMS: -
(a)Easy access to data
(b)Flexibility in data modeling
(c)Reduced data storage and redundancy
(d) Independence oI physical and logical data design.
(e)A high-level data manipulation language (SQL)
(I)It also Irees the user Irom details oI storage structure and access
method.

Oracle 9i Database Server:-
Oracle is an object-relational database in simple way, we know, a relational
database is nothing more than a collection oI tables oI data. An object
relational database supports all the Ieatures oI the relational database. It also
supports object-oriented concepts and Ieatures.
In other words, an object-relational database management system (ORDBMS)
extends the capability oI the RDBMS to supports the object-oriented concept.
Users can use ORCALE as an RDBMS or take advantage oI its object-
oriented Ieatures.
Oracle 8. Productivity and Utility :-

ORACLE is a kernel package that has a number oI tools that can be purchased
separately and integrated the kernel and 'add-ons. The tools allow the user to
create database objects, like procedure, trigger Iunction etc. some oI tools are:
O SQL*PLUS
O PL/SQL
The ORACLE RDBMS is a central ORACLE product. It includes the database
manager and several tools intended to assist the users and DBA in the
maintenance and use oI data. The core oI RDBMS is the kernel. The kernel
handles the Iollowing task:

O Manages storage and deIinition oI data
O Controls and limits data access and concurring
O Allows backup and recovery oI data
O Interprets SQL and PL/SQL
O
Daily LiIe Banking


SYW%


O
SQL ` PLUS: - SQL*PULS is the command line interIace to the oracle
database. It is a powerIul oracle product that can take you instruction Ior
oracle, Check them Ior correctness, submit them to oracle and then modiIy or
reIormat the response oracle gives, based on orders or directions that you have
set in place. It interacts with you, which means you can 'talk back. You can
give directions, and it will Iollow them precisely. It will tell you iI it doesn`t
understand something you have told it to do. As we get started, just think oI
SQL*PLUS as a co-workeran assistant Iollows your instructions and helps
you do your work more quickly.
SQL: - SQL is a data sub-language. That is to say, the purpose oI SQL is to
interIace to a relational database such as Oracle and all SQL statement are
instructions to the database. In this it diIIers Irom general purposes
programming language like C and BASIC.
Among the Ieatures oI SQL are the Iollowing: -
O It provides sets oI data as groups rather than as individual units.
O It provides automatic navigation to the data.
O It uses statements that are complex and powerIul. The Ilow-control
statements oI most programming languages are absent in SQL
O They are provided in Oracle`s extension to standard SQL called
PL/SQL.
O SQL provides commands Ior a variety oI tasks including:
Querying data.
Inserting, updating and deleting rows in a table.
Creating, replacing altering and dropping objects.
Controlling access to the database and its objects.
Guaranteeing database consistency and integrity.
P PL L/ /S SQ QL L: : - - PL/SQL stand Ior 'procedural language extension to SQL
PL/SQL available primly as an 'enabling technology within other soIter
products; it does not exit as a stand along Language. PL/SQL is powerIul
language, which incorporate many oI most advance elements oI procedural
languages including:
O Explicit block structure.
O Conditional and sequential control statements.
O Loops oI various kinds.
O Exception handlers Ior use in event-based error handling. Construct
that help in the development oI modular code Iunctions, procedures
and Packages (collection oI related program and variables); packages
are oIten reIerred to as 'Poor man`s objects.
O User-deIined data type such as object and nested table (with the oracle
object option). PL/SQL is integrated tightly into oracle SQL language:
we can execute SQL statement directly Irom our procedural program.
Conversely, we can also call PL/SQL Iunction Irom within a SQL
statement.
We have use PL/SQL in the oracle relational database in the oracle server and
in client side application development tools such as oracle Iorms. PL/SQL is
closely integrated into SQL language, yet it add programming construct that
are not native to this standard relational data base language. PL/SQL is a usual
and an unusually powerIul Programming language .PL/SQL support
Daily LiIe Banking


SYW


packages which allow us to perIorm object Oriented design. PL/SQL
provides a powerIul mechanism Ior trapping and with exception handlers
resolving errors. The tight integration oI PL/SQL with SQL provides
developer with the best oI both worlds-declarative and procedural logic.

1ava (1dk .5) :-
ava is an object oriented, internet programming language, it main Ieatures
are:- (a)PlatIorm Independent.(b)Security
Internent programming deals with development such program which are
stored on the web server and transmitted over the network as Ior the response
to be executed within client browser Internet Programs interactivily the
webpages: Internet Programming as Iollowing diIIerences Ior conventional
programming plateIorm oI client not know in advands in case oI internet
programming. Client need to be a resore that the program downloaded the
Network won`t harm his/her system.

Now feature of java API which are used in this Project:-
ava API that Iacilated development oI GUI Application in java. This API
Provides reusable GUI Componets and Helper Classes and interIaces
AWT:-At the rooI oI Awt Componet Hierachy as an abstract class Name
componet which declares Iunctionality Common to all Awt Componets
Container:- is an abstract subclass oI componet which adds the Ieature oI
containership to a componet window or panel are two non abstract subclasses
oI container window represnts a rectangular resion that has border and titlebar
A panel is borderless and titleless window. Frame:- is a subclass oI window i.e
the additional Inlity oI containg menu.
SWING:- is a the extension oI AWT which Iacilated development oI
soIiciticated GUI Application in java diIIerence between AWT and SWING
Swing Componets are plateIorm independent whereas awt component are
plateIorm dependents.Swing componets supports richer Iunctionality as
compare to AWT componts. Look and Ieel oI Awt Componets vary Irom one
plateIorm to another whereas look and Ieel oI swing components remain
consistent across all plateIorms. Swing Componests are designed are M'C
Model Architecture Where AWT Componets are Designed Peer architecture

Support for Oracle 9i and PL/SQL:- ava is the best development
environment Ior ORACLE9 and PL/SQL9. We use the same wizard to build
applications that exploit relational databases and Oracle9 object-relational
capabilities. We can build Iorms, reports, and charts that leverage the
simplicity and power oI object tables, and work with them just like relational
data. Oracle Developer also utilizes the digital media capabilities oI Oracle9,
enabling you to create applications that seamlessly combine time-series,
spatial, image, sound, and textual inIormation with relational and object data.






Daily LiIe Banking


SYW




LAN: - Local Area Networks, generally called LANs, are privately owned
networks within a single building or campus oI unto a Iew kilometers inside.
They are widely used to connect personal computers and workstations in
company oIIices and Iactories to share resources (e.g., printers) and exchange
inIormation. LANs are distinguished Irom other kinds oI networks by three
characteristics:
(a) Their size
(b) Their transmission technology and
(c) Their topology
Traditional LANs run at speeds oI 10 to 100 Mbps, have low delay (tens oI
microseconds), and make very Iew errors. Newer LANs may operate at higher
speeds, unto hundreds oI Mbps.
UTP: -UTP stands Ior Unshielded Twisted Pair. Twisted pair cabling comes
in several varieties, two oI which are important Ior computer networks.
Category 3 twisted pair consists oI two insulated wires gently together. Four
such pairs are typically grouped together in a plastic sheath Ior protection and
to keep the eight wires together. This scheme allowed unto Iour regular
telephones or to multilane telephones in each oIIice to connect the telephone
company equipment in the closet.
Category 5 twisted pair is similar to category 3 twisted pair, but with more
twists per centimeter and TeIlon insulation, which results in less crosstalk and
a better quality signal over long distances. Both oI these wiring types are oIten
reIerred to as UTP.
TCP/IP Protocol: -Transmission Control Protocol (TCP)/Internet Protocol
(IP) is a set oI protocols developed to allow computers oI all sizes Irom
diIIerent vendors, running diIIerent operating systems, to communicate or to
share resources across the networks. This was designed to provide a reliable
end-to-end byte stream over an unreliable inter networks. TCP is a connection-
oriented protocol while IP is a connectionless protocol.

2.5 PRILIMARY PRODUCT DESCRIPTION
The Iirst step in the system development liIe cycle is the preliminary
investigation to determine the Ieasibility oI the System. The purpose oI the
preliminary investigation is to evaluate project requests. It is not a design
study nor does it includes the collection oI details top describe the business
system in all respect. Rather, it is collecting oI inIormation that helps
committee members to evaluate the merits oI the project request and make an
inIormed judgment about the Ieasibility oI the proposed project.
Here Ior the Row material management system, I have worked on the
preliminary investigation that accomplished the Iollowing objectives:-
O ClariIy and understand the project request.
O Determine the size oI the project.
O Assess costs and beneIits oI alternative approaches.
O Determine the technical and operational; Ieasibility oI alternative
approaches.
Daily LiIe Banking


SYW


O Report the Iindings to management, with recommendation
outlining the acceptances or rejection oI the proposal.
Considering above criteria I also keep in mind that the requirements are
clearly understandable when the clariIication oI project request is enquired.
The data oI the Row material management system, which are collected by me
during preliminary investigation, are through:-

O Reviewing organization Documents
O Onsite observation and
O Conducting interviews.




























Figure-: Analysis as a Bridge between System Engineering and Software
Design









SOFTWARE
DESIGN




SOFTWARE
REQUIREMENTS
ANALYSIS

SYSTEM
ENGINEERING
Daily LiIe Banking


SYW









2. 5. FISIBILITY STUDY

Not everything imaginable is Ieasible, not even in soItware, evanescent as it
may appear to outsiders. Feasibility is the determination oI whether or not a
project is worth doing. On the contrary, soItware Ieasibility has seven solid
dimensions as below:-
1. Technical Ieasibility.
2. Operational Ieasibility.
3. Economic Ieasibility.
4. Social Ieasibility.
5. Management Ieasibility.
6. Legal Ieasibility.
7. Time Ieasibility.
The process Iollowed in making this determination is called a Ieasibility study.
The type oI study determines iI a project can and should be taken. Once it has
been determined that a project is Ieasible, that analyst can go ahead and
prepare the project speciIication which Iinalizes project requirements.
Generally, Ieasibility studies are undertaken within tight time constraints and
normally culminate in a written and oral Ieasibility report. The contents and
recommendation oI such a study will be used as a sound basis Ior deciding
whether to proceed, postpone or cancel the project. Thus, since the Ieasibility
study may lead to the commitment oI large resources, it becomes necessary
that it should be conducted competently and that no Iundamental errors oI
judgment are made. In other words we can say that a Ieasibility study is
conducted to select the best system that meets perIormance requirement. This
contains and identiIication description, an evaluation oI candidate system and
the selection oI best system Ior the job. The system required a statement oI
constraints; the identiIication oI speciIic system objective and a description oI
outputs deIine perIormance.
2.5.2 Technical Feasibility
Technical Ieasibility is concerned with speciIying equipment and soItware that
will successIully satisIy the user requirements. My project is Iit in technical
Ieasibility because it requires neither too much heavy conIiguration system Ior
its run nor in its development. Following hardware and soItware components
are used in the development oI proposed system. The same conIiguration
system is also meets all the requirements to run or Ior implements to run or Ior
implementation oI the system. Though I have also tested this soItware Ior
those systems whose conIiguration is lower than the above speciIied

2.5.3 Economical Feasibility
Daily LiIe Banking


SYW


Economic analysis is the most Irequently used technique Ior evaluation oI the
eIIectiveness oI a proposed system. More commonly known as Cost/BeneIit
analysis, the procedure is to determine the beneIits and saving that are
expected Irom a proposed system and compare them with costs. II beneIits
outweigh costs, a decision is taken to design and implement the system. Other
weight costs, a decision is taken to design and implement the system.
Otherwise, Iurther justiIication or alternative in the proposed system will have
to be made iI is to have a chance oI being approved. This is an on going eIIort
that improves in accuracy at each phase oI the system liIe cycle.
BeIore establishing Economical Feasibility so as to justiIy the
expenses that diIIerent organization working under this category has to bear
Ior this SoItware. It is crystal clear that the user or Customer oI this SoItware
has no need to invest heavy amount Ior this soItware. As my project has been
written in such a language, which is a platIorm Independent. It has also the
Ieature oI WORM. It means it possess the technology oI Write Once & Run
every one
There is no any heavy expense on the maintenance oI this
SoItware. Also there is no need to expense a heavy amount on the set oI
''ery Expert Personals because it is very easy and user-Iriendly soItware. It
is Iully tighten protection oI Secret Password and User Name Ior
unauthorized access oI this SoItware. For diIIerent types oI Process or
Operation, Reports or Query and Output also, there is no need oI heavy
expenditure.
2. 5. 4 Operational Feasibility
My project is also Iit in Operational Feasibility Study. As I have explained
beIore this about Technical Feasibility and Economical Feasibility, this
SoItware is very easy and user-Iriendly.
I have used a very easy menu system and also used some control buttons in the
easy way by which one can choose the options on his desire. Though this is
Iully protected with the security by word (Password and user name), iI both
are matched only then one can get access oI this soItware. 'arious Reports,
Forms and Queries can be generated on the Iingertips Ior the user. In nutshell
we can say that it has Iollowing operational Ieatures:
a) It is User-Friendly.
(b) It is having less paperwork.
(c) EIIicient tractability.
(d)Query can be generated.
(e)'arious Reports and Forms can be generated.
(I)Fully protected by Password and User Name Ior unauthorized
access.

Daily LiIe Banking


SYW


Technical
hardware
software
Application
Cost
Saving
Benef its Management
Genarl
Non-
managem
ent
s
y
s
t
e
m
s
P
a
c
k
a
g
e
s
m
a
n
a
g
e
m
e
n
t
s
c
ie
n
c
e

o
r
m
o
d
e
l
s
Data base Operating
Systems languages
nput/Output
Communication
storage
Regulatory
agencies
Customers,
Vendors
NonEdpcleric
al Edp
Clerical
departmant
Workers
Top
management
Middle
management
Operators/
management
ntangible
Tangible
Supplies,
Operators
expense,
Clerical/
Perso
nnel,
Equipm
ent
Systems/
Programmers
Operators/
supplies
hardware/
software
Economic
Operator








Figure : Application Feasibility Criteria
Daily LiIe Banking


SYW




The system design process is not a step adherence oI clear procedures and
guidelines. Though, certain clear procedures and guidelines have emerged in
recent days, but still much oI design work depends on knowledge and
experience oI the designer.
When designer starts working on system design, he will Iace diIIerent type oI
problems. Many oI these will be due to constraints imposed by the user or
limitation oI the hardware and soItware available in the market. Sometimes, it
is diIIicult to enumerate the complexity oI the problems and solutions thereoI
since the variety oI likely problems is so great and no solutions are exactly
similar. However, Iollowing considerations should be kept in mind during the
system-designing phase.
3.Basic Design Objectives
The primary objective oI the design, oI course, is to deliver the requirement as
speciIied is the Ieasibility report. In general, the Iollowing design objectives
should be kept in mind.
3.. Practicality:- The system must be stable and can be operated by people
with average intelligence.
3..2 Efficiency:- This involves accuracy, timeliness and comprehensiveness
oI the system output.
3..3 Cost:- It is desirable to aim Ior a system with a minimum cost subject to
the condition that it must satisIy all the requirements.
3.1.4 Flexibility:- The system should be modiIiable depending on the
changing needs oI the user. Such modiIications should not entail extensive
reconstructing or recreation oI soItware. It should also be portable to diIIerent
computer system.
3..5 Security:- This is very important aspect oI the design and should cover
areas oI hardware reliability, Iall back procedures, physical security oI data
and provision Ior detection oI Iraud and abuse. In actually System Design
involves Iirst logical design and then physical construction oI the system. The
logical design describes the structure and characteristics oI Ieatures, like the
outputs, inputs, Iiles, databases and procedures. The physical construction,
which Iollows the logical design, produces actual program soItware, Iiles and
a working system. There is some basic model oI Daily Banking System in My
Project Under here









Daily LiIe Banking


SYW


CUSTOMER DETAIL :-
This module includes the all the master data about a customer which required
by a bank. This module is also a master table. The attributes oI this module is
customer code, customer name, nominee name, nominee name nominee
address etc, where customer code is primary key. This module is linked with
another table shaving a/c, current a/c etc. The pictorial representation oI this
module is as Iollows.



ACCOUNT DETAILS :-

This includes details oI an account. II any account opens in the bank then it
Iirst inserted into this module. It stores account no, type, customer id and their
opening date. This module is linked with
shaving account, current account, recurring account and Iixed deposit account.
It can be depicted as:























CUSTOMER DETAILS
LOANDETAILS
ACCOUNT DETAILS
ACCOUNT DETAILS
CURRENT ACCOUNT
SHA'ING ACCOUNT
FIXED DEPOSIT A/C
Daily LiIe Banking


SYW%


SHAVING ACCOUNT:-

This module stores the account condition oI shaving type account. This
account is best Ior medium level customer. In this module account id is
Ioreign key. In this account you can get interest 3.5 percent by bank.

CURRENT ACCOUNT:-

This module contains the detail oI account oI current type. In the current
account we can perIorm transaction more than one times in a day, but we can
not get any interest by bank. This is one oI the oldest account and more
popular account. In this module account id is Ioreign key.



3.2 Design Constraints
The designer normally will work under Iollowing constraints:
3.2. Hardware: - The existing hardware will obviously aIIect the system
design.
3.2.2 Software: - The available soItware (Operating System, Utilities, and
Language etc.) in the market will constrain the design?
3.2.3 Budget:-The budget allocated Ior the project will aIIect the scope and
depth design.
3.2.4 Time-Scale: - The new system may be required by a particular time (e.g.
the start oI a Iinancial year). This may put a constraint on the designer to Iind
the best design.
3.2.5 Interface with other Systems:-The new system may require some data
Irom another computerized system or may provide data to another system in
which case the Iiles must be compatible in the Iormat and the system must
operate with a certain processing cycle.
In nutshell we can say that system design develops the architectural details
required to build a system oI product the system design contains the Iollowing
activities.
(a)Partition the analysis model into subsystems.
(b)IdentiIy concurrency that is dictated By the problem.
(c)Allocate subsystems to processors and tasks.
(d)Develop a design Ior the user interIace.
(e)Choose basic strategy Ior implementing data management.
(I)IdentiIy global resources and the control mechanisms required to
access them.
(g)Design an appropriate control mechanism Ior the system, including
task management.
(h)Consider how boundary conditions should be handled.
(i)Review and consider trade-oIIs.
In actually the computer system design process is an exercise oI speciIying
'How the system will work. It is an iterative process, which is based on
'What the system will do.
Daily LiIe Banking


SYW%


Mainly, Iollowing Iive parts have been included in the system
design process:
3.2.Output Design: - The starting point oI the design process is the proper
knowledge oI system requirements, which will normally be converted in terms
oI output.
3.2. Input Design: - Once the output requirements have been Iinalized, the
next step is to Iind out what data need to be made available to the system to
produce the desired outputs. The basic documents in which these data are
available need to be identiIied. II necessary, these documents may have to be
revised or new documents may have to be introduced.
3.2.8 File Design:-Once the input data is captured in the system, these may
have to be preserved either Ior a short or long period. These data will
generally be stored in Iiles in a logical manner. The designer will have to
devise the techniques oI storing and retrieving data Irom these Iiles.
3.2.9 Procedure Design:-This step involves speciIication oI how processing
will be perIormed in this, there are two aspects:
O Computer procedure.
O Non-computer procedure.
O The computer procedure will speciIy what
Functions will be carried out on computer,
What will be diIIerent programs and in
What sequence the programs will be run. The non-computer procedure will
speciIy the manual procedures Ior Ieeding input data, receiving outputs etc.
3.2. Control Design:-The control design indicates necessary procedures
which will ensure correctness oI processing, accuracy oI data, timely output
etc. This will ensure that the system is Iunctioning as per plan.

3.3 Input Design
The design oI input play very signiIicant role in getting the correct output. It
covers all phases oI input Irom creation oI initial data to actual entering the
data to the system Ior processing. The input design is the link that ties the
inIormation system into the world oI its users. Some Ieature oI design may
very depending on whether the system is batch oriented or online. The various
objectives oI input design which Iocus on:-
O Controlling amount oI input.
O Avoiding delay.
O Avoiding errors in data.
O Avoiding extra steps.
O Keeping the process simple.
Major Concerns Regarding Input:
We must consider on some important points regarding input,
they are: -
O What input is needed?
O How and where is the input created?
O How should the source documents be
Designed?
O What Iormat should be used Ior the
Daily LiIe Banking


SYW


Input records?
O What medium should be used Ior
Recording the input?

3.4 Output Design

Presenting the data processed by a computer-based inIormation system in an
attractive and usable Iorm has become very essential. Success and acceptance
oI a system to some extent depend on good presentation. ThereIore, system
analysts must know Iully how to design output report in an attractive way.
Many new output devices are being introduced in the market because oI recent
development in computer technology.
There are three main reasons why outputs Irom the computer are required.
(a)For communicating to the persons concerned.
(b)For re-input to the computer Ior being connected with other data and Iurther
processing.
(c)For Permanent storage.
3.4.Output Design Consideration: - Outputs to be produced usually
depends upon the Iollowing consideration:
Type of User and Purpose:-Generally diIIerent levels oI users will have
diIIerent requirements Irom the system. Some want exception reports (e.g.
When sales Iall below a certain level), some want summary reports (e.g. sales
quantity and value Ior each region) while some want details (e.g. list oI
invoices Ior a period).
Again statutory reports will normally be as per requirement speciIied under
the law and the designer will not have much Ilexibility to change the Iormat.
Content:-The data that are needed to be included in the output. These will be
related to the purpose oI the input.
Format:-This reIers to the arrangement oI data on the report, size oI the
paper, titles, headlines, color oI the paper etc.
Frequency and Timing:- At what Irequency (daily, weekly, monthly,
annually etc.) and when (aIter annual closing oI accounts, aIter the end oI the
Iiscal year, beIore the last day oI every month etc.)
Volume: -OIten sheer volume oI the output deters one Irom using the outputs.
The sheer bulk oI the report may also create problems Ior handling, Iiling or
printing time.
Sequence:-The useIulness oI an output very oIten depends on the sequence oI
data printed. A proper sequence will also help distribution oI outputs to
diIIerent users (e.g. pay-slips printed department wise Iacilitates easier
payment).
Quality:-This relates to the content, appearance and accuracy oI the output
generated Ior external users should be given special attention in respect oI its
get-up, quality oI paper etc.
Type of Stationary:-Reports can be generated on ordinary blank stationery or
on specially printed stationary which is useIul when most oI the contents oI
the input (e.g. Invoice, pay-slips etc.) are constant. This type oI stationary has
the Iollowing advantages:
(a)Save Computer time.
(b)Attractive appearance convenient to use by the user.
Daily LiIe Banking


SYW




3.5 Form Design
As we know that data provide the basis Ior inIormation systems. Without data
there is no system, but data must be Ied in correct way so that the inIormation
produced must be in a Iormat acceptable to the user. In either case, it is still
data- the basic element oI a printed Iorm. A Iorm is a tool with a message; it is
the physical carrier oI data or oI inIormation. It also can constitute authority
Ior action. It is hard to imagine a business operating without using Iorms.
They are the vehicles Ior most communications and the blue print Ior many
activities. It is as important as a printed Iorm is, however, the majority oI
Iorms are designed by poorly trained people who are puzzled by conIusing
Iorms; they ask Ior directions on how to read them and how to Iill them out.
When a Iorm is poorly designed, it is a poor (and costly) administrative tool.

3.5.Classification of Forms:-A printed Iorm is generally classiIied by what
it does in the system. There are three primary classiIications: Entry, Query,
and Report Iorms.
Entry Forms: The user has designed entry Forms Ior Data Entry work.
Query & Report Forms:-A report Iorm guides supervisors and other
administrators in their activities. It provides data on a project or a job.
3.5.2Factors to be considered in Form Design:-Form design plays an
important role in data processing. Form must have the appearance oI a well-
conceived and attractive design. Some oI the important, Iactors, which should
be taken care oI are given below.
(a)Size and shape oI the Iorm should be such that it is convenient Ior handling,
Iilling, sorting etc.
(b)Arrange the material in logical orders so that it becomes easy to Iill it up.
(c)The Iorm title must clearly identiIy its purpose.
(d)Precise contents should be recorded. Adequate and compact space should
be provided Ior items to be recorded. Pre-printed entries should be taken care
oI.
(e)Special Ieatures like security and control are to be considered.
(f)Introduce emphasis by shading columns, heavy lines, etc. II the Iorm is to
be used Ior speciIic clerical operation, Ior example copying or checking. See
that the detail is arranged and spaced to provide maximum help to the
operation.
(g)The Iorm designer should design the Iorm in such a way so as to cover the
speciIic needs oI the purpose Ior which it is designed.

3. File Design:
AIter designing the Input and Output, the designer begins to pay his attention
on the work oI Iile designing or how data should be organized around user
requirements. How data are organized depends on the data and response
Daily LiIe Banking


SYW


requirements that determine hardware conIigurations. System analyst is
responsible Ior designing the Iiles and selecting their contents, selecting Irom
options available Ior organizing the data. File organization may be sequential,
index sequential, inverted list or random. Each method has its own uses and
abuses.
An integral approach to Iile design is the database. The general theme is to
handle inIormation as an integrated whole, with a minimum oI redundancy
and improved perIormance. 'arious soItware techniques are applied to
manipulate, describe and manage data. Irrespective oI type oI data structure
used, the main objectives oI database are accurate and integrity, successIul
recovery Irom Iailure, privacy and security oI data.
Files are the heart oI a computer application. The basic terms used to describe
Iile are Data item, Record, File and Database.
Data Item: -A basic or individual element oI data is called data item. Each
Data item is assigned a value. Data item is sometimes reIerred to as a Iield.
Record:-The collection oI related data items is called a record. The analyst
also determines the length and type oI each Iield.
File: -File is a collection oI related records. Each record in a Iile is included
because it pertains to the same entity.
Database:-The highest level in the hierarchy is the database. It is a set oI
inter-related Iiles Ior real time processing. It contains the necessary data Ior
problem solving and can be used Ior several users who are accessing data
concurrently.
Types of Files:-There are various types oI Iiles in which the records are
collected and maintained they are categorized as:
O Master Iile.
O Transaction Iile.
O Table Iile.
O Report Iile.
O Back-up Iile.
O Dump Iile
O Library Iile.
Master File:-Master Iiles are the most important type oI Iile. Most Iile design
activities concentrate here. In a business application, these are considered to
be very signiIicant; they contain the essential records Ior maintenance oI the
organizational business.
Transaction File:-A transaction Iile is a temporary Iile used Ior two purposes.
First oI all, it is used to accumulate data about events as they occur. Secondly,
it helps in updating master Iiles to reIlect the result oI current transactions.
The term transaction reIers to any business event that aIIect the organization
and about which data is captured. Examples oI common transaction in the
organization are making purchases, hiring oI workers and recording oI sales.
Table File:-A special type oI master Iile is included in many systems to meet
speciIic requirements. where data must be reIerenced repeatedly. Table Iiles
are permanent Iiles containing reIerence data used in processing transaction,
updating master Iile oI producing output. As memory space and make the
program maintenance easier by storing data in a Iile, that otherwise would be
included in programs or master Iile records.
Daily LiIe Banking


SYW


Report File:-Report Iiles are collected contents oI individual output reports oI
documents produced by the system. They are created by the system where
many reports are produced by the system but printer may not be available Ior
all the reports. This situation Irequently arises when the computer carries out
three Iunctions- Input, Processing and Output simultaneously, rather than
executing each Iunction in sequence. In this case, the computer writes the
report contents to a Iile on the disk or secondary storage device, where it
remains until it can be printed. That Iile is called the report Iile, which
contains the unprinted output data.
The process oI creating it is known as spooling, which means
that output that cannot be printed when it is produced is spooled into a report
Iile. Then, depending on the availability oI printer, the system will be
instructed to read the report Iile and print the output on the printer.
Backup File:-It is a copy oI master, transaction or table Iile that is made to
ensure a copy is available iI anything happens wrong to the original.
Dump File:-This is a copy oI computer-held data at a particular point oI time.
This may be copy oI master Iile to be retained to help recovery in the event oI
a possible corruption oI the master Iile or it may be part oI a program in which
error is being traced.
Library File: Library Iile generally contains application programs, utility
programs and system soItware packages.













Daily LiIe Banking




SYW

3.4 DATASTRUCTURE


. CUSTOMER DETAIL

Fields Data type Width Precision Key
Constraints
Customercode 'archar2 10 Primary key
Customername 'archr2 30
Customerlcadd 'archar2 60
Customerpradd 'archar2 60
D.O.B Date
Age Number 3
Sex 'archar2 4
Phoneno Number 12
Panno Number 12
Meritastatus 'archar2 10
Nationality 'archar2 15
QualiIication 'archar2 15
Nomineename 'archar2 30
Nominee add 'archar2 40
Nomineerelation 'archar2 15
Occupation 'archar2 15


2. ACCOUNT DETAIL:

Field Data type Width precision Key
Constraints
Accountid 'archar2 10 Primary key
Customerid 'archar2 10 Foreign key

Daily LiIe Banking


SYW


Opendate Date
Accountname 'archar2 15





3. CURRENT ACCOUNT:


4 TRANSACTIONS:


5. SAVING A/C:


6. IIXLD A/C
Field Data type Width Precision Key
Constraints
Accountid 'archar2 10 Foreign key
Date Date
Balanceamount Number 15
Field Data type Width Precision Key
Constraints
Serialno 'archar2 10 Primary key
Trmode 'archar2 15
Accountid 'archar2 10 Foreign key
Accountname 'archar2 30
Amount Number 15
Trtype 'archar2 15
Payto/receivedby 'archar2 30
Date Date
Field Data type Width Precision Key
Constraints
Accountid 'archar2 10 Foreign key
Date Date
Balanceamount Number 15
Daily LiIe Banking


SYW



. GENERAL LEDGERS:


8 LOAN DETAILS:

9 ACCOUNT TRASNFER:

Field Data type Width Precision Key Constraints
Accountid 'archar2 10 Foreign key
TransIerto 'archar2 30
Accounttype 'archar2 15
Field Data type Width Precision Key
Constraints
Accountid 'archar2 10 Foreign key
Date Date
Balanceamount Number 15
Field Data type Width Precision Key Constraints
Date Date Primary key
Shavingdposit Number 15
Shavingwithdrawal Number 15
Shbalance Number 15
Currentdposit Number 15
Currentwithdrawal Number 15
Currentbalance Number 15
Recurringdeposit Number 15
Recurringwithdrawal Number 15
Recurringbalance Number 15
Fixeddeposit Number 15
Fixedwithdrawal Number 15
Fixedbalance Number 15
Field Data type Width Precision Key Constraints
Date Date Primary key
Deposit Number 10
Withdrawal Number 10
Balanceamount Number 10
Daily LiIe Banking


SYW


TransIerreddate Date
Amount 'archar2 10




. HEAD OFFICE ACCOUNT:
Field Data type Width Precision Key Constraints
Date Date Primarykey
Deposit Number 10
Withdrawal Number 10
Balanceamount
. FIXED DEPOSIT


Field Data type Width Precision Key Constraints
Accountid 'archar2 10 Foreign key
Fixedterm Number 5
Fixedamount Number 15
Fixeddate Date
Interest Number 2 2
Maturitydate Date
Maturityamount Number 15
Daily LiIe Banking


SYW%


2. CASH BOOK


3 Balance Sheet

Field Data type Width Precision Key Constraints
Cdate Date Primary key
Csaving Number 50
Ccurrent Number 50
Crecurring Number 50
CIixed Number 50
ChoIIice Number 50
Cloans Number 50
Ldaybalance Number 50
Crtotal Number 50
Dsaving Number 50
Dcurrent Number 50
Drecurring Number 50
DIixed Number 50
DhoIIice Number 50
Dloans Number 50
Cashinhand Number 50
Dtotal Number 50
Remark Number 50
Field Data type Width Precision Key Constraints
Bdate Date Primary key
Saving Number 50
Recurring Number 50
Current1 Number 50
Fixed Number 50
Total Number 50
Cashinhand Number 50
Asloans Number 50
HoIIice Number 50
Grandtotal Number 50
Remarks Number 50
Daily LiIe Banking


SYW%


























2. Conceptual Models



DFD LEVEL







ACCOUNT
DETAILS
CUSTOMER
DETAILS
CUSTOMER DETAILS
DAILY
BANKING
SYSTEM
Daily LiIe Banking


SYW




Figure 8: DFD LEVEL-













CUSTOMER DFD LEVEL



ORDER PRODUCT
Form Fill

Order inIormation


Order

LOAN A/C
FIXED A/C
CURRENT
A/C
ACCOUNT DETAILS
CUS1OMLR
DL1AILS

PROCESS
ORDERR
SLIP
PRODUCT
FIXED A/C
CURRENT A/C
LOANS ACCOUNT
Daily LiIe Banking


SYW





eriy


CUSTOMER
Billing InIormation

Customer Name and address


ACOUNT DETAILS







Figure 9: DFD LEVEL-














FIXED A/C DFD LEVEL



'eriIy Transaction




COLLEC
T
PAYMEN
T
FIXED A/C
LOAN
PROCES
SOPEN
CUS1OMLR
DL1AILS
Daily LiIe Banking


SYW





Veriy
Mature

Fill Form updates



Loan lorm








Figure : DFD LEVEL -













CURRENT A/C DFD LE'EL 1




'eriIy
Loan lorm




FIXED A/C
CURRENT A/C
COLLEC
T-
PAYMEN
T
TRANS
ACTION
Daily LiIe Banking


SYW





'eriIy

Mature

Updates
Customer-details












Figure : DFD LEVEL-
CURRENT A/C
Daily LiIe Banking


SYW


LOAN A/C DFD LE'EL 1




Veriy
lorm






Check a/c,cust
name,custid

Account Details


Updates
TransIer













Figure 2: DFD LEVEL-









LOANDETAILS


LOANTY
PE
PROCESS
ORDER
LOANDETAILS
Daily LiIe Banking


SYW



CUS1OMLR DL1AIL DID LLVLL -J


z


Request orm















Result













Iigure J3: DID LLVLL-J


Customer
Detail
1 Process Deposit and Withdrawal
1.1
Order Form and Deposit
and Withdrawal Request
1.2
Get Reqiure Data Irom
Store

1.3
Relay data
Account Detail

Customer
Detail
Daily LiIe Banking


SYW


1RANSAC1ION DL1AIL DID LLVLL -2








lill the customer detail data retrie entry











Making Balance sheet linal passbook













igure 14: DID LLVLL-2

Transaction

2.1
Get the Customer details
And Iill the Iorm
2.2
Get the Ledger and
create Balance sheet
2.3
Final Cash Book
Result
Ledger Detail Cash _Book

Balance Sheet

Transaction
Daily LiIe Banking


SYW











M M





M

J

J


JJ




M


CUSTOMER_
DETAILS
ACCOUNT_
DETAILS
HAS
IS
A

CNAML
CUS_ID LNAML
lNAML
PlONL_
NO
PAN_NO
ACC_NO
ACC_N
AML
IS A
FIXED A/C
ACC_ID IN1LRLS1_
RA1L
DA1L
SAVING A/C
MONL\
1RANSlLR
AMOUN1

ACC_NO

DA1L
CURRENT A/C

AMOUN1

ACC_ID

DA1L

LOAN
DA1L

AMOUN1

BALANCL
AM1

\I1lDRA\
Daily LiIe Banking


SYW%






4.Coding Detail:-
Main Form Code
import pg.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.MouseListener;
import java.awt.event.*;
import java.awt.event.MouseEvent;
import java.lang.*;
public class MyProject //this is main program oI this project private
MenuBar mb;
private Menu mtr,tr,rp,ex,hl,mor;
private MenuItem ctd,acd,gd,ld;
private MenuItem cac,sac,rcac,Ixac,tr1,actI,accl,csb,bls,cgr,hac,gnl,atr;
private MenuItem rp1,rp2,rp3,rp4,rp5,rp6,rp7,rp8,rp9;
private MenuItem ys,no;
private Frame Irm;
private Label tl,lb,nm;
private String||images"brand.giI"};
private ImageIcon picture;
private Panel pl;
private Label lg1;
public MyProject() //constructor oI class MyProject
pl new Panel();Irmnew Frame("Daily Banking System");
Irm.setDeIaultCloseOperation(Frame.EXITONCLOSE);
Irm.setLayout(null);
tlnew Label("DAILY BANKING SYSTEM");
Color cl new Color(35,74,135);
tl.setForeground(cl);
Font It new Font("Bookman Old Style",Font.BOLD,55);
tl.setFont(It);
Font It1 new Font("Arial",Font.ITALIC,50);
tl.setBounds(30,170,750,60);
lbnew Label("FOR");
lb.setFont(It1);
lb.setForeground(cl);
lb.setBounds(300,240,150,50);
Icon lognew ImageIcon(getClass().getResource("brand.giI"));
lg1 new Label(log);Icon log1new
ImageIcon(getClass().getResource("main lg.giI"));
nm new Label(log1);
Irm.add(lg1);
nm.setBounds(300,10,550,205);
lg1.setBounds(100,290,580,220);

Daily LiIe Banking


SYW%


Irm.add(tl);
Irm.add(lb);
mbnew MenuBar();
mtrnew Menu("Master");
trnew Menu("Transaction");
rpnew Menu("Report");
exnew Menu("Exit");
mtr.setMnemonic('M');
tr.setMnemonic('T');
rp.setMnemonic('R');
ex.setMnemonic('E');
ctd new MenuItem("Customer Detail");
acd new MenuItem("Account Detail");
gd new MenuItem("Gurrantor Detail");
ld new MenuItem("Loan Detail");
gnl new MenuItem("General Ledger");
atr new MenuItem("Account TransIer");
cac new MenuItem("Current Account");
sac new MenuItem("Saving Account");
rcacnew MenuItem("Reccuring Account");
Ixacnew MenuItem("Fixed Account");
tr1 new MenuItem("Transaction");
actInew MenuItem("Account TransIer");
acclnew MenuItem("Account Close");
csb new MenuItem("Cash Book");
bls new MenuItem("Balance Sheet");
cgr new MenuItem("Customer Gurrnator");
hac new MenuItem("Head OIIice Account");
rp1 new MenuItem("Day wise deposit to all account seperately");
rp2 new MenuItem("Total deposit perday");
rp3 new MenuItem("Monthly total deposit");
rp4 new MenuItem("Account wise total deposit");
rp5 new MenuItem("Total account opening in a session");
rp6 new MenuItem("Total closed account ");
rp7 new MenuItem("Total transIered account");
rp8 new MenuItem("Total matured Iixed account");
rp9 new MenuItem("Total Iixed account above 50 thousands");
ys new MenuItem("Yes");
no new MenuItem("No");
Irm.setMenuBar(mb);
mb.add(mtr);mb.add(tr);mb.add(rp);mb.add(ex);
mtr.add(ctd);mtr.add(acd);
mtr.add(gd);mtr.add(ld);tr.add(cac);tr.add(sac);
tr.add(Ixac);tr.add(rcac);tr.add(tr1);tr.add(accl);
tr.add(atr);tr.add(gnl);tr.add(csb);tr.add(bls);
tr.add(cgr);tr.add(hac);
rp.add(rp1);rp.add(rp2);rp.add(rp3);rp.add(rp4);
rp.add(rp5);rp.add(rp6);rp.add(rp7);rp.add(rp8);
rp.add(rp9);
ex.add(ys);
Daily LiIe Banking


SYW


ex.add(no);
ctd.addActionListener(new ctdlistener());
acd.addActionListener(new acdlistener());
ld.addActionListener(new ldlistener());
gd.addActionListener(new gdlistener());
cac.addActionListener(new caclistener());
sac.addActionListener(new saclistener());
Ixac.addActionListener(new Ixclistener());
rcac.addActionListener(new rcaclistener());
tr1.addActionListener(new trlistener());
actI.addActionListener(new acIlistener());
accl.addActionListener(new acllistener()); //here listener used Ior event
handling
gnl.addActionListener(new gnlistener());
atr.addActionListener(new atrlistener());
csb.addActionListener(new csblistener());
bls.addActionListener(new blslistener());
cgr.addActionListener(new cgrlistener());
hac.addActionListener(new haclistener());
rp1.addActionListener(new rp1listener());
rp2.addActionListener(new rp2listener());
rp3.addActionListener(new rp3listener());
rp4.addActionListener(new rp4listener());
rp5.addActionListener(new rp5listener());
rp6.addActionListener(new rp6listener());
rp7.addActionListener(new rp7listener());
rp8.addActionListener(new rp8listener());
rp9.addActionListener(new rp9listener());
ys.addActionListener(new yslistener());
no.addActionListener(new nolistener());
Color clr new Color(204,204,255);
Irm.getContentPane().setBackground(clr);
Irm.setSize(800,600 );
Irm.set'isible(true);}
private class ctdlistener implements ActionListener
public void actionPerIormed(ActionEvent e)
Projectpkg pknew Projectpkg();}}
private class acdlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

AccountDetail ad new AccountDetail();
} }
private class ldlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

LoanDetail dl new LoanDetail();
}}
private class gdlistener implements ActionListener
Daily LiIe Banking


SYW



public void actionPerIormed(ActionEvent e GurrantorDetail gd new
GurrantorDetail();
}}
private class caclistener implements ActionListener

public void actionPerIormed(ActionEvent e)

CurrentAccount ca new CurrentAccount();
}}
private class saclistener implements ActionListener

public void actionPerIormed(ActionEvent e)

SavingAccount sv new SavingAccount();
}}
private class Ixclistener implements ActionListener

public void actionPerIormed(ActionEvent e)

FixedAccount Ix new FixedAccount();
}}
private class rcaclistener implements ActionListener

public void actionPerIormed(ActionEvent e)

RecurringAccount rc new RecurringAccount();
}}
private class trlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

Transaction td new Transaction();
}}
private class acIlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

AccountTransIer at new AccountTransIer();
}}
private class acllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

AccountClose adcl new AccountClose();
}}
private class atrlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

Daily LiIe Banking


SYW


AccountTransIer at new AccountTransIer();
}}
private class csblistener implements ActionListener

public void actionPerIormed(ActionEvent e)

CashBook chb new CashBook();
}}

public void actionPerIormed(ActionEvent e)

BalanceSheet bl new BalanceSheet();
}}
private class cgrlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

CustomerGurrantor cg new CustomerGurrantor();
}}
private class haclistener implements ActionListener

public void actionPerIormed(ActionEvent e)

HOIIiceAccount hc new HOIIiceAccount();
}}
private class rp1listener implements ActionListener

public void actionPerIormed(ActionEvent e)

RP1 rp1 new RP1();
}}
private class rp2listener implements ActionListener

public void actionPerIormed(ActionEvent e)

RP2 rp2 new RP2();
}}
private class rp3listener implements ActionListener

public void actionPerIormed(ActionEvent e)

RP3 rp3 new RP3();
}}
private class gnlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

OptionPane.showMessageDialog(null,"General Ledger clicked");
GeneralLedger gl new GeneralLedger();
}}
Daily LiIe Banking


SYW


private class rp4listener implements ActionListener

public void actionPerIormed(ActionEvent e)

RP4 rp4 new RP4();
}}
private class rp5listener implements ActionListener

public void actionPerIormed(ActionEvent e)

RP5 rp5 new RP5();
}}
private class rp6listener implements ActionListener

public void actionPerIormed(ActionEvent e)

RP6 rp6 new RP6();
}}
private class rp7listener implements ActionListener

public void actionPerIormed(ActionEvent e)

RP7 rp7 new RP7();
}}
private class rp8listener implements ActionListener

public void actionPerIormed(ActionEvent e)

RP8 rp8 new RP8();
}}
private class rp9listener implements ActionListener

public void actionPerIormed(ActionEvent e)

RP9 rp9 new RP9();
}}
private class yslistener implements ActionListener

public void actionPerIormed(ActionEvent e)

System.exit(0);
}}
private class nolistener implements ActionListener

public void actionPerIormed(ActionEvent e)

OptionPane.showMessageDialog(null,"No clicked");
}}}
//end class MyProject

Daily LiIe Banking


SYW


User and Password Class
import pg.*;
import java.io.*;
import java.lang.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.util.'ector;
import javax.swing.table.AbstractTableModel;
public class Lg extends Frame
Button bt;
Label lb,lb1;
private ImageIcon log1;
public Lg()

super("WELCOME");
setLayout(null);
lbnew Label("DAILY BANKING SYSTEM");
Color clnew Color(120,145,220);
lb.setFont(new Font("chinyen",Font.BOLDFont.ITALIC,30));
setDeIaultCloseOperation(Frame.EXITONCLOSE);
btnew Button("Continue");
add(bt);
bt.setBounds(325,400,120,30);
bt.addActionListener(new btListener());
add(lb);
lb.setBounds(200,100,400,50);
log1new ImageIcon(getClass().getResource("brand.giI"));
lb1new Label(log1);
add(lb1);
lb1.setBounds(190,150,400,200);
setSize(800,600);
set'isible(true);
getContentPane().setBackground(cl);
}
private class btListener implements ActionListener

public void actionPerIormed(ActionEvent e)

password lnew password();
}}
public class password extends Frame

Button bt,bt1;
private Label nmtext1,passtext1;
private PasswordField passtext;
private int Ir0,Ir10;
private TextField nmtext;
char c||new char|20|;
public password()
Daily LiIe Banking


SYW



super("PASSWORD FORM");
setLayout(null);
btnew Button("Login");
bt1new Button("Cancel");
nmtextnew TextField();
passtextnew PasswordField();
nmtext1new Label("NAME");
passtext1new Label("PASSWORD");
add(bt);
bt.setBounds(30,130,100,30);
bt.addActionListener(new btListener());
bt1.addActionListener(new buttoneListener());
add(bt1);
bt1.setBounds(150,130,100,30);
add(nmtext1);
nmtext1.setBounds(30,30,150,30);
add(nmtext);
nmtext.setBounds(80,30,150,30);
add(passtext1);
passtext1.setBounds(10,80,150,30);
add(passtext);
passtext.setBounds(80,80,150,30);
setBounds(200,200,300,200);
set'isible(true);
}
private class btListener implements ActionListener

public void actionPerIormed(ActionEvent e)

String val1nmtext.getText();
val1.trim();
cpasstext.getPassword();
String val2new String(c);
val2.trim();
iI(val1.equals("ratnesh") && val2.equals("pass"))

Ir1;
MyProject mnnew MyProject();
dispose();
}
iI(val2.equals("pass"))

Ir1;
}
else iI(Ir0)

OptionPane.showMessageDialog(null,"Invalid Name/password,please try
again");
nmtext.setText("");
Daily LiIe Banking


SYW


passtext.setText("");
}
else

OptionPane.showMessageDialog(null,"Invalid password,please try again");
nmtext.setText("");
passtext.setText("");
}}}
private class buttoneListener implements ActionListener

public void actionPerIormed(ActionEvent e)

dispose();
}}}}
//Here starts Package class(pg)
customer_detail Class
package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.BorderLayout;
import javax.swing.border.Border;
import java.awt.event.*;
import java.sql.*;
import java.sql.DriverManager.*;

public class Projectpkg

String
str1,str2,str3,str4,str5,str6,str7,str8,str9,str10,str11,str12,str13,str14,str15,str16
String t;
Frame Ir;
Label cd,cn,cld,cpd,dob,age,sex,phn,pan,mrt,ntn,qlI,nmn,nad,nmr,ocp;
TextField
cdt,cnt,cldt,cpdt,dobt,aget,sext,phnt,pant,mrtt,ntnt,qlIt,nmnt,nadt,nmrt,ocpt,sh;
Button ad,dl,sr,up,ex,sv,Is,pr,nx,ls;
Panel pl;
Label lb,lg;
Connection connection;
ResultSet rs;
Statement statement;
Icon log,Ilg,plg,nlg,llg;
public Projectpkg()

pl new Panel();
Irnew Frame("SBI Cutome Detail");
Ir.setLayout(null);
cdnew Label("Customer code");
cnnew Label("Customer name");
cld new Label("Customer Local address");
cpd new Label("Customer Permanent address");
Daily LiIe Banking


SYW


dob new Label("Date oI birth");
age new Label("Age");
lb new Label("Customer Details");
Font It new Font("Century",Font.BOLD,30);
lb.setFont(It);Color cl2 new Color(0,0,153);lb.setForeground(cl2);
log new ImageIcon(getClass().getResource("sbilogo.giI"));
Ilg new ImageIcon(getClass().getResource("prev.giI"));
plg new ImageIcon(getClass().getResource("prev1.giI"));
nlg new ImageIcon(getClass().getResource("Next.giI"));
llg new ImageIcon(getClass().getResource("Next1.giI"));
lg new Label(log);sexnew Label("sex");phnnew
Label("Phone");pannew Label("Pan no");mrtnew Label("MeritaStatus");
ntnnew Label("Nationality");qlInew Label("QualiIication");
nmnnew Label("Nominee name");nadnew Label("Nominee address");
nmrnew Label("Nominee relation");ocpnew Label("Occupation");
cdt new TextField(10);cnt new TextField(10);sh new
TextField(10);cldtnew TextField(10);cpdtnew TextField(10);dobtnew
TextField(10);agetnew TextField(10);sextnew TextField(10);
phntnew TextField(10);pantnew TextField(10);mrttnew TextField(10);
ntntnew TextField(10);qlItnew TextField(10);nmntnew
TextField(10);nadtnew TextField(10);nmrtnew TextField(10);ocptnew
TextField(10);Is new Button(Ilg);pr new Button(plg);nx new
Button(nlg);ls new Button(llg);ad new Button("Clear"); dl new
Button("Delete");sr new Button("Search");up new Button("Update");
sv new Button("Save"); ex new Button("Exit");Color cl1 new
Color(247,223,213);Is.addActionListener(new
Islistener());pr.addActionListener(newprlistener());nx.addActionListener(new
nxlistener());ls.addActionListener(new lslistener());ad.addActionListener(new
adlistener());dl.addActionListener(new adlistener());sr.addActionListener(new
srlistener())up.addActionListener(new uplistener());ex.addActionListener(new
exlistener()); sv.addActionListener(new svlistener();
Ir.setLayout(null);Ir.getContentPane().setBackground(cl1); Ir.add(lb);
Ir.add(lg); Ir.add(ad); Ir.add(dl); Ir.add(sr);
Ir.add(sv);Ir.add(up);Ir.add(ex);Ir.add(sh);Ir.add(Is);Ir.add(pr);Ir.add(nx);Ir.ad
d(ls);ad.setBounds(130,500,75,25);dl.setBounds(230,500,75,25);
sr.setBounds(330,500,75,25);up.setBounds(430,500,75,25);sv.setBounds(530,
500,75,25);ex.setBounds(630,500,75,25);
Is.setBounds(290,450,22,25);pr.setBounds(322,450,22,25);sh.setBounds(354,
450,40,25); nx.setBounds(404,450,22,25);ls.setBounds(436,450,22,25);
Ir.add(cd);Ir.add(cdt);Ir.add(cn);Ir.add(cnt);Ir.add(cpd);
Ir.add(cpdt); Ir.add(cld); Ir.add(cldt); Ir.add(dob);Ir.add(dobt);
Ir.add(age); Ir.add(aget); Ir.add(sex); Ir.add(sext); Ir.add(phn);
Ir.add(phnt);Ir.add(pan);Ir.add(pant);Ir.add(mrt);Ir.add(mrtt);
Ir.add(ntn); Ir.add(ntnt); Ir.add(qlI); Ir.add(qlIt); Ir.add(nmn);
Ir.add(nmnt);Ir.add(nmr);Ir.add(nmrt);Ir.add(nad);Ir.add(nadt);Ir.add(ocp);
Ir.add(ocpt);lb.setBounds(30,70,300,30);lg.setBounds(350,70,350,60);
cd.setBounds(10,155,200,25);cdt.setBounds(200,155,150,25);
cn.setBounds(10,190,200,25);cnt.setBounds(200,190,150,25);
cpd.setBounds(10,225,200,25);cpdt.setBounds(200,225,150,25);
cld.setBounds(10,260,200,25);cldt.setBounds(200,260,150,25);
Daily LiIe Banking


SYW%


dob.setBounds(10,295,100,25);dobt.setBounds(200,295,150,25);
age.setBounds(10,330,200,25);aget.setBounds(200,330,150,25);
sex.setBounds(10,365,200,25);sext.setBounds(200,365,150,25);
phn.setBounds(10,400,200,25);phnt.setBounds(200,400,150,25);
pan.setBounds(410,155,200,25); pant.setBounds(600,155,150,25);
mrt.setBounds(410,190,200,25);mrtt.setBounds(600,190,150,25);
ntn.setBounds(410,225,200,25);ntnt.setBounds(600,225,150,25);
qlI.setBounds(410,260,200,25);qlIt.setBounds(600,260,150,25);
nmn.setBounds(410,295,200,25);nmnt.setBounds(600,295,150,25);
nmr.setBounds(410,330,200,25);nmrt.setBounds(600,330,150,25);
nad.setBounds(410,365,200,25);nadt.setBounds(600,365,150,25);
ocp.setBounds(410,400,200,25);ocpt.setBounds(600,400,150,25);
Color cl new Color(255,255,0);pl.setBackground(cl);Ir.add(pl);
Ir.setSize(800,600);Ir.set'isible(true);connect();
}public void connect()
try

try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","oral
e");
statementconnection.createStatement();
}
catch(SQLException e)

OptionPane.showMessageDialog(null,"Connection error"e);
}}
catch(Exception ex)

OptionPane.showMessageDialog(null,"Not connected"ex);
}}
private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

cdt.setText(" ");cnt.setText(" "); cldt.setText(" ");cpdt.setText(" ");
dobt.setText(" ");aget.setText(" ");sext.setText(" ");phnt.setText(" ");
pant.setText(" "); mrtt.setText(" ");ntnt.setText(" ");qlIt.setText(" ");
nmnt.setText(" ");nadt.setText(" ");nmrt.setText(" ");ocpt.setText(" ");
}}
private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 cdt.getText();str2 cnt.getText(); str3 cldt.getText();
str4 cpdt.getText(); str5 dobt.getText();str6 aget.getText();
str7 sext.getText();str8 phnt.getText();str9 pant.getText();
Daily LiIe Banking


SYW%


str10 mrtt.getText();str11 ntnt.getText();str12 qlIt.getText();
str13 nmnt.getText();str14 nadt.getText();str15 nmrt.getText();
str16 ocpt.getText();
statement.executeUpdate("insert into customerdetail
values('"str1"','"str2"','"str3"','"str4"',todate('"str5"','DD-MM-
YYYY'),'"str6"','"str7"','"str8"','"str9"','"str10"','"str11"','"str
12"','"str13"','"str14"','"str15"','"str16"') ");
statement.executeUpdate("Commit");
OptionPane.showMessageDialog(null,"'alue inserted");
}
catch(SQLException se)

OptionPane.showMessageDialog(null,"Could not inserted " se);
}}}
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1cd.getText();
statement.executeUpdate("delete Irom customerdetail where code' "str1"
' " );
statement.executeUpdate("Commit");
OptionPane.showMessageDialog(null,"deleted");
}
catch(SQLException se)

OptionPane.showMessageDialog(null,"Could not deleted "se);
}} }
private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 cdt.getText();str2 cnt.getText(); str3 cldt.getText();
str4 cpdt.getText(); str5 dobt.getText(); str6 aget.getText();
str7 sext.getText();str8 phnt.getText();str9 pant.getText();
str10 mrtt.getText();str11 ntnt.getText();str12 qlIt.getText();
str13 nmnt.getText(); str14 nadt.getText(); str15 nmrt.getText();
str16 ocpt.getText();statement.executeUpdate("Update Customerdetail set
cd'"str1"',cdnm '"str2"',ctladd'"str3"',ctpadd'"str4"',dob
todate('"str5"'),age;tonumber('"str6"'),sex'"str7"',phonetonumbe
r('"str8"'),pannotonumber('"str9"'),mrstatus '"str10"', nationality
'"str11"',qualiIication
'"str12"',nomineenm'"str13"',nomineeadd'"str14"',nomineerel
'"str15"',occupation'"str16"' where cd'"str1"'
");OptionPane.showMessageDialog(null,"'alue updated");
}
Daily LiIe Banking


SYW%


catch(SQLException se)

OptionPane.showMessageDialog(null,"Could not updated"se);
}}}
private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog("Enter the customer id Ior searching");
ResultSet rs;rsstatement.executeQuery("select *Irom customerdetail where
cd'"t"' ");rs.next();cdt.setText(rs.getString(1));cnt.setText(rs.getString(2));
cldt.setText(rs.getString(3));cpdt.setText(rs.getString(4));
dobt.setText(rs.getString(5));aget.setText(rs.getString(6));
sext.setText(rs.getString(7)); phnt.setText(rs.getString(8));
pant.setText(rs.getString(9)); mrtt.setText(rs.getString(10));
ntnt.setText(rs.getString(11));qlIt.setText(rs.getString(12));
nmnt.setText(rs.getString(13));nadt.setText(rs.getString(14));
nmrt.setText(rs.getString(15));ocpt.setText(rs.getString(16));
OptionPane.showMessageDialog(null,"Found");
}
catch(SQLException se)

OptionPane.showMessageDialog(null,"Data not Iound"se);
}}}
private class exlistener implements ActionListener

public void actionPerIormed(ActionEvent e)
Ir.dispose();
}}
private class Islistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

rs statement.executeQuery("Select *Irom Customerdetail");
rs.next();
cdt.setText(rs.getString(1));cnt.setText(rs.getString(2));
cldt.setText(rs.getString(3));cpdt.setText(rs.getString(4));
dobt.setText(rs.getString(5));aget.setText(rs.getString(6));
sext.setText(rs.getString(7));phnt.setText(rs.getString(8));
pant.setText(rs.getString(9));mrtt.setText(rs.getString(10));
ntnt.setText(rs.getString(11));qlIt.setText(rs.getString(12));
nmnt.setText(rs.getString(13));nadt.setText(rs.getString(14));nmrt.setText(rs.g
etString(15));ocpt.setText(rs.getString(16));
}
catch(SQLException sqle)

Daily LiIe Banking


SYW%


OptionPane.showMessageDialog(null,sqle);
} } }
private class prlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

int k0,t;try

rs statement.executeQuery("select count(*) Irom Customerdetail");
rs.next();trs.getInt(1);rs statement.executeQuery("select * Irom
Customerdetail");
while(rs.next())

k;
iI(kt)
break;
}
cdt.setText(rs.getString(1));cnt.setText(rs.getString(2));
cldt.setText(rs.getString(3));cpdt.setText(rs.getString(4));
dobt.setText(rs.getString(5));aget.setText(rs.getString(6));
sext.setText(rs.getString(7));phnt.setText(rs.getString(8));
pant.setText(rs.getString(9));mrtt.setText(rs.getString(10));
ntnt.setText(rs.getString(11));qlIt.setText(rs.getString(12));
nmnt.setText(rs.getString(13));nadt.setText(rs.getString(14));
nmrt.setText(rs.getString(15));ocpt.setText(rs.getString(16));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}
private class nxlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1cdt.getText();
rs statement.executeQuery("select * Irom Customerdetail");
while(rs.next())

str2 rs.getString(1);iI(str1.compareTo(str2)0)
break; }
cdt.setText(rs.getString(1));cnt.setText(rs.getString(2));
cldt.setText(rs.getString(3));cpdt.setText(rs.getString(4));
dobt.setText(rs.getString(5));aget.setText(rs.getString(6));
sext.setText(rs.getString(7));phnt.setText(rs.getString(8));
pant.setText(rs.getString(9)); mrtt.setText(rs.getString(10));
ntnt.setText(rs.getString(11));qlIt.setText(rs.getString(12));
nmnt.setText(rs.getString(13));nadt.setText(rs.getString(14));
nmrt.setText(rs.getString(15));ocpt.setText(rs.getString(16));
Daily LiIe Banking


SYW%


}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}} }
private class lslistener implements ActionListener

public void actionPerIormed(ActionEvent e)
int c0,k0;
try

rs statement.executeQuery("select * Irom Customerdetail");
while(rs.next())

c;

}
rs statement.executeQuery("select * Irom Customerdetail");
while(rs.next())

iI(kc-1)
break;
k;
}
cdt.setText(rs.getString(1));cnt.setText(rs.getString(2));
cldt.setText(rs.getString(3));cpdt.setText(rs.getString(4));
dobt.setText(rs.getString(5));aget.setText(rs.getString(6));
sext.setText(rs.getString(7));phnt.setText(rs.getString(8));
pant.setText(rs.getString(9));mrtt.setText(rs.getString(10));
ntnt.setText(rs.getString(11));qlIt.setText(rs.getString(12));
nmnt.setText(rs.getString(13));nadt.setText(rs.getString(14));
nmrt.setText(rs.getString(15));ocpt.setText(rs.getString(16));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}} }
Account details code:-

package pg;
import javax.swing.*;
import java.awt.*;
import java.sql.*;
import java.awt.event.*;
public class AccountDetail extends Frame

private Button svbtn,srbtn,exbtn,adbtn,upbtn,Is,pr,nx,ls;
private Label aclb,cdlb,opdlb,acnlb,lb,lg;
private TextField actxt,cdtxt,opdtxt,acntxt,txt;
private ComboBox jbm,jbx;
Daily LiIe Banking


SYW%


private String str||"
","savingaccount","recurringaccount","Iixedaccount","Currentaccount"};
private String names|| new String|50|;
private Panel acpl,cdpl,dtpl,acnpl,btnpl,lgpl,prpl;
private Container container;
private String str1,str2,str3,str4,t;
Connection connection;
Statement statement;
int x,i;
ResultSet rs;
Icon log,Ilg,plg,nlg,llg;
public AccountDetail() //constructor oI AcccountDetail

super("Account Detail");
container getContentPane();
container.setLayout(new GridLayout(7,1));
svbtn new Button("Save");
srbtn new Button("Search");
exbtn new Button("Exit");
adbtn new Button("Clear");
upbtn new Button("Update");
svbtn.addActionListener(new svlistener());
srbtn.addActionListener(new srlistener());
exbtn.addActionListener(new exlistener());
adbtn.addActionListener(new adlistener());
upbtn.addActionListener(new uplistener());
aclb new Label("Account id ");
Color cl2 new Color(0,0,153);
Font It new Font("Bookman Old Style",Font.BOLD,15);
lb new Label("Account Detail");
lb.setFont(It);
lb.setForeground(cl2);
Icon log new ImageIcon(getClass().getResource("sbilogo.giI"));
lg new Label(log);
Ilg new ImageIcon(getClass().getResource("prev.giI"));
plg new ImageIcon(getClass().getResource("prev1.giI"));
nlg new ImageIcon(getClass().getResource("Next.giI"));
llg new ImageIcon(getClass().getResource("Next1.giI"));
Is new Button(Ilg);
pr new Button(plg);
nx new Button(nlg);
ls new Button(llg);
Is.addActionListener(new Islistener());
pr.addActionListener(new prlistener());
nx.addActionListener(new nxlistener());
ls.addActionListener(new lslistener());
cdlb new Label("Customer id ");
opdlb new Label("Open date ");
acnlb new Label("Account name ");
actxt new TextField(10);
Daily LiIe Banking


SYW%


cdtxt new TextField(10);
opdtxt new TextField(10);
acntxt new TextField(10);
txt new TextField(5);
try //here customerid extracted Irom customerdetail;
i1;
names|0|" ";
connect();rsstatement.executeQuery("select * Irom customerdetail");
while(rs.next())

names|i|rs.getString(1);
i;
}
jbm new ComboBox(names);
}
catch(SQLException e)

OptionPane.showMessageDialog(null,e);
}
jbm.addItemListener(new jbmlistener());
Color cl new Color(247,223,213);
acpl new Panel();
acpl.setBackground(cl);
cdpl new Panel();cdpl.setBackground(cl);dtpl new Panel();
dtpl.setBackground(cl);
acnpl new Panel();acnpl.setBackground(cl);
btnpl new Panel();btnpl.setBackground(cl);
gpl new Panel();lgpl.setBackground(cl);
prpl new Panel();
prpl.setBackground(cl);
jbx new ComboBox(str); lgpl.add(lb);lgpl.add(lg);prpl.add(Is);prpl.add(pr);
prpl.add(txt);prpl.add(nx);prpl.add(ls);acpl.add(aclb);acpl.add(actxt);
cdpl.add(cdlb);cdpl.add(cdtxt);cdpl.add(jbm);dtpl.add(opdlb);dtpl.add(opdtxt);
acnpl.add(acnlb);acnpl.add(jbx);btnpl.add(svbtn);btnpl.add(adbtn);
btnpl.add(srbtn);btnpl.add(upbtn);btnpl.add(exbtn);container.add(lgpl);
container.add(acpl);container.add(cdpl);container.add(dtpl);container.add(acn
pl);container.add(btnpl);container.add(prpl);set'isible(true);setSize(500,500);
} //end constructor
public void connect() //Ior connection Oracle

try

try


Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");

connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","orac
le");
statementconnection.createStatement();
Daily LiIe Banking


SYW%


}
catch(SQLException e)

OptionPane.showMessageDialog(null,"Exception"e);
}}
catch(Exception ex)

OptionPane.showMessageDialog(null,"Not Connected"ex);
}}
private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

jbm.setSelectedItem(" ");
actxt.setText(" ");cdtxt.setText(" ");opdtxt.setText(" ");jbx.setSelectedItem("
");

}
}
private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 actxt.getText();
str2 cdtxt.getText();
str3 opdtxt.getText();
ijbx.getSelectedIndex();
str4 str|i|;
tstr4.substring(0,5);
System.out.println(t);
statement.executeUpdate("insert into accountdetail
values('"str1"','"str2"',todate('"str3"'),'"str4"')");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Inserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}


}}
private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)

str1 actxt.getText();
str2 cdtxt.getText();
Daily LiIe Banking


SYW%


str3 opdtxt.getText();
str4 acntxt.getText();

try

statement.executeUpdate("update accountdetail set accountid
'"str1"',customerid'"str2"',opendate
todate('"str3"'),accountname'"str4"' ");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Updated");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 actxt.getText();
statement.executeUpdate("delete Irom accountdetail where
accountid'"str1"' ");statement.executeUpdate("Commit");
OptionPane.showMessageDialog(null,"deleted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}
private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog("Enter accountid Ior searching");
rsstatement.executeQuery("select
accountid,customerid,tochar(opendate,'DD/MM/YY'),accountname
Irom accountdetail where accountid'"t"' ");
rs.next();actxt.setText(rs.getString(1));cdtxt.setText(rs.getString(2));
jbm.setSelectedItem(rs.getString(2));opdtxt.setText(rs.getString(3));
acntxt.setText(rs.getString(4));OptionPane.showMessageDialog(null,"Found"
);}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not Iound");
}}}
private class exlistener implements ActionListener

Daily LiIe Banking


SYW%


public void actionPerIormed(ActionEvent e)

dispose();
}}
private class jbmlistener implements ItemListener

public void itemStateChanged(ItemEvent e)

xjbm.getSelectedIndex();
str1names|x|;
cdtxt.setText(str1);
}}
// classes Ior previous next.. button
private class Islistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

rs statement.executeQuery("Select *Irom Accountdetail");rs.next();
actxt.setText(rs.getString(1));cdtxt.setText(rs.getString(2));jbm.setSelectedIte
m(rs.getString(2));opdtxt.setText(rs.getString(3));
acntxt.setText(rs.getString(4));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
} }}
private class prlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

int k0,t;
try

rs statement.executeQuery("select count(*) Irom Accountdetail");
rs.next();
trs.getInt(1);
rs statement.executeQuery("select * Irom Accountdetail");
while(rs.next())

k;
iI(kt)
break;
}
actxt.setText(rs.getString(1));
cdtxt.setText(rs.getString(2));
jbm.setSelectedItem(rs.getString(2));
opdtxt.setText(rs.getString(3));
acntxt.setText(rs.getString(4));
Daily LiIe Banking


SYW%%


}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}
private class nxlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1actxt.getText();
rs statement.executeQuery("select * Irom Accountdetail");
while(rs.next())

str2 rs.getString(1);
iI(str1.compareTo(str2)0)
break;}
actxt.setText(rs.getString(1));
cdtxt.setText(rs.getString(2));
jbm.setSelectedItem(rs.getString(2));
opdtxt.setText(rs.getString(3));
acntxt.setText(rs.getString(4));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}
private class lslistener implements ActionListener

public void actionPerIormed(ActionEvent e)
int c0,k0;
try

rs statement.executeQuery("select * Irom Accountdetail");
while(rs.next())

c;

}
rs statement.executeQuery("select * Irom Accountdetail");
while(rs.next())

iI(kc-1)
break;
k;
}
actxt.setText(rs.getString(1));cdtxt.setText(rs.getString(2));jbm.setSelectedIte
m(rs.getString(2));opdtxt.setText(rs.getString(3));acntxt.setText(rs.getString(4
));
Daily LiIe Banking


SYW%%


}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}} } //end class AccountDetail;
Current Account Code

package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class CurrentAccount extends Frame

private Button srtn,uptn,dltn,svtn,adtn,extn,Is,pr,nx,ls;
private Label acl,dtl,bl,lb,lg;
private TextField dtxt,btxt,txt;
private ComboBox jbx;private String str||new String|50|;
Connection connection;Statement statement;ResultSet rs;
private String str1,str2,str3;int i;
private String t;
Icon log,Ilg,plg,nlg,llg;
public CurrentAccount() //constructor setLayout(null);srtn new
Button("Search");uptn new Button("Update");dltn new
Button("Delete");svtn new Button("Insert/Save");adtn new
Button("Add");extn new Button("Exit");Color cl2 new Color(0,0,153);
Font It new Font("Bookman Old Style",Font.BOLD,30);
lb new Label("Current Account Detail");
lb.setFont(It);lb.setForeground(cl2);Icon log new
ImageIcon(getClass().getResource("sbilogo.giI"));lg new Label(log);
Ilg new ImageIcon(getClass().getResource("prev.giI"));
plg new ImageIcon(getClass().getResource("prev1.giI"));
nlg new ImageIcon(getClass().getResource("Next.giI"));
llg new ImageIcon(getClass().getResource("Next1.giI"));Is new
Button(Ilg);pr new Button(plg);nx new Button(nlg);ls new
Button(llg);Is.addActionListener(new Islistener());pr.addActionListener(new
prlistener());nx.addActionListener(new nxlistener());ls.addActionListener(new
lslistener()); srtn.addActionListener(new
srlistener());uptn.addActionListener(new uplistener());
dltn.addActionListener(new dllistener());
svtn.addActionListener(new svlistener());adtn.addActionListener(new
adlistener());extn.addActionListener(new exlistener());
acl new Label("Account id");dtl new Label("Date");
bl new Label("Balance amount");dtxt new TextField();
btxt new TextField();txt new TextField();
try
i1;
str|0|" ";
connect();
rsstatement.executeQuery("select * Irom accountdetail");
Daily LiIe Banking


SYW%


while(rs.next())

str|i|rs.getString(1);
i;
}
jbx new ComboBox(str);
}
catch(SQLException e)

OptionPane.showMessageDialog(null,e);
}
add(lb);add(lg);add(txt);add(Is); add(pr); add(nx);
add(ls);add(acl);add(dtl);add(bl);add(srtn);add(uptn);add(dltn);
add(svtn);add(adtn);add(extn);add(dtxt);add(btxt);add(jbx);
lb.setBounds(20,100,360,35);lg.setBounds(400,100,350,50);
acl.setBounds(150,250,100,30);jbx.setBounds(280,250,150,30);
dtl.setBounds(150,285,100,30);dtxt.setBounds(280,285,150,30);
bl.setBounds(150,320,100,30);btxt.setBounds(280,320,150,30);
Is.setBounds(290,360,22,25);pr.setBounds(322,360,22,25);
txt.setBounds(354,360,44,25);nx.setBounds(404,360,22,25);
ls.setBounds(436,360,22,25);adtn.setBounds(50,400,80,25);srtn.setBounds(16
0,400,80,25);svtn.setBounds(270,400,80,25);uptn.setBounds(380,400,80,25);
dltn.setBounds(490,400,80,25);extn.setBounds(600,400,80,25);
Color clr new Color(247,223,213);getContentPane().setBackground(clr);
set'isible(true);
setSize(800,600);
}
public void connect()

try


try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");

connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","orac
le");
statementconnection.createStatement();
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Error"ex);
}}
catch(Exception e)

OptionPane.showMessageDialog(null,"Not connected"e);
}}
private class adlistener implements ActionListener

Daily LiIe Banking


SYW%


public void actionPerIormed(ActionEvent e)
dtxt.setText(" ");
btxt.setText(" ");
}}
private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

ijbx.getSelectedIndex();
str1str|i|;
str2dtxt.getText();
str3btxt.getText();
statement.executeUpdate(" insert into currentAccount values ( '"str1"',
'"str2"', '"str3"' ) ");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Inserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"not inserted"ex);
}}}
private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

ijbx.getSelectedIndex();
str1str|i|;
str2dtxt.getText();str3btxt.getText();
statement.executeUpdate("update currentAccount set
accountid'"str1"',tdate'"str2"',balanceamounttonumber('"str3"')
");statement.executeUpdate("commit");OptionPane.showMessageDialog(null
,"Updated");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"not update"ex);
}}}
private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog(null,"Enter accountid Ior searching");
statement.executeQuery("select * Irom currentaccount where
accountid'"t"' ");rs.next();jbx.setSelectedItem(rs.getString(1));
Daily LiIe Banking


SYW%


dtxt.setText(rs.getString(2));btxt.setText(rs.getString(3));
OptionPane.showMessageDialog(null,"Found");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"not Iound");
}}}
private class exlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dispose();
}}
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog(null,"Enter accountid to be deleted");
statement.executeUpdate("delete Irom currentaccount where
accountid'"t"' ");
tatement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"inserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not inserted");
}}}
private class Islistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

rs statement.executeQuery("Select *Irom currentAccount");
rs.next();
txt.setText("1");
jbx.setSelectedItem(rs.getString(1));
dtxt.setText(rs.getString(2));
btxt.setText(rs.getString(3));

}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
} }}
private class prlistener implements ActionListener

public void actionPerIormed(ActionEvent e)
Daily LiIe Banking


SYW%



int k0,t;
try
int ijbx.getSelectedIndex();
str1str|i|;

rs statement.executeQuery("select count(*) Irom currentaccount");
rs.next();
trs.getInt(1);
txt.setText(String.valueOI(t));
rs statement.executeQuery("select * Irom currentaccount");
while(rs.next())

k;
iI(kt-1)
break;
}
jbx.setSelectedItem(rs.getString(1));
dtxt.setText(rs.getString(2));
btxt.setText(rs.getString(3));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}
private class nxlistener implements ActionListener

public void actionPerIormed(ActionEvent e)
int c0;
try

int ijbx.getSelectedIndex();
str1str|i|;
OptionPane.showMessageDialog(null,"str1"str1);rs
statement.executeQuery("select * Irom currentaccount");
while(rs.next())

str2rs.getString(1);
OptionPane.showMessageDialog(null,"str2"str2);
iI(str1.compareTo(str2)0)
break;
}
rs statement.executeQuery("select * Irom currentaccount");
while(rs.next())

c;
}
txt.setText(String.valueOI(c));
jbx.setSelectedItem(rs.getString(1));
dtxt.setText(rs.getString(2));
Daily LiIe Banking


SYW%


btxt.setText(rs.getString(3));}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}
private class lslistener implements ActionListener

public void actionPerIormed(ActionEvent e)
int c0,k0;
try

rs statement.executeQuery("select * Irom currentaccount");
while(rs.next())

c;
}
txt.setText(String.valueOI(c));
rs statement.executeQuery("select * Irom currentaccount");
while(rs.next())

iI(kc-1)
break;
k;
}
jbx.setSelectedItem(rs.getString(1));
dtxt.setText(rs.getString(2));
btxt.setText(rs.getString(3));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}}

Saving Account code
package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class SavingAccount extends Frame

private Button srtn,uptn,dltn,svtn,adtn,extn,Is,pr,nx,ls;
private Label acl,dtl,bl,lb,lg;
private TextField dtxt,btxt,txt;
private ComboBox jbx;
private String str||new String|50|;
Connection connection;
Statement statement;
ResultSet rs;
private String str1,str2,str3;
Daily LiIe Banking


SYW%


int i;
private String t;
Icon log,Ilg,plg,nlg,llg;
public SavingAccount()

setLayout(null);
srtn new Button("Search");uptn new Button("Update");dltn new
Button("Delete");svtn new Button("Insert/Save");adtn new
Button("Add");extn new Button("Exit");Color cl2 new Color(0,0,153);
Font It new Font("Bookman Old Style",Font.BOLD,30);lb new
Label("Saving Account Detail");lb.setFont(It);lb.setForeground(cl2);
Icon log new ImageIcon(getClass().getResource("sbilogo.giI"));
lg new Label(log);Ilg new ImageIcon(getClass().getResource("prev.giI"));
plg new ImageIcon(getClass().getResource("prev1.giI"));
nlg new ImageIcon(getClass().getResource("Next.giI"));
llg new ImageIcon(getClass().getResource("Next1.giI"));
Is new Button(Ilg);pr new Button(plg);nx new Button(nlg);
ls new Button(llg); Is.addActionListener(new
Islistener());pr.addActionListener(new prlistener());nx.addActionListener(new
nxlistener());ls.addActionListener(new lslistener());
srtn.addActionListener(new srlistener());uptn.addActionListener(new
uplistener());dltn.addActionListener(new
dllistener());svtn.addActionListener(new
svlistener());adtn.addActionListener(new adlistener());
extn.addActionListener(new exlistener());acl new Label("Account id");
dtl new Label("Date");bl new Label("Balance amount");
dtxt new TextField();btxt new TextField();txt new TextField();
try
i1;str|0|" ";
connect();
rsstatement.executeQuery("select * Irom accountdetail");
while(rs.next())

str|i|rs.getString(1);
i;
}
jbx new ComboBox(str);
}
catch(SQLException e)

OptionPane.showMessageDialog(null,e);
}
add(lb);add(lg);add(txt);add(Is); add(pr);add(nx);add(ls);add(acl);add(dtl);
add(bl);add(srtn);add(uptn);add(dltn);add(svtn);add(adtn);add(extn);add(dtxt)
add(btxt);add(jbx);lb.setBounds(20,100,360,35);lg.setBounds(400,100,350,50
acl.setBounds(150,250,100,30);jbx.setBounds(280,250,150,30);dtl.setBounds(
150,285,100,30);dtxt.setBounds(280,285,150,30);bl.setBounds(150,320,100,3
0);btxt.setBounds(280,320,150,30);Is.setBounds(290,360,22,25);pr.setBounds
(322,360,22,25); txt.setBounds(354,360,44,25);nx.setBounds(404,360,22,25);
Daily LiIe Banking


SYW%


ls.setBounds(436,360,22,25);adtn.setBounds(50,400,80,25);srtn.setBounds(16
0,400,80,25);svtn.setBounds(270,400,80,25);uptn.setBounds(380,400,80,25);
dltn.setBounds(490,400,80,25);extn.setBounds(600,400,80,25);
Color clr new Color(247,223,213);getContentPane().setBackground(clr);
set'isible(true);setSize(500,600);
}
public void connect()

try

try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");

connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","orac
le");statementconnection.createStatement();
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Error"ex);
}}
catch(Exception e)

OptionPane.showMessageDialog(null,"Not connected"e);
}}
private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dtxt.setText(" ");btxt.setText(" ");
}}
private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

ijbx.getSelectedIndex();
str1str|i|;
str2dtxt.getText();
str3btxt.getText();
statement.executeUpdate(" insert into SavingAccount values ( '"str1"',
'"str2"', '"str3"' ) ");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Inserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"not inserted"ex);
}}}
Daily LiIe Banking


SYW%


private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

ijbx.getSelectedIndex();
str1str|i|; str2dtxt.getText();str3btxt.getText();
statement.executeUpdate("update SavingAccount set
accountid'"str1"',tdate'"str2"',balanceamounttonumber('"str3"')
");statement.executeUpdate("commit");OptionPane.showMessageDialog(null
,"Updated");}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"not update"ex);
}}}
private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog(null,"Enter accountid Ior searching");
statement.executeQuery("select * Irom Savingaccount where
accountid'"t"' ");
rs.next(); jbx.setSelectedItem(rs.getString(1));dtxt.setText(rs.getString(2));
btxt.setText(rs.getString(3));OptionPane.showMessageDialog(null,"Found");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"not Iound");
} }}

private class exlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dispose();
}
}
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog(null,"Enter accountid to be deleted");
statement.executeUpdate("delete Irom Savingaccount where
accountid'"t"' ");
statement.executeUpdate("commit");
Daily LiIe Banking


SYW%%


OptionPane.showMessageDialog(null,"inserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not inserted");
}}}private class Islistener implements ActionListener
public void actionPerIormed(ActionEvent e)

try

rs statement.executeQuery("Select *Irom SavingAccount");
rs.next();
jbx.setSelectedItem(rs.getString(1));
dtxt.setText(rs.getString(2));
btxt.setText(rs.getString(3));

}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
} }}
private class prlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

int k0,t;
try

rs statement.executeQuery("select count(*) Irom savingaccount");
rs.next(); trs.getInt(1); rs statement.executeQuery("select * Irom
Savingaccount");
while(rs.next())

k;
iI(kt)
break;}
jbx.setSelectedItem(rs.getString(1));
dtxt.setText(rs.getString(2));btxt.setText(rs.getString(3));
}catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}
private class nxlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1btxt.getText();
rs statement.executeQuery("select * Irom savingaccount");
Daily LiIe Banking


SYW%%


while(rs.next())

str2 rs.getString(1);
iI(str1.compareTo(str2)0)
break; }
jbx.setSelectedItem(rs.getString(1));dtxt.setText(rs.getString(2));
btxt.setText(rs.getString(3));}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}
private class lslistener implements ActionListener

public void actionPerIormed(ActionEvent e)
int c0,k0;
try

rs statement.executeQuery("select * Irom savingaccount");
while(rs.next())

c;}
rs statement.executeQuery("select * Irom savingaccount");
while(rs.next())

iI(kc-1)
break;
k;
}
jbx.setSelectedItem(rs.getString(1));
dtxt.setText(rs.getString(2));
btxt.setText(rs.getString(3));

}
catch(SQLException sqle)
OptionPane.showMessageDialog(null,sqle);
}}} }
Balance Sheet Code
package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;

public class BalanceSheet extends Frame

private Label dl,sl,rl,cl,Il,tl,cnl,lnl,hdl,dtl,rmk,lb,lg;
private TextField dlt,slt,rlt,clt,Ilt,tlt,cnlt,lnlt,hdlt,dtlt,rmkt;
private Button ad,up,sv,dl1,sr,ex;
Connection connection;
Statement statement;ResultSet rs;Icon log;
Daily LiIe Banking


SYW


private String str1,str2,str3,str4,str5,str6,str7,str8;
private String str9,str10,str11,str12,t;public BalanceSheet()
super("Daily Banking System(SBI)");setLayout(null);Color cl2 new
Color(0,0,153);Font It new Font("Bookman Old Style",Font.BOLD,30);
lb new Label("Balance sheet");lb.setFont(It);lb.setForeground(cl2);Icon log
new ImageIcon(getClass().getResource("sbilogo.giI"));lg new
Label(log);dlnew Label("Date");slnew Label("Saving A/C");
rlnew Label("Recurring A/C");clnew Label("Current A/C");
Ilnew Label("Fixed A/C");tlnew Label("Grand Total");cnlnew
Label("Cash in hand");lnlnew Label("As Loans");hdlnew Label("Head
oIIice A/C");dtlnew Label("Grand Total");rmknew Label("Remarks");
ad new Button("Clear");up new Button("Update");dl1new
Button("Delete");sr new Button("Search");sv new
Button("Save/Insert");ex new Button("Exit");dlt new TextField();slt
new TextField();rlt new TextField();clt new TextField();Ilt new
TextField();tlt new TextField();cnlt new TextField();lnlt new
TextField();hdlt new TextField();dtlt new TextField(); rmkt new
TextField();lb.setBounds(20,50,360,35);lg.setBounds(400,50,350,50);dl.setB
ounds(50,200,75,25); dlt.setBounds(135,200,100,25);
sl.setBounds(50,235,75,25); cnl.setBounds(285,235,75,25);
slt.setBounds(135,235,100,25); cnlt.setBounds(380,235,100,25);
rl.setBounds(50,270,75,25); lnl.setBounds(285,270,75,25);
rlt.setBounds(135,270,100,25); lnlt.setBounds(380,270,100,25);
cl.setBounds(50,305,75,25); hdl.setBounds(285,305,75,25);
clt.setBounds(135,305,100,25); hdlt.setBounds(380,305,100,25);
Il.setBounds(50,340,75,25); dtl.setBounds(285,340,75,25);
Ilt.setBounds(135,340,100,25); dtlt.setBounds(380,340,100,25);
tl.setBounds(50,375,75,25); tlt.setBounds(135,375,100,25);
rmk.setBounds(50,410,75,25); rmkt.setBounds(135,410,100,25);
ad.setBounds(25,435,100,25); sv.setBounds(150,435,100,25);
sr.setBounds(275,435,100,25); up.setBounds(400,435,100,25);
dl1.setBounds(525,435,100,25); ex.setBounds(650,435,100,25);
ad.addActionListener(new adlistener());
sv.addActionListener(new svlistener());
sr.addActionListener(new srlistener());dl1.addActionListener(nedllistener());
// up.addActionListener(new uplistener());
add(dl);add(sl);add(rl);add(cl);add(Il);add(tl);add(cnl);add(lnl);add(hdl);add(dt
l);add(rmk);add(dlt);add(slt);add(rlt);add(clt);add(Ilt);add(tlt);
add(cnlt);add(lnlt);add(hdlt);add(dtlt);add(rmkt);add(ad);add(sv);add(sr);add(d
l1);add(up); add(lb); add(lg);setSize(800,600); set'isible(true);
setResizable(Ialse);Color clr new Color(247,223,213);
getContentPane().setBackground(clr);connect();}
public void connect()

try

try
Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
Daily LiIe Banking


SYW



connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","orac
le");
statementconnection.createStatement();
}
catch(SQLException e)

OptionPane.showMessageDialog(null,"Exception"e);
}}
catch(Exception ex)

OptionPane.showMessageDialog(null,"Not Connected"ex);
}}
private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dlt.setText(" ");slt.setText(" ");rlt.setText(" ");
clt.setText(" ");Ilt.setText(" ");tlt.setText(" ");
cnlt.setText(" ");lnlt.setText(" ");hdlt.setText(" ");
dtlt.setText(" ");rmkt.setText(" ");}}
private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 dlt.getText();str2 slt.getText();str3 rlt.getText();
str4 clt.getText();str5 Ilt.getText(); str6 tlt.getText();
str7 cnlt.getText();str8 lnlt.getText();str9 hdlt.getText();
str10 dtlt.getText();str11 rmkt.getText();
statement.executeUpdate("insert into balancesheet
values(todate('"str1"'),'"str2"','"str3"','"str5"','"str6"','"str7"','"
str8"','"str9"','"str10"','"str11"')");statement.executeUpdate("commit
");
OptionPane.showMessageDialog(null,"Inserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}

/*private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)


str1 dlt.getText();str2 slt.getText();str3 rlt.getText();
str4 clt.getText();str5 Ilt.getText(); str6 tlt.getText();
str7 cnlt.getText();str8 lnlt.getText();str9 hdlt.getText();
Daily LiIe Banking


SYW


str10 dtlt.getText();str11 rmkt.getText();
try

statement.executeUpdate("update balancesheet set bdate todate(
'"str1"'), saving '"str2"',recurring '"str3"',current1
'"str4"',Iixed'"str5"',total'"str6"',cashinhand'"str7"',asloans'
"str8"',hoIIice'"str9"',grandtotal'"str10"',remarks'"str11"'));
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Updated");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}

}
}*/
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 OptionPane.showInputDialog(null,"Enter date Ior deleting");
statement.executeUpdate("delete Irom balancesheet where
bdate'"str1"' ");
statement.executeUpdate("Commit");
OptionPane.showMessageDialog(null,"deleted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}

private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog("Enter accountid Ior searching");
ResultSet rs;
rsstatement.executeQuery("select *Irom generalledger where
accountid'"t"' ");
rs.next();dlt.setText(rs.getString(1));slt.setText(rs.getString(2));
rlt.setText(rs.getString(3));clt.setText(rs.getString(4));
Ilt.setText(rs.getString(5));tlt.setText(rs.getString(6));
cnlt.setText(rs.getString(7));lnlt.setText(rs.getString(8));
hdlt.setText(rs.getString(9));dtlt.setText(rs.getString(10));
rmkt.setText(rs.getString(11));
Daily LiIe Banking


SYW



OptionPane.showMessageDialog(null,"Found");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not Iound");
}}}
private class exlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dispose();
}}}
CashBook
package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class CashBook extends Frame

private Label
dl,csl,ccl,crl,cIl,chl,cll,ldl,ctl,dsl,dcl,drl,dIl,dhl,dll,ckl,dbl,rmk,cr,dr,lb;
private TextField
dt,cst,cct,cIt,crt,cht,clt,ldt,ctt,dst,dct,dIt,drt,dht,Iht,dlt,ckt,dbt,rmt;
private Button sv,cl,up,sr,dl1,ex;private String
str1,t,str2,str3,str4,str5,str6,str7,str8,str9,str10,str11,str12,str13,str14,str15,str1
6,str17,str18,str19,str20; Connection connection;Statement statement;
ResultSet rs;Icon log;
private Label nm,lg;
public CashBook()

super("Daily Banking System(sBI)");
setLayout(null);
Color cl2 new Color(0,0,153);
Font It new Font("Bookman Old Style",Font.BOLD,30);
lb new Label("Cash Book");
lb.setFont(It);
lb.setForeground(cl2);
Icon log new ImageIcon(getClass().getResource("sbilogo.giI"));
lg new Label(log);
sv new Button("Save/Insert");
cl new Button("Clear");
up new Button("Update");
dl1new Button("Delete");
ex new Button("Exit");
sr new Button("Search");
sv.addActionListener(new svlistener());cl.addActionListener(new
adlistener());dl1.addActionListener(new dllistener());
Daily LiIe Banking


SYW


sr.addActionListener(new srlistener());ex.addActionListener(new
exlistener());nm new Label("Cash Book");dl new Label("Date");
cr new Label("Credit");dr new Label("Debit");csl new Label("Saving
A/C ");ccl new Label("Current A/C ");crl new Label("Reccuring A/C ");
cIl new Label("Fixed A/C ");chl new Label("Head oIIice a/c");
cll new Label("Loan A/C ");ldl new Label("Last day balance ");
ctl new Label("Grand Total ");dsl new Label("Saving A/C ");
dcl new Label("Current A/C ");drl new Label("Recurring A/C ");
dIl new Label("Fixed A/C ");dhl new Label("Head OIIice A/C ");
dll new Label("Loans Account ");ckl new Label("Cash in hand ");
dbl new Label("Grand Total ");rmk new Label("Remarks ");
cct new TextField(10);crt new TextField(10);
cIt new TextField(10);cst new TextField(10);
dst new TextField(10); cht new TextField();clt new TextField(10);
ldt new TextField(10);ctt new TextField(10);dct new TextField(10);
drt new TextField(10);dIt new TextField(10);dht new TextField(10);
dlt new TextField(10);ckt new TextField(10);dbt new TextField(10);
rmt new TextField(10);dt new TextField(10);add(dl);add(ccl); add(cct);
add(crl); add(crt);add(cIl); add(cIt);add(cll);add(clt);add(dt); add(ldl);
add(ldt); add(ctl); add(ctt);add(dsl);add(dst); add(dcl); add(drl);
add(drl);add(dIl);add(dIt); add(csl); add(cst); add(dhl);
add(dht);add(dll);add(dlt);add(ckl);add(ckt);add(dbl);add(dbt);add(rmk);
add(rmt);add(cr);add(dr); add(dct); add(drt); add(chl); add(cht); add(cl);
add(sr); add(up); add(dl1);add(sv); add(ex); add(lg); add(lb);
lb.setBounds(20,50,360,35);lg.setBounds(400,50,350,50);
dr.setBounds(50,150,75,25);cr.setBounds(325,150,75,25);
csl.setBounds(25,200,100,25);dsl.setBounds(300,200,100,25);
cst.setBounds(150,200,100,25); dst.setBounds(425,200,100,25);
ccl.setBounds(25,235,100,25); dcl.setBounds(300,235,100,25);
cct.setBounds(150,235,100,25); dct.setBounds(425,235,100,25);
crl.setBounds(25,270,100,25); drl.setBounds(300,270,100,25);
crt.setBounds(150,270,100,25);drt.setBounds(425,270,100,25);
cIl.setBounds(25,305,100,25); dIl.setBounds(300,305,100,25);
cIt.setBounds(150,305,100,25); chl.setBounds(25,340,100,25);
cht.setBounds(150,340,100,25); dIt.setBounds(425,305,100,25);
cll.setBounds(25,370,100,25); dhl.setBounds(300,340,100,25);
clt.setBounds(150,370,100,25); dht.setBounds(425,340,100,25);
ldl.setBounds(25,410,100,25); dll.setBounds(300,375,100,25);
ldt.setBounds(150,410,100,25); dlt.setBounds(425,375,100,25);
ctl.setBounds(25,445,100,25); ckl.setBounds(300,410,100,25);
ctt.setBounds(150,445,100,25); ckt.setBounds(425,410,100,25);
dbl.setBounds(300,445,100,25);dbt.setBounds(425,445,100,25);
dl.setBounds(25,480,100,25); rmk.setBounds(300,480,100,25);
dt.setBounds(150,480,100,25); rmt.setBounds(425,480,100,25);
cl.setBounds(25,520,100,25);sv.setBounds(150,520,100,25);
up.setBounds(275,520,100,25);sr.setBounds(400,520,100,25);
dl1.setBounds(525,520,100,25); ex.setBounds(650,520,100,25);
setResizable(Ialse);Color clr new Color(247,223,213);
getContentPane().setBackground(clr);setSize(800,600);
set'isible(true);connect();
Daily LiIe Banking


SYW


}
public void connect()

try

try
Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");

connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","orac
le");
statementconnection.createStatement();
}
catch(SQLException e)

OptionPane.showMessageDialog(null,"Exception"e);
}}
catch(Exception ex)

OptionPane.showMessageDialog(null,"Not Connected"ex);
}}
private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dt.setText(" ");cst.setText(" "); cct.setText(" ");cIt.setText(" ");crt.setText(" ");
cht.setText(" ");clt.setText(" ");ldt.setText(" ");ctt.setText(" "); dst.setText("
");dct.setText(" ");dIt.setText(" ");drt.setText(" ");dht.setText(" ");Iht.setText("
");dlt.setText(" ");ckt.setText(" ");dbt.setText(" ");rmt.setText(" ");}}
private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str18dt.getText();str1 cst.getText();str2 cct.getText();str3 crt.getText();
str4 cIt.getText();str5 cht.getText(); str6 clt.getText();str7 ldt.getText();
str8 ctt.getText();str9 dst.getText();str10 dct.getText();str11
drt.getText();str12 dIt.getText();str13 dht.getText();str14 dlt.getText();
str15 ckt.getText();str16 dbt.getText();str17 rmt.getText();
statement.executeUpdate("insert into cashbook
values(todate('"str18"'),'"str2"','"str3"','"str5"','"str6"','"str7"','
"str8"','"str9"','"str10"','"str11"','"str12"','"str13"','"str14"','"
str15"','"str16"','"str17"')");statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Inserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
} }}
private class uplistener implements ActionListener
Daily LiIe Banking


SYW



public void actionPerIormed(ActionEvent e)

str18dt.getText();str1 cst.getText();str2 cct.getText();str3 crt.getText();
str4 cIt.getText();str5 cht.getText(); str6 clt.getText();str7 ldt.getText();
str8 ctt.getText();str9 dst.getText();str10 dct.getText();str11
drt.getText();str12 dIt.getText();str13 dht.getText();str14 dlt.getText();
str15 ckt.getText();str16 dbt.getText();str17 rmt.getText();
try

statement.executeUpdate("update cashbook set cdate todate( '"str18"'),
csaving '"str1"',ccurrent '"str2"',crecurring
'"str3"',cIixed'"str4"',choIIice'"str5"',cloans'"str6"',ldayblance
'"str7"',crtotal'"str8"',dsaving'"str9"',dcurrent'"str10"',drecurri
ng'"str11"',dIixed'"str12"',dhoIIice'"str13"',dloans'"str14"',cas
hinhand'"str15"',dtotal'"str16"',remark'"str17"' where
cdate'"str18"' ");statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Updated");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 OptionPane.showInputDialog(null,"Enter date Ior deleting");
statement.executeUpdate("delete Irom cashbook where cdate'"str1"'
");
statement.executeUpdate("Commit");
OptionPane.showMessageDialog(null,"deleted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}
private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog("Enter date Ior searching");
rsstatement.executeQuery("select *Irom cashbook where cdate'"t"' ");
rs.next();dt.setText(rs.getString(1));cst.setText(rs.getString(2));cct.setText(rs.g
etString(3));crt.setText(rs.getString(4));cIt.setText(rs.getString(5));cht.setText
(rs.getString(6));clt.setText(rs.getString(7));ldt.setText(rs.getString(8));ctt.set
Daily LiIe Banking


SYW


Text(rs.getString(9));dst.setText(rs.getString(10));dct.setText(rs.getString(11))
;drt.setText(rs.getString(12));dIt.setText(rs.getString(13));dht.setText(rs.getStr
ing(13));dlt.setText(rs.getString(13));ckt.setText(rs.getString(13));dbt.setText(
rs.getString(13));rmt.setText(rs.getString(13));
OptionPane.showMessageDialog(null,"Found");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not Iound");
}}}
private class exlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dispose();
}
}}
Fixed Account Code
package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.*;
import java.sql.*;
public class FixedAccount extends Frame

private ComboBox jbx;private Label adl,Itl,Iml,Idl,inl,mdl,ma,lb,lg; private
TextField Idt,It1,dt,intr,mdt,mrt;private String str|| new String|50|;
private Button svb,srb,exb,dlb,upb,adb,Is,pr,nx,ls;Connection connection;
Statement statement;ResultSet rs;private int i;private String
str1,str2,str3,str4,str5,str6,str7,t;Icon log,Ilg,plg,nlg,llg;
public FixedAccount()

super("Fixed Account");
setLayout(null);adl new Label("Account id");
Itl new Label("Fixed Term");Iml new Label("Fixed Amount");
Idl new Label("Fixed Date");inl new Label("Interest");
mdl new Label("Maturity Date");ma new Label("Maturity Amount");
Idt new TextField();It1 new TextField();dt new TextField();intr new
TextField();mdt new TextField();mrt new TextField();
Ior(i0;i50;i)

str|i|"";
}
try
i1;
str|0|" ";
connect();
rsstatement.executeQuery("select * Irom accountdetail");
while(rs.next())
Daily LiIe Banking


SYW%



str|i|rs.getString(1);
i;
}
jbx new ComboBox(str);
}
catch(SQLException e)

OptionPane.showMessageDialog(null,e);
}
Color cl2 new Color(0,0,153);
Font It new Font("Bookman Old Style",Font.BOLD,30);
lb new Label("Fixed Account Detail");
lb.setFont(It);lb.setForeground(cl2);Icon log new
ImageIcon(getClass().getResource("sbilogo.giI"));lg new Label(log);
Ilg new ImageIcon(getClass().getResource("prev.giI"));plg new
ImageIcon(getClass().getResource("prev1.giI"));nlg new
ImageIcon(getClass().getResource("Next.giI"));llg new
ImageIcon(getClass().getResource("Next1.giI"));Is new Button(Ilg);
pr new Button(plg);nx new Button(nlg);ls new Button(llg);
Is.addActionListener(new Islistener());pr.addActionListener(new prlistener());
nx.addActionListener(new nxlistener());ls.addActionListener(new
lslistener()); svb new Button("Save/Insert");srb new Button("Search");
adb new Button("Clear");dlb new Button("Delete");exb new
Button("Exit");upb new Button("Update"); svb.addActionListener(new
svlistener());srb.addActionListener(new srlistener());
adb.addActionListener(new adlistener());dlb.addActionListener(new
dllistener());exb.addActionListener(new exlistener());
add(lb);add(lg);add(Is);add(pr);add(nx);add(ls);add(adl);add(jbx);add(Itl);add(
Idt);add(Idl);add(Iml);add(inl);add(mdl);add(ma);add(It1);add(dt);add(intr);ad
d(mdt);add(mrt);add(svb);add(srb);add(adb);add(dlb);add(exb);add(upb);
lb.setBounds(20,50,360,35);lg.setBounds(400,50,350,50);adl.setBounds(100,1
00,100,25);jbx.setBounds(250,100,150,30); Itl.setBounds(100,150,100,25);
Idt.setBounds(250,150,150,30);Iml.setBounds(100,200,100,25);
It1.setBounds(250,200,150,30);Idl.setBounds(100,250,100,25);
dt.setBounds(250,250,150,30);
inl.setBounds(100,300,100,25);
intr.setBounds(250,300,150,30);
mdl.setBounds(100,350,100,25);
mdt.setBounds(250,350,150,30);
ma.setBounds(100,400,100,25);
mrt.setBounds(250,400,150,30);

Is.setBounds(290,450,22,25);
pr.setBounds(322,450,22,25);
// txt.setBounds(354,450,44,25);
nx.setBounds(404,450,22,25);
ls.setBounds(436,450,22,25);
adb.setBounds(50,500,100,30);
svb.setBounds(170,500,100,30);
Daily LiIe Banking


SYW%


srb.setBounds(290,500,100,30);
upb.setBounds(410,500,100,30);
dlb.setBounds(530,500,100,30);
exb.setBounds(650,500,100,30);
Color clr new Color(247,223,213);
getContentPane().setBackground(clr);
setSize(800,600);
set'isible(true);


}
public void connect()

try

try
Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");

connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","orac
le");
statementconnection.createStatement();
}
catch(SQLException e)

OptionPane.showMessageDialog(null,"Exception"e);
}

}
catch(Exception ex)

OptionPane.showMessageDialog(null,"Not Connected"ex);
}

}

private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

Idt.setText(" ");It1.setText(" ");dt.setText(" ");
intr.setText(" ");mdt.setText(" ");mrt.setText(" ");

}
}

private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try
Daily LiIe Banking


SYW



ijbx.getSelectedIndex();str1 str|i|;
str2 Idt.getText();str3 It1.getText();
str4 dt.getText();str5 intr.getText();
str6 mdt.getText();str7 mrt.getText();
statement.executeUpdate("insert into Iixedaccount
values('"str1"','"str2"','"str3"','"str4"','"str5"','"str6"','"str7"')
");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Inserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}


}

}

private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)
ijbx.getSelectedIndex();
str1 str|i|; str2 Idt.getText();
str3 It1.getText();str4 dt.getText();
str5 intr.getText();str6 mdt.getText();
str7 mrt.getText();
try

statement.executeUpdate("update Fixedaccount set accountid
'"str1"',Iixedterm'"str2"',Iixedamount
('"str3"'),Iixeddatetodate('"str4"'),Interest'"str5"'
,maturitydatetodate('"str6"),maturityamount'"str7"'where
accountid'"str1"' ");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Updated");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}

}
}
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

Daily LiIe Banking


SYW


try
ijbx.getSelectedIndex();

str1 str|i|;
statement.executeUpdate("delete Irom Fixedaccount where
accountid'"str1"' ");
statement.executeUpdate("Commit");
OptionPane.showMessageDialog(null,"deleted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}
}
}

private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog("Enter accountid Ior searching");
ResultSet rs;
rsstatement.executeQuery("select *Irom FixedAccount where
accountid'"t"' ");
rs.next();
jbx.setSelectedItem(rs.getString(1));
Idt.setText(rs.getString(2));
It1.setText(rs.getString(3));
intr.setText(rs.getString(5));
mrt.setText(rs.getString(7));
ResultSet rk;
rkstatement.executeQuery("select
tochar(Iixeddate,'DD/MM,YY'),tochar(maturitydate,'DD/MM/YY') Irom
IixedAccount where accountid'"t"' ");
dt.setText(rk.getString(1));
mdt.setText(rk.getString(2));
OptionPane.showMessageDialog(null,"Found");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not Iound");
}

}
}

private class exlistener implements ActionListener

Daily LiIe Banking


SYW


public void actionPerIormed(ActionEvent e)

dispose();

}
}


private class Islistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

rs statement.executeQuery("Select *Irom IixedAccount");
rs.next();

jbx.setSelectedItem(rs.getString(1));
Idt.setText(rs.getString(2));
It1.setText(rs.getString(3));
dt.setText(rs.getString(4));
mdt.setText(rs.getString(6));
intr.setText(rs.getString(5));
mrt.setText(rs.getString(7));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}

}
}

private class prlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

int k0,t;
try
int ijbx.getSelectedIndex();
str1str|i|;

rs statement.executeQuery("select count(*) Irom Iixedaccount");
rs.next();
trs.getInt(1);

rs statement.executeQuery("select * Irom Iixedaccount");
while(rs.next())

k;
Daily LiIe Banking


SYW


iI(kt-1)
break;
}

jbx.setSelectedItem(rs.getString(1));
Idt.setText(rs.getString(2));
dt.setText(rs.getString(4));
mdt.setText(rs.getString(6));
It1.setText(rs.getString(3));
intr.setText(rs.getString(5));
mrt.setText(rs.getString(7));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}


}
}
private class nxlistener implements ActionListener

public void actionPerIormed(ActionEvent e)
int c0;
try

int ijbx.getSelectedIndex();
str1str|i|;
OptionPane.showMessageDialog(null,"str1"str1);

rs statement.executeQuery("select * Irom Iixedaccount");
while(rs.next())


str2rs.getString(1);
OptionPane.showMessageDialog(null,"str2"str2);
iI(str1.compareTo(str2)0)
break;

}
rs statement.executeQuery("select * Irom Iixedaccount");
while(rs.next())

c;


}


jbx.setSelectedItem(rs.getString(1));
Daily LiIe Banking


SYW


Idt.setText(rs.getString(2));
It1.setText(rs.getString(3));
dt.setText(rs.getString(4));
mdt.setText(rs.getString(6));
intr.setText(rs.getString(5));
mrt.setText(rs.getString(7));


}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}

}
}
private class lslistener implements ActionListener

public void actionPerIormed(ActionEvent e)
int c0,k0;
try

rs statement.executeQuery("select * Irom Iixedaccount");
while(rs.next())

c;


}

rs statement.executeQuery("select * Irom Iixedaccount");
while(rs.next())

iI(kc-1)
break;
k;
}
jbx.setSelectedItem(rs.getString(1));
Idt.setText(rs.getString(2));
It1.setText(rs.getString(3));
dt.setText(rs.getString(4));
mdt.setText(rs.getString(6));
intr.setText(rs.getString(5));
mrt.setText(rs.getString(7));

}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}
Daily LiIe Banking


SYW



}
}
}
Genral Ledger
package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;

public class GeneralLedger extends Frame

Label dl,sdl,swl,sbl,cdl,cwl,cbl,rdl,rwl,rbl,Idl,Iwl,Ibl,crl,dbl,lb,lg;
TextField dt,sdt,swt,sbt,cdt,cwt,cbt,rdt,rwt,rbt,Idt,Iwt,Ibt;
Button sv,ad,sr,ex,cl,dl1;
Connection connection;
Statement statement;
ResultSet rs;
int n1,n2,tl;
Icon log ;
private String
str1,t,str2,str3,str4,str5,str6,str7,str8,str9,str10,str11,str12,str13;
public GeneralLedger()

super("Daily Banking System");
setLayout(null);
Color cl2 new Color(0,0,153);
Font It new Font("Bookman Old Style",Font.BOLD,30);
lb new Label("General Ledger");
lb.setFont(It);
lb.setForeground(cl2);
Icon log new ImageIcon(getClass().getResource("sbilogo.giI"));
lg new Label(log);
crlnew Label("Credit");
dblnew Label("Debit");
dl new Label("Date");
sdlnew Label("Saving A/C");
swlnew Label("Saving A/C");
sbl new Label("Saving Balance");
cdl new Label("Current A/C");
cwl new Label("Current A/C");
cbl new Label("Current Balance");
rdl new Label("Recurring A/C");
rwl new Label("Recurring A/C");
rbl new Label("Recurring Balance");
Idl new Label("Fixed A/C");
Iwl new Label("Fixed A/C");
Ibl new Label("Fixed Balance");
dt new TextField(15);
Daily LiIe Banking


SYW


sdtnew TextField(15);
swtnew TextField(15);
sbtnew TextField(15);
cdtnew TextField(15);
cwtnew TextField(15);
cbtnew TextField(15);
rdtnew TextField(15);
rwtnew TextField(15);
rbtnew TextField(15);
Idtnew TextField(15);
Iwtnew TextField(15);
Ibtnew TextField(15);
sbt.setEditable(Ialse);
cbt.setEditable(Ialse);
rbt.setEditable(Ialse);
Ibt.setEditable(Ialse);
// sdt.addFocusListener(new sbtlistener());
// swt.addFocusListener(new swlistener());

sv new Button("Save/Insert");
ad new Button("Update");
ex new Button("Exit");
cl new Button("Clear");
dl1 new Button("Delete");
sr new Button("Search");

sv.addActionListener(new svlistener());
ad.addActionListener(new uplistener());
ex.addActionListener(new exlistener());
cl.addActionListener(new adlistener());
dl1.addActionListener(new dllistener());
sr.addActionListener(new srlistener());

lb.setBounds(20,50,360,35);
lg.setBounds(400,50,350,50);
dl.setBounds(200,100,50,25);
dt.setBounds(280,100,100,25);
dbl.setBounds(75,125,60,25); crl.setBounds(350,125,60,25);
sdl.setBounds(25,150,75,25); swl.setBounds(250,150,75,25);
sbl.setBounds(525,150,100,25);
sdt.setBounds(125,150,100,25); swt.setBounds(345,150,100,25);
sbt.setBounds(650,150,100,25);
cdl.setBounds(25,185,75,25); cwl.setBounds(250,185,75,25);
cbl.setBounds(525,185,100,25);
cdt.setBounds(125,185,100,25); cwt.setBounds(345,185,100,25);
cbt.setBounds(650,185,100,25);
rdl.setBounds(25,220,85,25); rwl.setBounds(250,220,85,25);
rbl.setBounds(525,220,100,25);
rdt.setBounds(125,220,100,25); rwt.setBounds(345,220,100,25);
rbt.setBounds(650,220,100,25);
Daily LiIe Banking


SYW


Idl.setBounds(25,255,75,25); Iwl.setBounds(250,255,75,25);
Ibl.setBounds(525,255,100,25);
Idt.setBounds(125,255,100,25); Iwt.setBounds(345,255,100,25);
Ibt.setBounds(650,255,100,25);
add(dl); add(dt); add(sdl); add(swl); add(sbl); add(sdt); add(swt);add(sbt);
add(cdl); add(cwl); add(cbl); add(cdt); add(cwt); add(cbt);
add(rdl); add(rwl); add(rbl); add(rdt); add(rwt); add(rbt);
add(Idl); add(Iwl); add(Ibl); add(Idt); add(Iwt); add(Ibt);
add(ad); add(sv); add(ex); add(dl1); add(cl); add(dbl); add(crl);add(sr);
sv.setBounds(50,400,100,25); add(lb); add(lg);
ad.setBounds(175,400,100,25);
cl.setBounds(300,400,100,25);
sr.setBounds(425,400,100,25);
dl1.setBounds(550,400,100,25);
ex.setBounds(700,400,75,25);

setSize(800,800);
set'isible(true);
Color clr new Color(247,223,213);
getContentPane().setBackground(clr);
setResizable(Ialse);
connect();
}
public void connect()

try

try
Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");

connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","orac
le");
statementconnection.createStatement();
}
catch(SQLException e)

OptionPane.showMessageDialog(null,"Exception"e);
}

}
catch(Exception ex)

OptionPane.showMessageDialog(null,"Not Connected"ex);
}

}

private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)
Daily LiIe Banking


SYW%



dt.setText(" ");
sdt.setText(" ");
swt.setText(" ");
sbt.setText(" ");
cdt.setText(" ");
cwt.setText(" ");
cbt.setText(" ");
rdt.setText(" ");
rwt.setText(" ");
rbt.setText(" ");
Idt.setText(" ");
Iwt.setText(" ");
Ibt.setText(" ");
}
}

private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try


str1 dt.getText();
str2 sdt.getText();
str3 swt.getText();
str4 sbt.getText();
str5 cdt.getText();
str6 cwt.getText();
str7 cbt.getText();
str8 rdt.getText();
str9 rwt.getText();
str10 rbt.getText();
str11 Idt.getText();
str12 Iwt.getText();
str13 Ibt.getText();
statement.executeUpdate("insert into generalLedger
values(todate('"str1"'),'"str2"','"str3"','"str5"','"str6"','"str7"','"
str8"','"str9"','"str10"','"str11"','"str12"','"str13"')");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Inserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}


}
Daily LiIe Banking


SYW%



}

private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)

str1 dt.getText();
str2 sdt.getText();
str3 swt.getText();
str4 sbt.getText();
str5 cdt.getText();
str6 cwt.getText();
str7 cbt.getText();
str8 rdt.getText();
str9 rwt.getText();
str10 rbt.getText();
str11 Idt.getText();
str12 Iwt.getText();
str13 Ibt.getText();

try

statement.executeUpdate("update Generalledger set gdate todate(
'"str1"'), svdp '"str2"',svwt '"str3"',svbl
'"str4"',crdp'"str5"',crwt'"str6"',crbl'"str7"',rcdp'"str8"',rcwt
'"str9"',rcbl'"str10"',Ixdp'"str11"',Ixwt'"str12"',Ixbl'"str13"
' where accountid'"str1"' ");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Updated");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}

}
}
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 OptionPane.showInputDialog(null,"Enter Ior deleting");
statement.executeUpdate("delete Irom Generalledger where
gdate'"str1"' ");
statement.executeUpdate("Commit");
OptionPane.showMessageDialog(null,"deleted");
}
Daily LiIe Banking


SYW


catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}
}
}

private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog("Enter accountid Ior searching");
ResultSet rs;
rsstatement.executeQuery("select *Irom generalledger where
accountid'"t"' ");
rs.next();
dt.setText(rs.getString(1));
sdt.setText(rs.getString(2));
swt.setText(rs.getString(3));
sbt.setText(rs.getString(4));
cdt.setText(rs.getString(5));
cwt.setText(rs.getString(6));
cbt.setText(rs.getString(7));
rdt.setText(rs.getString(8));
rwt.setText(rs.getString(9));
rbt.setText(rs.getString(10));
Idt.setText(rs.getString(11));
Iwt.setText(rs.getString(12));
Ibt.setText(rs.getString(13));
OptionPane.showMessageDialog(null,"Found");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not Iound");
}

}
}

private class exlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dispose();
}
}

/*
Daily LiIe Banking


SYW


private class sbtlistener implements FocusListener

public void IocusLost(FocusEvent e)

n1 Integer.parseInt(sdt.getText());
n2 Integer.parseInt(swt.getText());
tln1n2;
sbt.setText(String.valueOI(tl));
}
}
private class swlistener implements FocusListener

public void IocusLost(FocusEvent e)

n1 Integer.parseInt(sdt.getText());
n2 Integer.parseInt(swt.getText());

tln1n2;
sbt.setText(String.valueOI(tl));
}
}
*/}
Loan Details
package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class LoanDetail extends Frame

private Label dtl,dpl,wtl,bl,lb,lg;private TextField dtx,dpx,wtx,blx,txt;
private Button adb,svb,upb,exb,dlb,Is,pr,nx,ls;
Statement statement;Connection connection;private String str1,str2,str3,str4,t;
ResultSet rs;Icon log,Ilg,plg,nlg,llg;
public LoanDetail()

super("Loan Detail");setLayout(null); Color cl2 new Color(0,0,153);
Font It new Font("Bookman Old Style",Font.BOLD,30);lb new
Label("Loans Detail");lb.setFont(It);lb.setForeground(cl2);Icon log new
ImageIcon(getClass().getResource("sbilogo.giI"));lg new Label(log);Ilg
new ImageIcon(getClass().getResource("prev.giI"));plg new
ImageIcon(getClass().getResource("prev1.giI"));nlg new
ImageIcon(getClass().getResource("Next.giI"));llg new
ImageIcon(getClass().getResource("Next1.giI"));Is new Button(Ilg);
pr new Button(plg);nx new Button(nlg);ls new Button(llg);
Is.addActionListener(new Islistener());pr.addActionListener(new prlistener());
nx.addActionListener(new nxlistener());ls.addActionListener(new
lslistener()); dtl new Label("Date");dpl new Label("Deposit");wtl new
Label("Withdrawal");bl new Label("Balance Amount");dtx new
Daily LiIe Banking


SYW


TextField();dpx new TextField();wtx new TextField();blx new
TextField();txt new TextField();adb new Button("Clear");
svb new Button("Save/Insert");upb new Button("Update");exb new
Button("Exit");dlb new Button("Delete");adb.addActionListener( new
adlistener());svb.addActionListener( new svlistener());upb.addActionListener(
new uplistener());exb.addActionListener( new
exlistener());dlb.addActionListener( new dllistener());
add(lb);add(Is);add(pr);add(nx);add(ls);add(lg);add(dtl);add(dpl);add(wtl);
add(bl);add(dtx);add(dpx);add(wtx);add(blx);add(adb);add(svb);add(upb);
add(exb);add(dlb);add(txt);lb.setBounds(30,40,300,30);
lg.setBounds(350,40,350,60);Is.setBounds(290,350,22,25);
pr.setBounds(322,350,22,25);txt.setBounds(354,350,40,25);
nx.setBounds(404,350,22,25);ls.setBounds(436,350,22,25);
dtl.setBounds(200,100,100,25);dtx.setBounds(320,100,150,27);
dpl.setBounds(200,150,100,25);dpx.setBounds(320,150,150,27);wtl.setBound
s(200,200,100,25);wtx.setBounds(320,200,150,27);bl.setBounds(200,250,100,
25);blx.setBounds(320,250,150,27);
adb.setBounds(50,300,100,30);svb.setBounds(170,300,100,30);upb.setBounds
(290,300,100,30);dlb.setBounds(410,300,100,30);exb.setBounds(530,300,100,
30);Color clr new Color(247,223,213);getContentPane().setBackground(clr);
setSize(800,600);set'isible(true);
connect();}
public void connect()

try
try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");connection
DriverManager.getConnection("jdbc:odbc:mydn1","system","oracle");
statementconnection.createStatement();
}
catch(SQLException e)

OptionPane.showMessageDialog(null,"Error"e);
}


}
catch(Exception ex )

OptionPane.showMessageDialog(null,"Exception"ex);
}}
private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dtx.setText(" ");wtx.setText(" ");dpx.setText(" ");blx.setText(" ");
}}
private class svlistener implements ActionListener

Daily LiIe Banking


SYW


public void actionPerIormed(ActionEvent e)

Try

str1dtx.getText(); str2wtx.getText();str3dpx.getText();str4blx.getText();
statement.executeUpdate("insert into Loandetail
values('"str1"','"str2"','"str3"','"str4"') ");
statement.executeUpdate("commit");OptionPane.showMessageDialog(null,"I
nserted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"error"ex);
}}}
private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)

Try

str1dtx.getText(); str2wtx.getText();
str3dpx.getText();str4blx.getText();;
tatement.executeUpdate("update Irom loandetail set
tdate'"str1"',deposit'"str2"',withdrawal'"str3"',blamount'"str4"'
where tdate'"str1"' ");statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Updated");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,""ex);
}}}
public class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog("Enter date Ior searching");
statement.executeQuery("select * Irom loandetail where tdate'"t"' ");
rs.next();dtx.setText(rs.getString(1));wtx.setText(rs.getString(2));
dpx.setText(rs.getString(3));blx.setText(rs.getString(4));
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Error"ex);
}} }
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

Daily LiIe Banking


SYW


Try

tOptionPane.showInputDialog(null,"Enter date Ior searching");
statement.executeUpdate("delete Irom Loandetail where tdate'"t"' ");
OptionPane.showMessageDialog(null,"Deleted");}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not Deleted"ex)}}}
private class exlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dispose();
}}
private class Islistener implements ActionListener

public void actionPerIormed(ActionEvent e)

Try
rs statement.executeQuery("Select *Irom loandetail");
rs.next();dtx.setText(rs.getString(1));wtx.setText(rs.getString(2));
dpx.setText(rs.getString(3));blx.setText(rs.getString(4));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
} }}
private class prlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

int k0,t;
try

rs statement.executeQuery("select count(*) Irom Loandetail");
rs.next();trs.getInt(1);rs statement.executeQuery("select * Irom
loandetail");
while(rs.next())

k;
iI(kt)
break;}
dtx.setText(rs.getString(1));wtx.setText(rs.getString(2));
dpx.setText(rs.getString(3));blx.setText(rs.getString(4));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}
private class nxlistener implements ActionListener
Daily LiIe Banking


SYW



public void actionPerIormed(ActionEvent e)

try

str1dtx.getText();
rs statement.executeQuery("select * Irom loandetail");
while(rs.next())

str2 rs.getString(1);iI(str1.compareTo(str2)0)
break; }
dtx.setText(rs.getString(1));wtx.setText(rs.getString(2));
dpx.setText(rs.getString(3));blx.setText(rs.getString(4));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}}
private class lslistener implements ActionListener

public void actionPerIormed(ActionEvent e)
int c0,k0;
try

rs statement.executeQuery("select * Irom Loandetail");
while(rs.next())

c;
}
rs statement.executeQuery("select * Irom Loandetail");
while(rs.next())

iI(kc-1)
break;
k;
}
dtx.setText(rs.getString(1));
wtx.setText(rs.getString(2));
dpx.setText(rs.getString(3));
blx.setText(rs.getString(4));
}
catch(SQLException sqle)

OptionPane.showMessageDialog(null,sqle);
}}} }
Account Transfer
package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
Daily LiIe Banking


SYW


import java.sql.*;
public class AccountTransIer extends Frame

private Label adl,trl,atl,tdl,aml,lb,lg;private TextField adt,trt,att,tdt,amt;
private Button sv,cl,dl,up,ex,sr;
Connection connection;
Statement statement;
ResultSet rs;private String str1,str2,str3,str4,str5,t;public AccountTransIer()

super("Daily Banking System");setLayout(null);
Color cl2 new Color(0,0,153);
Font It new Font("Bookman Old Style",Font.BOLD,30);
lb new Label("Fixed Account Detail");lb.setFont(It);lb.setForeground(cl2);
Icon log new ImageIcon(getClass().getResource("sbilogo.giI"));
lg new Label(log);adl new Label("Account id");trl new Label("TransIer
to");atl new Label("Account type");tdl new Label("TranIered Date");
aml new Label("Amount");adt new TextField();trt new TextField();
att new TextField();dt new TextField();amt new TextField();sv new
Button("Save/Insert");cl new Button("Clear");dl new Button("Delete");
up new Button("Update"); sr new Button("Search");
ex new Button("Exit");sv.addActionListener(new svlistener());
cl.addActionListener(new adlistener());
up.addActionListener(new uplistener());
ex.addActionListener(new exlistener());
sr.addActionListener(new srlistener());
lb.setBounds(20,50,360,35);lg.setBounds(400,50,350,50);adl.setBounds(75,20
0,75,25);adt.setBounds(175,200,100,25);trl.setBounds(75,235,75,25);trt.setBo
unds(175,235,100,25);atl.setBounds(75,270,75,25);att.setBounds(175,270,100
,25);tdl.setBounds(75,305,75,25);tdt.setBounds(175,305,100,25);aml.setBoun
ds(75,340,75,25);amt.setBounds(175,340,100,25);
cl.setBounds(75,390,100,25);sv.setBounds(200,390,100,25);up.setBounds(325
,390,100,25);sr.setBounds(450,390,100,25);dl.setBounds(575,390,100,25);
ex.setBounds(700,390,100,25);add(sr);add(adl);add(trl);add(atl);add(tdl);add(a
ml);add(lb);add(adt);add(trt);add(att);add(tdt);add(amt);add(sv);add(cl);add(dl
);add(up);add(ex);setSize(800,600);Color clr new Color(247,223,213);
getContentPane().setBackground(clr);set'isible(true);
connect();
}

public void connect()

try

try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");

connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","orac
le");
statementconnection.createStatement();
Daily LiIe Banking


SYW


}
catch(SQLException e)

OptionPane.showMessageDialog(null,"Exception"e);
}}
catch(Exception ex)

OptionPane.showMessageDialog(null,"Not Connected"ex);
}}
private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

adt.setText(" ");att.setText(" ");trt.setText(" ");tdt.setText(" ");amt.setText("
");}}
private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 adt.getText();str2 trt.getText();str3 att.getText();str4 tdt.getText();
str5 amt.getText();statement.executeUpdate("insert into AccounttransIer
values('"str1"','"str2"','"str3"',todate('"str4"'),'"str5"')");statemen
t.executeUpdate("commit");OptionPane.showMessageDialog(null,"Inserted")
;
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
} }}

private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)

str1 adt.getText();str2 trt.getText();str3 att.getText();str4 tdt.getText();
str5 amt.getText();
try

statement.executeUpdate("update AccounttransIer set accountid
'"str1"',transIeredto'"str2"',accounttype('"str3"'),TransIereddate
todate('"str4"'),amount('"str5"')whereaccountid'"str1"'
");statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Updated");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}
Daily LiIe Banking


SYW%


private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

str1 OptionPane.showInputDialog(null,"Enter Account id Ior deleting");
statement.executeUpdate("delete Irom accounttransIer where
accountid'"str1"' ");statement.executeUpdate("Commit");
OptionPane.showMessageDialog(null,"deleted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}
private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

tOptionPane.showInputDialog("Enter accountid Ior searching");
ResultSet rs;rsstatement.executeQuery("select *Irom AccounttransIer where
accountid'"t"' ");rs.next();
adt.setText(rs.getString(1));trt.setText(rs.getString(2))
att.setText(rs.getString(3));tdt.setText(rs.getString(4));amt.setText(rs.getString
(5));OptionPane.showMessageDialog(null,"Found");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not Iound");
}}}
private class exlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dispose();
}
}}
Head Office Account
package pg;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class HeadOIIiceAccount extends Frame

private Label dl,dpl,wtl,bll,lg;private TextField dlt,dplt,wtlt,bllt;
private Button sv,cl,up,dl1,ex;
public HeadOIIiceAccount()

Daily LiIe Banking


SYW%


super("Head OIIice Account"); setLayout(null); lg new Label("Head OIIice
Account");dl new Label("Date");dplnew Label("Deposit"); wtlnew
Label("Withdrawal"); bllnew Label("Balance");dlt new TextField();dplt
new TextField(); wtlt new TextField();bllt new TextField();sv new
Button("Save");cl new Button("Clear");up new Button("Update");
dl1new Button("Delete");ex new Button("Exit");
lg.setBounds(100,50,150,25);dl.setBounds(50,150,75,25);
dlt.setBounds(150,150,100,25);dpl.setBounds(50,185,75,25);dplt.setBounds(1
50,185,100,25);wtl.setBounds(50,220,75,25);wtlt.setBounds(150,220,100,25);
bll.setBounds(50,255,75,25);bllt.setBounds(150,255,100,25);sv.setBounds(50,
300,100,25);up.setBounds(175,300,100,25);cl.setBounds(300,300,100,25);
dl1.setBounds(425,300,100,25); ex.setBounds(550,300,100,25);
add(dl);add(dpl);add(wtl);add(bll);add(lg);add(dlt);add(dplt);add(wtlt);add(bllt
);add(sv);add(cl);add(up);add(dl1);add(ex); setSize(600,500);
set'isible(true);
}}
Recurring Account code
package pg;

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;

public class RecurringAccount extends Frame

private Label adl,prl,trml,dtl,bml,lb,lg;
private ComboBox jbx;
private TextField prt,trt,dt,blt;
private Button svb,srb,dlb,exb,upb,adb;
private Container ct;
private Panel pl1,pl2,pl3,pl4,pl5,pl6,pl7;
private String str||new String|50|;
private String str1,str2,str3,str4,str5;
private int i;
Connection connection;
Statement statement;
ResultSet rs;
String t;
public RecurringAccount()

super("Recurring Account");ct getContentPane();
ct.setLayout(new GridLayout(8,1));
adl new Label("Account id");
prl new Label("Period ");
trmlnew Label("Term Amount ");
dtl new Label("Date ");
bml new Label("Balance Amount");
prt new TextField(15);
trt new TextField(15);
Daily LiIe Banking


SYW


dt new TextField(15);
blt new TextField(15);
Color cl2 new Color(0,0,153);
Font It new Font("Bookman Old Style",Font.BOLD,30);
lb new Label("Recurring Account Detail");
lb.setFont(It);
lb.setForeground(cl2);
Icon log new ImageIcon(getClass().getResource("sbilogo.giI"));
lg new Label(log);
svb new Button("Save/Insert");srb new Button("Search");
dlb new Button("Delete");exb new Button("Exit");
upb new Button("Update");adb new Button("Clear");

svb.addActionListener(new svlistener());
srb.addActionListener(new srlistener());
dlb.addActionListener(new dllistener());
exb.addActionListener(new exlistener());
upb.addActionListener(new uplistener());
adb.addActionListener(new adlistener());
pl1 new Panel();pl2 new Panel();pl3 new Panel();
pl4 new Panel();pl5new Panel();pl6 new Panel();
pl7 new Panel();

try
i1;
str|0|" ";
connect();
rsstatement.executeQuery("select * Irom accountdetail");
while(rs.next())

str|i|rs.getString(1);
i;
}
jbx new ComboBox(str);
}
catch(SQLException e)

OptionPane.showMessageDialog(null,e);
}
Color cl new Color(247,223,213);
pl1.setBackground(cl);pl2.setBackground(cl);
pl3.setBackground(cl);pl4.setBackground(cl);
pl5.setBackground(cl);pl6.setBackground(cl);
pl7.setBackground(cl);

pl1.add(lb);pl1.add(lg);pl2.add(adl);pl2.add(jbx);
pl3.add(prl);pl3.add(prt);pl4.add(trml);pl4.add(trt);
pl5.add(dtl);pl5.add(dt);pl6.add(bml);pl6.add(blt);
pl7.add(adb);pl7.add(svb);pl7.add(srb);pl7.add(upb);
pl7.add(dlb);pl7.add(exb);
Daily LiIe Banking


SYW


ct.add(pl1);ct.add(pl2);ct.add(pl3);ct.add(pl4);
ct.add(pl5);ct.add(pl6);ct.add(pl7);
set'isible(true);
setSize(700,500);
}
public void connect()

try

try
Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");

connectionDriverManager.getConnection("jdbc:odbc:mydn1","system","orac
le");
statementconnection.createStatement();
}
catch(SQLException e)

OptionPane.showMessageDialog(null,"Exception"e);
}

}
catch(Exception ex)

OptionPane.showMessageDialog(null,"Not Connected"ex);
}

} private class adlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

trt.setText(" "); prt.setText(" ");
dt.setText(" ");blt.setText(" ");

}
}

private class svlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

ijbx.getSelectedIndex();
str1 str|i|;str2 prt.getText();str3 trt.getText();
str4 dt.getText();str5 blt.getText();
statement.executeUpdate("insert into reccuringaccount
values('"str1"','"str2"','"str3"','"str4"','"str5"')");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Inserted");
Daily LiIe Banking


SYW


}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}

private class uplistener implements ActionListener

public void actionPerIormed(ActionEvent e)
ijbx.getSelectedIndex();
str1 str|i|;str2 prt.getText();
str3 trt.getText();str4 dt.getText();
str5 blt.getText();
try

statement.executeUpdate("update reccuringaccount set accountid
'"str1"',period'"str2"',termamount
('"str3"'),tdatetodate('"str4"'),balanceamount'"str5"' where
accountid'"str1"' ");
statement.executeUpdate("commit");
OptionPane.showMessageDialog(null,"Updated");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}
private class dllistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try
ijbx.getSelectedIndex();

str1 str|i|;
statement.executeUpdate("delete Irom reccuringaccount where
accountid'"str1"' ");
statement.executeUpdate("Commit");
OptionPane.showMessageDialog(null,"deleted");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,ex);
}}}

private class srlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

try

Daily LiIe Banking


SYW


tOptionPane.showInputDialog("Enter accountid Ior searching");
ResultSet rs;
rsstatement.executeQuery("select *Irom accountdetail where
accountid'"t"' ");
rs.next();
// .setText(rs.getString(1));
prt.setText(rs.getString(2));
System.out.println(rs.getString(2));
trt.setText(rs.getString(3));
dt.setText(rs.getString(4));
blt.setText(rs.getString(5));
OptionPane.showMessageDialog(null,"Found");
}
catch(SQLException ex)

OptionPane.showMessageDialog(null,"Not Iound");
}

}
}

private class exlistener implements ActionListener

public void actionPerIormed(ActionEvent e)

dispose();
}} }

Here Report Generated code
package pg;
import java.sql.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import javax.swing.Table;
import java.lang.String;
import java.io.*;
import java.lang.*;
import java.util.'ector;
import javax.swing.table.AbstractTableModel;
public class RP1 extends Frame implements ActionListener

String url"jdbc:odbc:mydn1";
//TextField command new TextField();
Label lb ;Font It ;Button ex new Button("Exit");Button dsnew
Button("Load Report")Label bl1new Label(" ") Label bl2new
Label(" "); Label bl3new Label(" ");ResultsModel model new
ResultsModel(); TextArea statusnew TextArea(5,1);
ScrollPane resultspane;Connection connection;
Daily LiIe Banking


SYW


Statement statement;
public RP1()
super("Report 1 oI ");
lb new Label("Day wise deposit to all head separately ");
setDeIaultCloseOperation(DISPOSEONCLOSE);
It new Font("Courier New",Font.BOLD,20);
lb.setFont(It);Box box Box.createHorizontalBox();
box.add(bl1); box.add(lb); box.add(bl2); box.add(ds); box.add(bl3);
box.add(ex);add(box,BorderLayout.NORTH);status.setLineWrap(true);
status.setWrapStyleWord(true);
getContentPane().add(status,BorderLayout.SOUTH);ds.addActionListener(thi
s);// clquery.addActionListener(this);ex.addActionListener(this);
try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
connection DriverManager.getConnection(url,"system","oracle");
statement connection.createStatement();Table table new Table(model);
table.setAutoResizeMode(Table.AUTORESIZEOFF);resultspane new
ScrollPane(table);getContentPane().add(resultspane,BorderLayout.CENTER)
;}catch(ClassNotFoundException en)

System.err.println(en);
}
catch(SQLException sqle)

System.err.println(sqle);
}
getContentPane().setBackground(Color.cyan);
setBounds(0,0,400,300);
pack();
set'isible(true);

} // construcor closed
public void executesql()

String query"select *Irom generalledger";
iI(querynull ,, query.length()0)

return;
}
try

model.setResultSet(statement.executeQuery(query));
status.setText("Resultset has " model.getRowCount() "rows.");
}
catch(SQLException sqle)

status.setText(sqle.getMessage());
}}
public void actionPerIormed(ActionEvent e)
Daily LiIe Banking


SYW



Object sourcee.getSource();
iI(sourceds)

executesql();
}
else iI(sourceex)

dispose();
}}
class ResultsModel extends AbstractTableModel

private 'ectorString||~ dataRowsnew 'ectorString||~();
private String|| columnNames new String|0|;
public void setResultSet(ResultSet results)

try

ResultSetMetaData metadataresults.getMetaData();
int columnsmetadata.getColumnCount();
columnNamesnew String|columns|;Ior(int i0;icolumns;i)

columnNames|i|metadata.getColumnLabel(i1);
}
dataRows.clear();String|| rowData;
while(results.next())

rowData new String|columns|;
Ior(int i0;icolumns;i)

rowData|i|results.getString(i1);
}
dataRows.addElement(rowData);
}
IireTableChanged(null);
}
catch(SQLException sqle)

System.err.println(sqle);
}}
public int getColumnCount()

return columnNames.length;
}
public int getRowCount()

return dataRows null ? 0 : dataRows.size();
}
public String get'alueAt(int row,int column)

Daily LiIe Banking


SYW


return dataRows.elementAt(row)|column|;
}
public String getColumnName(int column)

return columnNames|column| null ? "No Name" :
columnNames|column|;
}}}
Report 2
package pg;
import java.sql.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import javax.swing.Table;
import java.lang.String;
import java.io.*;
import java.lang.*;
import java.util.'ector;
import javax.swing.table.AbstractTableModel;
public class RP2 extends Frame implements ActionListener

String url"jdbc:odbc:mydn1";
Label lb new Label("Total deposit per day ");
Button ex new Button("Exit");Button dsnew Button("Load Report");
Label bl1new Label(" ");Label bl2new Label(" ");
Label bl3new Label(" ");ResultsModel model new ResultsModel();
TextArea statusnew TextArea(5,1);ScrollPane resultspane;
Connection connection;Statement statement;
public RP2()

super("Report 2 oI ");setDeIaultCloseOperation(DISPOSEONCLOSE);
Box box Box.createHorizontalBox();box.add(bl1);box.add(lb); box.add(bl2);
box.add(ds);box.add(bl3); box.add(ex);add(box,BorderLayout.NORTH);
status.setLineWrap(true);status.setWrapStyleWord(true);
getContentPane().add(status,BorderLayout.SOUTH);ds.addActionListener(thi
s); // clquery.addActionListener(this); ex.addActionListener(this);
try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
connection DriverManager.getConnection(url,"system","oracle");
statement connection.createStatement();
// ResultsModel modelnew ResultsModel();
Table table new Table(model);
able.setAutoResizeMode(Table.AUTORESIZEOFF);
resultspane new ScrollPane(table);
getContentPane().add(resultspane,BorderLayout.CENTER);
}
catch(ClassNotFoundException en)

Daily LiIe Banking


SYW


System.err.println(en);
}
catch(SQLException sqle)

System.err.println(sqle);
}
getContentPane().setBackground(Color.cyan);
setBounds(0,0,400,300);pack();set'isible(true);} // construcor closed
public void executesql()

String query"select *Irom Gurrantordetail";
iI(querynull ,, query.length()0)
return;
}
try

model.setResultSet(statement.executeQuery(query));
status.setText("Resultset has " model.getRowCount() "rows.");
}
catch(SQLException sqle)

status.setText(sqle.getMessage());
}}
public void actionPerIormed(ActionEvent e)

Object sourcee.getSource();
iI(sourceds)

executesql();
}
else iI(sourceex)

dispose();
}}
class ResultsModel extends AbstractTableModel

private 'ectorString||~ dataRowsnew 'ectorString||~();
private String|| columnNames new String|0|;
public void setResultSet(ResultSet results)

try

ResultSetMetaData metadataresults.getMetaData();
int columnsmetadata.getColumnCount();
columnNamesnew String|columns|;
Ior(int i0;icolumns;i)

columnNames|i|metadata.getColumnLabel(i1);
}
dataRows.clear();
Daily LiIe Banking


SYW%


String|| rowData;while(results.next())

rowData new String|columns|;
Ior(int i0;icolumns;i)

rowData|i|results.getString(i1);
}
dataRows.addElement(rowData);
}
IireTableChanged(null);
}
catch(SQLException sqle)

System.err.println(sqle);
}}
public int getColumnCount()

return columnNames.length;
}
public int getRowCount()

return dataRows null ? 0 : dataRows.size();
}
public String get'alueAt(int row,int column)

return dataRows.elementAt(row)|column|;
}
public String getColumnName(int column)

return columnNames|column| null ? "No Name" : columnNames|column|;
}}}

Report 3


String url"jdbc:odbc:mydn1"; Label lb new Label("Monthly total deposit
");Button ex new Button("Exit");Button dsnew Button("Load Report");
Label bl1new Label(" ");Label bl2new Label(" ");
Label bl3new Label(" ");ResultsModel model new ResultsModel();
TextArea statusnew TextArea(5,1);ScrollPane resultspane;
Connection connection; Statement statement;
public RP3()

super("Report 3 oI ");
setDeIaultCloseOperation(DISPOSEONCLOSE);
Box box Box.createHorizontalBox();
box.add(bl1);box.add(lb);box.add(bl2);box.add(ds);box.add(bl3);box.add(ex)
add(box,BorderLayout.NORTH);status.setLineWrap(true);status.setWrapStyle
Word(true);getContentPane().add(status,BorderLayout.SOUTH);
ds.addActionListener(this);// clquery.addActionListener(this);
Daily LiIe Banking


SYW%


ex.addActionListener(this);
try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");connection
DriverManager.getConnection(url,"system","oracle");statement
connection.createStatement();// ResultsModel modelnew ResultsModel();
Table table new Table(model);
table.setAutoResizeMode(Table.AUTORESIZEOFF);resultspane new
ScrollPane(table);getContentPane().add(resultspane,BorderLayout.CENTER)
;}
catch(ClassNotFoundException en)

System.err.println(en);
}
catch(SQLException sqle)

System.err.println(sqle);
}
getContentPane().setBackground(Color.cyan);
setBounds(0,0,400,300);
pack();
set'isible(true);
} // construcor closed
public void executesql()

String query"select *Irom customerdetail";
iI(querynull ,, query.length()0)

return;
}try

model.setResultSet(statement.executeQuery(query));
status.setText("Resultset has " model.getRowCount() "rows.");
}
catch(SQLException sqle)

status.setText(sqle.getMessage());
}}
public void actionPerIormed(ActionEvent e)

Object sourcee.getSource();
iI(sourceds)

executesql();
}
else iI(sourceex)

dispose();
}}
class ResultsModel extends AbstractTableModel
Daily LiIe Banking


SYW



private 'ectorString||~ dataRowsnew 'ectorString||~();
private String|| columnNames new String|0|;
public void setResultSet(ResultSet results)

try

ResultSetMetaData metadataresults.getMetaData();
int columnsmetadata.getColumnCount();
columnNamesnew String|columns|;
Ior(int i0;icolumns;i)

columnNames|i|metadata.getColumnLabel(i1);
}
dataRows.clear();
String|| rowData;
while(results.next())

rowData new String|columns|;
Ior(int i0;icolumns;i)

rowData|i|results.getString(i1);
}
dataRows.addElement(rowData);
}
IireTableChanged(null);
}
catch(SQLException sqle)

System.err.println(sqle);
}
}
public int getColumnCount()

return columnNames.length;
}
public int getRowCount()

return dataRows null ? 0 : dataRows.size();
}
public String get'alueAt(int row,int column)

return dataRows.elementAt(row)|column|;
}
public String getColumnName(int column)

return columnNames|column| null ? "No Name" :
columnNames|column|;
}}}

Daily LiIe Banking


SYW


Report 4

String url"jdbc:odbc:mydn1"; Label lb new Label("Account wise total
deposit "); Button ex new Button("Exit");Button dsnew Button("Load
Report") Label bl1new Label(" ");Label bl2new Label(" ")
Label bl3new Label(" "); ResultsModel model new ResultsModel()
TextArea statusnew TextArea(5,1) ScrollPane resultspane;
Connection connection;
Statement statement;
public RP4()

super("Report 4 oI ");
setDeIaultCloseOperation(DISPOSEONCLOSE);
Box box Box.createHorizontalBox();
box.add(bl1); box.add(lb); box.add(bl2); box.add(ds); box.add(bl3);
box.add(ex);add(box,BorderLayout.NORTH);status.setLineWrap(true);status.
setWrapStyleWord(true);getContentPane().add(status,BorderLayout.SOUTH);
ds.addActionListener(this);
// clquery.addActionListener(this);
ex.addActionListener(this);
try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
connection DriverManager.getConnection(url,"system","oracle");
statement connection.createStatement();
// ResultsModel modelnew ResultsModel();Table table new
Table(model);table.setAutoResizeMode(Table.AUTORESIZEOFF);
resultspane new ScrollPane(table);
getContentPane().add(resultspane,BorderLayout.CENTER);
}
catch(ClassNotFoundException en)

System.err.println(en);
}
catch(SQLException sqle)

System.err.println(sqle);}
getContentPane().setBackground(Color.cyan);
setBounds(0,0,400,300);
pack();
set'isible(true);} // construcor closed
public void executesql()

String query"select svdp,crdp,rcdp,Ixdp Irom generalledger";
iI(querynull ,, query.length()0)

return;
}
try

Daily LiIe Banking


SYW


model.setResultSet(statement.executeQuery(query));
status.setText("Resultset has " model.getRowCount() "rows.");
}
catch(SQLException sqle)

status.setText(sqle.getMessage());
} }
public void actionPerIormed(ActionEvent e)
Object sourcee.getSource();
iI(sourceds)

executesql();
}
else iI(sourceex)

dispose();
}}
class ResultsModel extends AbstractTableModel

private 'ectorString||~ dataRowsnew 'ectorString||~();
private String|| columnNames new String|0|;
public void setResultSet(ResultSet results)

try

ResultSetMetaData metadataresults.getMetaData();
int columnsmetadata.getColumnCount();
columnNamesnew String|columns|;
Ior(int i0;icolumns;i)

columnNames|i|metadata.getColumnLabel(i1);
}
dataRows.clear();
String|| rowData;
while(results.next())

rowData new String|columns|;
Ior(int i0;icolumns;i)

rowData|i|results.getString(i1);
}
dataRows.addElement(rowData);
}
IireTableChanged(null);
}
catch(SQLException sqle)

System.err.println(sqle);
}}
public int getColumnCount()
Daily LiIe Banking


SYW



return columnNames.length;
}
public int getRowCount()

return dataRows null ? 0 : dataRows.size();
}
public String get'alueAt(int row,int column)

return dataRows.elementAt(row)|column|;
}
public String getColumnName(int column)

return columnNames|column| null ? "No Name" :
columnNames|column|;
}}}
Report 5

public class RP5 extends Frame implements ActionListener

String url"jdbc:odbc:mydn1";
//TextField command new TextField();
Label lb new Label("Total account opening in a session");
Button ex new Button("Exit");
Button dsnew Button("Load Report");
Label bl1new Label(" ");
Label bl2new Label(" ");
Label bl3new Label(" ");
ResultsModel model new ResultsModel();
TextArea statusnew TextArea(5,1);
ScrollPane resultspane;
Connection connection;
Statement statement;
public RP5()

super("Report 5 oI ");
setDeIaultCloseOperation(DISPOSEONCLOSE);
Box box Box.createHorizontalBox();
//getContentPane().add(lb,BorderLayout.NORTH);
//getContentPane().add(ds,BorderLayout.NORTH);
//getContentPane().add(ex,BorderLayout.NORTH);
box.add(bl1);
box.add(lb);
box.add(bl2);
box.add(ds);
box.add(bl3);
box.add(ex);
add(box,BorderLayout.NORTH);
status.setLineWrap(true);
status.setWrapStyleWord(true);
Daily LiIe Banking


SYW


getContentPane().add(status,BorderLayout.SOUTH);
ds.addActionListener(this);
// clquery.addActionListener(this);
ex.addActionListener(this);

try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
connection DriverManager.getConnection(url,"system","oracle");
statement connection.createStatement();
// ResultsModel modelnew ResultsModel();
Table table new Table(model);
table.setAutoResizeMode(Table.AUTORESIZEOFF);
resultspane new ScrollPane(table);
getContentPane().add(resultspane,BorderLayout.CENTER);
}
catch(ClassNotFoundException en)

System.err.println(en);
}
catch(SQLException sqle)

System.err.println(sqle);
}
getContentPane().setBackground(Color.cyan);
setBounds(0,0,400,300);
pack();
set'isible(true);

} // construcor closed

public void executesql()

String query"select *Irom customerdetail";
iI(querynull ,, query.length()0)

return;
}
try

model.setResultSet(statement.executeQuery(query));
status.setText("Resultset has " model.getRowCount() "rows.");
}
catch(SQLException sqle)

status.setText(sqle.getMessage());
}
}


Daily LiIe Banking


SYW


public void actionPerIormed(ActionEvent e)

Object sourcee.getSource();
iI(sourceds)

executesql();
}
else iI(sourceex)

dispose();
}
}
class ResultsModel extends AbstractTableModel

private 'ectorString||~ dataRowsnew 'ectorString||~();
private String|| columnNames new String|0|;

public void setResultSet(ResultSet results)

try

ResultSetMetaData metadataresults.getMetaData();
int columnsmetadata.getColumnCount();
columnNamesnew String|columns|;
Ior(int i0;icolumns;i)

columnNames|i|metadata.getColumnLabel(i1);
}
dataRows.clear();
String|| rowData;
while(results.next())

rowData new String|columns|;
Ior(int i0;icolumns;i)

rowData|i|results.getString(i1);
}
dataRows.addElement(rowData);
}
IireTableChanged(null);
}
catch(SQLException sqle)

System.err.println(sqle);
}
}
public int getColumnCount()

return columnNames.length;
}
Daily LiIe Banking


SYW


public int getRowCount()

return dataRows null ? 0 : dataRows.size();
}
public String get'alueAt(int row,int column)

return dataRows.elementAt(row)|column|;
}
public String getColumnName(int column)

return columnNames|column| null ? "No Name" :
columnNames|column|;
}}}
Report
public class RP6 extends Frame implements ActionListener


String url"jdbc:odbc:mydn1";
//TextField command new TextField();
Label lb new Label("Total closed account ");
Button ex new Button("Exit");
Button dsnew Button("Load Report");
Label bl1new Label(" ");
Label bl2new Label(" ");
Label bl3new Label(" ");
ResultsModel model new ResultsModel();
TextArea statusnew TextArea(5,1);
ScrollPane resultspane;
Connection connection;
Statement statement;
public RP6()

super("Report 6 oI ");
setDeIaultCloseOperation(DISPOSEONCLOSE);
Box box Box.createHorizontalBox();
//getContentPane().add(lb,BorderLayout.NORTH);
//getContentPane().add(ds,BorderLayout.NORTH);
//getContentPane().add(ex,BorderLayout.NORTH);
box.add(bl1);

box.add(lb);
box.add(bl2);
box.add(ds);
box.add(bl3);
box.add(ex);
add(box,BorderLayout.NORTH);
status.setLineWrap(true);
status.setWrapStyleWord(true);
getContentPane().add(status,BorderLayout.SOUTH);

Daily LiIe Banking


SYW



ds.addActionListener(this);
// clquery.addActionListener(this);
ex.addActionListener(this);
try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
connection DriverManager.getConnection(url,"system","oracle");
statement connection.createStatement();
// ResultsModel modelnew ResultsModel();
Table table new Table(model);
table.setAutoResizeMode(Table.AUTORESIZEOFF);
resultspane new ScrollPane(table);
getContentPane().add(resultspane,BorderLayout.CENTER);
}
catch(ClassNotFoundException en)

System.err.println(en);
}
catch(SQLException sqle)

System.err.println(sqle);
}
getContentPane().setBackground(Color.cyan);
setBounds(0,0,400,300);
pack();
set'isible(true);

} // construcor closed

public void executesql()

String query"select *Irom Accountclose";
iI(querynull ,, query.length()0)

return;
}
try

model.setResultSet(statement.executeQuery(query));
status.setText("Resultset has " model.getRowCount() "rows.");
}
catch(SQLException sqle)

status.setText(sqle.getMessage());
}
}


public void actionPerIormed(ActionEvent e)
Daily LiIe Banking


SYW%



Object sourcee.getSource();
iI(sourceds)

executesql();
}
else iI(sourceex)

dispose();
}
}

class ResultsModel extends AbstractTableModel

private 'ectorString||~ dataRowsnew 'ectorString||~();
private String|| columnNames new String|0|;

public void setResultSet(ResultSet results)

try

ResultSetMetaData metadataresults.getMetaData();
int columnsmetadata.getColumnCount();
columnNamesnew String|columns|;
Ior(int i0;icolumns;i)

columnNames|i|metadata.getColumnLabel(i1);
}

dataRows.clear();
String|| rowData;
while(results.next())

rowData new String|columns|;
Ior(int i0;icolumns;i)

rowData|i|results.getString(i1);
}
dataRows.addElement(rowData);
}
IireTableChanged(null);
}
catch(SQLException sqle)

System.err.println(sqle);
}
}
public int getColumnCount()

return columnNames.length;
Daily LiIe Banking


SYW%


}
public int getRowCount()

return dataRows null ? 0 : dataRows.size();
}
public String get'alueAt(int row,int column)

return dataRows.elementAt(row)|column|;
}
public String getColumnName(int column)

return columnNames|column| null ? "No Name" :
columnNames|column|;
}}}
Report
public class RP7 extends Frame implements ActionListener

String url"jdbc:odbc:mydn1";
//TextField command new TextField();
Label lb new Label("Total TransIered account ");
Button ex new Button("Exit");
Button dsnew Button("Load Report");
Label bl1new Label(" ");
Label bl2new Label(" ");
Label bl3new Label(" ");

ResultsModel model new ResultsModel();
TextArea statusnew TextArea(5,1);
ScrollPane resultspane;
Connection connection;
Statement statement;
public RP7()

super("Report 7 oI ");
setDeIaultCloseOperation(DISPOSEONCLOSE);
Box box Box.createHorizontalBox();
//getContentPane().add(lb,BorderLayout.NORTH);
//getContentPane().add(ds,BorderLayout.NORTH);
//getContentPane().add(ex,BorderLayout.NORTH);
box.add(bl1);
box.add(lb);
box.add(bl2);
box.add(ds);
box.add(bl3);
box.add(ex);
add(box,BorderLayout.NORTH);
status.setLineWrap(true);
status.setWrapStyleWord(true);
getContentPane().add(status,BorderLayout.SOUTH);
ds.addActionListener(this);
Daily LiIe Banking


SYW


// clquery.addActionListener(this);
ex.addActionListener(this);
try

Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
connection DriverManager.getConnection(url,"system","oracle");
statement connection.createStatement();
// ResultsModel modelnew ResultsModel();
Table table new Table(model);
table.setAutoResizeMode(Table.AUTORESIZEOFF);
resultspane new ScrollPane(table);
getContentPane().add(resultspane,BorderLayout.CENTER);
}
catch(ClassNotFoundException en)

System.err.println(en);
}
catch(SQLException sqle)

System.err.println(sqle);
}
getContentPane().setBackground(Color.cyan);
setBounds(0,0,400,300);
pack();
set'isible(true);

} // construcor closed

public void executesql()

String query"select *Irom accounttransIer";
iI(querynull ,, query.length()0)

return;
}
try

model.setResultSet(statement.executeQuery(query));
status.setText("Resultset has " model.getRowCount() "rows.");
}
catch(SQLException sqle)

status.setText(sqle.getMessage());
}
}


public void actionPerIormed(ActionEvent e)

Object sourcee.getSource();
Daily LiIe Banking


SYW


iI(sourceds)

executesql();
}
else iI(sourceex)

dispose();
}
}

class ResultsModel extends AbstractTableModel

private 'ectorString||~ dataRowsnew 'ectorString||~();
private String|| columnNames new String|0|;

public void setResultSet(ResultSet results)

try

ResultSetMetaData metadataresults.getMetaData();
int columnsmetadata.getColumnCount();
columnNamesnew String|columns|;
Ior(int i0;icolumns;i)

columnNames|i|metadata.getColumnLabel(i1);
}

dataRows.clear();
String|| rowData;
while(results.next())

rowData new String|columns|;
Ior(int i0;icolumns;i)

rowData|i|results.getString(i1);
}
dataRows.addElement(rowData);
}
IireTableChanged(null);
}
catch(SQLException sqle)

System.err.println(sqle);
}
}
public int getColumnCount()

return columnNames.length;
}
public int getRowCount()
Daily LiIe Banking


SYW



return dataRows null ? 0 : dataRows.size();
}
public String get'alueAt(int row,int column)

return dataRows.elementAt(row)|column|;
}
public String getColumnName(int column)

return columnNames|column| null ? "No Name" :
columnNames|column|;
}}}
Report 8
package pg;
import java.sql.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import javax.swing.Table;
import java.lang.String;
import java.io.*;
import java.lang.*;
import java.util.'ector;
import javax.swing.table.AbstractTableModel;

public class RP8 extends Frame implements ActionListener

String url"jdbc:odbc:mydn1";
//TextField command new TextField();
Label lb new Label("Total matured Fixed account ");
Button ex new Button("Exit");
Button dsnew Button("Load Report");
Label bl1new Label(" ");
Label bl2new Label(" ");
Label bl3new Label(" ");
ResultsModel model new ResultsModel();
TextArea statusnew TextArea(5,1);
ScrollPane resultspane;
Connection connection;
Statement statement;
public RP8()

super("Report 8 oI ");
setDeIaultCloseOperation(DISPOSEONCLOSE);
Box box Box.createHorizontalBox();
//getContentPane().add(lb,BorderLayout.NORTH);
//getContentPane().add(ds,BorderLayout.NORTH);
//getContentPane().add(ex,BorderLayout.NORTH);
box.add(bl1);
Daily LiIe Banking


SYW


box.add(lb);
box.add(bl2);
box.add(ds);
box.add(bl3);
box.add(ex);
add(box,BorderLayout.NORTH);
status.setLineWrap(true);
status.setWrapStyleWord(true);
getContentPane().add(status,BorderLayout.SOUTH);
ds.addActionListener(this);
// clquery.addActionListener(this);
ex.addActionListener(this);

try


Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
connection DriverManager.getConnection(url,"system","oracle");
statement connection.createStatement();
// ResultsModel modelnew ResultsModel();
Table table new Table(model);
table.setAutoResizeMode(Table.AUTORESIZEOFF);
resultspane new ScrollPane(table);
getContentPane().add(resultspane,BorderLayout.CENTER);
}
catch(ClassNotFoundException en)

System.err.println(en);
}
catch(SQLException sqle)

System.err.println(sqle);
}
getContentPane().setBackground(Color.cyan);
setBounds(0,0,400,300);
pack();
set'isible(true);

} // construcor closed

public void executesql()

String query"select *Irom customerdetail";
iI(querynull ,, query.length()0)

return;
}
try

model.setResultSet(statement.executeQuery(query));
Daily LiIe Banking


SYW


status.setText("Resultset has " model.getRowCount() "rows.");
}
catch(SQLException sqle)

status.setText(sqle.getMessage());
}
}
public void actionPerIormed(ActionEvent e)

Object sourcee.getSource();
iI(sourceds)

executesql();
}
else iI(sourceex)

dispose();
}
}
class ResultsModel extends AbstractTableModel

private 'ectorString||~ dataRowsnew 'ectorString||~();
private String|| columnNames new String|0|;

public void setResultSet(ResultSet results)

try

ResultSetMetaData metadataresults.getMetaData();
int columnsmetadata.getColumnCount();
columnNamesnew String|columns|;
Ior(int i0;icolumns;i)

columnNames|i|metadata.getColumnLabel(i1);
}
dataRows.clear();
String|| rowData;
while(results.next())

rowData new String|columns|;
Ior(int i0;icolumns;i)

rowData|i|results.getString(i1);
}
dataRows.addElement(rowData);
}
IireTableChanged(null);
}
catch(SQLException sqle)

Daily LiIe Banking


SYW


System.err.println(sqle);
}
}
public int getColumnCount()

return columnNames.length;
}
public int getRowCount()

return dataRows null ? 0 : dataRows.size();
}
public String get'alueAt(int row,int column)

return dataRows.elementAt(row)|column|;
}
public String getColumnName(int column)

return columnNames|column| null ? "No Name" :
columnNames|column|;
}}}
Report 9
package pg;
import java.sql.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import javax.swing.Table;
import java.lang.String;
import java.io.*;
import java.lang.*;
import java.util.'ector;
import javax.swing.table.AbstractTableModel;

public class RP9 extends Frame implements ActionListener

String url"jdbc:odbc:mydn1";
//TextField command new TextField();
Label lb new Label("Total Iixed account above 50 thousands ");
Button ex new Button("Exit");
Button dsnew Button("Load Report");
Label bl1new Label(" ");
Label bl2new Label(" ");
Label bl3new Label(" ");
ResultsModel model new ResultsModel();
TextArea statusnew TextArea(5,1);
ScrollPane resultspane;
Connection connection;
Statement statement;
public RP9()
Daily LiIe Banking


SYW



super("Report 9 oI ");
setDeIaultCloseOperation(DISPOSEONCLOSE);
Box box Box.createHorizontalBox();
//getContentPane().add(lb,BorderLayout.NORTH);
//getContentPane().add(ds,BorderLayout.NORTH);
//getContentPane().add(ex,BorderLayout.NORTH);
box.add(bl1);
box.add(lb);
box.add(bl2);
box.add(ds);
box.add(bl3);
box.add(ex);
add(box,BorderLayout.NORTH);
status.setLineWrap(true);
status.setWrapStyleWord(true);
getContentPane().add(status,BorderLayout.SOUTH);
ds.addActionListener(this);
// clquery.addActionListener(this);
ex.addActionListener(this);

try


Class.IorName("sun.jdbc.odbc.dbcOdbcDriver");
connection DriverManager.getConnection(url,"system","oracle");
statement connection.createStatement();
// ResultsModel modelnew ResultsModel();
Table table new Table(model);
table.setAutoResizeMode(Table.AUTORESIZEOFF);
resultspane new ScrollPane(table);
getContentPane().add(resultspane,BorderLayout.CENTER);
}
catch(ClassNotFoundException en)

System.err.println(en);
}
catch(SQLException sqle)

System.err.println(sqle);
}
getContentPane().setBackground(Color.cyan);
setBounds(0,0,400,300);
pack();
set'isible(true);

} // construcor closed

public void executesql()

Daily LiIe Banking


SYW


String query"select *Irom Iixedaccount where Iixedamount ~ 50000 ";
iI(querynull ,, query.length()0)

return;
}
try

model.setResultSet(statement.executeQuery(query));
status.setText("Resultset has " model.getRowCount() "rows.");
}
catch(SQLException sqle)

status.setText(sqle.getMessage());
}
}
public void actionPerIormed(ActionEvent e)

Object sourcee.getSource();
iI(sourceds)

executesql();
}
else iI(sourceex)

dispose();
}
}
class ResultsModel extends AbstractTableModel

private 'ectorString||~ dataRowsnew 'ectorString||~();
private String|| columnNames new String|0|;

public void setResultSet(ResultSet results)

try

ResultSetMetaData metadataresults.getMetaData();
int columnsmetadata.getColumnCount();
columnNamesnew String|columns|;
Ior(int i0;icolumns;i)

columnNames|i|metadata.getColumnLabel(i1);
}
dataRows.clear();
String|| rowData;
while(results.next())

rowData new String|columns|;
Ior(int i0;icolumns;i)

Daily LiIe Banking


SYW%


rowData|i|results.getString(i1);
}
dataRows.addElement(rowData);
}
IireTableChanged(null);
}
catch(SQLException sqle)

System.err.println(sqle);
}
}
public int getColumnCount()

return columnNames.length;
}
public int getRowCount()

return dataRows null ? 0 : dataRows.size();
}
public String get'alueAt(int row,int column)

return dataRows.elementAt(row)|column|;
}
public String getColumnName(int column)

return columnNames|column| null ? "No Name" :
columnNames|column|;
}}}
DataBase Code Trigger For Transaction

create or replace trigger acnup
aIter insert or update on transaction Ior each row
declare
acd varchar2(10);
tamt number(10);
tp varchar2(10);
amt number(10);
acamt number(10);
acnm transaction.accountnametype;
begin
acd : :new.accountid;
amt : :new.amount;
tp : :new.transactiontp;
acnm : :new.accountname;
iI tp 'deposit' then
iI acnm 'recurring a/c' then
update recurringaccount set balanceamountbalanceamount amt
where accountid acd;
else
iI acnm 'Iixed a/c' then
Daily LiIe Banking


SYW%


update Iixedaccount set Iixedamount Iixedamount amt where
accountid acd;
else
iI acnm 'current a/c' then
update currentaccount set balanceamountbalanceamount
amt where accountid acd;
else
iI acnm 'saving a/c' then
update savingaccount set
balanceamountbalanceamount amt where accountid acd;
end iI;
end iI;
end iI;
end iI;
else
iI acnm'recurring a/c' then
select balanceamount into acamt Irom recurringaccount;
iI amt acamt then
update recurringaccount set balanceamount balanceamount-
acamt where accountid acd; end iI;
else
iI acnm'Iixed a/c' then
select Iixedamount into acamt Irom Iixedaccount;
iI amt acamt then
update Iixedaccount set Iixedamount Iixedamount-amt
where accountid acd;
end iI;
else
iI acnm'saving a/c' then
select balanceamount into acamt Irom
savingaccount;
iI amtacamt then
update savingaccount set
balanceamountbalanceamount-amt where accountid acd;
end iI;
else
iI acnm'current a/c' then
select balanceamount into acamt Irom
currentaccount;
iI amtacamt then
update savingaccount set
balanceamountbalanceamount-amt where accountid acd;
end iI;
end iI;
end iI;
end iI;
end iI;
end iI;
end;
/
Daily LiIe Banking


SYW


Trigger for Customer_detail
create or replace trigger cdgen
beIore insert on customerdetail Ior each row
declare
pk varchar2(8);
begin
select lpad(tochar(cdseq.nextval),3,'0')
into pk Irom dual;
:new.lncode:'C',,pk;
end;
/
/
Trigger for Transation Insert
create or replace trigger ledgupd
beIore insert on Transaction Ior each row
declare
ac varchar2(8);
ln varchar2(8);
mlnamt number(12,2);
despamt number(12,2);
temp number(12,2);
begin
ac::new.acccode;
ln::new.lncode;
mlnamt::new.lnamt;
despamt::new.payamt;

select recoveramt into temp Irom Ledger
where acccode ac;

temp: tempdespamt;

insert into Ledger values('ac','ln',mlnamt,temp);

end;
/
Trigger for generate sequence
create Sequence lnseq
increment by 1
start with 1
/
Trigger for lookup Table
create or replace trigger gdlookup beIore insert on gurrantordetail
Ior each row
declare
pk1 varchar2(8);
npk varchar2(8);
begin
begin
select pk into pk1 Irom glookup;
Daily LiIe Banking


SYW


Exception
when nodataIound then
pk1:'Gd0001';
End;
:new.gurrantorid:pk1;
npk: tonumber(substr(pk1,3,5))1;
pk1:'Gd',,lpad(npk,4,'0');
II pk1'Gd0002' then
insert into glookup values(pk1);
Else
Update glookup set pk pk1;
End II;
End;
/
Trigger for Primary key generate
create or replace trigger pkgenlookup beIore insert on accountdetail
Ior each row
declare
pk1 varchar2(8);
npk varchar2(8);
begin
begin
select pk into pk1 Irom lookup;
Exception
when nodataIound then
pk1:'Ac0001';
End;
:new.accountid:pk1;
npk: tonumber(substr(pk1,3,5))1;
pk1:'Ac',,lpad(npk,4,'0');
II pk1'Ac0002' then
insert into lookup values(pk1);
Else
Update lookup set pk pk1;
End II;
End;
/
Oracle Coding


CREATE TABLE ACCOUNTCLOSE
( "ACCOUNTID" 'ARCHAR2(20) NOT NULL ENABLE,
"ACCOUNTTYPE" 'ARCHAR2(50) NOT NULL ENABLE,
"CLOSEDDATE" DATE NOT NULL ENABLE,
"AMOUNT" NUMBER NOT NULL ENABLE,
"TDATE" DATE NOT NULL ENABLE
);
CREATE TABLE ACCOUNTDETAIL
( "ACCOUNTID" 'ARCHAR2(20) NOT NULL ENABLE,
"CUSTOMERID" 'ARCHAR2(20) NOT NULL ENABLE,
"OPENDATE" DATE NOT NULL ENABLE,
"ACCOUNTNAME" 'ARCHAR2(20) NOT NULL ENABLE
Daily LiIe Banking


SYW


);
CREATE TABLE ACCOUNTTRANSFER
( "ACCOUNTID" 'ARCHAR2(100) NOT NULL ENABLE,
"TRANSFEREDTO" 'ARCHAR2(100) NOT NULL ENABLE,
"ACCOUNTTYPE" 'ARCHAR2(100) NOT NULL ENABLE,
"TRANSFEREDDATE" DATE NOT NULL ENABLE,
"AMOUNT" NUMBER NOT NULL ENABLE
);
CREATE TABLE CASHBOOK
( "CDATE" DATE NOT NULL ENABLE,
"CSA'ING" NUMBER NOT NULL ENABLE,
"CCURRENT" NUMBER NOT NULL ENABLE,
"CRECURRING" NUMBER NOT NULL ENABLE,
"CFIXED" NUMBER NOT NULL ENABLE,
"CHOFFICE" NUMBER NOT NULL ENABLE,
"CLOANS" NUMBER NOT NULL ENABLE,
"LDAYBLANCE" NUMBER NOT NULL ENABLE,
"CRTOTAL" NUMBER NOT NULL ENABLE,
"DSA'ING" NUMBER NOT NULL ENABLE,
"DRECURRING" NUMBER NOT NULL ENABLE,
"DFIXED" NUMBER NOT NULL ENABLE,
"DHOFFICE" NUMBER NOT NULL ENABLE,
"DLOANS" NUMBER NOT NULL ENABLE,
"CASHINHAND" NUMBER NOT NULL ENABLE,
"DTOTAL" NUMBER NOT NULL ENABLE,
"REMARK" 'ARCHAR2(20)
);
CREATE TABLE CURRENTACCOUNT
( "ACCOUNTID" 'ARCHAR2(20) NOT NULL ENABLE,
"TDATE" DATE NOT NULL ENABLE,
"BALANCEAMOUNT" NUMBER NOT NULL ENABLE
);
CREATE TABLE CUSTOMERDETAIL
( "CD" 'ARCHAR2(20) NOT NULL ENABLE,
"CDNM" 'ARCHAR2(100) NOT NULL ENABLE,
"CTLADD" 'ARCHAR2(100) NOT NULL ENABLE,
"CTPADD" 'ARCHAR2(100) NOT NULL ENABLE,
"DOB" DATE NOT NULL ENABLE,
"AGE" NUMBER NOT NULL ENABLE,
"SEX" 'ARCHAR2(100) NOT NULL ENABLE,
"PHONE" NUMBER NOT NULL ENABLE,
"PANNO" NUMBER NOT NULL ENABLE,
"MRSTATUS" 'ARCHAR2(100) NOT NULL ENABLE,
"NATIONALITY" 'ARCHAR2(100) NOT NULL ENABLE,
"QUALIFICATION" 'ARCHAR2(100) NOT NULL ENABLE,
"NJMINEE_NM" VARCHAR2(100) NJT NULL ENABLE,
"NJMINEE_ADD" VARCHAR2(100) NJT NULL ENABLE,
"NJMINEE_REL" VARCHAR2(100) NJT NULL ENABLE,
"JCCUPATIJN" VARCHAR2(100) NJT NULL ENABLE
);
CREATE TABLE GENERAL_LEDGER
( "GDATE" DATE NJT NULL ENABLE,
"SVDP" NUMBER NJT NULL ENABLE,
"SVWT" NUMBER NJT NULL ENABLE,
"SVBL" NUMBER,
"CRDP" NUMBER NJT NULL ENABLE,
"CRWT" NUMBER NJT NULL ENABLE,
"CRBL" NUMBER,
"RCDP" NUMBER NJT NULL ENABLE,
"RCWT" NUMBER NJT NULL ENABLE,
Daily LiIe Banking


SYW


"RCBL" NUMBER,
"FXDP" NUMBER NJT NULL ENABLE,
"FXWT" NUMBER NJT NULL ENABLE,
"FXBL" NUMBER
)
CREATE TABLE BALANCE_SHEET
( "BDATE" DATE NJT NULL ENABLE,
"SAVING" NUMBER NJT NULL ENABLE,
"RECURRING" NUMBER NJT NULL ENABLE,
"CURRENT1" NUMBER NJT NULL ENABLE,
"FIXED" NUMBER NJT NULL ENABLE,
"TJTAL" NUMBER NJT NULL ENABLE,
"CASH_IN_HAND" NUMBER NJT NULL ENABLE,
"AS_LJANS" NUMBER NJT NULL ENABLE,
"HJFFICE" NUMBER NJT NULL ENABLE,
"GRAND_TJTAL" NUMBER NJT NULL ENABLE,
"REMARKS" VARCHAR2(20) NJT NULL ENABLE
);
CREATE TABLE RECCURING_ACCJUNT
( "ACCJUNT_ID" VARCHAR2(20) NJT NULL ENABLE,
"PERIJD" VARCHAR2(50) NJT NULL ENABLE,
"TERM_AMJUNT" NUMBER NJT NULL ENABLE,
"TDATE" DATE NJT NULL ENABLE,
"BALANCE_AMJUNT" NUMBER NJT NULL ENABLE
);
CREATE TABLE FIXED_ACCJUNT
( "ACCJUNT_ID" VARCHAR2(20) NJT NULL ENABLE,
"FIXEDTERM" VARCHAR2(50) NJT NULL ENABLE,
"FIXEDAMJUNT" NUMBER NJT NULL ENABLE,
"FIXEDDATE" DATE NJT NULL ENABLE,
"INTEREST" NUMBER NJT NULL ENABLE,
"MATURITYDATE" DATE NJT NULL ENABLE,
"MATURITYAMJUNT" NUMBER NJT NULL ENABLE
);
CREATE TABLE SAVING_ACCJUNT
( "ACCJUNT_ID" VARCHAR2(20) NJT NULL ENABLE,
"TDATE" DATE NJT NULL ENABLE,
"BALANCE_AMJUNT" NUMBER NJT NULL ENABLE
);


4.2. CODE EFFICIENCY
Every step has been considered in order to achieve the code eIIiciency.ava
has been used in order to achieve the high degree oI optimality oI code. It is an
object oriented GUI tool that provides the Iacility oI the procedural
programming in PL/SQL as well as supports non-procedural like SQL. SQL
drastically reduces the procedural steps to perIorm a task. SQL meets only the
target (what has to be done) to be speciIied and it does not need the steps
(how) to be Iollowed to achieve the target. The data retrieved is done by SQL
engine oI the RDBMS, which is very eIIicient, and it increases the eIIiciency
oI the application as well. As Iar as user interIace design oI the application is
concerned, object oriented paradigm has been applied which reduces the
lengthy codiIication and achieve the inheritance, which Iurther enhance the
code eIIiciency.



Daily LiIe Banking


SYW


4.3 Test Approach

The application has been designed using two-tier client/server technology in
which the Iunctions oI the application segregated between the two tiers i.e. the
Back End and the Front End. Every type oI data security, constraints and
validation rules has been applied. At the Back End Database itselI, which is as
per the code`s rules, due to which less codiIication is needed at the Front End
user interIace level? Due to this approach, it is possible to optimize the codes
so that it can take less memory to execute and makes execution Iast. Again
PL/SQL programming language has been used which provides the Iacility oI
embedded SQL. The data retrieval power oI SQL is well known. Since
PL/SQL is the product oI Oracle itselI, which runs Iaster than any other,
programming language on Oracle RDBMS platIorm. Thus processing power
oI PL/SQL is unmatched. The combination oI PL/SQL and SQL is excellent
as Iar as processing time and memory is concerned. Thus it reduces the
requirement oI storage as well as processor and the resultant code optimization
or eIIiciency is very highs discussed earlier the application has been broken in
two tiers like Back End Oracle RDBMS and the Front End user interIace in
ava. In this architecture every type oI validation checks and constraints has
been applied at the database level itselI as per the code rules. Apart Irom this
every type oI data security rules have also been applied by creating
appropriate synonyms and user roles. Access to the user has been provided in
controlled way keeping the view at user`s level and their requirements. Due to
which user access is restricted and the security has enIorced. Another level oI
validation checks has been applied at data entry Iorm level also in the user
interIace. These two levels oI validation checks enIorce high level oI data
validity and only valid data can be entered and processed. The validation rules
cannot be bypassed by any means. For example:- In Party Entry Form, I have
used a list item Ior data value can be inserted into the database. It prevents the
user Irom inserting any invalid data value Ior that Iield;
(a)Testing is a process oI executing a program with the intent oI Iinding an
error.
(b)A good test case is one that has a high probability oI Iinding an as yet
undiscovered error.
(c)A successIul test is one that uncovers as yet undiscovered error.
Once source code has been generated, soItware must be tested to uncover (and
correct) as many errors as possible beIore delivery to your customer. Our goal
is to design a series oI test cases that have a high likelihood oI Iinding errors.
SoItware is tested Irom two diIIerent perspectives:-
(a)Internal program logic is exercised usingWhite Box test case design
techniques.
(b)SoItware requirements are exercised using 'Black box test case design
techniques. In both cases, the intent is to Iind the maximum number oI errors
with the minimum amount oI eIIort and time.
4.3. White Box Testing:-White box testing sometimes called Glass box
testing. Is a test case design method that uses the control structure oI the
procedural design to derive test cases? Using white box testing methods, the
soItware engineer can derive test cases that
Daily LiIe Banking


SYW


(a).Guarantee that all independent paths within a module have been
exercised at least once.
(b).Exercise all logical decisions on their true and Ialse sides.
(c)Exercise internal data structures to ensure their validity.
A reasonable question might be posed at this juncture. 'Why spend time and
energy worrying about (and testing) logical minutiae when we might better
expend eIIort ensuring that program requirements have been met? State
another way, why don`t we spend all oI our energy on black box tests?
Logic errors and incorrect assumptions are inversely proportional to the
probability that a program path will be executed. Errors tend to creep into our
work when we design and implement Iunction, conditions, or control that is
out oI the mainstream.
We oIten believe that a logical path is not likely to be executed when, in Iact,
may be executed on a regular basis.
Typographical errors are random. When a program is translated into
programming language source code, it is likely that some typing errors will
occur. Many will be uncovered by syntax and type checking mechanisms, but
others may go undetected until testing begins. White-Box Testing is Iar more
likely to uncover them.
4.3.2 Black- Box Testing:-Black Box testing, also called Behavioral Testing,
Iocuses on the Iunctional requirements oI the soItware. That is, black box
testing enables the soItware engineer to derive sets oI input conditions that
will Iully exercise all Iunctional requirements Ior a program. Black Box
testing is not an alternative to white-box techniques. Rather, it is a
complementary approach that is likely to uncover a diIIerent class oI errors
than white-box methods.
Black Box testing attempts to Iind errors in the Iollowing categories:-
(a)Incorrect or Missing Iunction.
(b)InterIace errors.
(c)Errors in data structures or external data base access.
(d)Behavior or perIormance errors, and
(e)Initialization and termination errors.
Unlike White-Box testing, which is perIormed early in the testing process,
black box testing tends to be applied during later stages oI testing. Because
black box testing purposely disregards control structure, attention is Iocused
on the inIormation domain. Tests are designed to answer the Iollowing
questions:-
(a)How is Iunctional validity tested?
(b)How is system behavior and perIormance tested?
(c)What classes oI input will make good test cases?
(d)Is the system particularly sensitive to certain input values?
(e)How are the boundaries oI a data class isolated?
(I)What data rates and data volume can the system tolerate?
(e)What eIIect will speciIic combinations oI data have on system
operation?
4.3.3 Testing Strategies
Daily LiIe Banking


SYW


System engineering deIines the role oI soItware and leads to soItware
requirements analysis where the inIormation domain, Iunction, behavior,
perIormance, constraints, and validation criteria Ior soItware are established.
Moving inward along the spiral, we come to design and Iinally to coding. To
develop computer soItware, we spiral inward along streamlines that decrease
the level oI abstraction on each turn.
A strategy Ior soItware testing may also be viewed in the context oI the spiral
(shown in Iigure):-
Unit testing: - Unit testing begins at the vertex oI the spiral and concentrates
on each unit (i.e. component) oI the soItware as implemented in source code.
It Iocuses veriIication eIIort on the smallest unit oI soItware design the
soItware component or module. The unit test is white-box oriented, and the
step can be conducted in parallel Ior multiple components.
Unit Test Considerations:
O InterIace
O Local data structures
O Boundary conditions
O Independent paths
O Error handling paths
Integration Testing: - In these testing strategies it Iocuses is on design and
construction oI the soItware architecture. Integration testing is a systematic
technique Ior construction the program structure while at the same time
conducting tests to uncover errors associated with interIacing. The objective is
to take unit tested components and build a program structure that has been
dictated by design.
Components of Integration Testing: -
(a)Top-down Integration: - Top-down integration testing is an incremental
approach to construction oI program structure. Modules are integrated by
moving downward through the control hierarchy, beginning with the main
control (main program). Modules subordinate (and ultimately subordinate) to
the main control module are incorporated into the structure in either a depth-
Iirst or breadth-Iirst manner.
(b) Bottom-up Integration: Bottom-up integration testing, as its name
implies, begins construction and testing with atomic modules (i.e. components
at the lowest levels in the program structure). Because components are
integrated Irom the bottom up, processing required Ior components
subordinate to a given level is always available and the need Ior stubs is
eliminated.
(c) Regression Testing: It is the re-execution oI some subset oI tests that have
already been conducted to ensure that changes have not propagated unintended
side eIIects. Smoke Testing: Smoke testing is an integration testing approach
that is commonly used when 'shrink-wrapped soItware products are being
developed. It is designed as pacing mechanism Ior time-critical projects,
allowing the soItware team to assess its project on a Irequent basis.
Validation Testing: 'alidation can be deIined in many ways but a simple
deIinition is that validation succeeds when soItware Iunctions in a manner that
can be reasonably expected by the customer.
Daily LiIe Banking


SYW


(A) Validation Test Criteria: Two possible Conditions exists:-
(a)The Iunction or perIormance characteristics conIorm to speciIication
and are accepted
(b)A deviation Irom speciIication is uncovered and a deIiciency list is
created. It is oIten necessary to negotiate with the customer to establish a
method Ior resolving deIiciencies.
(B) Configuration Review: An important element oI the validation process is
a conIiguration review. The conIiguration review, sometimes called an audit.
(C) Alpha Testing: The alpha test is conducted at the developer`s site by a
customer. Alpha tests are conducted in controlled environments.
(D) Beta Testing: The beta test is conducted at one or more customer sites by
the end-user oI the SoItware. The beta test is a 'live application oI the
soItware in an environment that cannot be controlled by the developer.
System Testing: In System Testing the soItware and other elements are tested
as a whole. System testing is actually a series oI diIIerent tests whose primary
purpose is to Iully exercise the computer-based system. Although each test has
a diIIerent purpose, all work to veriIy the system elements have been properly
integrated and perIorm allocated Iunctions.
To test computer soItware, we spiral out along streamlines that broaden the
scope oI testing with each turn.











Daily LiIe Banking


SYW%






Through study has been done to know the working oI DAILY BANKING
SYSTEM and the sample data collected. The executive bodies as well as
general body members have been consulted to get the sample test data. Apart
Irom this some oI beneIiciary and donators have been interviewed to get the
required inIormation. I have visited some oI the project sites where this
organization is working to collect the sample data. The data, thus, collected is
entered into the system and processed. The processed inIormation in the Iorm
oI MIS Report is provided to the members oI executive body. Proper
modiIication has been done in the application as per the modiIication in the
report processed and the suggestion oI members. The process has been
repeated several times till the members oI executive body are Iully satisIied.
The test case or test data has been shown in the Iorms oI MIS Report. It can be
seen in the annexure enclosed.First oI all the application has been thoroughly
tested by applying the test data. AIter that it got approved Irom the executive
body to be implemented. Users operational manual has been prepared and
proper training to the users has been provided. Once the users well acquainted
with the new computerized system it was installed and operationalised along
with the existing manual system. Both the computerized system and the
manual system will run side by side Ior at least six months. During this period
iI any nonconIormity will be Iound out, that will be Iully solved and
incorporated. II the new system does not contradict the existing system can be
Iully adopted. AIter system task will not over a close eye site will be kept on
the Iunctioning oI the new system. II any type oI problem will Iind out that
will be properly eradicated. This type oI soItware maintenance will be done or
not less than one hour aIter complete operationalization oI the system. During
this period any type oI maintenance needed or required by the management
will be done. The organization will depute a technical person to manage the
new system and to operate smoothly.











Daily LiIe Banking


SYW%







5. Front Page

INPUT SCREENS

Main Form Screen
Daily LiIe Banking


SYW





Password Screen




























Daily LiIe Banking


SYW





Main Transaction Screen




























Daily LiIe Banking


SYW








Customer Details Entry Screen























Daily LiIe Banking


SYW




Account Detail Entry Screen


























Daily LiIe Banking


SYW




Gurrantor Details Entry Screen


























Daily LiIe Banking


SYW






Loans Details Screen
























Daily LiIe Banking


SYW






Current Account Details Entry Screen
























Daily LiIe Banking


SYW







Customer Gurrantor Detail Entry Screen



Daily LiIe Banking


SYW%


Saving Account Detail Entry Screen




























Daily LiIe Banking


SYW%






Fixed Account Detail Entry Screen




















Daily LiIe Banking


SYW%



Recurring Account Detail



























Daily LiIe Banking


SYW%



General Ledger Entry Screen














Daily LiIe Banking


SYW%



Fixed Account Detail Entry Screen


Daily LiIe Banking


SYW%




Cash Book Entry Screen
























Daily LiIe Banking


SYW%




Balance Sheet entry Screen



Daily LiIe Banking


SYW%


5.2 Test Reports

OUTPUT REPORTS


DAILY BANKING SYSTEM

Day Wise Deposit to all Head Separately Output Screen


















Daily LiIe Banking


SYW%



Total Deposit per Day



























Daily LiIe Banking


SYW%


Monthly Total Deposit OutPut Screen























Daily LiIe Banking


SYW%%





Account Wise Total Deposit Screen
























Daily LiIe Banking


SYW%%



Total Account Opening in a Session Screen
























Daily LiIe Banking


SYW%




Total Closed account Screen

























Daily LiIe Banking


SYW%








Total Transaction Account Screen

















Daily LiIe Banking


SYW%





Total Transferred Account Screen




























Daily LiIe Banking


SYW%




Total Mature Fixed Account Screen












Daily LiIe Banking


SYW%



There are several aspects of the system security: -
.Hardware Security:- Only limited and authenticated person will be
allowed to access the system. The system administrator will take care oI all
these things.
.2Software Security: -Two level oI soItware security can be provided,
which is the operating system level and the database level. Every user will be
provided unique user id and conIidential password in order to log into the
system. Windows xp server operating system has been adopted in the
proposed system, which is highly secured and does not allow unauthorized
users. Again it restricts the Iunction oI users. By granting them proper access
control mechanism. Similarly the Oracle database server can provide an
additional level oI soItware or user security also so that unauthorized user
can`t access the database. The authorized user can access only that part oI the
database Ior which they are granted access privileges
Application Level Security: -User authentication and validation have also
been deIined additionally in the application level. The users have been
provided user name and password Iacility. The users have been categorized
into administrator oIIicer assistant and operator. The role oI each type oI user
has been deIined and Iixed and user can`t violate these security rules.
Data Level Security:-Data validation rules and constraints have been
properly deIined both at the database level and the application level. Due to
this only valid data can be entered. Apart Irom this, background audit
mechanisms have been properly deIined so as to track all the activities related
to data management. For example, data insertion is recorded along with the
user name and date & time oI insert. Similarly data updating and deletion are
also recorded with the user name and date & time in eIIect. A separate copy oI
the original data will be stored in a separate audit table during its updating &
deletion. This is done along with the recording oI user perIorming the
pupation & deletion and date & time. From this audit table the original data
can be recorded as and when required and user can be made responsible. The
application also keeps tracks oI all the users` activities. Hence the data itselI is
completelysecured.
Daily LiIe Banking


SYW%





SoItware cost and eIIort estimation will never been exact science. Too many
variables-Human, Technical, Environmental, and Political can aIIect the
ultimate cost oI soItware and eIIort applied to develop it. However, soItware
project estimation can be transIormed Irom a black art to a series oI systematic
steps that provide estimates with acceptable risk. To achieve reliable cost and
eIIort estimates, a number oI options arise:
(a)Delay estimation until late in the project (obviously, we can
achieve 100 accurate estimates aIter the project is complete!).
(b)Base estimates on similar projects that have already been
completed.
(c)Use relatively simple decomposition techniques to generate project
cost and eIIort estimates.
(d)Use one or more empirical models Ior soItware cost and eIIort
estimation.
UnIortunately, the Iirst option, however attractive, not practical. Cost
estimates must be provided 'Up Iront.
The second option can work reasonable well, iI the current project is quite
similar to past eIIorts and other inIluences (e.g. the customer, business
conditions, the SEE, deadlines) are equivalent. UnIortunately, past
experience has not always been a good indicator oI Iuture results.
The remaining options are viable approaches to soItware project estimation.
Ideally, the techniques noted Ior each option should be applied in tandem;
each used as a cross-check Ior the other.
Though we can estimate a project on the following basis: -
(a)Problem Based Estimation.
(b)Line oI Code (LOC)-Based Estimation.
(c)Function Point Based Estimation.
(d)Process-Based Estimation.
Estimation Table For The LOC Method: -

FUNCTION ESTIMATED LOC
User InterIace and Control Facility (UICF) 2300
Two-Dimensional Geometric Analysis
(2DGA)
5300
Three-Dimensional Geometric Analysis
(3DGA)
6800
Database Management (DBM) 3350
Computer Graphics Display Facilities
(CGDF)
4950
Peripheral Control Function (PCF) 2100
Design Analysis Modules (DAM) 8400
Estimated Line oI Codes 33200




Daily LiIe Banking


SYW%


Estimation Table for The FP-Based Method

Measurement Parameter Count Simple Average Complex Weight FP
Count
Number oI User Inputs 24 20 24 30 4 97
Number oI User Outputs 16 12 15 22 5 78
Number oI User
enquiries
22 16 22 28 5 88
Number oI Files 4 4 4 5 10 42
Number oI External
InterIaces
2 2 2 3 7 15
Count 320

Processed-Based Estimation Table.

Activity

CC Planning Risk
Analysis
Engineering Construction
Release
CE Totals
Task Analysis Design Code Test

Function

UICF 0.50 2.50 0.40 5.00 N/A 8.40
2DGA 0.75 4.00 0.60 2.00 N/A 7.35
3DGA 0.50 4.00 1.00 3.00 N/A 8.50
CGDF 0.50 3.00 1.00 1.50 N/A 6.00
DBM 0.50 3.00 0.75 1.50 N/A 5.75
PCF 0.25 2.00 0.50 1.50 N/A 4.25
DAM 0.50 2.00 0.50 2.00 N/A 5.00


Total

EIIort 1 1 1 8 45 10 36

CC Customer Communication.
CE Customer Evaluation.
The COCOMO Model (Constructive Cost model) is one oI the most widely
used and discussed soItware cost estimation model in the soItware industry. It
has evolved into a more comprehensive estimation model, COCOMO II. Like
its predecessor, COCOMO II is actually a hierarchy oI estimation models that
address the Iollowing areas.

O Application composition model.
O Early design stage model.
O Post architecture stage model.

Daily LiIe Banking


SYW%


Like all estimation models Ior soItware, the COCOMO II models require
sizing inIormation. Three diIIerent sizing options are available as part oI the
model hierarchy:

A. Object Points.
B. Function Points
C. Lines oI Source Codes.
Though, simply we can calculate the cost oI this project as:
Development Cost Project Duration * Hourly Development Rate
200 Hrs. * 200
40,000
. Pert Chart

PERT (Program Evaluation and Review Technique) was developed by Navy
Sponsored Research Team Composed oI Messrs D.G.Malcolm,
.R.Roseboom, C.E.Clark and W.Fazar in about 1950. This is essentially
management technique and, iI tailored properly, can be used with advantage
Ior responsibilityAccounting in addition to attaining other well-deIined
techniques. It is a method in which we try to exercise logical discipline in
planning and controlling projects. Managers have Iound this technique Ior
immense value here adopted judiciously and when conIiguration oI events and
activities are correctly assessed and their times are realistically worked out.
PERT is designed Ior scheduling complex project that involve
many inter-related task. It improves planning because:
(a)It Iorms the planner to deIine the projects various component activities and
events logically.
(b)It provides basis Ior normal estimates, and yet allows Ior some measure oI
optimism or pessimism in estimating completion dates.
(c)It shows the eIIects oI changes to the over all plan as they contemplated.
(d)It provides a built-in means Ior un-going evaluation oI the plan.
(e)It Iacilitates the process oI communication between planners management
by either adhering to organizational lines or crossing over them. In essence,
PERT makes the clear-cut assignment oI responsibility possible.

AIter the project has been planned and its implementation is
underway, PERT continues to be oI use in controlling the project. PERT
improves project control because:
(a) It provides all parties involved a common basis oI progress reporting, both
within organization and outside oI it.
(b)It identiIies likely troubles pots beIore they are encountered.
(c)It provides date specially tailored to each level oI management.
(d)It Iocuses management attention on the critical path, where it is most
needed, as well as on other non-critical activities that Iurnish resources,
essential to the completion oI activities on the critical path.
(e)It permits eIIects oI various reallocation alternatives to be simulated such
that the impact oI any proposed changed changes in overall project can be
predicted. In other words, PERT answers the 'what iI questions.
Because oI these planning and controlling Ieatures, PERT especially eIIective
in projects with many distinct tasks, in which the complex interrelationships
Daily LiIe Banking


SYW%%


between tasks and projects with respect to personal scheduling and time
constraints oI critical
.
Methology Of Peart/cpm Network

Tho nolhodoIogy invoIvod in appIying ILRT foi any piojocl nay lo
spIil inlo lho foIIoving slagos:
Project Planning (Drawing the network): The purpose oI this is to identiIy
all the important events which is essential Ior completion as well as making up
oI project and their dependence upon one another is shown explicitly in the
Iorm oI a network.
Time Estimation (Network Analysis): Estimates oI the time required to
perIorm each oI the network activity are made, the estimates are based upon
manpower and equipment availability and certain assumptions that may have
been made in planning the project. By incorporating the time required Ior
completing each oI the activity oI the network, the project duration as well as
the critically oI the activities are Iound. At this stage it is also possible to
compute the probability oI completing the project or a part oI the project by a
speciIied time.
Pert Network for the Project

Critical Path: The list tasks and events is networked in a PERT chart in above
Iigure. The arrow length is not signiIicant, but the sequence and
interconnections must give a true picture oI the precedence oI activities to be
completed. The numbers on the activity lines are the time (in weeks) required
between events.
Note: No. In circle denotes events serial no., while those with the arrow
denote time taken in weeks. PERT chart is valuable when a project is being
planned. When the network is Iinished, the next step is to determine the
critical path. According to above diagram the critical path is: -

Daily LiIe Banking


SYW%%


A
B
C
E
D
F G
H

J
K
L
2
2
2
4
4
4
4
2
2
2
2
2 +
ork Begins


Figure-: PERT CHART
Daily LiIe Banking


SYW


.2 Gant Chart
Gant charts are a project control technique is used Ior including scheduling.
Budgeting and resource planning. A Gant chart is a Bar Chart, representing an
activity (task).A Gant chart helps in scheduling the activities oI a project, but
it does not help in identiIying them. They indicate the completion oI a
particular task and are the basis Ior determining whether the task and the
project are on schedule. I estimate the number oI weeks required Ior each oI
the 12 tasks.
Activity ID Activity or Task No. Of Weeks
A
B
C
D
E
F
G
H
I

K
L
IdentiIication oI Needs
Preliminary Investigation
Feasibility Study
Analysis
Project Proposal & Approval
Design
Coding
Code Optimization
Testing
Implementation
Documentation
Maintenance
2
1
2
4
4
4
4
2
2
2
2
.

Some oI the Iive tasks overlapped each other or parallel to
some task to reduce time.







Daily LiIe Banking


SYW



Figure : GANT CHART (TIME LINE CHART)



Work Task Week 1 Week 2 Week 3 Week 4 Week 5
.System Analysis
Overview Existing System
Preliminary Investigation
IdentiIication oI Need
Proposed Computer Based
System
2.Feasibility study
Technical Feasibility
Economical Feasibility
Operation Feasibility
3.System Design
User InterIace Design
Data Base Design
Coding the Application
4.Testing
Unit Testing
Acceptance Testing
5.Implementation
Training personal
Conversion Procedure
Post Implementation
Review





Daily LiIe Banking


SYW



.3 Future Scope of the Project

The proposed system is a Procedural Application oI 2-tier client/server
technology and Networking. It will be used not only to automate Iully the
reporting system, but Ior many other Iunctions such as registration oI
members, beneIiciaries, and donators, membership payment, donation
payment, project submission to HRD, query, and MIS reports Ior decision
support. Cabinet and general public will use its database Ior web-based
inIormation accessing; registration, query etc. It will automate the working oI
STATE BANK OF INDIA and will promote the paperless oIIice concept. It
will remove the waiting queue oI beneIiciaries at the counters oI the
Organization and processing delay at various levels.

REFERENCES
Books: -

1. Press Oracle: Oracle Complete ReIerence Book.
2. Bayross, Ivan: Introduction to Oracle-8.0, BPB Publication, New Delhi
3. Bayross, Ivan: Sql/Pl-Sql.
4. Pandey Desh: Oracle system.
5. Wrox ava Books
6. Raja Raman: System Analysis and Design.
7. Canter: System Analysis and Design.
8. Award: System Analysis and Design.


Magazines & Periodicals: -

1. Chip

2. Data Quest

Web-sites: -

1. www.oracle.com








Daily LiIe Banking


SYW



. GLOSSORY

O IT InIormation Technology
O PERT- Program Evaluation & Review Technique
O GANTT-
O AC- Air-condition
O WORM- Write Once Read Many
O S'GA- Super 'ideo-Graphic Adapter
O GB- Giga Byte
O MB- Mega Byte
O RAM- Random Access Memory
O NT- New Technology
O SQL- Structured Query Language
O PL-Programming Language
O CPM-Critical Path Method
O GUI-Graphical User InterIace
O LOC-Line oI Code
O COCOMO-Constructive Cost Model
O MBPS-Mega Byte Per Second
O UTP-Unshielded Twisted Pair
O LAN-Local Area Network
O TCP-Transmission Control Protocol
O IP-Internet Protocol
O NIC-Network InterIace Card

Você também pode gostar