Professional Documents
Culture Documents
EMAIL CLIENT
Completed at
2010-2011
RAJASTHAN INSTITUTE OF ENGG. &
TECHNOLOGY
JAIPUR
PVTLimited, JAIPUR and this project work has not performed the basis
Chayan Upadhyay
CS\07\07
ABSTRACT
Company Details:
3. Contact Person:
a. Name: Bijendra Bhati.
b. Mobile No.: 9828042846.
c. E-Mail ID: bodaciousithub@gmail.com.
Training Details:
1. Training Topic: JDBC.
2. Contents:
• Swings
• Introduction to JavaMail API.
• Advantage of J2EE over other languages.
• Database connectivity.
2. Training Coordinator:
a. Name: Mr. Bijendra Bhati.
b. Mobile No.: 9828042846
Project Details:
2. Technology Used:
➢ JDBC Connectivity
➢ JavaMail API
➢ Swings
1. Scope of Project:
The Bank Simulator which is developed using java language.This software will be
provided as a tool to the INDIAN BANK. The BANK has been working for Accounts
information , Withdrawal(through Cash/Cheque). Deposit amount. In this Software you
can keep record for daily Banking transactions. The Objective is to prepare a software or
application, which could maintain data & provide a user friendly interface for retrieving
customer related details just in few seconds, with 100% accuracy. Software is completely
computerized, so it is not time consuming process. No paper work required & can be
implemented further .
The application should also facilitate the addition of new Customer A/c, deletion of
A/c& modification of existing customer A/C. To Search for every individual accounts
for a particular customer, show all transaction & any account should be opened with
minimum Rest. 1000 etc.
ACKNOWLEDGEMENT
Also I am very much grateful to my project guide Mr Himanshu for his guidance,
inspiration and constructive suggestions which helped me in the preparation and
completion of the project training work. Her encouraging remarks from time to time
greatly helped me in improving my skills.
And chiefly to my project development team mates, without whose assistance, the
project wouldn’t be of so much success.
And to the all mighty who made all the things possible.
Chayan Upadhyay
CS/07/07
TABLE OF CONTENTS
1. Company Profile 1
1.1. Introduction to the Company 1
1.2. Profile 2
1.3. Refineries 3
2. Introduction to JDBC 4
2.1. History 5
3. Swing Package 17
3.1. Introduction 17
1.3 Example
1. JavaMail API 20
2. Project Description 21
2.1. Introduction 21
2.2. Objective 23
2.3. Scope
24
5. Conclusion 35
6. Future Scope 35
7. Bibliography 36
8. References 36
9. LIST OF FIGURES
➢ JDBC Drivers 11
➢ Applet Example 13
Many of our students, who are working in leading MNCs, admit that they
learnt here how to work hard and learn a programming language. Our
students are so well trained and well settled that we don't have to speak
about ourselves their success speaks about us. We don't have to advertise
ourselves to make our presence feel; our students make the difference feel
wherever they go, that's why we have students coming from other
states of India and abroad too(though we haven't advertised ourselves
till the date !!!)
Chapter 1:AN INTRODUCTION
JAVA is a programming language originally developed by James Gosling at Sun
Microsystem(which is now a subsidary of Oracle Corporation) and released in 1995 as a
core component of Sun Microsystem Java platform
Earlier, C++ was widely used to write object oriented programming languages; however,
it was not a platform independent and needed to be recompiled for each different CPU’s.
A team of Sun Microsystems in the guidance of James Goslings decided to develop an
advanced programming language for the betterment of consumer electronic devices. In
the year 1991 they make a platform independent software and named it Oak. But later
due to some patent conflicts, it was renamed as Java and in 1995 the Java 1.0 was
officially released to the world.
Features Of Java
1. Simple: -
We wanted to build a system that could be programmed easily without a lot of
esoteric training and which leveraged today’s standard practice. So even though
we found that C++ wasunsuitable, we designed Java as closely to C++ as possible
in order to make the system more comprehensible. Java omits many rarely used,
poorly understood, confusing features of C++ that in our experience, bring more
grief than benefit.
2. Object Oriented: -
Simply stated, object-oriented design is a technique for programming that focuses
on the data (=objects) and on the interfaces to that object. To make an analogy
with carpentry, an “object-oriented” carpenter would be mostly concerned with
the chair he was building, and secondarilywith the tools used to make it; a “non-
objectoriented”carpenter would think primarily of his tools.The object-oriented
facilities of Java are essentially those of C++.
3. Robust: -
Java is intended for writing programs that must be reliable in a variety of ways.
Java puts a lot ofemphasis on early checking for possible problems, later dynamic
(runtime) checking, andeliminating situations that are error-prone. . . . The
single biggest difference between Java and C/C++ is that Java has a pointer
model that eliminates the possibility of overwriting memory and corrupting data.
4. Secure: -
Java is intended to be used in networked/distributed environments. Toward that
end, a lot ofemphasis has been placed on security. Java enables the construction
of virus-free, tamper-freesystems.
5. Portable: -
Unlike C and C++, there are no “implementation-dependent” aspects of the
specification. The sizes of the primitive data types are specified, as is the
behavior of arithmetic on them.
6. Interpreted: -
The Java interpreter can execute Java bytecodes directly on any machine to which
the interpreter has been ported. Since linking is a more incremental and
lightweight process, the development process can be much more rapid and
exploratory.
7. High Performance: -
While the performance of interpreted bytecodes is usually more than adequate,
there are situations where higher performance is required. The bytecodes can be
translated on the fly (at runtime) into machine code for the particular CPU the
application is running on.
8. Multithreaded: -
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.
9. Dynamic:-
In a number of ways, Java is a more dynamic language than C or C++. It was
designed to adapt to an evolving environment. Libraries can freely add new
methods and instance variables withoutany effect on their clients. In Java, finding
out runtime type information is straightforward.
10. Platform Independent: -
The concept of Write-once-run-anywhere (known as the Platform independent)
is one of the important key feature of java language that makes java as the most
powerful language. Not even a single language is idle to this feature but java is
more closer to this feature. The programs written on one platform can run on any
platform provided the platform must have the JVM.
11. Distributed:-
The widely used protocols like HTTP and FTP are developed in java. Internet
programmers can call functions on these protocols and can get access the files
from any remote machine on the internet rather than writing codes on their local
system.
Object-oriented programming is at the core of Java. In fact, all Java programs are object-
oriented---this isn’t an option the way that it is C++, for example.OOP is so integral to
Java that you must understand its basic principles before you can write even simple Java
programs.
Encapsulation:-
Encapsulation is the mechanism that binds together code and the data it manipulates, and
keeps both safe from outside interference and misuse. One way to think about
encapsulation is as a protective wrapper that prevents the code and data from being
arbitrarily accessed by other codes defined outside the wrapper. Access to the code and
data inside the wrapper is tightly controlled through a well-defined interface.
In Java the basis of encapsulation is the class. A class defines the structure and
behavior (data and code) that will be shared by a set of objects. Each object of a given
class contains the structure and behavior defined by the class, as if it were stamped out
by a mold in the shape of the class. For this reason, objects are sometimes referred to as
instances of class.
Inheritance:-
Inheritance is the process by which one object acquires the properties of another object.
This is important because it supports the concept of hierarchical classification. Most
knowledge is made manageable by hierarchical (that is, top-down) classification. For
example, a Golden Retriever is part o the classification dog, which in turn is part of the
mammal class, which is under the larger class animal.
Without the use of hierarchies, each object would need to define all its
characteristics explicitly. However, by use of inheritance, an object need only define
those qualities that make it unique within its class. It can inherit its general attributes
from its parent. Thus, it is the inheritance mechanism that make it possible for one object
to be a part of a specific instance of a more general case.
Polymorphism:-
Polymorphism (from the Greek, meaning “many forms”) is a feature that allows one
interface to be used for a general class of actions .The specific action is determined by
the exact nature of the situation.
J2EE ARCHITECTURE:
Chapter 2: AN INTRODUCTION TO JDBC
• Statement – the statement is sent to the database server each and every time.
• PreparedStatement – the statement is cached and then the execution path is pre
determined on the database server allowing it to be executed multiple times in an
efficient manner.
• CallableStatement – used for executing stored procedures on the database.Update
statements such as INSERT, UPDATE and DELETE return an update count that
indicates how many rows were affected in the database. These statements do not
return any other information.Query statements return a JDBC row result set. The
row result set is used to walk over the result set. Individual columns in a row are
retrieved either by name or by column number. There may be any number of
rows in the result set. The row result set has metadata that describes the names of
the columns and their types.
•
DriverManager - Loads JDBC drivers in memory. Can also be used to open
connections to a data source.
Connection - Represents a connection with a data source. Is also used for
creating Statement, PreparedStatement and CallableStatement objects.
JD
Statement - Represents a static SQL statement. Can be used to retrieve ResultSet
objects.
• PreparedStatement - Higher performance alternative to Statement object,
represents a precompiled SQL statement.
• CallableStatement - Represents a stored procedure.Can be used to execute
stored procedures in a RDBMS which supports them.
DriverManag
• ResultSet - Represents a database result set generated by using a SELECT SQL
statement.
• SQLException - An exception class which encapsulates database base access
errors.
javax.sql is part of J2SE 1.4 and J2EE 1.3. It adds following features to JDBC in
addition to the ones provided by java.sql package:
• DataSource - Abstracts a data source. This object can be used in place of Driver
Manager to efficiently obtain data source connections (possibly using hidden
connection pooling).
• Provides built-in connection pooling.
• XADataSource, XAConnection - Allows/supports distributed transactions.
• RowSet - It extends ResultSet interface to add support for disconnected result
sets.
In addition to the familiar components, such as buttons, check boxes, and labels, Swing
supplies several exciting additions, including tabbed panes, scroll panes, trees, and
tables. Even familiar components such as buttons have more capabilities in Swing. For
example, a button may have both an image and a text string associated with it. Also, the
image can be changed as the state of the button changes.
Class Description
Example
import java.awt.*;
import javax.swing.*;
/*
<applet code="JLabelDemo" width=250 height=150>
</applet>
*/
public class JLabelDemo extends JApplet {
public void init() {
// Get content pane
Container contentPane = getContentPane();
// Create an icon
ImageIcon ii = new ImageIcon("france.gif");
// Create a label
JLabel jl = new JLabel("France", ii, JLabel.CENTER);
// Add label to the content pane
contentPane.add(jl);
}
}
Output from this applet is shown here:
THE OBJECTIVE is to prepare a software or application, which could maintain data &
provide a user friendly interface for retrieving customer related details just in few
seconds, with 100% accuracy. Software is completely computerized, so it is not time
consuming process. No paper work required & can be implemented further .
The application should also facilitate the addition of new Client & modification of
existing client email. It provide offline email composing and reading.
This will reduced the online workload and give information instantly. The software will
maintain the list of Email information and client emails and their status.
The software will be user friendly so that even a beginner can operate the package and
thus maintain the status of Email and their status easily.
Scope
• The project is developed as a Desktop application.
FEASIBILITY STUDY
Depending on the result of the initial investigation the survey was expanded to a more
detailed feasibility study.
Feasibility is the process of defining exactly what is and what strategic issue needs to be
considered to access its feasibility, or likelihood of succeeding. Feasibility studies are
useful both when starting a new business and identifying a new opportunity for an
existing business.
Feasibility study is a test of a system proposal according to its work ability and impact on
the organization, ability to meet user needs and effective use of resources.
The feasibility study conducted for this project mainly gives answer to these
Questions:-
1. What are the user’s demonstrable needs and how does a candidate
system meet them?
2. What resources are available for the given candidate system? Is the
problem worth solving?
3. What is likely impact of the candidate system on the organization?
4. How well does it fit within the organization’s master plan?
Answer to this question revolves around investigation and evaluation of the problem,
identification and the description of the candidate system, specification of performance
and the cost of each system and the final selection of best system.
The objective of this feasibility study is not solving the problem but acquire a sense of
scope. During the study of the problem definition was crystallized and aspect of the
problem to be included in the system is determined.
Feasibility Consideration
The were three key consideration involved in this feasibility analysis each consideration
has reviewed to depict how it relates to the system effort.
They are as follows:-
1. Economic feasibility
2. Technical feasibility
3. Operational feasibility
1.ECONOMIC FEASIBILITY
Economic analysis is the most frequently used technique for evaluating the
effectiveness of a proposed system. More commonly known s cost/benefitAnalysis in
this procedure we determine the benefits and saving that are Expected in this procedure
we determine the benefits and saving that are expected from the proposed system and
compare the cost; we take a decision and implement the new proposed system.
The manual efforts involved in maintaining the A/c and customer information, the
withdrawal, the deposit and balance calculation, is tremendous. This is so because the
volume of information to be handled is tremendous. Maintaining the records of these
many customers is not easy and the manpower involved is great. With the help of
computers it is very easy to maintain the detail of book and library and to keep track of
available books.
In case of computerization, the cost involvement is not very high. As it is used to be
about 5-7 years back. All banking management needs initially is a desktop computer, a
printer and a UPS to maintain continuous supply of electricity.
A single operator can handle many queries. On an average, it should not take more 10-15
minutes to enter the information of a customer.
As part of the feasibility study, an estimate is made whether the identified user needs
may be satisfied using the current software and hardware. This study decides that
whether or not the proposed system will be cost effective from a business point of view.
In this case, user has one head clerk who does all the work. So the one clerk has maintain
records regarding new A/c and deletion of A/c addition and deletion of customer, balance
amount etc.
Since the volume of information to be handled by a single person is tremendous. An
analysis of the various alternatives suggested by the software development team follows
in subsequent pages.
ALTERNATIVES
RESULT
From the above analysis, the development team suggested that the Banking management
should decide to implement the fourth alternative. i.e. that of developing a new software
system using Java and maintaining data in .Class files.
The system will be developed using Java The programming language is Java. Thus
without much of an expenditure the bank will get the perfect software according to their
needs.
The system will be very easy to understand and implement. The management can ask the
team for specific reports to be generated and can also decide on the kinds of interface
that it needs.
Plan
The followings plan was made for the development of the software:-
✔ First a prototype was developed and used to know more about the requirements
of the baking management.
✔ The compiler was then installed which is easily available.
✔ The acquired software can be used to execute the up gradation plans of the library
over the next five years.
✔ Since Java language is used to design the interface. Thus interface can be
designed exactly as per the requirements.
2. Technical Feasibility
This is concerned with specifying equipment and software that will successfully satisfy
the user requirement. The technical needs of the system may vary considerably, but
might include:
3. Operational Feasibility
It is mainly related to human organizational and political aspects. The points to be
considered are:
– What changes will be brought with the system?
– What organizational structures are distributed?
– What new skills will be required? Do the existing staff members have theses skills?
– If not, can they be trained in due course of time?
Generally project will not be rejected simply because of operational infeasibility but such
considerations are likely to critically affect the nature and scope of the eventual
recommendations.
For operational feasibility study we appointed a small group of people who are familiar
with information system techniques, who understand the parts of the business that are
relevant to the project and are skilled in system analysis and design process.
Chapter 5: HARDWARE AND SOFTWARE
REQUIREMENTS
8.1) HARDWARE REQURIED:
• LANGUAGE:
Balance
CREATE
USER /
ADMINISTRATOR
USER /
ADMINISTRATOR
PROJECT
Grant access
Grant super
User access
IMPLEMENTATION
A crucial phase in the system life cycle is the successful implementation of the new
system design. Implementation simply means converting a new system design into
operation. This involves creating computer compatible files, training the operating staff
and installing hardware terminals, and telecommunication network before the system is
up and running.
In system implementation, user training is crucial for minimizing resistance to change
and giving the new system a chance to prove its worth. Training aids such as user-
friendly manuals, a data dictionary and job performance aids that communicate
information about the new system and help screens. Provide the user with a good start
on the new system.
USER MANUAL
• Installation
• How to use
How to use:-
ACCOUNT
If you want to show an information pertaining to account then enter the account no.
CUSTOMER
• Of you want to add an information pertaining to customer then choose 4th option
OPEN NEW A/C and then enter CUSTOMER INFORMATION.
• If you want to modify an information pertaining to customer then choose the 5th
option EDIT ACCOUNT and then choose 1st option & enter modify CUSTOMER
INFORMATION.
• If you want to delete an information pertaining to customer then choose the 5th option
EDIT ACCOUNT and then choose 2nd option & delete
CUSTOMERINFORMATION.
TRANSACTIONS
HELP
• In case you face any problem regarding operating EMAIL CLIENT. At the running
time. Then you can use EMAIL CLIENT HELP. For using HELP choose HELP
from the main menu.
In case of system crash a user may lose all his/her valuable data. To cope with this
problem backup option is given in this system.
This system provides the facility of backup and recovery. Only an administrator can take
the backup and can recover all the files.
To utilize this facility user must have floppy drive on his or her system.
LIMITATIONS
In this world every thing has its own limitations. And limitation in a project is quite
obvious. Even famous software's and operating systems have its own limitations. For
example win 3x does not support USB port. So it's a limitation of win3x that it does not
support USB port.
• In this project we cannot use it online as, administrator control is not so secure.
• We can not use it in multi user mode.
• No checks have been made in relation to the entry of duplicate records in bank
section. This limitation is also present in the function when we create new
members.And there are some other limitations, which will be faced by USER when
he/she will use this project.
FUTURE SCOPE
The project involves transforming the already existed manually operating system, so that
it can be accessed easily. Efforts have been made to cover all user requirements to the
extents possible and to make it user friendly. Input screens have designed in such a way
that user have practically no problem in entering the information.
In future this project can be treated as product according to specification and needs of
any organization. At present days every organization is using web technology for their
proper functioning, so this web based project is all in all important from market aspects
of the college.
Interactive features:
Changing theme
Steel
Greenish
Pure Aqua
Cool Gray
Changing background
BIBLIOGRAPHY
WEB SITE
www.wikipedia.com
www.support.microsoft.com
www.google.com
www.W3Schools.com
www.sunjava.com