0% found this document useful (0 votes)
86 views44 pages

Workshop Finder and Booking Minor Project Report: S.Nandhini (21BCA033)

The document describes a minor project report submitted by S.Nandhini to the Department of Computer Applications at PSG College of Arts & Science in partial fulfillment of the requirements for a Bachelor of Computer Applications degree. The project involves developing a workshop finder and booking system using technologies like JSP, MySQL, and WAMP to help vehicle owners locate and book nearby repair shops in the event of a breakdown.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views44 pages

Workshop Finder and Booking Minor Project Report: S.Nandhini (21BCA033)

The document describes a minor project report submitted by S.Nandhini to the Department of Computer Applications at PSG College of Arts & Science in partial fulfillment of the requirements for a Bachelor of Computer Applications degree. The project involves developing a workshop finder and booking system using technologies like JSP, MySQL, and WAMP to help vehicle owners locate and book nearby repair shops in the event of a breakdown.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 44

WORKSHOP FINDER AND BOOKING

MINOR PROJECT REPORT

Submitted by
S.NANDHINI
(21BCA033)
Under The Guidance Of
Dr. R. SUDHA MCA., MPhil., Ph.D.

Associate Professor & Head


Department of Computer Applications
In partial fulfillment of the requirement of the award of the Degree of
BACHELOR OF COMPUTER APPLICATIONS
Of Bharathiar University, Coimbatore

PSG COLLEGE OF ARTS & SCIENCE


DEPARTMENT OF COMPUTER APPLICATIONS
An Autonomous college - Affiliated to Bharathiar University
Accredited with 'A++' Grade by NAAC (4th cycle)
College with potential for excellence
(Status Awarded by the UGC)
Star College Status Awarded by DBT- MST
An ISO 9001:2015 certified Institution
Coimbatore- 641014

OCTOBER 2023

i
DEPARTMENT OF COMPUTER APPLICATIONS
PSG COLLEGE OF ARTS & SCIENCE

An Autonomous college - Affiliated to Bharathiar University

Accredited with 'A++' Grade by NAAC (4rd cycle)

College with potential for excellence

(Status Awarded by the UGC)

Star College Status Awarded by DBT- MST

An ISO 9001:2015 certified Institution

Coimbatore- 641014

CERTIFICATE

This is to certify that this project work entitled “WORKSHOP FINDER AND
BOOKING” is a Bonafide record of work done by S.NANDHINI (21BCA033) in partial
Fulfillment of the requirement for the award of Degree of Bachelor of Computer Applications
of Bharathiar University.

____________________________ ____________________________________

Faculty Guide Head of the Department

Submitted for Viva - voce Examination held on

__________________ ___________________________
Internal Examiner External Examiner
ii
DECLARATION

I, S.NANDHINI (21BCA033), hereby declare that this minor project work entitled
WORKSHOP FINDER AND BOOKING, is submitted to PSG College of Arts & Science
(Autonomous), Coimbatore in partial Fulfillment for the award of BACHELOR OF
COMPUTER APPLICATIONS, is a record of original work done by me under the
supervision and guidance of Dr. R. SUDHA, MCA., MPhil., Ph.D., Associate Professor &
Head in Department of Computer Applications, PSG College of Arts & Science, Coimbatore.

This project work has not yet been submitted by me for the award of any other Degree /
Diploma / Associative ship / Fellowship or any other similar degree to any other University.

PLACE: Coimbatore S.NANDHINI


DATE: (21BCA033)

iii
ACKNOWLEDGEMENT

With great gratitude I would like to acknowledge the help of those who contributed their
valuable suggestions and timely assistance to complete this work.

First and foremost, I would like to extend my heartfelt gratitude and place my sincere
thanks to THIRU. L. GOPALAKRISHNAN managing Trustee, PSG & SONS Charities,
Coimbatore for providing all sorts of support and necessary facilities throughout the course.

I express my deep sense of gratitude to Secretary, Dr. T. KANNAIAN M.Sc., MTech.,


Ph.D., for permitting me to undertake this work.

I thank our Principal, Dr. D. BRINDHA M.Sc., MPhil., Ph.D., M.A(Yoga)., for her
support and constant source of inspiration through the course of the project.

Also, I would like to thank our Vice Principal, Dr. A. ANGURAJ M.Sc., M.Phil.,
PhD., for his support.

My sincere thanks to Dr. M. UMARANI MBA., M.Phil., Ph.D., PSG College


of Arts & Science, Coimbatore for her support.

My sincere thanks to Dr. R. SUDHA, MCA., M.Phil., Ph.D., Associate Professor &
Head of the Department of Computer Applications for the valuable suggestions, support and
guidance as my Internal Guide, without which my work would not have reached the present
form.

iv
ABSTRACT

The project titled “WORKSHOP FINDER AND BOOKING SYSTEM” is designed


