Upload
subhash-bajaj
View
23
Download
1
Tags:
Embed Size (px)
Citation preview
PROJECT
ON
ATM SYSTEM MANAGEMENT
SUBMITTED TO :- SUBMITTED BY :-
Mrs. Lekha Bhambu Heena Chitkara
(The H.O.D. of CSE & IT department) C.S.E. 5th Sem.
2710324
1
INDEX
Contents Page No.
• Preface 3
• Acknowledgement 4
• Certificate 5
• Company profile 6
• About the course – JAVA 8
* History of java 9
*Versions 10
*Principles 11
*Features of java 12
• Mysql Query Browser 15
• Features of MySql 16
• Table Structure 17
• Project Profile 18
• Hardware Requirements 19
• Eclipse Helios 20
• Project Summary 21
• Screen shots 22
2
PREFACE
Learning comes from doing. To earn something one has to go through practical condition. Recognizing this fact the University has made it essential for B.Tech students to undergo Industrial Training for 6 weeks after forth semester . During this period the students learn abort the functioning of the Organization and the actual business environment that they are going to face in future.
This six week Project report was prepared during the training period invested in C-DAC,Mohali.
The duration of training was six weeks and report has been prepared after the completion of the whole training period. During this period an effort was made to understand the progress in the project assigned to me i.e. ATM SYSTEM MANAGEMENT..
3
ACKNOWLEDGEMENT
It is my sincere duty to express my deep gratitude to all those who helped me directly or indirectly in success full completion of project titled “ATM System Management.”
With great respect I would like to express my indebtedness to my Project Manager Ms. Rajni at CDAC, Mohali. It was indeed a pleasure to work under the guidance.
I wish to express my special thanks to Ms.Sippy Software Developer at CDAC,Mohali without whose guidance and encouragement the project would not have been possible.
4
COMPANY PROFILE
COMPANY NAME :- CDAC(Centre for development of advanced computing)
PROJECT ASSOCIATE :- Ms. Rajni
COMPANY ADDRESS :- Phase 8,Industrial Area,SAS nagar,Mohali
5
ABOUT CDAC
Centre for Development of Advanced Computing (C-DAC) is the premier R&D organization of the Department of Electronics and Information Technology (DeitY), Ministry of Communications & Information Technology (MCIT) for carrying out R&D in IT, Electronics and associated areas. Different areas of C-DAC, had originated at different times, many of which came out as a result of identification of opportunities.
The setting up of C-DAC in 1988 itself was to built Supercomputers in context of denial of import of Supercomputers by USA.
Almost at the same time, C-DAC started building Indian Language Computing Solutions with setting up of GIST group (Graphics and Intelligence based Script Technology); National Centre for Software Technology (NCST) set up in 1985 had also initiated work in Indian Language Computing around the same period.
C-DAC started its education & training activities in 1994 as a spin-off with the passage of time, it grew to a large efforts to meet the growing needs of Indian Industry for finishing schools.
6
What is JAVA
Java is a programming language originally developed by James Gosling at Sun Microsystems (which has since merged into Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform.The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities than either C or C++. Java applications are typically compiled to bytecode(class file) that can run on any Java Virtual Machine regardless of computer architecture.Java is a general-purpose, concurrent, classbased, object-oriented language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. Java is as of 2012 one of the most popular programming languages in use, particularly for client-server web applications, with a reported 10 million users.
7
JAVA HISTORY
James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991.Java was originally designed for interactive television, but it was too advanced for the digital cable television industry at the time.The language was initially called Oak after an oak tree that stood outside Gosling's office; it went by the name Green later, and was later renamed Java, from Java coffee, said to be consumed in large quantities by the language's creators Gosling aimed to implement a virtual machine and a language that had a familiar C/C++ style of notation.
Sun Microsystems released the first public implementation as Java 1.0 in 1995. It promised "Write Once, Run Anywhere" (WORA), providing no-cost run-times on popular platforms. It allowed network- and file-access restrictions. Major web browsers soon incorporated the ability to run Java applets within web pages, and Java quickly became popular.
Sun distinguishes between its Software Development Kit (SDK) and Runtime Environment (JRE) (a subset of the SDK); the primary distinction involves the JRE's lack of the compiler, utility programs, and header files.
On November 13, 2006, Sun released much of Java as free and open source software, (FOSS), under the terms of the GNU General Public License (GPL). On May 8, 2007, Sun finished the process, making all of Java's core code available under free software/open-source distribution terms, aside from a small portion of code to which Sun did not hold the copyright.
8
JAVA VERSIONS
Major release versions of Java, along with their release dates:
JDK 1.0 (January 23, 1996)
JDK 1.1 (February 19, 1997)
J2SE 1.2 (December 8, 1998)
J2SE 1.3 (May 8, 2000)
J2SE 1.4 (February 6, 2002)
J2SE 5.0 (September 30, 2004)
Java SE 6 (December 11, 2006)
Java SE 7 (July 28, 2011)
9
PRINCIPLES
There were five primary goals in the creation of the Java language:
It should be "simple, object-oriented and familiar"
It should be "robust and secure"
It should be "architecture-neutral and portable"
It should execute with "high performance"
It should be "interpreted, threaded, and dynamic"
10
VARIOUS FEATURES OF JAVA
1. Complied and Interpreted : Usually a computer language is either compiled or interpreted.
Java combines both these approaches thus making Java a two-stage system. First, Java
compiler translates Source Code into Bytecode instructions. In the second stage, Java
interpreter generates machine code that can be directly executed by the machine that is
running the Java program.
2. Platform Independent and Portable: The most significant contribution of Java over other languages is its
portability. Java programs can be easily moved from one computer system to
another, anywhere and anytime. Changes and upgrades in operating system,
processors and system resources will not force any changes in Java programs.
3. Object-Oriented: Java is a true Object-oriented language. Java comes with an extensive set of
classes, arranged in packages that we can in our programs by Inheritance. The object model
in Java simple and easy to extend.To be an Object Oriented language, any language must
follow at least the four characteristics.
Inheritance : It is the process of creating the new classes and using the
behaviour of the existing classes by extending them just to reuse the existing code
and adding the additional features as needed.
Encapsulation: It is the mechanism of combining the information and providing
the abstraction.
Polymorphism: As the name suggest one name multiple form, Polymorphism is
the way of providing the different functionality by the functions having the same
name based on the signatures of the methods.
11
Dynamic binding : Sometimes we don't have the knowledge of objects about
their specific types while writing our code. It is the way of providing the maximum
functionality to a program about the specific type at runtime.
4. Robust and Secure: Java is robust language. It provides many safeguards to ensure reliable
code. It has strict compile time and runtime checking for data type. It is designed as
garbage-collected language relieving he programmers virtually all member management
problems. Security becomes an important issue for a language that is used for programming
on Internet. Java systems not only verify all memory access by also insure that no viruses are
communicated with an applet.
5. Distributed: Java is designed a distributed language for creating applications on
networks. It has the ability to share both data and programs. Java applications can open and
access remote objects on Internet as easily as they can do in a local system.
6. Simple, Small and Familiar: Java is a small and simple language. Many feature of C and C++ are there
redundant or sources of unreliable are not part Java. Familiarity is another striking feature
of Java. To make the language look familiar to the existing programmers, it has modeled on
C and C++ languages. In fact Java is a simplified version of C++.
7. Multithreaded and Interactive: Multithreaded means handling multiple tasks simultaneously. Java
supports multithreaded programs. This means that we need not wait for the application to
finish one task before beginning another.The Java runtime comes with tools that support
multiprocess synchronization and construct smoothly running interactive systems.
As we all know several features of Java like Secure, Robust, Portable, dynamic etc;
12
The more delighted feature of Java is Multithreading.
Java is also a Multithreaded programming language. Multithreading means a single
program having different threads executing independently at the same time.
Multiple threads execute instructions according to the program code in a process or
a program. Multithreading works the similar way as multiple processes run on one
computer.
Multithreading programming is a very interesting concept in Java. In multithreaded
programs not even a single thread disturbs the execution of other thread. Threads
are obtained from the pool of available ready to run threads and they run on the
system CPUs. This is how Multithreading works in Java which you will soon come to
know in details in later chapters.
8. High Performance: Java performance is impressive for an interpreted language, mainly due to
the use of intermediate byte code. Java architecture is also designed to reduce overheads
during the runtime. Further, the incorporation of multithreading enhances the overall
execution speed of Java programs.
9. Dynamic and Extensible: Java is capable of dynamically linking in new libraries, methods and
objects.Java can also determine type of class through a query making it possible to either
dynamically link or abort the program, depending upon the response. Java programs
support functions written in other languages such as C and C++. These are known as native
methods. Native methods are linked dynamically at runtime.
13
ABOUT MYSQL
MySQL is a open source Relational Database Management System. MySQL is very fast reliable and flexible Database Management System. It provides a very high performance and it is multi threaded and multi user Relational Database management system.
MySQL is one of the most popular relational database Management System on the web. The MySQL Database has become the world's most popular open source Database, because it is free and available on almost all the platforms. The MySQL can run on Unix , window, and Mac OS. MySQL is used for the internet applications as it provides good speed and is very secure. MySQL was developed to manage large volumes of data at very high speed to overcome the problems of existing solutions. MySQL can be used for variety of applications but it is mostly used for the web applications on the internet.
14
FEATURES OF MYSQL
MySQL Query Browser is a cross-platform GUI client program that’s intuitive and easy to use. It provides a graphical interface to the MySQL server for querying and analyzing data. It’s similar in style of use to MySQL Administrator but is oriented toward accessing database contents rather than server administration.
The following list describes some of the ways that you can use MySQL Query Browser:
Interactively enter, edit, and execute queries.
Navigate result sets with scrolling. Multiple result sets are tabbed so that you can switch between them easily by selecting the appropriate tab.
Browse the databases available on the server, the tables and stored routines in databases, and the columns in tables.
Browse your query history to see what queries you’ve issued, or recall and re-execute previous queries.
Bookmark queries for easy recall.
Create or drop databases and tables, and modify the structure of existing tables.
Create and edit SQL scripts, with debugging.
Edit connection profiles that can be used to connect to servers more easily.
Access information from the MySQL Reference Manual, such as statement syntax and function descriptions.
15
TABLE STRUCTURE
Table Register: It includes all the registered details.
Table Account: It includes the account information of the individusl just as balance amount.
16
PROJECT PROFILE
PROJECT TITLE :- ATM SYSTEM
FRONT END TOOL :- ECLIPSE HELIOS
BACK END TOOL :- MYSQL Query Browser
PROJECT PLATFORM :- Core Java
PROJECT GUIDE :- Ms. Rajni
17
HARDWARE REQUIREMENTS / SPECIFICATIONS
o Processor Min. Pentium3 OR Higher
o Hard Disk Min. 5 GB
o RAM 128 MB
o Monitor Resolution 1024*768
o Operating System Platform Independent Language.
18
INTRODUCTION TO ECLIPSE HELIOS
Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-insystem. It is written mostly in Java. It can be used to develop applications in Java and, by means of various plug-ins, other programming languages including Ada, C, C++, COBOL, Fortran, and PHP. It can also be used to develop packages for the software . Development environments include the Eclipse Java development tools (JDT) for Java, Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others.
The initial codebase originated from IBM. The Eclipse SDK (which includes the Java development tools) is meant for Java developers. Users can extend its abilities by installing plug-ins written for the Eclipse Platform, such as development toolkits for other programming languages, and can write and contribute their own plug-in modules.
19
PROJECT SUMMARY
About ATM:-
An automated teller machine or automatic teller machine (ATM) also known as an automated banking machine (ABM) in Canadian English, is a computerized telecommunications device that enables the clients of a financial institution to perform financial transactions without the need for a cashier, human clerk or bank teller.
On most modern ATMs, the customer is identified by inserting a plastic ATM card with a magnetic stripe or a plastic smart card with a chip that contains a unique card number and some security information such as an expiration date. Authentication is provided by the customer entering a personal identification number (PIN).
Using an ATM, customers can access their bank accounts in order to make cash withdrawals, debit card cash advances, and check their account balances ,can change their pin numbers. Thus, ATMs often provide one of the best possible official exchange rates for foreign travellers, and are also widely used for this purpose.
ATMs are placed not only near or inside the premises of banks, but also in locations such as shopping centers/malls, airports, grocery stores, petrol/gas stations, restaurants, or anywhere frequented by large numbers of people. There are two types of ATM installations: on- and off-premise. On-premise ATMs are typically more advanced, multi-function machines that complement a bank branch's capabilities, and are thus more expensive. Off-premise machines are deployed by financial institutions and Independent Sales Organisations (ISOs) where there is a simple need for cash, so they are generally cheaper single function devices.
The Card Reader: The Card Reader receives the customer's card and retrieves the PIN and account number storedon it. This information is transmitted to the software system which enables the Customer Keypadand initiates the PIN verification procedure. When business is completed the Card Reader isinstructed to return the card. If the customer enters an incorrect PIN, a fixed number of retries is permitted, after which the Card Reader is instructed to confiscate the card.
20
The ATM System:
This project basically involves the use of frames’ concept of java. The frames are formed by using the classes, constructors, several methods and their objects. In the first frame we have a sign up page for the users where one can log in or connect with the CITY BANK to do the transactions or view details. Through this page only, one can open a new account in the bank by using the register option button.
If the user already has an account in the bank then it only needs to enter its ATM card number and its password. Then one is able to do the desired transactions. The snapshot of that is as follows:
21
For Opening a new account:
22
After getting logged in we will get choice frame in which we can choose any of the given
Options basically th eone which a user is desired perform the operation. This includes :
1. Balance Enquiry2. Cash Withdrawal3. Change Password4. Deposit5. Back
23
If the user opts for Balance Enquiry Button then he will be able to check the Balance amount in his account. The balance of the user’s account is displayed by taking the data from the Back end i.e. MySql Query Browser form the table “account”.
24
If the user opts for Cash withdrawal then he can get the cash by entering the required amount in the text box. The amount it entered will be deducted from its account balance in the back end.
25
If the user opts for change password button then he can change its password just by entering the current password and the new password of its choice.
26
If the user wants to deposit money in its account the he must go for deposit option.
27
The back option is given if the user wants to do new transaction due to some reason then he can go for it.After presssing the Back button one will get a screen like:
28
If anyone wants to terminate the transaction then it can press the exit button to terminate the transaction. Which looks as:
29