Tree Shop Project in Java using JSP and Servlet with Source Code

The Tree Shop project is designed in Java along with the source code for the students who are pursuing degrees in the IT field. This project is designed to automate the process of a Tree Shop thereby, easing the process of managing it and keeping records of every single detail related to the shop.

Tree Shop System in Java

It is a multi-role application project i.e. Admin and User, where Admin will have the main control over the system.

Admin will be responsible for maintaining the system and also, keeping a check on the plantation and management of trees, and updating any details related to the Tree Shop. On the other hand, Users can register themselves and can look for the trees of their choices.

The whole project is developed using Servlet and JSP. At the front end, we have used HTML, CSS, and Bootstrap. At the data access layer, we have used JDBC API. The Database used here is MYSQL. The whole project is following the MVC (Model View & Controller) design pattern.

Tree Shop Project Abstract

Trees and plants do give completely different vibes. Having trees and plants in the house not only makes your home look beautiful but also, helps you with your health. Trees and plants are natural air purifiers, keeping yourselves surrounded by them can help in purifying the air and increasing the oxygen level around you. Green colors are also soothing for the eyes. There is a variety of trees to choose from for your garden.

A project that will simplify the tree choices and also, help shop for favorite trees. It will have several categories of plants like softwood trees, hardwood trees, deciduous, bearing, and non-bearing trees, etc. Users will have to first register themselves using their name and contact number and then can make budget-friendly choices out of all the categories available.

Codebun has designed a Tree Shop project in java, which has two main roles i.e Admin and User. Admin being the primary user. Admin can categorize the trees, add/remove/update any tree/tree details, edit prices of the trees, view/confirm/cancel orders placed by users, check the availability of a tree, so on. Admin can keep all the records of the Users. Users can select any tree of their choices, make payments online and get it delivered to the doorstep.

The following are the major objective of this application:

  1. To provide a bug-free application.
  2. The main objective is to build a secured, robust Tree Shop System.
  3. It maintains the record of Trees, Users, Payments, Purchase history, etc.

Modules in Tree Shop System Project

Admin Login– This module will allow Admin to log in to the system and manage the system and its functions.

User Login–The user module will allow users to log in to the system using their names and contact number.

Category: In this module, Trees can be categorized accordingly.

Name: This module will allow the admin and users to check the Tree name.

Availability: In this module, Admin can check whether the particular tree from a specific category is available in stock or not.

Prices Range: Trees of different price ranges can be managed in this module by Admin.

Details of User: Details of a User like a Name, Contact Number, Address can be managed with this module.

Sold Quantity: This module will allow the admin to keep records of the number of Trees sold.

Users Roles

Two users can interact with this application 1) Admin 2) User


  • Can log in/log out of the system.
  • Admin can view/edit/delete trees into the system.
  • Can view/edit/delete Tree Category into the system
  • Admin can view/confirm/cancel orders placed by User.
  • Can check payments done by User.
  • Can change prices of trees.
  • Can change password.
  • Can manage “My profiles”.


  • Can log in/log out of the system.
  • Can Manage “My profile”.
  • Can search for Tree Categories.
  • Can search for a specific Tree using their names.
  • Users can place/cancel an order.
  • Can make payments online.
  • Can change password.

Flow Diagram for Tree Shop System

Tools and Technologies Used

Technology/Domain: Java
Front-End: JSP, Html, CSS, JS, Bootstrap.
Server-side: Servlet.
Back-end: MYSQL.
Server: Tomcat 8.5.

Contact to get Source code

Skype Id: jcodebun

Note: If you need the source code you can contact Us. We will provide complete source code and all the required things like Database and project reports with all the diagrams. Also, we have created a STEP by STEP configuration tutorial to help you in the configuration process.

If you find any kind of difficulties during the configuration, we will provide a complete project configuration guide remotely using any Desk or Zoom.