using JSP as Front end and Back end as MySQL. A lot of people are facing difficulties getting
help when their car breaks down on the road. Many of them do not have any Car Repair Service
Providers’ contact number and could not get help as the Car Repair Service Providers might be
far away from their locations. These problems are the motivations for the development of this
project to help those who are in need when their car service along the roads or home. This
project will start with the help to the public breakdown incidents on the road. The proposed
system connects workshop finder and booking system and the Public through this system. If
the car owner's transportation breaks down in any location, the owner could enter information
with regards to the place of service in the system using this web page. The system will
automatically search for any workshop to the reported incident spot. The users are able to
contact the workshop to service the vehicle. This project aims to develop a workshop finder
and booking system.
In this project maintain the vehicle registration number, Date in and location as well
as service provider to whom the service is allocated to can be entered. The bottom part of the
job card data entry consists of selecting the spare parts required and the service to be carried
out on the vehicle. You can generate various customized reports of the inventory. You can also
view the repair history of any vehicle which was serviced at your service station. The
application maintains the customer, company as well as vehicle service detail.

v
TABLE OF CONTENTS

S.NO CONTENTS PAGE.NO

1 INTRODUCTION

1.1 OVERVIEW OF THE PROJECT 1

2 SYSTEM SPECIFICATION

2.1 HARDWARE SPECIFICATION 2


2.2 SOFTWARE SPECIFICATION 2
2.3 SOFTWARE DESCRIPTION 3
3 SYSTEM ANALYSIS
3.1 EXISTING SYSTEM 10
3.2 PROPOSED SYSTEM 11
4 SYSTEM DESIGN
4.1 MODULE DESCRIPTION 12
4.2 DATA FLOW DIAGRAM 13
4.3 ER DIAGDRAM 16
4.4 TABLE DESIGN 18
4.4 INPUT DESIGN 20
4.6 OUTPUT DESIGN 21
5 SYSTEM TESTING AND IMPLEMENTATION
5.1 SYSTEM TESTING 22
5.2 SYSTEM IMPLEMENTATION 25
6 CONCLUSION 26

7 SCOPE FOR FUTURE ENHANCEMENT 27

8 BIBLIOGRAPHY 28

9 APPENDICES
A. SCREENSHOTS 29
B. SAMPLE CODING 32

vi
1. INTRODUCTION

1.1 OVERVIEW OF THE PROJECT

In this project maintain the vehicle details, Date as well as the workshop to whom the
job is receive to can be entered. Road trip is always fun and enjoyable by you get to know
many things. You might also plan and make all precaution to make the journey safe and smooth.
However in the unfortunate & unforeseen event of a breakdown what is needed is immediate
help. Our goal is to ensure that you get prompt assistance during such a situation. To make this
possible we are doing an JSP web Application for user assistance purpose which provides
assistance to the passengers during their road trips. We already know web is the Trending
Technology. In our Application we are integrating many possible assistance that can be
provided during the service. The assistance to the travelers by home may be vast and focusing
on some of the important aspect that gives assistance to the passengers to ensure their safety
and good travelling experience. The other interesting part is that, travelers can use this
application since they are just few taps away to communicate the problem and get immediate
possible assistance. In this crazy world with amazing technology, everyone is using web.
People with android phones and tablets can search our application and can have access to our
assistance service when needed.

1
2. SYSTEM SPECIFICATION

2.1 HARDWARE SPECIFICATION

PROCESSOR : i3
RAM : 4GB
HARD DISC : 500GB

2.2 SOFTWARE SPECIFICATION

FRONT END : JSP

BACK END : MYSQL

WEB SERVER : WAMP

2
2.3 SOFTWARE DESCRIPTION

JSP:

Java Server Pages (JSP) is a technology for developing web pages that support dynamic
content which helps developers insert java code in HTML pages by making use of special JSP
tags, most of which start with <% and end with %>.

A Java Server Pages component is a type of Java servlet that is designed to fulfill the role of
a user interface for a Java web application. Web developers write JSPs as text files that
combine HTML or XHTML code, XML elements, and embedded JSP actions and commands.

Using JSP, you can collect input from users through web page forms, present records from a
database or another source, and create web pages dynamically.

JSP tags can be used for a variety of purposes, such as retrieving information from a database
or registering user preferences, accessing JavaBeans components, passing control between
pages and sharing information between requests, pages etc.

JSP INTRODUCTION:

JSP stands for java Server Pages. All JSP pages stored on the server.

1. The web server have JSP engine which acts as a container to process JSP pages.
2. All the requests for JSP Pages are intercepted by JSP Container.
3. JSP container along with web server provide the runtime environment to JSP.

3
JSP PROCESSING:

