Vehicle Rental System Overview
Vehicle Rental System Overview
1
Preface-
I am glad to make this project Vehicle Renting System and now I make this
project report. In this project report, I include about my project, objective of
project, lists of project activities etc.
Thanking you.
[Date]
2
Acknowledgement [Date]
3
ACKNOWLEDGEMENT: -I worked on Vehicle Renting System. The conceptual
Knowledge acquired by Management/ Computer student is best manifested in the project they
undergo. The present project gives a perfect vent to my understanding of the practicalities of
information of different Educational areas. I express my whole-hearted gratitude towards Shri
Ramswaroop memorial college for having given me the opportunity to undergo my project in
the field of Website development of great report and allowing me to gain invaluable experience. I
I am also grateful to my parents who have always been supportive in giving me correct decision
and advice.
I also express my sincere thanks to all the Respondents, without whose help the completion of this
(Signature of Student)
[Date]
4
REPORT
(VEHICLE RENTING SYSTEM)
[Date]
5
Introduction
[Date]
6
1.1 Background: -
Nowadays, there are online vehicle reservations which give much benefit to user.
A rental service is a service in which customers arrive to request the hire of a
rental unit. It is more convenient than carrying the cost of owning and maintaining
the unit.
A vehicle rental or vehicle hire agency is a company that rents automobiles for
short period of time for a fee whether in a few hours or a few days or week. It is
an extended form of a rental shop, often organized with numerous local branches
(which allow a user to return a vehicle to a different location), and primarily
located near airports or busy city areas and often complemented by a website
allowing online reservations.
Vehicle rental agencies primarily serve people who have vehicles that are
temporarily out of reach or out of service, for example travelers who are out of
town or owners of damaged or destroyed vehicles who are awaiting repair or
insurance compensation.
Because of the variety of sizes of the vehicles, our company serves the self-
moving industry needs, by renting vans or trucks, and in certain markets other
types of vehicles such as motorcycles or scooters are also offered. In short, it is a
system design especially for large, premium and small vehicle rental business.
The vehicle rental system provides complete functionality of listing and booking
vehicles.
[Date]
1.2 Objective: -
7
Today’s world is computer world because most of work is doing with the help of
computer. Dependency on computer is behind the few reasons. We cannot easily
manage to store large number of data or information single handle. If we will be
needing some information or data in urgency then we cannot manage in manually
these works are very difficult if we cannot use computer.
• To save manpower.
1. System Objective: -
Today’s world is computer world because most of work is doing with the help of
computer. Dependency on computer is behind the few reasons. We cannot easily
manage to store large number of data or information single handle.
2. System Context: -
This section clearly depicts the environment and boundaries of the Vehicle Rental
System and the entities with which it interacts. It helps us see how the system fits
[Date]
into the existing scheme of things. What the system will do by itself.
8
3. Functional Requirement: -
This Software must request Username and Password for access to data, only after
authentication will allow access to the system. The Software must allow input of
products data from administrator and secured access.
Functional requirements are those requirements that are used to illustrate the
internal working nature of the system, the description of the system, and
explanation of each subsystem. It consists of what task the system should
perform, the processes involved, which data should the system holds and the
interfaces with the user.
4. Non-Functional Requirement: -
In this Software Input error will be returned in red with appropriate message box.
System should automatically update after every transaction. It describes aspects
of the system that are concerned with how the system provides the functional
requirements. They are:
a) Security: The subsystem should provide a high level of security and integrity
[Date]
of the data held by the system, only authorized personnel of the company can gain
9
access To the Company’s secured page on the system; and only users with valid
password and username can login to view user’s page.
b) Performance and Response time: The system should have high performance
rate when executing user’s input and should be able to provide feedback or
response within a short time span usually 50 seconds for highly complicated task
and 20 to 25seconds for less complicated task.
e) Ease of use: Considered the level of knowledge possessed by the users of this
system, a simple but quality user interface should be developed to make it easy
to understand and required less training.
1.3.1 Purpose: -
The purpose of this document is to specify requirements and to give guidelines
for the development of above said project. In particular it gives guidelines on how
to prepare the above said project.
• Group bookings: Allows the customer to book space for a group in the case of
weddings or corporate meetings (Event management).
1.3.2 Scope: -
This project traverses a lot of areas ranging from business concept to computing
field and required to perform several researches to be able to achieve the project
objectives.
•Car rental industry: This includes study on how the car rental business is being
done, process involved and opportunity that exist for improvement.
• General customers as well as the company’s staff will be able to use the system
effectively.
• Web-platform means that the system will be available for access 24/7 except
when there is a temporary server issue which is expected to be minimal
• Eco-friendly: The monitoring of the vehicle activity and the overall business
becomes easy and includes the least of paper work.
• The software acts as an office that is open 24/7. It increases the efficiency of the
management at offering quality services to the customers.
11
SURVEY OF
TECHNOLOGIES
[Date]
12
Java: -
The original and reference implementation Java compilers, virtual machines, and
class libraries were originally released by Sun under proprietary licenses. As of
May 2007, in compliance with the specifications of the Java Community Process,
Sun relicensed most of its Java technologies under the GNU General Public
License. Others have also developed alternative implementations of these Sun
technologies, such as the GNU Compiler for Java (bytecode compiler), GNU
Class path (standard libraries), and Iced Tea-Web (browser plug-in for applets).
The latest version is Java released on March 20, 2018, which follows Java 9 after
only six months in line with the new release schedule. Java 8 is still supported but
there will be no more security updates for Java 9. Versions earlier than Java 8 are
supported by companies on a commercial basis; e.g. by Oracle back to Java 6 as
of October 2017 (while they still "highly recommend that you uninstall" pre-Java
8 from at least Windows computers).
[Date]
Release history
13
Latest minor End of
Release General availability Latest release
version Support
14
Requirements and
Analysis
[Date]
15
3.1 Problem Definition: -
In a vehicle rental service, a vehicle that can be used temporarily by paying a fee
during a specified period. Getting a rental vehicle helps people get around
despite the fact they do not have access to their own personal vehicle or
don't own a vehicle at all.
The individual who needs a car must contact a rental vehicle company
and contract out for a vehicle. This system increases customer retention
and simplify vehicle and staff management.
PERT CHART
A project plan needs to be created to ensure the timely completion of the project.
As part of project analysis, we break the project down to a number of stages and
use a Gantt chart and PERT chart to describe specific tasks and status. The Work
Breakdown Structure of our proposed system “Vehicle Rental System” is shown
below.
Phase
4 interview 2 days 10/9/2023 12/9/2023
16
5 Schedule 4 days 13/9/2023 16/9/2023
users
Interviews
6 Conducting 3 days 17/9/2023 19/9/2023
users
Interviews
7 System 15 days 20/9/2023 4/10/2023
Design
8 Modules 11 days 5/10/2023 15/10/2023
Design
9 Data Structure 4 days 16/10/2023 19/10/2023
Design
10 User Interface 4 days 20/10/2023 24/10/2023
Design
11 Coding Phase 36 days 25/10/2023 28/11/2023
12 Testing Phase 9 days 29/11/2023 8/11/2023
13 Integration 6 days 9/11/2023 15/11/2023
Testing
14 System Level 5 days 16/11/2023 21/11/2023
Testing
15 Implementatio 4 days 23/11/2023 27/11/2023
n
16 Post- 2 day 29/11/2023 1/12/2023
Implementatio
n Review
• Pentium IV Processor
17
• 512 MB RAM
• 40 GB HDD
• Color Monitor
• Keyboard, Mouse
3.4 Preliminary Product Description: -
It would be a multi user account system in key features. There will three types of
main modules in the system
• Admin
• Customer
• Invoice Management
ADMIN
Like every other management system, the vehicle rental management system will
have the admin. The admin will the entity that will monitor the activities and the
records of whole system.
Following are some main facts related to the admin of the system. There will be
only one admin in the system. Admin can view other user’s profile. The admin
will have the power to delete any other users form the records or update the data
of any other users. Any vehicle or the payment deal will be approved by the
admin.
CUSTOMERS
Customers are the reason why I feel to introduce the vehicle rental management
system, to make their journey wonderful, to get them fit for the environment they
are traveling into.
rather than wondering what if I choose this vehicle and the price is higher. No
tension at all, you can analyze the vehicle record and choose your best vehicle.
18
Popular Vehicles: If you want to take the vehicle which is popular in the system
rather than thinking about the fact how this vehicle would perform, you better
look into it. The already registered customers have given the feedback of their
vehicle driving experience.
Vehicle Brand: If you are into brand, you can view the vehicles of your favorite
brand. I have taken that too into the account. The vehicle brand can be BMW,
Mercedes, Aston Martin, Honda, Mahindra etc. Just pick your pick.
Rent a Vehicle: After you have selected your favorite vehicle, you can fill the
vehicle rental form which is available online. You just have to fill some details
like for how many days you want to rent the vehicle, or if you want to rent on
hourly basis, the vehicle details of the vehicle model you want to rent. After
completing the rental form, you can pay suitable amount using net banking, your
credit / debit vehicle.
Return a rented Vehicle: The customer can return a vehicle and if all the
payments are cleared and the parts of the vehicles are not damaged, a number will
be provided to the customer so that the customer can enter that number into the
return vehicle section and the record is cleared from the rent a vehicle system and
is moved to rental vehicle history.
View Rental History: You as a user can view the history of the vehicle you have
rented in the vehicle rental management system. You can keep track of the
amount you have spent, the vehicle you have driven, the number of vehicles you
have rented etc.
Feedback: You as a user can share your experience with the vehicle rental
management system. How much you loved it, or hated it. You can give the stars
and provide some comments so that the dealer can assist the customers to their
best capability they can.
INVOICE MANAGEMENT
After the amount is paid by the customers, the invoice department will generate
the bill of the vehicle used and will reflect into the customers’ account. This
department will also keep the receipts of newly vehicle is brought to the system
so that it can further be used for analysis purpose.
1 DEFINING A SYSTEM: -
19
Collection of components, which are interconnected, and work together to realize
some objective, from a system. There are three components in every system,
namely input, processing and output
These methodologies form the framework for planning and controlling the
creation of an information system the process. Broadly, following are the
different activities to be considered while defining the system development life
cycle for the said project:
• Problem Definition
• System Analysis
• Proposed system
• Feasibility study
• System design
• Updating
20
• Query /Report design
• Administration
• Testing
• Implementation
• Maintenance
2 SYSTEM ANALYSIS: -
Systems analysis is the study of sets of interacting entities, including computer
systems analysis. This field is closely related to requirements analysis or
operations research. It is also "an explicit formal inquiry carried out to help
someone (referred to as the decision maker) identify a better course of action and
make a better decision than he might otherwise have made.
3 SYSTEM DESIGN: -
Object-oriented analysis and design methods are becoming the most widely used
methods for computer systems design. The UML has become the standard
language in object-oriented analysis and design. It is widely used for modeling
software systems and is increasingly used for high designing non-software
systems and organizations.
The Entity Relation Model or Entity Relation Diagram (ERD) is a data model or
diagram for high-level description of conceptual data model, and it provides a
graphical notation for representing such data models in the form of entity
relationship diagrams. Such models are typically used in the first stage of
Management information system design; they are used for example, to describe
information needs and/ or the type of information that is to be stored in the
Database during the requirement analysis.
The data modeling technique, however, can be used to describe any ontology (i.e.
an overview and classification of used term and their relationships) for a certain
universe of discourse (i.e. area of interest).
Note that sometimes, both of the phases are referred a “physical design”. There
are number of conventions for entity-relation diagrams (ERDs). The classical
notation is described in the remainder of this article, and mainly related to the
conceptual modeling. There is a range of notation more typically employed in
physical and logical database design.
[Date]
22
CH_NUMBE
R
PASSWORD
MANAG
VEHICLE DETAIL
ADMIN ES
ADMIN_ID
EN_NAM
VEHICLE TYPE
E
MANAG
ES VEHICLE
ID
CUS_ID
PH_NUM
EMAIL
VEHICLE REPORT
CUS_ID CUSTOMER
CUS_NAME
DAT
ADDRESS E
CUS_NAME
S HAS
RENT
WITH
VEHICLE ID
PRICE
[Date]
VEHICLE RENTAL
23
DISCOUNT
CATEGOR
Y
In the DFD, four symbols are used and they are as follows.
24
4. An open rectangle is a data store-data at rest, or a temporary
Repository of data.
This level shows the overall context of the system and its operating environment
and shows the whole system as just one process. Online book store is shown as
one process in the context diagram; which is also known as zero level DFD,
shown below.
VEHICLE
CUSTOMER
VEHICLE RENTAL
REQUEST SYSTEM
ADMIN
The context diagram plays important role in understanding the system and
determining the boundaries. The main process can be broken into sub-processes
and system can be studied with more detail; this is where 1st level DFD comes
into play.
25
This level (level 1) shows all processes at the first level of numbering, data stores,
external entities and the data flows between them. The purpose of this level is to
show the major high-level processes of the system and their interrelation. A
process model will have one, and only one, level-1 diagram. A level-1 diagram
must be balanced with its parent context level diagram, i.e. there must be the same
external entities and the same data flows, these can be broken down to more detail
in the level 1.
PAY BILL
CUSTOMER
BUY OR VEHICLE
Vehicle
ASK
Rental system
Process
ADMIN or deal
by
Data Tables
//Login Table
[Date]
26
//ADD VEHICLE Table
27
//ADD COMPANY Table
28
Login form
Login: -
Name Column Data Type Size Constraints
User Varchar 20 Primary key
Password Varchar 20 Not Null
add_company: -
add_customer: -
29
Book_Date Varchar 20 Not Null
Rent_Date Varchar 30 Not Null
Mobile decimal 10,0 Not Null
Company Varchar 40 Not Null
Seating_Capacity Varchar 20 Not Null
Car_number Varchar 40 Not Null
Driver_ID Varchar 20 Primary key
Rent_Days Varchar 20 Not Null
Total_rent Varchar 40 Not Null
add_driver: -
add_emp: -
30
Name Column Data Type Size Constraints
add_vehicle: -
31
CODING
[Date]
32
Database Connectivity: -
Coding: -
package vehicle_renting_system;
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
public class DB {
public DB()
{
[Date]
try
33
{
[Link]("[Link]");
con=[Link]("jdbc:mysql://localhost:3306/renting","root
","singh@323");
catch(Exception e)
[Link]();
ANIMATION: -
CODING: -
package vehicle_renting_system;
[Link](true);
try
for(int z=0;z<=100;z++)
[Date]
34
[Link](30);
[Link](z);
if(z==100)
[Link](false);
[Link](true);
catch(Exception e)
[Link]();
[Date]
35
LOGIN: -
Coding On Login as Employee Button: -
[Link](true);
[Link](true);
try
String user;
user = [Link]();
String password;
password = [Link]();
DB dbc=new DB();
[Link](1,user);
[Link](2,password);
[Link]=[Link]();
if([Link]())
new login().setVisible(false);
[Link](false);
new Driver().setVisible(true);
else
[Link](null,"Incorrect Username Or
Password");
}
[Date]
catch(Exception e)
{
37
[Link]();
try
String user;
user = [Link]();
String password;
password = [Link]();
DB dbc=new DB();
password=?");
[Link](1,user);
[Link](2,password);
[Link]=[Link]();
if([Link]())
new login().setVisible(false);
[Link](false);
new renting_system().setVisible(true);
[Link](null,"Matched");
[Date]
38
else
[Link](null,"Incorrect Username Or
Password");
catch(Exception e)
[Link]();
Coding: -
private void jMenuItem8ActionPerformed([Link] evt)
Add_Driver.setVisible(true);
try
DB db=new DB();
[Link]=[Link]();
[Date]
while([Link]())
39
{
[Link]([Link](1));
catch(Exception e)
[Link]();
try
String number=[Link]();
String company=(String)[Link]();
String seater=(String)[Link]();
Vector<Vector<String>>data=new Vector<Vector<String>>();
[Link]();
Vector<String>header=new Vector<String>();
[Link]();
[Link]("Model");
[Date]
[Link]("Make Year");
40
[Link]("Use As");
[Link]("Type");
[Link]("Varient");
[Link]("Engine Capacity");
[Link]("Rent");
DB db=new DB();
[Link]=[Link]();
while([Link]())
Vector<String>data1=new Vector<String>();
[Link]([Link](1));
[Link]([Link](4));
[Link]([Link](5));
[Link]([Link](7));
[Link]([Link](8));
[Link]([Link](9));
[Link]([Link](10));
[Link](data1);
[Link](new
[Link](data,header));
catch(Exception e)
[Date]
[Link]();
41
}
try
String name=[Link]();
String address=[Link]();
String DOB=[Link]();
String Mobile=[Link]();
String number=[Link]();
if([Link]())
gender="Male";
if([Link]())
gender="Female";
String Driver_ID=[Link]();
String company=(String)[Link]();
String car_number=[Link]();
[Date]
String message="";
42
int a=1;
if([Link](""))
a=0;
if([Link](""))
a=0;
if([Link](""))
a=0;
if([Link](""))
a=0;
if(Driver_ID.equals(""))
a=0;
[Date]
}
43
if(car_number.equals(""))
a=0;
if(a==0)
[Link](this, message);
if(a==1)
DB db=new DB();
[Link](1, name);
[Link](2,gender);
[Link](3, address);
[Link](4, Experience);
[Link](5, DOB);
[Link](6, Mobile);
[Link](7, Driver_ID);
[Link](8, Seating);
[Link](9, company);
[Link](10, car_number);
[Link](11, number);
[Date]
int i=[Link]();
44
if(i>0)
[Link](null);
[Link](null);
[Link](null);
[Link]("Select");
[Link](null);
[Link](null);
[Link](null);
[Link]("Select");
[Link]("Select");
[Link](null);
else
[Link](this, "ERROR!!!!!!!!!!");
catch(Exception e)
[Link]();
}
[Date]
Add_Driver.setVisible(false);
Modify Driver: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem9ActionPerformed([Link] evt)
Modify_Driver.setVisible(true);
String user2=[Link]();
try {
[Date]
DB dbc=new DB();
46
[Link]=[Link]("select * from add_Driver where
Driver_ID='"+user2+"'");
[Link]=[Link]();
if([Link]())
[Link]([Link](1));
String s=[Link](2);
if([Link]("Male"))
[Link](true);
[Link](false);
if([Link]("Female"))
[Link](true);
[Link](false);
[Link]([Link](3));
String a=[Link](4);
for(int h=0;h<[Link]();h++)
if([Link]([Link](h)))
[Link](h);
}
[Date]
47
[Link]([Link](5));
String q=[Link](6);
for(int h=0;h<[Link]();h++)
if([Link]([Link](h)))
[Link](h);
[Link]([Link](7));
} catch (Exception e) {
[Link]();
String user2=[Link]();
String name=[Link]();
String address=[Link]();
String DOB=[Link]();
String qualification=(String)[Link]();
String Mobile=[Link]();
String Experience=(String)[Link]();
[Date]
if([Link]())
48
{
gender="Male";
if([Link]())
gender="Female";
try
DB db=new DB();
[Link](1, name);
[Link](2, gender);
[Link](3, address);
[Link](4,Experience);
[Link](5,DOB);
[Link](6, qualification);
[Link](7, Mobile);
int i=[Link]();
if(i>0)
[Link](null);
[Date]
[Link](null);
49
[Link](null);
[Link]("Select");
[Link](null);
[Link](null);
[Link]("Select");
[Link](false);
[Link](false);
else
[Link](this, "ERROR!!!!!!!!!!");
catch(Exception e)
[Link]();
try
String user2=[Link]();
DB db=new DB();
[Date]
50
[Link]=[Link]("delete from add_Driver where
Driver_ID='"+user2+"' ");
int i=[Link]();
if(i>0)
[Link](null);
[Link](null);
[Link](null);
[Link]("Select");
[Link](null);
[Link](null);
[Link]("Select");
[Link](false);
[Link](false);
else
[Link](this, "Error!!!");
catch (Exception e)
{
[Date]
[Link]();
}
51
}
Driver List: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
Drivers_List.setVisible(true);
try
Vector<Vector<String>>data=new Vector<Vector<String>>();
[Link]();
Vector<String>header=new Vector<String>();
[Link]();
[Link]("Name");
[Link]("Gender");
[Date]
[Link]("Address");
[Link]("Experience");
52
[Link]("DOB");
[Link]("Mobile");
[Link]("Driver ID");
[Link]("Seating Capacity");
[Link]("Company");
[Link]("Car Number");
[Link]("Driver License");
DB db=new DB();
[Link]=[Link]();
while([Link]())
Vector<String>data1=new Vector<String>();
[Link]([Link](1));
[Link]([Link](2));
[Link]([Link](3));
[Link]([Link](4));
[Link]([Link](5));
[Link]([Link](6));
[Link]([Link](7));
[Link]([Link](8));
[Link]([Link](9));
[Link]([Link](10));
[Link]([Link](11));
[Link](data1);
[Date]
53
[Link](new
[Link](data,header));
catch(Exception e)
[Link]();
List Of Customer: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem12ActionPerformed([Link] evt)
Customer_List.setVisible(true);
try
Vector<Vector<String>>data=new Vector<Vector<String>>();
[Link]();
Vector<String>header=new Vector<String>();
[Date]
[Link]();
[Link]("Customer ID");
54
[Link]("Name");
[Link]("Gender");
[Link]("Address");
[Link]("Use As");
[Link]("Book Date");
[Link]("Renting Date");
[Link]("Mobile");
[Link]("Company");
[Link]("Seating Capacity");
[Link]("Car Number");
[Link]("Driver ID");
[Link]("Renting Days");
DB db=new DB();
[Link]=[Link]();
while([Link]())
Vector<String>data1=new Vector<String>();
[Link]([Link](1));
[Link]([Link](2));
[Link]([Link](3));
[Link]([Link](4));
[Link]([Link](5));
[Link]([Link](6));
[Date]
[Link]([Link](7));
55
[Link]([Link](8));
[Link]([Link](9));
[Link]([Link](10));
[Link]([Link](11));
[Link]([Link](12));
[Link]([Link](13));
[Link]([Link](14));
[Link](data1);
[Link](new
[Link](data,header));
catch(Exception e)
{ [Link]();}}
Add Customer: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem10ActionPerformed([Link] evt)
Add_Customer.setVisible(true);
try
DB db=new DB();
add_company");
56
[Link]=[Link]();
while([Link]())
[Link]([Link](1));
catch(Exception e)
[Link]();
try
String number=[Link]();
String company=(String)[Link]();
String seater=(String)[Link]();
Vector<Vector<String>>data=new Vector<Vector<String>>();
[Link]();
Vector<String>header=new Vector<String>();
[Link]();
[Link]("Model");
[Link]("Make Year");
[Link]("Use As");
[Date]
[Link]("Type");
57
[Link]("Varient");
[Link]("Engine Capacity");
[Link]("Rent");
DB db=new DB();
[Link]=[Link]();
while([Link]())
Vector<String>data1=new Vector<String>();
[Link]([Link](1));
[Link]([Link](4));
[Link]([Link](5));
[Link]([Link](7));
[Link]([Link](8));
[Link]([Link](9));
[Link]([Link](10));
[Link](data1);
[Link](new
[Link](data,header));
catch(Exception e)
[Link]();
[Date]
}
58
Coding On Calculate Button: -
private void jButton19ActionPerformed([Link] evt)
String days=[Link]();
String car_number=[Link]();
int total;
try{
int temp;
DB dbc=new DB();
[Link]=[Link]();
if([Link]())
rent=[Link](1);
temp=[Link](rent);
total=[Link](days)*temp;
[Link]([Link](total));
catch(Exception e)
[Link]();
}
[Date]
String customer_ID=[Link]();
String name=[Link]();
String address=[Link]();
String use_as=(String)[Link]();
String book=[Link]();
String Rent_date=[Link]();
String mobile=[Link]();
String company=(String)[Link]();
String capacity=(String)[Link]();
String car_number=[Link]();
String Driver_ID=[Link]();
String Rent_Days=[Link]();
String Total_rent=[Link]();
if([Link]())
gender="Male";
if([Link]())
gender="Female";
try
DB db=new DB();
[Date]
60
[Link]=[Link]("insert into add_customer
values(?,?,?,?,?,?,?,?,?,?,?,?,?,?)");
[Link](1, customer_ID);
[Link](2, name);
[Link](3,gender);
[Link](4, address);
[Link](5, use_as);
[Link](6, book);
[Link](7,Rent_date);
[Link](8, mobile);
[Link](9, company);
[Link](10, capacity);
[Link](11, car_number);
[Link](12, Driver_ID);
[Link](13, Rent_Days);
[Link](14, Total_rent);
int i=[Link]();
if(i>0)
[Link](null);
[Link](null);
[Link](null);
[Link]("Select");
[Date]
[Link]("Select");
[Link](null);
61
[Link](null);
[Link]("Select");
[Link](null);
[Link](null);
[Link](null);
[Link](null);
[Link](null);
else
[Link](this, "ERROR!!!!!!!!!!");
[Link](1,"0");
[Link]();
catch(Exception e)
[Link]();
{
[Date]
Add_Customer.setVisible(false);
62
}
Modify Customer: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem11ActionPerformed([Link] evt)
Modify_Customer.setVisible(true);
String user2=[Link]();
try
[Date]
DB dbc=new DB();
63
[Link]=[Link]("select * from add_customer where
Customer_ID='"+user2+"'");
[Link]=[Link]();
if([Link]())
[Link]([Link](2));
String s=[Link](3);
if([Link]("Male"))
[Link](true);
[Link](false);
if([Link]("Female"))
[Link](true);
[Link](false);
[Link]([Link](4));
[Link]([Link](8));
catch (Exception e)
[Link]();
[Date]
64
}
String user2=[Link]();
try {
DB dbc=new DB();
[Link]=[Link]();
if([Link]())
[Link]([Link](1));
String s=[Link](3);
if([Link]("Male"))
[Link](true);
[Link](false);
if([Link]("Female"))
[Link](true);
[Link](false);
[Link]([Link](4));
[Link]([Link](8));
[Date]
65
}
catch (Exception e)
[Link]();
String user2=[Link]();
String name=[Link]();
String address=[Link]();
String Mobile=[Link]();
if([Link]())
gender="Male";
if([Link]())
gender="Female";
try
DB db=new DB();
[Link](1, name);
66
[Link](2, gender);
[Link](3, address);
[Link](4, Mobile);
int i=[Link]();
if(i>0)
[Link](null);
[Link](null);
[Link](null);
[Link](null);
[Link](false);
[Link](false);
else
[Link](this, "ERROR!!!!!!!!!!");
catch(Exception e)
[Link]();
}
[Date]
try
String user2=[Link]();
DB db=new DB();
int i=[Link]();
if(i>0)
[Link](null);
[Link](null);
[Link](null);
[Link](null);
[Link](false);
[Link](false);
else
[Link](this, "Error!!!");
catch (Exception e)
[Date]
[Link]();
68
}
Return Car: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem14ActionPerformed([Link] evt)
Return_Car.setVisible(true);
String user2=[Link]();
try
[Date]
{
69
DB dbc=new DB();
[Link]=[Link]();
if([Link]())
[Link]([Link](2));
[Link]([Link](11));
[Link]([Link](9));
[Link]([Link](6));
[Link]([Link](7));
catch (Exception e)
[Link]();
String car_number=[Link]();
try
DB dbc=new DB();
[Link]=[Link]();
if([Link]())
[Date]
[Link]([Link](1));
70
}
catch(Exception e)
[Link]();
String user2=[Link]();
try
DB dbc=new DB();
[Link]=[Link]();
if([Link]())
[Link]([Link](1));
[Link]([Link](11));
[Link]([Link](9));
[Link]([Link](6));
[Link]([Link](7));
}
[Date]
71
catch (Exception e)
[Link]();
String car_number=[Link]();
try
DB dbc=new DB();
[Link]=[Link]();
if([Link]())
[Link]([Link](1));
catch(Exception e)
[Link]();
String customer_id=[Link]();
String name=[Link]();
[Date]
String car_number=[Link]();
72
String model=[Link]();
String company=[Link]();
String Booking_Date=[Link]();
String Return_Date=[Link]();
try
DB db=new DB();
[Link](1, customer_id);
[Link](2, name);
[Link](3, car_number);
[Link](4,model);
[Link](5, company);
[Link](6, Booking_Date);
[Link](7, Return_Date);
int i=[Link]();
if(i>0)
[Link](null);
[Link](null);
[Link](null);
[Link](null);
[Date]
[Link](null);
[Link](null);
73
[Link](null);
else
[Link](this, "ERROR!!!!!!!!!!");
catch(Exception e)
[Link]();
try
DB db=new DB();
[Link](1,"1");
[Link]();
catch(Exception e)
[Link]();
}
[Date]
Return_Car.setVisible(false);
View Cars: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem6ActionPerformed([Link] evt)
View_Cars.setVisible(true);
try
DB db=new DB();
[Link]=[Link]();
while([Link]())
[Date]
{
75
[Link]([Link](1));
catch(Exception e)
[Link]();
try
String company=(String)[Link]();
String Use_as=(String)[Link]();
String avail;
avail=(String)[Link]();
if([Link]("Available"))
q=a;
}
[Date]
if([Link]("Non Avaliable"))
76
{
q=b;
Vector<Vector<String>>data=new Vector<Vector<String>>();
[Link]();
Vector<String>header=new Vector<String>();
[Link]();
[Link]("Model");
[Link]("Car Number");
[Link]("Make Year");
[Link]("Seating Capacity");
[Link]("Type");
[Link]("Varient");
[Link]("Engine Capcity");
[Link]("Rent");
DB db=new DB();
[Link]=[Link]();
[Link]=[Link](q);
while([Link]())
Vector<String>data1=new Vector<String>();
[Link]([Link](1));
[Link]([Link](3));
[Link]([Link](4));
[Link]([Link](6));
[Date]
[Link]([Link](7));
77
[Link]([Link](8));
[Link]([Link](9));
[Link]([Link](10));
[Link](data1);
[Link](new
[Link](data,header));
catch(Exception e)
[Link](); } }
Change Password: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem1ActionPerformed([Link] evt)
Change_Password.setVisible(true);
try
[Date]
{
78
String user1=[Link]();
String password=[Link]();
int a=1;
String message="";
DB dbc=new DB();
String newpassword=[Link]();
String conpassword=[Link]();
if([Link](""))
a=0;
if([Link](""))
a=0;
if([Link](""))
a=0;
if([Link](""))
a=0;
79
}
if(a==0)
[Link](this, message);
if(a==1)
[Link](1,password);
[Link]=[Link]();
if([Link]())
if([Link](conpassword))
[Link](1,conpassword);
int i=[Link]();
if(i>0)
[Link](this,"Changed Successfully");
else
{
[Date]
[Link](this,"Error in changing
Password!!");
80
}
else
else
[Link](this,"Incorrect Password");
catch(Exception e)
[Link]();
Change_Password.setVisible(false);
}
[Date]
81
Admin Main Window: -
Add Employee: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem2ActionPerformed([Link] evt)
Add_Employee.setVisible(true);
try
{
[Date]
String name=[Link]();
82
String address=[Link]();
String DOB=[Link]();
String Mobile=[Link]();
String user2=[Link]();
String password=[Link]();
String conpassword=[Link]();
String DOJ=[Link]();
if([Link]())
gender="Male";
if([Link]())
gender="Female";
int a=1;
String message="";
if([Link](""))
a=0;
if([Link](""))
{
[Date]
if([Link](""))
a=0;
if([Link](""))
a=0;
if([Link](""))
a=0;
if([Link](""))
a=0;
if([Link](""))
a=0;
84
}
if([Link](""))
a=0;
if(a==0)
[Link](this, message);
if(a==1)
if([Link](conpassword))
DB db=new DB();
[Link](1, name);
[Link](2, gender);
[Link](3, address);
[Link](4,DOB);
[Link](5, Qualification);
[Link](6, Mobile);
[Link](7, user2);
[Link](8, password);
[Date]
[Link](9, DOJ);
85
int i=[Link]();
if(i>0)
[Link](null);
[Link](null);
[Link](null);
[Link]("Select");
[Link](null);
[Link](null);
[Link](null);
[Link](null);
[Link](null);
[Link](false);
[Link](false);
else
[Link](this, "ERROR!!!!!!!!!!");
else
}
86
}
catch(Exception e)
[Link]();
Add_Employee.setVisible(false);
[Date]
87
Modify Employee: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem3ActionPerformed([Link] evt)
Modify_Employee.setVisible(true);
String user2=[Link]();
try {
DB dbc=new DB();
[Link]=[Link]();
88
if([Link]())
[Link]([Link](1));
String s=[Link](2);
if([Link]("Male"))
[Link](true);
[Link](false);
if([Link]("Female"))
[Link](true);
[Link](false);
[Link]([Link](3));
[Link]([Link](4));
String q=[Link](5);
for(int h=0;h<[Link]();h++)
if([Link]([Link](h)))
[Link](h);
[Link]([Link](6));
[Date]
[Link]([Link](9));
89
}
} catch (Exception e) {
[Link]();
String user2=[Link]();
String name=[Link]();
String address=[Link]();
String DOB=[Link]();
String Mobile=[Link]();
String DOJ=[Link]();
if([Link]())
gender="Male";
if([Link]())
gender="Female";
try
DB db=new DB();
[Date]
90
[Link]=[Link]("update add_emp set
Name=?,Gender=?,Address=?,DOB=?,Qualification=?,Mobile=?,Date_of_Joini
ng=? where user='"+user2+"' ");
[Link](1, name);
[Link](2, gender);
[Link](3, address);
[Link](4,DOB);
[Link](5, qualification);
[Link](6, Mobile);
[Link](7, DOJ);
int i=[Link]();
if(i>0)
[Link](null);
[Link](null);
[Link](null);
[Link]("Select");
[Link](null);
[Link](null);
[Link](null);
[Link](false);
[Link](false);
else
[Date]
{
91
[Link](this, "ERROR!!!!!!!!!!");
catch(Exception e)
[Link]();
Modify_Employee.setVisible(false);
[Date]
92
Employee List: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem4ActionPerformed([Link] evt) {
Employees_List.setVisible(true);
try
Vector<Vector<String>>data=new Vector<Vector<String>>();
[Link]();
Vector<String>header=new Vector<String>();
[Link]();
[Link]("Name");
[Date]
[Link]("Gender");
[Link]("Address");
93
[Link]("DOB");
[Link]("Qualification");
[Link]("Mobile");
[Link]("User Name");
[Link]("Date Of Joining");
DB db=new DB();
[Link]=[Link]();
while([Link]())
Vector<String>data1=new Vector<String>();
[Link]([Link](1));
[Link]([Link](2));
[Link]([Link](3));
[Link]([Link](4));
[Link]([Link](5));
[Link]([Link](6));
[Link]([Link](7));
[Link]([Link](9));
[Link](data1);
[Link](new
[Link](data,header));
catch(Exception e)
[Date]
94
[Link]();
Driver List: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem5ActionPerformed([Link] evt) {
Drivers_List.setVisible(true);
try
Vector<Vector<String>>data=new Vector<Vector<String>>();
[Link]();
Vector<String>header=new Vector<String>();
[Link]();
[Link]("Name");
[Link]("Gender");
[Date]
[Link]("Address");
95
[Link]("Experience");
[Link]("DOB");
[Link]("Mobile");
[Link]("Driver ID");
[Link]("Seating Capacity");
[Link]("Company");
[Link]("Car Number");
[Link]("Driver License");
DB db=new DB();
[Link]=[Link]();
while([Link]())
Vector<String>data1=new Vector<String>();
[Link]([Link](1));
[Link]([Link](2));
[Link]([Link](3));
[Link]([Link](4));
[Link]([Link](5));
[Link]([Link](6));
[Link]([Link](7));
[Link]([Link](8));
[Link]([Link](9));
[Link]([Link](10));
[Link]([Link](11));
[Date]
[Link](data1);
96
[Link](new
[Link](data,header));
catch(Exception e)
[Link]();
View Cars: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem6ActionPerformed([Link] evt)
View_Cars.setVisible(true);
try
DB db=new DB();
[Link]=[Link]();
while([Link]())
[Date]
{
97
[Link]([Link](1));
catch(Exception e)
[Link]();
try
String company=(String)[Link]();
String Use_as=(String)[Link]();
String avail;
avail=(String)[Link]();
if([Link]("Available"))
q=a;
}
[Date]
if([Link]("Non Avaliable"))
98
{
q=b;
Vector<Vector<String>>data=new Vector<Vector<String>>();
[Link]();
Vector<String>header=new Vector<String>();
[Link]();
[Link]("Model");
[Link]("Car Number");
[Link]("Make Year");
[Link]("Seating Capacity");
[Link]("Type");
[Link]("Varient");
[Link]("Engine Capcity");
[Link]("Rent");
DB db=new DB();
[Link]=[Link]();
[Link]=[Link](q);
while([Link]())
Vector<String>data1=new Vector<String>();
[Link]([Link](1));
[Link]([Link](3));
[Link]([Link](4));
[Link]([Link](6));
[Date]
[Link]([Link](7));
99
[Link]([Link](8));
[Link]([Link](9));
[Link]([Link](10));
[Link](data1);
[Link](new
[Link](data,header));
catch(Exception e)
[Link](); } }
Add Company: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem7ActionPerformed([Link] evt) {
Add_Company.setVisible(true);
try
DB db=new DB();
[Link]=[Link]();
while([Link]())
{
[Date]
[Link]([Link](1));
100
}
catch(Exception e)
[Link]();
try
String company=[Link]();
DB db=new DB();
[Link](1, company);
int i=[Link]();
if(i>0)
[Link](null);
else
{
[Date]
[Link](this, "ERROR!!!!!!!!!!");
}
101
}
catch(Exception e)
[Link]();
Add_Company.setVisible(false);
ADD Vehicle: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem13ActionPerformed([Link] evt) {
try
Add_Vehicle.setVisible(true);
DB db=new DB();
[Link]=[Link]();
while([Link]())
{
[Date]
[Link]([Link](1));
102
}
catch(Exception e)
[Link]();
try
String avaliablity="1";
String model=[Link]();
String car_number=[Link]();
String make_year=[Link]();
String engine_capacity=[Link]();
String rent=[Link]();
int a=1;
String message="";
if([Link](""))
[Date]
{
103
message=message+"Model Can not be Empty ";
a=0;
if(car_number.equals(""))
a=0;
if(make_year.equals(""))
a=0;
if(engine_capacity.equals(""))
a=0;
if([Link](""))
a=0;
if(a==0)
{
[Date]
[Link](this, message);
104
}
if(a==1)
DB db=new DB();
[Link](1, model);
[Link](2, company);
[Link](3, car_number);
[Link](4,make_year);
[Link](5, use_as);
[Link](6, seating_capacity);
[Link](7, type);
[Link](8, varient);
[Link](9, engine_capacity);
[Link](10, rent);
[Link](11,avaliablity);
int i=[Link]();
if(i>0)
[Link](null);
[Link](null);
[Link](null);
[Date]
[Link]("Select");
[Link]("Select");
105
[Link]("Select");
[Link]("Select");
[Link]("Select");
[Link](null);
[Link](null);
else
[Link](this, "ERROR!!!!!!!!!!");
catch(Exception e)
[Link]();
Add_Vehicle.setVisible(false);
}
[Date]
106
Change Password: -
Event Performed On Menu Item:-
Action Event performed(actionPerformed)
Coding: -
private void jMenuItem1ActionPerformed([Link] evt)
Change_Password.setVisible(true);
try
String user1=[Link]();
[Date]
String password=[Link]();
String newpassword=[Link]();
107
String conpassword=[Link]();
int a=1;
String message="";
if([Link](""))
a=0;
if([Link](""))
a=0;
if([Link](""))
a=0;
if([Link](""))
a=0;
if(a==0)
{
[Date]
[Link](this, message);
108
}
if(a==1)
DB dbc=new DB();
[Link](1,password);
[Link]=[Link]();
if([Link]())
if([Link](conpassword))
[Link](1,conpassword);
int i=[Link]();
if(i>0)
[Link](this,"Changed Successfully");
else
[Link](this,"Error in changing
Password!!");
}
[Date]
else
109
{
else
[Link](this,"Incorrect Password");
catch(Exception e)
[Link]();
Change_Password.setVisible(false);
}
[Date]
110
DESIGN
SCREENSHOTS
[Date]
111
Splash Screen: -
[Date]
112
Login Window: -
[Date]
113
Employee Login: -
[Date]
114
Admin Login: -
[Date]
115
Employee Window: -
[Date]
116
[Date]
117
[Date]
118
[Date]
119
[Date]
120
Add Driver: -
[Date]
121
Modify Driver: -
[Date]
122
Driver List: -
[Date]
123
Add Customer: -
[Date]
124
Modify Customer: -
[Date]
125
Customer List: -
[Date]
126
Return Car: -
[Date]
127
View Cars: -
[Date]
128
Change Password: -
[Date]
129
Admin Window: -
[Date]
130
[Date]
131
[Date]
132
[Date]
133
[Date]
134
Add Employee: -
[Date]
135
Modify Employee: -
[Date]
136
Employee List: -
[Date]
137
Driver List: -
[Date]
138
View Cars: -
[Date]
139
Add Company: -
[Date]
140
Add Vehicle: -
[Date]
141
Change Password: -
[Date]
142
TESTING [Date]
143
System Testing: -
Black box testing method was used for system testing. The black box
testing usually demonstrates that software functions are operational; that the input
is properly accepted and the output is correctly produced; and that integrity of
external information (databases) is maintained.
Causes of Errors
Testing Principles
Testing Objectives
Kinds of Testing:
Black Box Testing- Not based on any knowledge of internal designs or code.
Tests are based on requirements and functionality.
Unit Testing- The most ‘micro’ scale of testing; to test particular functions and
code modules. Typically done by the programmer and not by the testers, as it
requires detailed knowledge of the internal program design and code. Not always
easily done unless the application has a well-designed architecture with tight
code; may require developing test driver modules or test harnesses.
[Date]
146
Integration Testing- Testing of combined parts of an application to determine if
they function together correctly. The ‘parts’ can be code modules, individual
applications, client and server applications on a network, etc. This type of testing
is especially relevant to client/ server and distributed systems.
Acceptance Testing- Final testing based on the specifications of the end user or
customer or based on use by end-users/ customers over some limited period of
time.
We will continuously test our project to ensure that it is fully functional. In order
to perform testing test cases are designed with the intent of finding the errors in
the project and help in removing those errors. Testing begins at the module level
and is conducted systematically. It is generally conducted by independent test
groups or third party.
[Date]
147
Testing is done in our project Vehicle Renting System with help of black box
testing that exercise all the functional requirement of the project test cases are
designed using this approach by providing set of input conditions to get the
expected output.
FUTURE &
SCOPE
[Date]
148
1.3.1 Purpose: -
The purpose of this document is to specify requirements and to give guidelines
for the development of above said project. In particular it gives guidelines on how
to prepare the above said project.
• Group bookings: Allows the customer to book space for a group in the case of
weddings or corporate meetings (Event management).
1.3.2 Scope: -
This project traverses a lot of areas ranging from business concept to computing
field and required to perform several researches to be able to achieve the project
objectives.
•Car rental industry: This includes study on how the car rental business is being
done, process involved and opportunity that exist for improvement.
149
• Java Technology used for the development of the application.
• General customers as well as the company’s staff will be able to use the system
effectively.
• Web-platform means that the system will be available for access 24/7 except
when there is a temporary server issue which is expected to be minimal
• Eco-friendly: The monitoring of the vehicle activity and the overall business
becomes easy and includes the least of paper work.
• The software acts as an office that is open 24/7. It increases the efficiency of the
management at offering quality services to the customers.
[Date]
150
Bibliography
[Date]
151
References
The following books were referred during the analysis and execution phase of the
project
By Steven Pratschner
SOFTWARE ENGINEERING
By Roger S. Pressman
James Rambaugh
By David S Platt
MSDN 2003
By Microsoft
IMAGES
Google Search
Msn Search
Bing Search
- Alan Simpson.
[Date]
C# 2008
Andrew Troelson
152
WEBSITES:
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]’
[Link]
[Date]
153