Online Nursery Store System in Java using JSP and Servlet with Source Code

The Online Nursery Store System project is developed in Java with free source code for students pursuing degrees in the IT and Computer Science fields. This project makes nursery shopping simple and convenient by allowing users to browse and purchase their favorite plants online.

The project is suitable for students looking for a Java minor or major project with source code. It demonstrates how a Java web application can be developed using JSP, Servlet, MySQL, JDBC, Bootstrap, and the MVC architecture.

Online Nursery Store System in Java

The Online Nursery Store System is a web-based application with two main roles: Admin and User. The Admin has complete control over managing the nursery store, while Users can register, browse plants, and place orders online.

The Admin is responsible for managing plants, plant categories, prices, stock availability, user details, and orders. Users can create an account, search for plants, add plants to their basket, place orders, and make payments.

The whole project is developed using Java Servlet and JSP. At the front end, HTML, CSS, JavaScript, and Bootstrap are used. JDBC API is used for database connectivity, and MySQL is used as the database. The project follows the MVC (Model View Controller) design pattern.

You can also watch the project demonstration here:

Online Nursery Store Abstract

Plants and flowers can make a home look beautiful and create a pleasant environment. Many people like to keep different types of plants at home, including flowering plants, non-flowering plants, cactus, and other decorative plants.

The Online Nursery Store System provides a simple way for users to browse different plants and purchase them online. Users can register on the website and search for plants based on their category, name, availability, and price.

Codebun has developed this Online Nursery Store project in Java with two main roles: Admin and User. The Admin is the primary user of the system and can manage plant categories, add new plants, update plant details, remove plants, change prices, and manage stock availability.

The Admin can also view orders placed by users and confirm or cancel orders. User information and payment details can also be managed through the system.

Users can browse available plants, search for plants by name or category, add plants to their basket, place orders, and make payments online.

Major Objectives of the Online Nursery Store System

The major objectives of this application are:

  1. To provide a simple and user-friendly online nursery shopping system.
  2. To allow users to browse and purchase plants online.
  3. To provide Admin functionality for managing plants, categories, users, and orders.
  4. To maintain records of plants, users, payments, and purchase history.
  5. To provide a structured and organized system for managing an online nursery store.
  6. To develop the project using Java web technologies and the MVC design pattern.

Modules in Online Nursery Store System

Admin Login

This module allows the Admin to log in securely and access the management features of the Online Nursery Store System.

User Login and Registration

Users can register themselves and log in to the system using their account details. After logging in, users can browse plants and place orders.

Plant Category

The Admin can create and manage different plant categories, such as flowering plants, non-flowering plants, cactus, and other categories.

Plant Management

The Admin can add new plants and update or delete existing plant information. Plant details such as name, category, price, and availability can be managed through this module.

Plant Availability

The Admin can check and update the stock availability of plants. Users can view the plants that are currently available for purchase.

Price Management

The Admin can manage the prices of different plants available in the nursery store.

User Details

The system maintains user information such as name, contact number, and address. The Admin can manage user-related information through the system.

Order Management

The Admin can view orders placed by users and manage their status. Orders can be confirmed or cancelled by the Admin.

Sold Quantity

The Admin can keep track of the quantity of plants sold through the system.

Payment

Users can make payments for their selected plants while placing an order. The system also maintains payment-related records.

User Roles

There are two main types of users in the Online Nursery Store System:

  1. Admin
  2. User

Admin

The Admin can:

  • Log in and log out of the system.
  • Add, edit, and delete plants.
  • Add, edit, and delete plant categories.
  • View and manage orders placed by users.
  • Confirm or cancel user orders.
  • Check payment details.
  • Manage plant prices.
  • Manage plant availability and stock.
  • Change the Admin password.
  • Manage the Admin profile.
  • Manage user information.

User

The User can:

  • Register and log in to the system.
  • Log in and log out of the system.
  • Manage their profile.
  • Search for plants by category.
  • Search for a specific plant by name.
  • View plant details and prices.
  • Add plants to the basket.
  • Place orders.
  • Cancel orders where applicable.
  • Make payments online.
  • Change their password.

Flow Diagram for Online Nursery Store System

Level 0 Flow Diagram

Level 1 Flow Diagram

Level 2 Admin Flow Diagram

Level 2 User Flow Diagram

Tools and Technologies Used

Technology/Domain: Java

Front-End: JSP, HTML, CSS, JavaScript, Bootstrap

Server-Side: Servlet

Database: MySQL

Database Connectivity: JDBC

Architecture: MVC (Model View Controller)

Server: Apache Tomcat 8.5

Java Web Project Configuration Tutorial

If you are setting up this project on your computer, you can follow our Java Web Project Configuration Tutorial. It explains the basic configuration required to run Java web projects using JSP, Servlet, Tomcat, and MySQL.

Java Web Project Configuration Tutorial:
https://codebun.com/java-web-project-configuration/

Free Project Source Code

The complete source code of the Online Nursery Store System is available for free. Students can use the source code to understand the project structure, Java web development, database connectivity, and MVC architecture.

Get Free Source Code on GitHub:
https://github.com/jcodebun/Online-Nursery-Shop.git

This project can be useful for Computer Science and IT students who are looking for a Java project with source code for their college project, minor project, or major project.