1. Web browser sends an HTTP request to the web server requesting JSP page.
2. Web server recognizes that the HTTP request by web browser is for JSP page by checking
the extension of the file (i.e .jsp)
3. Web server forwards HTTP Request to JSP engine.
4. JSP engine loads the JSP page from disk and converts it into a servlet
5. JSP engine then compiles the servlet into an executable class and forward original request
to a servlet engine.
6. Servlet engine loads and executes the Servlet class.
7. Servlet produces an output in HTML format
8. Output produced by servlet engine is then passes to the web server inside an HTTP
response.
9. Web server sends the HTTP response to Web browser in the form of static HTML content.
10. Web browser loads the static page into the browser and thus user can view the dynamically
generated page.

A JSP life cycle can be defined as the entire process from its creation till the destruction which
is similar to a servlet life cycle with an additional step which is required to compile a JSP into
servlet.

The following are the paths followed by a JSP

• Compilation

• Initialization

• Execution

• Cleanup

4
The four major phases of JSP life cycle are very similar to Servlet Life Cycle and they are as
follows:

JSP Compilation:
When a browser asks for a JSP, the JSP engine first checks to see whether it needs to
compile the page. If the page has never been compiled, or if the JSP has been modified since
it was last compiled, the JSP engine compiles the page.

The compilation process involves three steps:

• Parsing the JSP.

• Turning the JSP into a servlet.

• Compiling the servlet.

JSP Initialization:
When a container loads a JSP it invokes the jspInit() method before servicing any requests.
If you need to perform JSP-specific initialization, override the jspInit() method:

