E Buspass
E Buspass
1. INTRODUCTION
1.1 Problem Definition
The project will be used by the students to apply for bus pass and also to
get the bus pass renewal in online .If we consider the current system then the
students has to wait for long time standing in queue to apply for bus pass near the
counters. Even if they want to get their bus pass get renewal then they have follow
the same procedure of waiting for long hours near the counters. The current
procedure is a time consuming procedure.
This online bus pass registration application will help students save
their time and renewal bus passes without standing in a line for hours near counters.
Initially students need to register with the application by submitting details of photo
address proof, and required details and submit through online. They will verify your
details and if they are satisfied they will approve bus pass. You can even renewal
using credit card or other wire transfer methods.
Different types of bus pass registration for the people of the twin
cities. In this module initially students need to register with the application
by submitting details of photo, address proof and required details and
submit through online. They will verify your details and if they are
satisfied they will approve bus pass.
Different types of bus pass renewals for the people of the twin
cities. In this module students have to Login to the website and apply for
Renewal and they have to check their status which shows whether their
bus pass is renewal or not. You can even renewal using credit card or
other wire transfer methods. Once the bus pass gets renewal Amount is
deducted automatically.
Different types of bus pass schemes for the people of the twin
cities. In this module User can view different schemes which are available
To know the fares and routes for different bus pass Registrations.
In this module different routes and fares are provided for the user so that
he can easily come to know the routes and their fares.
Reports:
The user can give suggestions regarding our website or can give
any complaints.
2. LITERATURE SURVEY
Types Of Feasibility:
Technology Feasibility:
The assessment is based the outline design of system required in terms of
input processes, output, fields, programs and procedures. This can be quantified in
terms of volumes of data trends, frequency of updating etc in order to estimate
whether the new system will perform adequately or not. Technology feasibility is
carried to determine whether the company has capability in terms of software,
hardware, personal and expertise the completion of project.
ECONOMIC FEASIBILITY:
Economic feasibility analysis is the most frequently used method for
evaluating the effectiveness of new system, commonly cost of benefit analysis.
The procedure is to determine the benefits outweigh cost then the decision is
made to design and implemented the system entrepreneur must accurately weigh
the cost is a benefit before taking an action.
LEGAL FEASIBILITY:
Determines whether the proposed system conflicts with legal requirements
eg-a data processing system comply with a local protection acts.
OPERATING FEASIBILITY:
It is a measure how we are proposed system solves the problems and takes
advantages of the opportunity identify during scope definition and how it satisfies
the requirements identified the requirements analysis phase of system
development.
SCHEDULE FEASIBILITY:
A project will fail if it takes too long to be completion before it is used.
Typically this means estimating how long the system will take to develop and if it
can be completed in a given time period using so many methods like payback
period. Schedule feasibility is a measure how the responsible the project timetable
is.
Hardware Requirements:
4. DESIGN
A UML system is represented using five different views that describe the system
from distinctly different perspective. Each view is defined by a set of diagram, which
is as follows.
The analysis representation describes a usage scenario from the end-users perspective.
In this the structural and behavioral as parts of the system are represented as
they are to be built.
UML Analysis modeling, this focuses on the user model and structural model
views of the system.
UML design modeling, which focuses on the behavioral modeling,
implementation modeling and environmental model views.
Use case Diagrams represent the functionality of the system from a user’s point of
view. Use cases are used during requirements elicitation and analysis to represent
the functionality of the system. Use cases focus on the behavior of the system
from external point of view.
Actors are external entities that interact with the system. Examples of actors
include users like administrator, bank customer …etc., or another system like
central database.
Requirements
Architecture
Design
Source code
Project plans
Tests
Prototypes
Releases
tests. Finally, the UML provides a language for modeling the activities of project
planning and release management.
Applications:
The UML is intended primarily for software-intensive systems. It has been
used effectively for such domains as
Enterprise information systems
Banking and financial services
Telecommunications
Transportation
Defense/aerospace
Retail
Medical electronics
Scientific
Distributed Web-based services
The UML is not limited to modeling software. In fact, it is expressive
enough to model no software systems, such as workflow in the legal system, the
structure and behavior of a patient healthcare system, and the design of hardware.
Relationships
Diagrams
Structural things
Behavioral things
Grouping things
Dependency
Association
Generalization
Realization
These relationships are the basic relational building blocks of the UML.
These four elements are the basic relational things you may include in a UML
model. There are also variations on these four, such as refinement, trace, include,
and extend (for dependencies).
Class diagram
Object diagram
Use case diagram
Sequence diagram
Collaboration diagram
State chart diagram
Activity diagram
Component diagram
Deployment diagram
A use case diagram shows a set of use cases and actors (a special kind of
class) and their relationships. Use case diagrams address the static use case view of
a system. These diagrams are especially important in organizing and modeling the
behaviors of a system
Login
Status Generation
Renewal Validity
Logout
W ebsite Registration
Login
Payment
Status
Renewal
Logout
A use case diagram shows a set of use cases and actors (a special kind of class)
and their relationships. Use case diagrams address the static use case view of a
system. These diagrams are especially important in organizing and modeling the
behaviors of a system
Registers
User logins
Performs Validation
Validation
Logout
Admin
User
1: Registers
3: User logins
5: Bus pass Registration and payment/Renewal
9: User will Check his/her Status
10: If Status is Accepted then user will print bus pass
11: Logout
8: Views data & generate Status
4: Performs Validation
6: Validation
Login
NO
if login details
are correct
Yes
No
If Accepted
Yes
Print Pdf
Logout
Login
NO
Yes
Logout
Admin User
Database Bank
Bank
Database
5. IMPLEMENTATION
Implementation is the stage of the project when the theoretical design is turned out
into a working system. Thus it can be considered to be the most critical stage in achieving
a successful new system and in giving the user, confidence that the new system will work
and be effective.
History Of Java
Java history is interesting to know. Java team members (also known
as Green Team), initiated a revolutionary task to develop a language for digital
devices such as set-top boxes, televisions etc. For the green team members, it was
an advance concept at that time. But, it was suited for internet programming. Later,
Java technology as incorporated by Netscape. Currently, Java is used in internet
programming, mobile devices, games, e-business solutions etc. There are given the
major points that describe the history of java.
1) James Gosling, Mike Sheridan, and Patrick Naught on initiated the Java language
project in June 1991. The small team of sun engineers called Green Team.
2) originally designed for small, embedded systems in electronic appliances like set-
top boxes.
3) Firstly, it was called "Green talk" by James Gosling and file extension was .gt.
4) After that, it was called Oak and was developed as a part of the Green project.
5) Why Oak? Oak is a symbol of strength and chosen as a national tree of many
countries like U.S.A., France, Germany, Romania etc.
6) In 1995, Oak was renamed as "Java" because it was already a trademark by Oak
Technologies.
7) Why they choose java name for java language? The team gathered to choose a
new name. The suggested words were "dynamic", "revolutionary", "Silk", "jolt",
"DNA" etc. They wanted something that reflected the essence of the technology:
revolutionary, dynamic, lively, cool, unique, and easy to spell and fun to say.
According to James Gosling "Java was one of the top choices along with Silk".
Since java was so unique, most of the team members preferred java.
8) Java is an island of Indonesia where first coffee was produced (called java
coffee).
9) Notice that Java is just a name not an acronym.
10) Originally developed by James Gosling at Sun Microsystems (which is now a
subsidiary of Oracle Corporation) and released in 1995.11) In 1995, Time magazine
called Java one of the Ten Best Products of 1995.12) JDK 1.0 released in(January
23, 1996).
Features Of Java
There is given many features of java. They are also known as java buzzwords.
1. Simple
2. Object-Oriented
3. Platform independent
4. Secured
5. Robust
6. Architecture neutral
7. Portable
8. Dynamic
9. Interpreted
10. High Performance
11. Multithreaded
12. Distributed
Simple :
According to Sun, Java language is simple because, syntax is based on C++ (so
easier for programmers to learn it after C++). removed many confusing and/or
Object-oriented:
Object-oriented means we organize our software as a combination of different
types of objects that incorporates both data and behaviour. Object-oriented
programming(OOPs) is a methodology that simplify software development and
maintenance by providing some rules. Basic concepts of OOPs are:
Object
Class
Inheritance
Polymorphism
Abstraction
Encapsulation
Platform Independent:
A platform is the hardware or software environment in which a program runs.
There are twotypes of platforms software-based and hardware-based. Java provides
software-based platform. The Java platform differs from most other platforms in the
sense that it's a software-based platform that runs on top of other hardware-based
platforms.It has two components:RuntimeEnvironmentAPI(Application
Programming Interface)
Robust:
Robust simply means strong. Java uses strong memory management. There are
lack of pointers that avoids security problem. There is automatic garbage collection
in java. There is exception handling and type checking mechanism in java. All these
points make java robust.
High-performance:
Java is faster than traditional interpretation since byte code is "close" to native
code still somewhat slower than a compiled language (e.g., C++)
Distributed:
We can create distributed applications in java. RMI and EJB are used for creating
distributed applications. We may access files by calling the methods from any
machine on the internet.
Multi-threaded:
A thread is like a separate program, executing concurrently. We can write Java
programs that deal with many tasks at once by defining multiple threads. The main
advantage of multi-threading is that it shares the same memory. Threads are
important for multi-media, Web applications etc.
Data Structures
Networking, Files
Graphical User Interfaces
Security and Encryption
Image Processing
Multimedia authoring/playback And more...
Supported Technologies and Test Types (upper box in figure) In one dimension, the
upper box shows some of the supported technologies. The second dimension
illustrates the areas of testing in which Java Framework can be used.
Layers of Java Framework Code (middle box in figure) The middle box shows the
layers of Java Framework code and its connection to various client APIs. The Java
Framework API is the “membrane” between BDL code and Java code, symbolized
by arrows in the figure. Some of the arrows point in one direction (see “Runtime-to-
Java Communication”). Some of the arrows show that communication is possible
from Java to the runtime (i.e., Java-to-Runtime communication ).
Available Tools (lower box in figure below) In one dimension, the lower box
shows Silk Performer tools for generating Java Framework code. The second
dimension indicates if code generation is done with the help of Silk Performer tools
or 3rd party tools.
Web Services
Applications Of Java
Since Java has inbuilt networking features so it is widely used for developing
network related programs and softwares.Socket programming using JAVA is
very simple and efficient and simple and efficient and simple as compared to c.
It is widely used for creating web applications and it can also generate static
HTML content like php and JavaScript so it is used in website designing too.
In application software development Java is widely used because it is a fully
Object Oriented Programming language
Creating Graphical User Interface (GUI) in Java is very simple and efficient as
compared to c and c++.So it is also used in creating GUI for applications.
That’s all..if you have any more idea or my points seems wrong..then you may
write a comment.
Challenges Of Java
Java is unique - it's a mainstream programming language that works like no other.
Its rules aren't well understood yet by many application developers. Part of the
reason for this is that its capabilities and limitations haven't been fully explored.
As a result, while many of the problems may be similar, recognizing them and
knowing what to do when you find them remains challenging, even to experienced
Java developers. What follows are just a few of the development issues and what
they mean for Java.
Performance
Performance is a concern of applications written in any language. Most
programmers are familiar with common performance issues using a conventional
language such as C with a stand-alone or even a client/server application. Such
issues often involve improper allocation, deallocation of memory and poor use of
system APIs.
These aren't even characteristics of the Java language. For example, relating Java
code to how the JVM manages memory is difficult and error-prone. However, it's
vital to improve Java performance because its execution model has additional
overhead that tends to degrade performance more than native applications do.
Reliability
Enterprise Java applications, especially distributed ones, are often mission-
critical in nature: all aspects of the application must work perfectly at all times.
Developers and development managers must be able to gauge the reliability of their
applications accurately. While the characteristics of the language tend to make Java
applications less error-prone, there are still plenty of ways to introduce runtime
errors.
With distributed Java applications the reliability equation is even more difficult. It
means assessing not only the individual applications but also the components as
they interact. Java also makes it possible to write highly threaded applications that
make sense in a distributed environment. But using threads means that problems
with resource contention and deadlock are much greater.
Testing
Java applications face the same testing problems as traditional ones. They
must be tested as thoroughly as possible before fielded, and developers should have
a good idea of the extent of the test coverage before certifying an application.
Distributed software systems written in Java, however, are extraordinarily difficult
to test and debug. Because components reside on different computers and must
work together perfectly for the application to work properly, all components must
be tested simultaneously.
Memory Management
Since JVMs perform all the memory management tasks for applications,
understanding the memory usage of the underlying platform and influencing
memory allocation and use to affect performance is difficult to do and not intuitive.
That's especially true because developers have no easy way of determining the
relationship between code and the underlying memory use.
Benefits
1.Simple
2.Platform independent
3.Secure
4.Reliable
5.Multi Tasking6.Dynamic
7.Economical
1) Simple:
2) Platform-independent:
The best thing about Java is its ability to go easily from one computer system to
another without creating any predicament. “Write once, speed anywhere” best
describes Java. It can urge independently at both the source and binary levels. The
same program can be race smoothly on different systems. This special feature is
extremely well-known to World Wide Web software which needs a lot of flexibility.
3) Secure:
If security is your main exertion, Java will be your best choice. It places security as
its top priority. Its language, compiler, interpreter and runtime environment are
customized with security in mind. Its platform allows users to download unknown
code over a network and speed it in a find environment without causing hurt to the
systems. The host system will not be infected by virus at all. This capability alone
has made the Java platform recent.
4) Reliable:
5) Multiple Tasking:
6) Dynamic:
Java code is organized in modular object-oriented units. These units are known as
classes. They are stored in separate files and are loaded into the Java interpreter
only when required. In this state, a program is able to extend itself dynamically by
loading which classes it needs to expand its functionality.
7) Economical:
JVM :
A Java virtual machine (JVM) is a process virtual machine that can execute Java
byte code. It is the code execution component of the Java platform.
JVM is:
3. Runtime Instance Whenever you write java command on the command prompt to
run the java class, and instance of JVM is created.
HTML:
Web documents contain three main sections: the head, title, and body. The head
includes the webpage’s identifying information, including the website’s title and
important keywords. The viewer sees the site’s title, but any other information is
hidden. The site’s title appears in the browser’s tab and is what appears when a user
tries to bookmark a site. The body section is the main portion of the webpage visible
to the viewer, including the text and graphics. HTML tags are also used in two
additional ways that are not visible to the viewer: as meta tags and comments. Meta
tags indicate keywords associated with the webpage to search engines. Comments
are intended as explanation or additional information for other writers or readers of
HTML code.
JSP:
Java Server Page (JSP) is a technology for controlling the content or appearance
of Web pages through the use of servlets, small programs that are specified in the
Web page and run on the Web server to modify the Web page before it is sent to the
user who requested it.
JDBC:
JDK:
Java Development Kit (JDK) The JDK is a superset of the JRE, and contains
everything that is in the JRE, plus tools such as the compilers and debuggers
necessary for developing applets and applications.
CSS:
CSS is the language for describing the presentation of Web pages, including
colors, layout, and fonts. It allows one to adapt the presentation to different types of
devices, such as large screens, small screens, or printers. CSS is independent of
HTML and can be used with any XML-based markup language. The separation of
HTML from CSS makes it easier to maintain sites, share style sheets across pages,
and tailor pages to different environments. This is referred to as the separation of
structure (or: content) from presentation.
Use CSS to define styles for your documents, including the design, layout and
variations in display for different devices and screen sizes. You can place your CSS
in the <head> of a document with an embedded style sheet, or attach a separate file
that defines your styles with an external style sheet. To link an external style sheet
to your document, you'll simply add a link to the style sheet in the <head> of the
document.
Oracle Database 10g was the first database designed for grid
computing, the most flexible and cost-effective way to manage enterprise
information. It cut costs of management while providing the highest possible quality
of service.
Oracle Database 10g Express Edition (Oracle Database XE) is an entry-level, small-
footprint database based on the Oracle Database 10g Release 2 code base that's free
to develop, deploy, and distribute; fast to download; and simple to administer.
The database has logical structures and physical structures. Because the physical
and logical structures are separate, the physical storage of data can be managed
without affecting the access to logical storage structures.
Oracle Database 10g marks the latest release by a company that has experienced a
meteoric rise to success over the past 25-plus years. They have been grossing many
billions of dollars annually for many years, vending a suite of solutions powered by
their flagship product the Oracle database. It has gone through many changes in
names v6, Oracle7, Oracle8i, Oracle9i, and now Oracle 10g. Regardless of what it is
called, the Oracle server has been catapulted to the forefront of our Internet-savvy
society, playing a role as the primary data server on a web site in your
neighborhood. This book is your introduction to the Oracle Database 10g
technology. It is the start of your journey a quick start to a complex and popular
technology.
The Oracle database has a logical layer and a physical layer. The physical layer
consists of the files that reside on the disk; the components of the logical layer map
the data to these physical components.
information for a single table can span many data files or many tables can share a
set of data files. Spreading table spaces over many data files can have a significant
positive effect on performance. The number of data files that can be configured is
limited by the Oracle parameter MAXDATAFILES.
Two or more redo log files--Redo log files hold information used for recovery in
the event of a system failure. Redo log files, known as the redo log, store a log of all
changes made to the database. This information is used in the event of a system
failure to reapply changes that have been made and committed but that might not
have been made to the datafiles. The redo log files must perform well and be
protected against hardware failures (through software or hardware fault tolerance).
If redo log information is lost, you cannot recover the system.
One or more control files--Control files contain information used to start an
instance, such as the location of data files and redo log files; Oracle needs this
information to start the database instance. Control files must be protected. Oracle
provides a mechanism for storing multiple copies of control files.
Steps:
4. Select the file icon and click Run twice to execute the script
6. TESTING
6.1 Introduction:
Software testing is a critical element of software quality assurance and
represents the ultimate review of specification, design and coding. In fact, testing is
the one step in the software engineering process that could be viewed as destructive
rather than constructive.
A strategy for software testing integrates software test case design
methods into a well-planned series of steps that results in the successful construction
of software. Testing is the ser of activities that can be planned in advanced and
conducted simultaneously. The underlying motivation of program testing to affirm
software quality with methods that can economically and effectively is applied to
both strategic to both large and small-scale systems.
The following are the testing objectives:
Unit Testing:
Interface
Number of input characters should be equal to number of arguments.
Parameters and arguments attributes must match.
Parameters passed should be in correct order.
Global variable definitions consistent across module.
If module does I/O.
File attribute should be correct.
Open/Close statements must be correct.
Format specifications should match I/O statements.
Buffer size should match record size.
Files should be opened before use.
End of file condition should be handled.
I/O errors should be handled.
Any textual errors in output information must be checked.
Local Data Structures (common source of errors).
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Page 37
ACE ENGINEERING COLLEGE
Integration Testing:
Top-Down Integration:
The main control module is used as a test driver and subs are substituted for
all the components directly subordinate to the main control module.
Depending on the integration approach selected, subordinate stubs are
replaced one at a time with actual components.
Tests are conducted as each component is integrated.
Bottom-Up Integration:
TEST REPORT NO 1
PROJECT NAME E-BUS PASS SYSTEM
MODULE NAME STUDENT REGISTRATION
FORM NAME REGISTRATION
UNIT NAME USER NAME & DETAILS OF
STUDENTS
TEST RESULTS ON CLICKING SUBMIT
BUTTON AFTER PROVIDING
YOUR PARTICULAR
ACCOUNT WILL BE
CREATED AND YOU CAN
LOGIN TO THE SITE.
Test Plan 1:
Project Name: E-BUS PASS SYSTEM
Module Name: STUDENT Module.
Unit Name: User Name.
Test Result: The User Name Textbox is tested and verified.
Test Plan (Unit Module/Test Integration)
Test plan E-BUS PASS SYSTEM.
Unit ID: LOGIN.
Test Case ID: Login Page.
Test Type: Unit Case.
Form Name: LOGIN.
Base Table: Registration.
Purpose:
Registration table is used for store the details of registered members details
and along with their Username and Password. By using these details the
administrator can perform the operations.
When expected results match the actual results performing the test, the test is
considered to be completed.
Validation Testing:
There are two tests for system conduction for the system validation:
Alpha Testing:
A customer conducts it at the developer’s site. The software is used in a nature
setting with the developer “looking over the shoulder” of the user and recording
errors and usage problems.
Beta Testing:
This test is conducted at one or more users sited by the end user of the software.
Here the developer generally not presents. Therefore, the beta test in a “line”
application of the software in an environment that can’t be controlled by the
developer.
System Testing:
Recovery Testing
It is often a nature fact that certain errors may corrupt the system or may
make the system not to function properly to a stipulated period of time. Hence,
recovery testing is the process which given software id exposed to failures and it is
tested to see its recovery capabilities.
During automatic recovery the software itself recovered. Sometimes requires certain
addition support like system restart, reutilization, data recovery, etc., for tis normal
execution when the system requires human intervention in order to recover from
such recovery is referred as recovery through human intervention. Here, mean-time-
to-repair is a value which is calculated to ensure that the software gets recovered
within acceptable span of time.
Security testing:
Security plays a major role especially in that software. Which are made to
deal with highly confidence data. For these systems, often several hackers try their
to break the security of the system and acquire the confidential data for their foolish
requirements. Hence, for these systems, security measures should be given vital
importance. For this purpose, the testers themselves disguise into hackers and
perform series of attempts to breaks the security of the given software can be truly
judged.
Stress Testing
Stress testing is usually performance to check the limits of the system i.e.,
to what extend the system can resists the abnormal conditions. Hence, the system is
tested by providing abnormal resources in different proportions. During stress
testing a system can be.
Providing the excess values of data in different proportions to check its memory
management capabilities i.e., how efficiently the system manages the data which is
more than its capability.
Exposed to certain programs demanding large memory and resources not available
with the current system.
Providing too many interrupts during a specific period of time.
Providing with too many inputs through it can survive only few input
Performance testing
Performance testing is essential to ensure the given software performance
to the execution when it is implemented on the system. Hence, in this case it is only
the software considered but also the hardware in which it is deployed. Here, the
performance testing is combined with the stress testing cases to check the internal
aspects such as resources utilization and various other instances.
Test Case Number Test Execution Steps Expected Result Test Result Type of Test
and Name
This application avoids the manual work and the problems concern with it. It is an
easy and fast way to access the updates information.
Future Enhancement:
In future we will include various passes like Employees general passes, bus pass
for specially challenged people and so on. We will also include bus timing along with routes and
fares. We could be making an Android and iPhone application of this application so that the
users can download this application and use this easily.
8. BIBLIOGRAPHY
- Herbert Schildt
www.java.com
www.oracle10g.com
www.google.com
www.printfriendly.com/button