Atm Java Project

Post on 26-Mar-2015

4,912 views 167 download

transcript

PRESENTATION ON THE PROJECT ‘AUTOMATED TELLER MACHINE’.

INTRODUCTION

The Java technology is ;

● a programming language.

● a development environment.

● an application environment.

● a deployment environment.

CHARACTERISTICS ●It’s the current “hot” language. ●It’s almost entirely object-oriented. ●It has a vast library of predefined objects and

operations. ●It’s more platform independent,this makes it

great for Web programming.●It’s more secure.●It’s simple.

Goals of Java Technology A language that is easy to program. An interpreted environment resulting in

following benefits: □speed of development □code portability A way for programs to run more than one

thread of activity. A means of ensuring security by checking

loaded code modules.

The java technology architecture usesthe following features to fulfill the listedgoals: ● The JVM ● Garbage collection ● The JRE ● JVM tool kit

The Java Virtual Machine

●An imaginary machine that isimplemented by emulating it in softwareon a real machine.●Code for JVM is stored in .class files.●The JVM design enables the creation ofimplementations for multiple operatingenvironments for eg: sun microsystemsprovides implementations of JVM forSolaris,Linux and Ms Windows.

Garbage Collection

The java removes users from the responsibility of de-allocating memory.

Garbage collection threads checks for and frees any memory that can be freed.

It happens automatically during life time of java technology program.

The Java Runtime Environment

Compile

Test.java

Test.class

Load from hard disk,n/w,or other source

Class loader

Byte code verifier

interpreter

runtime

hardware

JVM Tasks

Loads code-performed by class loader Verifies code-performed by the byte

code verifier Executes code-performed by the

runtime interpreter

A.W.T.

AWT is abstract window toolkit. It provides basic gui components that

can be used in java applications. It provides a machine independent

programming interface for applications

PHASES OF SOFTWARE DEVELOPMENT LIFE CYCLE

Information gathering Analysis Design Implementation Testing

REQUIREMENTS

Providing provision for balance check in account,withdraw money from account,deposit money in account,transfer money from one account to another and change password.

DESIGN

●In order to implement the features as required, a total of 14 frames are made.

●various panels and buttons etc are also designed.

●Some of the frames are shown in the next few slides

SCREENSHOTS

MAIN SCREEN

DEPOSITSCREEN

WITHDRAW SCREEN

STATEMENT SCREEN

EXIT SCREEN

CHANGE PASSWORD

IF LOG IN FAILED

IMPLEMENTATION As you just saw 7 frames have been made.

Basic controls such as textboxes, combo-boxes, buttons, password-field etc. are also added into the relevant panels.

All the required action listeners are defined.

A class ATM is made for the interaction with the MS ACCESS database.

•In the absence of advanced testing techniques, basic testing was performed.

•For this purpose, a variety of records were entered and the software's response was noticed.

•Since the response was as expected, testing was taken to be successful.

•Hence the project was completed.

Testing