Public void jspInit(){

//Initialization code…

Typically initialization is performed only once and as with the servlet init method, you
generally initialize database connections, open files, and create lookup tables in the jspInit
method.

5
JSP Execution:
This phase of the JSP life cycle represents all interactions with requests until the JSP is
destroyed.

Whenever a browser requests a JSP and the page has been loaded and initialized, the JSP
engine invokes the _jspService() method in the JSP.

The _jspService() method takes an HttpServletRequest and an HttpServletResponseas its


parameters as follows:

void jspService(HttpServletRequest request, HttpSrevletResponse response)

//Service handling code…

The _jspService() method of a JSP is invoked once per a request and is responsible for
generating the response for that request and this method is also responsible for generating
responses to all seven of the HTTP methods ie. GET, POST, DELETE etc.

JSP Cleanup:
The destruction phase of the JSP life cycle represents when a JSP is being removed from use
by a container.The jspDestroy() method is the JSP equivalent of the destroy method for
servlets. Override jspDestroy when you need to perform any cleanup, such as releasing
database connections or closing open files.

The jspDestroy() method has the following form:

public void jspDestroy()

//Your cleanup code goes here..

6
MySQL

MySQL is (as of July 2013) the world's second most widely used relational database
management system (RDBMS) and most widely used open-source RDBMS. It is named after
co-founder Michael Widenius's daughter, my. The SQL acronym stands for Structured Query
Language.

The MySQL development project has made its source code available under the terms
of the GNU General Public License, as well as under a variety of proprietary agreements.
MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL
AB, now owned by Oracle Corporation.

MySQL is a popular choice of database for use in web applications, and is a central
component of the widely used LAMP open source web application software stack (and other
'AMP' stacks). LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python." Free-
software-open source projects that require a full-featured database management system often
use MySQL.

For proprietary use, several paid editions are available, and offer additional
functionality. Applications which use MySQL databases include: TYPO3, MODx, Joomla,
WordPress, phpBB, MyBB, Drupal and other software. MySQL is also used in many high-
profile, large-scale websites, including Google[13][14] (though not for searches), Face book,
Twitter, Flickr, and YouTube.

Interfaces:

MySQL is a relational database management system (RDBMS), and ships with no GUI
tools to administer MySQL databases or manage data contained within the databases. Users
may use the included command line tools, or use MySQL "front-ends", desktop software and
web applications that create and manage MySQL databases, build database structures, back up
data, inspect status, and work with data records. The official set of MySQL front-end tools,
MySQL Workbench is actively developed by Oracle, and is freely available for use.

7
Graphical:

The official MySQL Workbench is a free integrated environment developed by MySQL


AB, that enables users to graphically administer MySQL databases and visually design
database structures. MySQL Workbench replaces the previous package of software, MySQL
GUI Tools. Similar to other third-party packages, but still considered the authoritative MySQL
front end, MySQL Workbench lets users manage database design & modeling, SQL
development (replacing MySQL Query Browser) and Database administration (replacing
MySQL Administrator).

MySQL Workbench is available in two editions, the regular free and open
sourceCommunity Edition which may be downloaded from the MySQL website, and the
proprietary Standard Edition which extends and improves the feature set of the Community
Edition.

Third-party proprietary and free graphical administration applications (or "front ends")
are available that integrate with MySQL and enable users to work with database structure and
data visually. Some well-known front ends, in alphabetical order, are:

• Adminer – a free MySQL front end written in one PHP script, capable of managing
multiple databases, with many CSS skins available
• Chive a free, open source, web-based database management tool designed as an
alternative to phpMyAdmin
• Database Workbench – a software application for development and administration of
multiple relational databases including MySQL, with interoperationality between
different database systems
• DBEdit – a free front end for MySQL and other databases
• HeidiSQL – a full featured free front end that runs on Windows, and can connect to
local or remote MySQL servers to manage databases, tables, column structure, and
individual data records. Also supports specialised GUI features for date/time fields and
enumerated multiple-value fields.
• LibreOffice Base – LibreOffice Base allows the creation and management of databases,
preparation of forms and reports that provide end users easy access to data. Like
Microsoft Access, it can be used as a front-end for various database systems, including
Access databases (JET), ODBC data sources, and MySQL or PostgreSQL.

8
• phpMyAdmin – a free Web-based front-end, widely installed by web hosting services
since it is developed in PHP and included in the LAMP stack, and MAMP, XAMPP
and WAMP software bundle installers
• SQLBuddy – a free Web-based front end, developed in PHP
• SQLyog – proprietary, but there is also a free 'community' edition available
• Toad for MySQL – a free development and administration front end for MySQL from
Dell Software
• Webmin – a free Web-based management utility and a MySQL front end, developed in
Perl with some parts written in Java

Command line:

MySQL ships with many command line tools, from which the main interface is 'mysql' client.
Third parties have also developed tools to manage MySQL servers.

• MySQL Utilities – a set of utilities designed to perform common maintenance and


administrative tasks. Originally included as part of the MySQL Workbench, the utilities
are now a stand-alone download available from Oracle.

• Percona Toolkit – a cross-platform toolkit for MySQL, developed in Perl.[31] Percona


Toolkit can be used to prove replication is working correctly, fix corrupted data,
automate repetitive tasks, and speed up servers. Percona Toolkit is included with several
Linux distributions such as CentOS and Debian, and packages are available for Fedora
and Ubuntu as well. Percona Toolkit was originally developed as Maatkit, but as of late
2011, Maatkit is no longer developed.

9
3. SYSTEM ANALYSIS

3.1 EXISTING SYSTEM

Existing system is a manual one is which all the transaction is maintained and vehicle rapier
booking manually. User cannot search accurate location. Requires an active internet
connection.System will provide inaccurate results if data not entered properly.

Disadvantages
• Processing takes a long time
• It needs more employees
• Maintaining various records is difficult
• It requires more paper work
• It is a slow process

10
3.2 PROPOSED SYSTEM
The proposed system is computerized using JSP as front end and MySql as back end.
The proposed system is very efficient & user factors. The time saving tasks, Quick reference
of required data ,facility and flexibility for future enhancement are the enjoyable features of
the proposed system and it will increase the number of customers considerably.

The proposed application helps to find workshop easily and quickly. It is difficult to
find mechanics nearby area wherever you are travelling. This system helps to overcome this
issue by providing workshop details in one click. Here the locator allows you to search
workshop from different locations. This workshop finder reduces work and can easily find the
workshop from various location. Reduces your time and cost. The main objective is to provide
a better service and to make the process easily and finally appointing a mechanic quickly.
Proposed system is accessed by three entities namely, Admin, Workshop and User. A
workshop can perform task such as viewing request received from users. User can send a
request and can appoint a workshop on respective date-time.

Advantages

• New system should be user friendly with menus


• Data redundancy avoided
• Faster updating with greater amount of accuracy
• Various kinds of report preparation
• Reducing the user typing and paper work

11
4. SYSTEM DESIGN

4.1 MODULE DESCRIPTION:

• Admin
• Workshop
• User
• Service
• Reports

Admin
Admin need to login with valid login credentials.Admin can view the registered car
service provider with their details and has the access to allow a workshop. Admin can view all
the registered user details.

Workshop
Workshop can register with all their information. Registered workshop will be provided access
to Login. Workshop can view the request which is sent by the user. Enter the service details

User
User can register with all their details. Registered user can Login with their credentials.User
can search for local workshop on the basis of their locations. On selection of the workshop, the
user can send the request to the respective workshop.

Service
Workshop can enter the car service details and send to user account. User can view about
service in user account.

Report
By this module the Admin gets the final report of the work. The admin who receives the job
inserts into database. Admin can view the workshop details, user details in the report.

12
4.2 DATA FLOW DIAGRAM

Data Flow Diagram (DFD) is a graphical representation of data flow in any system.
DFD can also be used for the visualization of data processing of data (structure design). On a
DFD data items flow from an external data link, via an internal process.
The purpose of DFD is

● To show the scope and boundaries of the system.

● To show that the whole system has been considered.

● He May be used as a communication tool between a systems analysis


and a person who plays a part in the system.

● To act as the starting point for redesigning a system.

The representations used to frame a data flow diagram are:

The circle represents the process. Its shows the pair of the part of the

Process that transforms input to output.

The arrow represents the graphical Data flow in or out of process.

The data store is used to model a collection of data packets as rest.

It represents external Entities with the system communication.

13
LEVEL 0:

admin

Online
user Vehicle database
Workshop
Booking

owner

LEVEL 1:

View User User


User

View Shop
workshop

14
LEVEL 2:

Owner View Shop


User

View Booking
Booking

View
Booking
Payment

15
4.3 ENTITY RELATIONSHIP MODEL
An entity relationship diagram is a graphical depiction of organizational system
elements and the association among the elements. E-R diagrams can help define system boundaries.
The entity relationship diagram also called ERD or E-RD is a network model that describes the
stored data layout of the system at the high level of the abstraction. The ERD is an effective
modeling tool for communicating with DBA diagrams. Entity relationship diagrams depict data in
its real estate-data stores. An Entity is anything real or abstract about which user wants to store
data. Most entities correspond to person, objects, events and location. It is represented by a
relationship symbol, which is a decision box. The components of the ERD are objects type, the
relationship, associative object type, super type/sub type indicators.

ATTRIBUTE

RELATIONSHIP

ENTITY

Relationships:

● 1-1 One to one relationship

● 1-M One to many relationships.

● M-M Too many relationships.

16
ER DIAGRAM:

a_un a_pwd

see Admin

mob
uid
vnum
User Bro see
unam
wse
e
uad
mail d wna
pwd me wid

wma
has il Workshop
loc
pwd
mob
nn addr

wmail
bid
amt
wid
Booking
view
wname

umo uma
b il

status
uad
d
date

17
4.5 TABLE DESIGN
Table design in the process of producing a detailed data model of the database. This
logical data model contains all the needed logical and physical design choices and physical
storage parameters needed to generate a design in a model containing detailed attributes for
each. The term database design can be used to describe many different parts of the design of
the overall database system. Principally, and most correctly, it can be thought of as the logical
design of the database structure used to store the data. In the relation model these are tables and
views. In an object database entities and relationships map directly to object classes and named
relationships.

TABLE NAME: Admin_table

FIELD NAME DATA TYPE SIZE CONSTRAINTS DESCRIPTION

Username varchar 20 Not null User name

password varchar 18 Not null User password

TABLE NAME: User_table

Primary key: id

Field Name Data type Size Constraints Description


id Int 20 Not null User id
name Varchar 20 Not null User name
mail Varchar 30 Not null User mail id
pwd Varchar 18 Not null User password
addresss Varchar 20 Not null User address
mob Int 20 Not null User mobile number
vnum varchar 10 Not null Vehicle number

18
TABLE NAME: Workshop_table

Primary key : shop id

Field Name Data type Size Constraints Description

id int(10) 10 Not null Shop id


name varchar(30) 30 Not null Shop name
mail varchar(30) 30 Not null Shop mail id
pwd varchar(30) 30 Not null Shop password
mobile varchar(30) 30 Not null Shop mobile number
address varchar(30) 30 Not null Shop address
loc varchar(30) 30 Not null Shop location

TABLE NAME: Booking_table

Primary key: booking id

Foreign key: shop id

Field Name Data Type Size Constraints Description


bid int(10) 10 Not null Book id
wid varchar(20) 20 Not null Workshop id
wname varchar(20) 20 Not null Workshop name
mob int(15) 15 Not null User Mobile no
address varchar(30) 30 Not null User address
umail varchar(30) 30 Not null User mail id
dat varchar(10) 10 Not null Date
status varchar(10) 10 Not null Status
wmail varchar(30) 30 Not null Workshop mail id

amt int(10) 10 Not null Amount

19
4.6 INPUT DESIGN

The input design in the process of entering data to the system. The input design goal is
to enter the computer as accurately as possible. Here inputs are design effectively so that errors
made by the operators are minimized. The input to the system has been designed in such way
that manual form and the inputs are coordinate where the data elements are common to source
documents and to the input. The input is acceptable and understandable by the users who are
using the quality of the system input to determine the quality of the system input to determine
the quality for system output. Input specification describes the manner in which data entered
the system processing.
For example, in the login form, the empty username and password is not allowed. The
username if exists in the database, the input is considered to be invalid and is not accepted.
Input design contains several forms there are,
• Admin Login
• Workshop Registration
• User Registration

20
4.7 OUTPUT DESIGN
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In any system results of processing are communicated to the users and to
other system through outputs. In output design it is determined how the information is to be
displaced for immediate need and also the hard copy output. It is the most important and direct
source information to the user. Efficient and intelligent output design improves the system’s
relationship to help user decision-making.
Output design generally refers to the results and information that are generated by the
system for many end-users; output is the main reason for developing the system and the basis
on which they evaluate the usefulness of the application.
In the project, the output is to
• Search
• Booking

21
5. SYSTEM TESTING AND IMPLEMENTATION

5.1 SYSTEM TESTING

The integration of each module in the system is checked during this level of testing.
The objective of system testing is to check if the software meets its requirements. System
testing is done to uncover errors that were not found in earlier tests. This includes forced
system failures and validation of total system as the user in the operational environment
implements it. Under this testing, low volumes of transactions are generally based on live
data. This volume is increased until the maximum level for each transactions type is reached.
The total system is also tested for recovery after various major failures to ensure that no data
are lost during the breakdown.
System testing is process of exercising software with the intent of finding and ultimately
correcting errors .System testing is actually a series of different tests whose primary purpose is
to fully exercise the computer based system System testing is the state of implementation, that
is aimed at assuring that the system works accurately and efficiently Testing is the vital to the
success of the system. System testing makes the logical assumption that if all the parts of the
system are correct, the goal will be successfully achieved The objective of testing is as follows:
1.Testing is the process of executing a program with the intent of finding an error
2.A successful test is that one of the cover of undiscovered error

TESTING ISSUES:
1. Client GUI considerations
2. Target environment and platform diversity considerations

TESTING METHODOLOGIES:
System testing is the state of implementation, which is aimed at ensuring that the
system works accurately and efficiently as expect before live operation commences. It certifies
that the whole set of programs hang together. System testing requires a test plan that consists
of several key activities and steps for run program, string, system and user acceptance testing
The implementation of newly designed package is important in adopting a successful new
system. Testing is an important stage in software development. The system test is
implementation stage in software development.

22
Unit Testing:
This is the first level of testing. The different modules are tested against the
specifications produced during the integration. This is done to test the internal logic of each
module. Those resulting from the interaction between modules are initially avoided. The input
received and output generated is also tested to see whether it falls in the expected range of
values. Unit testing is performed from the bottom up, starting with the smallest and lowest
modules and proceeding one at a time.

The units in a system are the modules and routines that are assembled and integrated
to perform a specific function. The programs are tested for correctness of logic applied and
detection of errors in coding. Each of the modules was tested and errors are rectified. They
were then found to function properly.

Integration Testing
In integration testing, the tested modules are combined into sub-systems, which are then
tested. The goal of integration testing to check whether the modules can be integrated properly
emphasizing on the interfaces between modules. The different modules were linked together
and integration testing done on them.

Web Testing:

Web testing is the name given to software testing that focuses on web applications.
Complete testing of a web-based system before going live can help address issues before the
system is revealed to the public. Issues may include the security of the web application, the
basic functionality of the site, its accessibility to handicapped users and fully able users, its
ability to adapt to the multitude of desktops, devices, and operating systems, as well as
readiness for expected traffic and number of users and the ability to survive a massive spike in
user traffic, both of which are related to load testing.

23
Validation Testing:

The objective of the validation test is to tell the user about the validity and reliability
of the system. It verifies whether the system operates as specified and the integrity of
important data is maintained. User motivation is very important for the successful performance
of the system.
All the modules were tested individually using both test data and live data. After each
module was ascertained that it was working correctly and it had been "integrated" with the
system. Again the system was tested as a whole. We hold the system tested with different types
of users. The System Design, Data Flow Diagrams, procedures etc. were well documented so
that the system can be easily maintained and upgraded by any computer professional at a later.

24
5.2 SYSTEM IMPLEMENTATION
Implementation is the most crucial stage in achieving a successful system and giving
the user’s confidence that the new system is effective and workable. Implementation of this
project refers to the installation of the package in its real environment to the full satisfaction of
the users and operations of the system.
Testing is done individually at the time of development using the data and verification
is done the way specified in the program specification. In short, implementation constitutes all
activities that are required to put an already tested and completed package into operation. The
success of any information system lies in its successful implementation.

System Implementation is the stage in the project where the theoretical design is turned
into a working system. The most critical stage is achieving a successful system and in giving
confidence on the new system for the user that it will work efficiently and effectively. The
existing system was long time process.

The project execution was checked with live environment and the user requirements
are satisfied. Proper implementation is essential to provide a reliable system to meet the
organization requirements.

25
6.CONCLUSION

It is concluded that the application works well and satisfy the end users. The application
is tested very well and errors are properly debugged. The application is simultaneously
accessed from more than one system. Simultaneous login from more than one place is tested.

This system is user friendly so everyone can use easily. Proper documentation is provided. The
end user can easily understand how the whole system is implemented by going through the
documentation. The system is tested, implemented and the performance is found to be
satisfactory. All necessary output is generated. Thus, the project is completed successfully.

Further enhancements can be made to the application, so that the application functions very
attractive and useful manner than the present one. The speed of the transactions become more
enough now.

26
7.SCOPE FOR FUTURE ENHANCEMENT

This system is very flexible so that the maintenance and future amendments based
on the changing environments and requirements made easily. Any changes that may lead to the
system failures measures. The project will support for multi user environment that is more than
one user can use it same time.

Enhancements can be done in an efficient manner. We can even update the same
with further modification establishment and can be integrated with minimal modification. Thus
the project is flexible and can be enhanced at anytime with more advanced features.

Coding procedures can be modified according to the needs of the user. The system
code is also well designed that will the basic for further enhancement and also can be included
in the system.

27
8. BIBLIOGRAPHY

1. “Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam
“, by Bryan Basham (Author), Kathy Sierra (Author), Bert Bates (Author), O'Reilly Media;
Second Edition edition (April 1, 2008).
2. “Core Java™, Volume I--Fundamentals (8th Edition) “, by Cay S. Horstmann, Prentice Hall;
8 edition (April 18, 2008).
3. Java Server Pages - By: SAMS Techmedia.
4. System Analysis & Design - By: Ilias M Awad

Web references
• http://www.jsp.net/
• http://www.tutorialspoint.com/mysql/
• http://www.javatpoint.com/java-tutorial
• http://www.w3schools.in/java-tutorial/

28
9.APPENDICES

A.SCREENSHOTS

User login page

Workshop login page

29
Workshop details

User booking details

30
Workshop details in admin page

User details in admin page

31
Confirmation page

32
B.SAMPLE CODE

<%@page contentType="text/html" pageEncoding="UTF-8"%>


<!DOCTYPE html>
<html lang="en">

<%@include file="header.jsp" %>


<%@include file="style.jsp" %>
<div>
<form align="center" method="post" name="workshop">
<table align="center"><tr colspan="2"><h1>New Workshop Register Here</h1></tr>
<tr><td>Workstation Name</td>
<td><input name="name" type="text" required></td></tr>
<tr><td>User Mail</td>
<td><input name="umail" type="email" required></td></tr>
<tr><td>Password</td><td>
<input name="password" type="password" required></td></tr>
<tr><td>Mobile</td>
<td><input name="mobile" type="text" required></td></tr>
<tr><td>Address</td>
<td><input name="address" type="text" required></td></tr>
<tr><td>Latitude</td>
<td><input name="lati" type="text" required></td></tr>
<tr><td>Longitude</td>
<td><input name="longt" type="text" required></td></tr>
<tr><td></td><td><input name="submit" type="submit" value="Register"> <input
type="reset" name="reset" value="Clear"></td></tr>
<tr><td></td><td><a href="workshoplogin.jsp">Back</a></td></tr>
</table>
</form>

</div>
<br>
<%@ page import="java.io.*,java.sql.*" %>
<% try
{
if (request.getParameter("submit")!=null)
{

Class.forName("com.mysql.jdbc.Driver");
Connection con
=DriverManager.getConnection("jdbc:mysql://localhost:3306/workstation","root","");
Statement st=con.createStatement();
String a1=request.getParameter("name");
String a2=request.getParameter("umail");
String a3=request.getParameter("password");
String a4=request.getParameter("mobile");
String a5=request.getParameter("address");
String a6=request.getParameter("lati");

33
String a7=request.getParameter("longt");

// out.println(uid);
int i=0;
i= st.executeUpdate("insert into shop values(null,'"+ a1 +"','"+ a2 +"','"+ a3 +"','"+ a4
+"','"+ a5 +"','"+ a6 +"','"+ a7 +"')");
if (i==1)
{
out.println("<script>alert('Register Successfully');</script>");
response.sendRedirect("workshoplogin.jsp");
}
else
{
out.println("<script>alert('Not Successful');</script>");
}

}
}
catch(Exception ex)
{
out.println(ex);
}
%>

%@include file="footer.jsp" %

<%@page contentType="text/html" pageEncoding="UTF-8"%>


<!DOCTYPE html>
<html lang="en">

<%@include file="header.jsp" %>


<%@include file="style.jsp" %>
<br>
<div>
<form align="center" method="post" name="workshop">
<table align="center"><tr colspan="2"><h1>User Login</h1></tr>
<tr><td>User Mail</td><td><input name="umail" type="text" required></td></tr>
<tr><td>Password</td><td><input name="password" type="password"
required></td></tr>
<tr><td></td><td><input name="submit" type="submit" value="Submit"> <input
type="reset" name="reset" value="Clear"></td></tr>
<tr><td></td><td><a href="userregister.jsp">New User? Register
Here!</a></td></tr>
<tr><td></td><td><a href="index.jsp">Back</a></td></tr>
</table>
</form>

</div>
<%@ page import="java.io.*,java.sql.*" %>
<% try
{

34
if (request.getParameter("submit")!=null)
{

Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/workstation","root",
"");
Statement st=con.createStatement();
String umail=request.getParameter("umail");
String pwd=request.getParameter("password");
String name=request.getParameter("a1");
out.println(umail);

ResultSet rs=st.executeQuery("select * from user where mail='"+ umail +"' and


pwd='"+ pwd+"'");
if(rs.next())
{
out.println("<script>alert('Login Successful!');</script>");
session.setAttribute("uid", umail);
session.setAttribute("name", name);
response.sendRedirect("userhome.jsp");
%>

<%
}
else
{
out.println("<script>alert('invalid Login!');</script>");
// response.sendRedirect("login.jsp");
}

}
}
catch(Exception ex)
{
out.println(ex);
}
%>
%@include file="footer.jsp" %

<%@page contentType="text/html" pageEncoding="UTF-8"%>


<!DOCTYPE html>
<html lang="en">
<%@include file="userheader.jsp" %>
<%@include file="style.jsp" %>
<%@ page import="java.io.*,java.sql.*" %>
<% Class.forName("com.mysql.jdbc.Driver")

35
try {
// Database connection
Connection con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/workstation", "root", "");
Statement st1 = con.createStatement();

// Check if 'sear' parameter is provided for search


String searchParam = request.getParameter("sear");
String search1 = request.getParameter("search");
ResultSet resultset;

if (search1 != null) {
// Search for records matching the search parameter
resultset = st1.executeQuery("SELECT * FROM shop WHERE address LIKE '%" +
searchParam + "%' OR name LIKE '%" + searchParam + "%'");
} else {
// Display all records if no search parameter is provided
resultset = st1.executeQuery("SELECT * FROM shop");
}
%>

<!-- HTML code for displaying the table -->


<br>
<form align="center" method="post">
<div align="center">
<h2>Workshop Details</h2>
<table>
<tr>
<td><input type="submit" name="search" value="Search"></td>
<td><input name="sear" value=""></td>
</tr>
<tr><br></tr><br>
</table><br>

<table width="1000px" align="center" style="border-width:5px" border="line">


<tr>
<th>ID</th>
<th>User Mail</th>
<th>Workspace Name</th>
<th>Mobile</th>
<th>Address</th>
<th>Location</th>
<th>Action</th>
</tr>
<% while (resultset.next()) { %>
<tr>
<td><%= resultset.getString(1) %></td>
<td><%= resultset.getString(3) %></td>
<td><%= resultset.getString(2) %></td>
<td><%= resultset.getString(5) %></td>
<td><%= resultset.getString(6) %></td>

36
<td><a href="http://maps.google.com/maps?q=<%= resultset.getString(7) %>,<%=
resultset.getString(8) %>">Click Here</a></td>
<td><a href="book.jsp?select=<%= resultset.getString(1) %>">Book
Now</a></td>
</tr>
<% } %>
</table>
</div>
</form>

<% } catch (Exception ex1) {


out.println(ex1);
} %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">

<%@include file="header.jsp" %>


<%@include file="style.jsp" %>
<br>
<br>
<br>
<br>
<br>
<div>
<form align="center" method="post" name="workshop">
<table align="center"><tr colspan="2"><h1>New User Register Here</h1></tr>
<tr><td>User Name</td>
<td><input name="name" type="text" required></td></tr>
<tr><td>User Mail</td>
<td><input name="umail" type="email" required></td></tr>
<tr><td>Password</td><td>
<input name="password" type="password" required></td></tr>
<tr><td>Mobile</td>
<td><input name="mobile" type="text" required></td></tr>
<tr><td>Address</td>
<td><input name="address" type="text" required></td></tr>
<tr><td>Vehicle Number</td>
<td><input name="vnum" type="text" required></td></tr>
<tr><td></td><td><input name="submit" type="submit" value="Register"> <input
type="reset" name="reset" value="Clear"></td></tr>
<tr><td></td><td><a href="workshoplogin.jsp">Back</a></td></tr>
</table>
</form>

</div>
<br>

<br>
<br>

37
<br>
<br>
<br>
<%@ page import="java.io.*,java.sql.*" %>
<% try
{
if (request.getParameter("submit")!=null)
{

Class.forName("com.mysql.jdbc.Driver");
Connection con=
DriverManager.getConnection("jdbc:mysql://localhost:3306/workstation","root","");
Statement st=con.createStatement();
String a1=request.getParameter("name");
String a2=request.getParameter("umail");
String a3=request.getParameter("password");
String a4=request.getParameter("mobile");
String a5=request.getParameter("address");
String a6=request.getParameter("vnum");

// out.println(uid);
int i=0;
i= st.executeUpdate("insert into user values(null,'"+ a1 +"','"+ a2 +"','"+ a3 +"','"+ a4 +"','"+
a5 +"','"+ a6 +"')");
if (i==1)
{
out.println("<script>alert('Register Successfully');</script>");
response.sendRedirect("userlogin.jsp");
}
else
{
out.println("<script>alert('Not Successful');</script>");
}

}
}
catch(Exception ex)
{
out.println(ex);
}
%>

38

You might also like