Category: Spring Boot

Deploy Spring Boot App on VM using Nginx, HTTPS Domain

Last updated on 28th October 2022 by H Sayyed | Category: Spring Boot

In this tutorial, you will learn how to deploy a Spring Boot Application on Digital Ocean Droplet. We will be using Nginx as webserver with Reverse Proxy for pointing to Domain. We will be using Lets Encrypt for making application secure with HTTPS. Prepare Virtual Machine Server We will be using Virtual Server for deploying […]

Read more 

Integrate Razorpay with Spring Boot / Java

Last updated on 9th October 2022 by H Sayyed | Category: Spring Boot

In this tutorial, we will learn how to integrate Razorpay Payment Gateway in a Spring Boot Application. We will add Razorpay checkout option with different payment amounts. We will be using Manual Javascript methods to add razorpay frontend. For demo purpose, we will be using Razorpay in Test Mode, once we have implemented, you can […]

Read more 

Pagination in Spring Boot using Thymeleaf

Last updated on 7th September 2022 by H Sayyed | Category: Spring Boot

In this blog, we will learn how to create pagination in Spring Boot Application using Thymeleaf. Pagination is very important if we have many instances of dataset and get data in chunks. Pagination helps to get data according to range of sequence. So lets implement pagination in Spring Boot using Thymeleaf and Bootstrap Pagination code. […]

Read more 

One-to-One Relationship in JPA

Last updated on 17th August 2022 by H Sayyed | Category: Spring Boot

In this tutorial, we’ll how to implement one to one relationship mapping in JPA with database table and schema example. There might be different use case to implementing one to one relationship. For example, one user will have only one user profile. Lets say we are developing a User Management System and we want to […]

Read more 

HttpSession in Spring Boot Session Management

Last updated on 2nd September 2022 by H Sayyed | Category: Spring Boot

In this tutorial, we will learn about Http Session in Spring Boot and how to implement it in a project. Learn set session attributes and get attributes. How to use User session and authentication session. Learn session management and how to use it according to our need and purpose. Lets get started. A Simple Project: […]

Read more 

Solve WebSecurityConfigurerAdapter Deprecated

Last updated on 16th August 2022 by H Sayyed | Category: Spring Boot

Getting deprecated warning or issue when extends WebSecurityConfigurerAdapter in Spring Boot. This is because WebSecurityConfigurerAdapter is no longer recommended. The alternative for this is SecurityFilterChain class. In this tutorial, you will learn how to remove or resolve the WebSecurityConfigurerAdapter deprecated warning and instead implement SecurityFilterChain in your spring boot application. Bellow are the some warning […]

Read more 

Login and Register Example in Spring Boot 2.7.2

Last updated on 16th August 2022 by H Sayyed | Category: Spring Boot

In this tutorial, you will learn how to create Login and Register functionality in spring boot. You can use this tutorial with different databases like PostgreSQL or MySQL and build tools like gradle or maven. This tutorial is implemented on Maven, PostgreSQL, SecurityFilterChain and Standard Folder Structure. You will find how to use User Role […]

Read more 

How to use Fragments in Thymeleaf

Last updated on 12th August 2022 by H Sayyed | Category: Spring Boot

In this tutorial, you will learn how to create reusable html / javascript component in Thymeleaf. It is always good to keep our code DRY (Don’t Repeat Yourself), so making some common reusable parts for site where we can use it in different pages or files. Learn more about thymeleaf. Thymeleaf is a template engine. It […]

Read more 

Use Thymeleaf and Bootstrap 5 Template Engine in Spring Boot

Last updated on 11th August 2022 by H Sayyed | Category: Spring Boot

Do you want to use Template Engine in Spring Boot Project – Thymeleaf is the best. Thymleaf is java library to which communicate between backend (java) and frontend (HTML, Js). It is server-side Java template which helps us to create beautiful HTML / XML templates. Thymeleaf can process six types of templates are as follows: […]

Read more 

Spring Boot Project – Code & Folder Structure and Best Practices

Last updated on 11th August 2022 by H Sayyed | Category: Spring Boot

If you are working on projects, it is very important to have proper folder structure and files. This is very important and we should do this in very initial phase of project. In this blog, will explain you the best standard practice and files for spring boot project. Learn how to integrate standard ways and […]

Read more