Professional Documents
Culture Documents
Java
Java
S. No.
SBJECT
INTRODUCTION &OBJECTIVE OF PROJECT
ABOUT JAVA
JAVA SWINGS
REQUIREMENT ANALYSIS
FEASIBILITY STUDY
DESIGN ANALYSIS
JAVA CLASSES USED IN THE PROJECT
QUALITY ASSURANCE
IMPLEMENTATION
UNIQUE FEATURES OF THE COMPONENT
CONCLUSION
REFRENCES
PREFACE
OBJECTIVE OF TRAINING
PAGENo.
The main purpose to pursue course in CORE JAVA was to gain knowledge in
Java Technologies and to achieve good command over the language which
would help me to attain good programming skills that would help me to keep
myself updated and ahead in this quick changing world of technological
advancements.
In the end not to forget to thanks our college administration & Computer
Department for providing us a great opportunity to gain and enhance my
knowledge in Java (Core) that would help me to accomplish my future
dreams.
Java Swings
Objective
The main objective behind the development of this project is to create
software with the following features:
Highly user-friendly
Enterprise independent
Cross-platform
Easy-to-use
Tested system to track unnoticed error
Data entry restricted to valid domains to avoid errors
JAVA
The entire component has been developed using Java technology. Java has
been chosen as the platform because of its feature rich nature. The Java
Platform provides robust end-to-end solutions for networked applications as
well as a trusted standard for embedded applications. So Java was a natural
choice for development process.
Characteristics of Java
Object Oriented:
Java is object oriented to the truest sense of the word. Everything
in Java is represented as objects. Variables and methods both are encapsulated
in objects. Java is the purest object-oriented language.
Robust:
Java is a very robust language owing to the following features.
Excellent exception handling facilities.
Memory management relief for the user. User does not have to worry about
allocation and deallocation of memory.
Strict compile-time and runtime checks for data types.
Secure:
JAVA SWINGS
"Swing" refers to the new library of GUI controls (buttons, sliders,
checkboxes, etc.) that replaces the somewhat weak and inflexible AWT
controls.
The Swing classes eliminate Java's biggest weakness: its relatively primitive
user interface toolkit. Java Swing helps you to take full advantage of the
Swing classes, providing detailed descriptions of every class and interface in
the key Swing packages. It shows you how to use all of the new components,
allowing you to build state-of-the-art user interfaces and giving you the
context you need to understand what you're doing. It's more than
documentation; Java Swing helps you develop code quickly and effectively.
Much bigger set of built-in controls.: Trees, image buttons, tabbed panes,
sliders, toolbars, color choosers, tables, text areas to display HTML or RTF,
etc.
"Pluggable" look and feel. Can change look and feel at runtime, or design
own look and feel.
J Component
The J Component class is the root of the Visual component class hierarchy in
JFC. All Swing components are implemented as subclass of J components
class, which inherits from the Container class. Swing component inherit the
following functionality from J Component
a). Borders- Using the setBorder() method, you can specify the border that a
component displays around its edges. You can specify that component have
extra space around its edges using an EmptyBorder instance.
b). Double Buffering- It can improve the appearance of frequently changing
components. Now you do not have to write the double buffering code because
Swing provides it for you. By default Swing components are double buffered.
c). Tool Tips- By specifying a string with the setToolTipNext() method, you
can provide help to users of a components. When the cursor pauses over the
components, the specified string is displayed in small window near the
component.
d). Look and Feel- Subject to the security restriction, you can choose the look
and
feel
used
by
all
Swing
components
by
invoking
the
UIManager.setLookAndFeel() method.
3. There is an almost-equivalent Swing component for most AWT
components.
4. Instead of adding components directly to frames or applets, we can use the
content pane.
REQUIREMENT ANALYSIS
For analysis of requirement for the software to be developed first of all we set
some guidelines and following those only we start analyzing in specific
manner. The whole analysis work is divided in following activities:
1. Problem Recognition
2. Problem Evaluation and Solution Synthesis
3. Modeling
4. Creation Of Specification
5. Review Of Analysis
Problem Recognition:
We deeply assess the use and technical feasibility of the software
to
be developed
We meet the users and select all the persons who will be helping in
specifying requirements and then understand their organizational bias.
Then we define the technical environment into which the product or
system was to be placed of the software.
Then we identify the Domain Constraints i.e the specific environment
needed for effective application. This helps us to limit the functionality
and performance of the software.
10
Now we planned and analyzed the way which we must apply to have
the asked type of user interface as per demand of the functions and data
flow we have decided to use.
Modeling:
11
The modeling is performed by designing the DFDs for all the possible
states of the software.
Creation Of Specification:
The specifications were made as per the design analysis. It was confirmed
that:
12
FEASIBILITY ANALYSIS
Introduction of Feasibility Study:
Many feasibility studies are disillusions for both user and analysts. First , the
study often presupposed that when the feasibility of a document is being
prepared, the analyst is in a position to evaluate solution. Second, most studies
tend to overlook the confusion inherent in the system development. If the
feasibility study is to serve as a decision document, it must answer three
questions
1. Is there a new and better way to do the job that will benefit the user?
2. What are the costs and saving of the alternative(s)?
3. What is recommended?
The most successful system projects are not necessarily the biggest or most
visible in a business but rather those that truly meet user expectations. Most
projects fail because of inflated expectation than for any other reason.
13
Feasibility Study:
As not every imagination is feasible, not even in software, evanescent a sit
may appear to outsiders. On the contrary, software feasibility has five solid
dimensions:
Technical Feasibility
Is the prepared technology practical? Technical feasibility centers around the
existing computer system and to what extent it can support the proposed
addition. But in this case since earlier all the work was manual and there was
no existing system, so the system proposed is technically feasible. Also, the
new system should be brought according to the specification of the product
being designed.
Operational Feasibility
Is the problem worth solving? Will the solution to problem work? The answer
to the above question is yes. As the problem is worth solving because the
manual work is very inefficient and from the statement of the problem gives
us a clue that there is a solution to the problem and there are pretty good
chances that the solution will work.
Economic Feasibility
It is used to measure the cost effectiveness of a project which is commonly
known as cost-benefit analysis. The project is also economically feasible as
the only requirement involving expenses are related to the cost of buying a
new system and a printer for the hard copies. And the maintenance involved in
this is only the maintenance of the computer and that does not cost much. So
according to the requirements the system is economically fit.
Legal Feasibility
Legal feasibility means that the software developed is legal; it is not violating
any governmental constraints and it is following all the legal laws. Since the
14
project is developed for use within a particular college only, it can by no mean
violate any legal laws.
Therefore, it is said to be legally feasible too.
Behavioral Feasibility
Behavioral feasibility is an estimate of how strong reaction the user staff is
likely to have towards the development of a computer system. Since this
project lightens the burden of the manual work in the cell, so the end users of
the software will always be encouraging towards the use of computer. Also, no
jobs are going to be replaced in this case.
DESIGN ANALYSIS
Designing is the most important part of the software development lifecycle. It
requires careful planning and logical thinking on the part of the software
designer. Designing the software means how the various parts of the software
are going to meet the user requirement and goals. It should be done with
utmost care as a simple mistake or miscalculation at this stage can result in
errors which can be compounded manifold as the development process moves
up the development hierarchy. This compounded error can result in low
performance, more processing time, and more coding and extra load.
System Design attempts to accomplish the following:
Improve productivity of analysts and programmers.
Improve
documentation
and
subsequent
enhancements.
Cut down drastically on cost over runs and delays.
15
maintenance
and
CODING
16
OUTPUT WINDOW
QUALITY ASSURANCE
17
1 Testing
The purpose of system testing is to identify and correct errors in the system
and also to judge
Given set of data was taken as input to the module and the output was
observed
Logic and boundary conditions for input and output were also checked
18
Also all the possible situation were anticipated with the help of the user to
conduct thorough tests of the system.
Integration Testing:
In this type of testing the main aim is to take the unit tested modules and build
a program structure which can be directed and dictated by the design.
This includes:
Top-down Testing
Bottom-up testing
Regression Testing
The last of the above was particularly important in this project which helped
in ensuring changes without introducing unintended behavior in addition.
System Testing:
This type of testing consists of a series of tests whose primary purpose is to
fully exercise the computer based system all work to verify that system
elements have been properly integrated and that they perform specified
functions.
19
When the individual program modules are working, we combined the modules
into single working system. This integration was planned and conducted in
such a way that whenever an error occurs we get an idea about the source of it.
The entire system was viewed as a hierarchy of modules. We began with the
module at the highest level of design and worked down. Then the next
modules to be tested were those that called previously tested modules.
Functional Testing:
Once it was certain that information passed between modules according to the
design description, the system was tested to assure whether the functions
describing the requirement specification were performed by the system.
Acceptance Testing:
When the functional test completes. The user gets involved to make sure that
the system works according to the users expectation.
2 Validation
System validation checks the quality of the software in both simulated and live
environments. It has two phases.
Alpha Testing:
In this the software goes through a phase in which errors and failures based
on simulated user requirements are verified and studied. The modified
software is then subjected to Beta Testing.
20
Beta Testing:
This is testing the software in the actual users site or a live environment .The
system is used regularly with live transaction .After a scheduled time, failures
and errors are documented and final correction and enhancements are made
before the package is released for use.
Checks & Constraints:
There are many validations and checks to control input and navigational
errors. These are as follows:
Input validations are done for the following cases:
Essential fields
Character numeric Input
Choosing from certain range of values
Non-repetition of primary key values
No-input or wrong input
3 Certification
The third level of quality assurance is to certify that the program or software
package is correct and conforms to standards.
21
IMPLEMENTATION
1 Hardware Requirements:
Pentium III / IV Processor
256 MB RAM or higher
Printer
Mouse
Keyboard
Platform independent
The component is mostly developed using Java Technology which is
essentially Platform Independent. The fact that on compilation java files get
converted into machine independent byte-code makes it a cross-platform
technology. The byte code can then be run on any machine having the JVM
(Java virtual Machine).
22
Enterprise Independent
This is a Enterprise Independent Product. So the component can work for any
legacy system. The users just have to provide the connection (Database) name
where their tables are stored. The component can then easily customize itself
so as to work in conjunction with the legacy system.
Any no. of connections can be used in the component. The table can have any
number of fields. Irrespective of the type and number of columns in the legacy
table, the component can work successfully.
23
Data Level:
At each functional stage the users have access to only those portions of the
data that are necessary for those functions.
24
CONCLUSION
This software comes with just that solution. Being mostly GUI based, this
component can be used very easily. With very little training, users can learn
the usage of the product. Also the search results are presented in numerous
forms like report format, graphical format etc which makes it versatile. Again
the GUI based system is certainly more eye-catching and attractive. Nowadays
most of the companies are going global .So their business has also become
distributed and diverse.
REFRENCES
26
27