Tag: java
One-to-One Relationship in JPA
Last updated on 5th March 2023 by H Sayyed | Category: Spring Boot
Introduction In Java Persistence API (JPA), relationships between entities are used to model the interactions between objects in the application and their corresponding data in the database. One of the most common relationships is the One-to-One relationship, which allows a single instance of an entity to be associated with only one instance of another entity. […]
HttpSession in Spring Boot Session Management
Last updated on 5th March 2023 by H Sayyed | Category: Spring Boot
Session management is an essential part of web applications. It allows the server to store and retrieve user-specific data between requests. HttpSession is a built-in mechanism provided by the Java Servlet API to manage sessions. Spring Boot makes it easy to use HttpSession in your web applications. In this blog post, we will demonstrate how […]
Solving WebSecurityConfigurerAdapter Deprecated Warning in Spring Boot 2.x
Last updated on 5th March 2023 by H Sayyed | Category: Spring Boot
In the world of web development, security is a top priority. With the rise of cyber threats, developers need to take precautions to ensure that their applications are secure. One popular framework that developers use to build web applications is Spring Boot. However, with the release of Spring Boot 2.x, there have been some changes […]
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 […]
Using Fragments in Thymeleaf: A Guide to Reusable HTML Templates
Last updated on 5th March 2023 by H Sayyed | Category: Spring Boot
Thymeleaf is a popular server-side Java template engine used to build dynamic web applications. One of its key features is its ability to work with fragments, which are reusable HTML templates that can be included in multiple pages. This can help reduce code duplication and make it easier to maintain your web application. In this […]
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: […]
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 […]
How to Connect PostgreSQL Database in Spring Boot Project
Last updated on 7th March 2023 by H Sayyed | Category: Spring Boot
If you’re looking to build a Java Spring application that utilizes a PostgreSQL database, you’re in luck. Spring Boot makes it simple to integrate with a variety of data sources, including PostgreSQL. In this blog, we’ll walk you through how to connect your PostgreSQL database to your Spring Boot project, assuming you already have PostgreSQL […]
Initial Project Setting – Starter Template for Spring Boot Project
Last updated on 11th August 2022 by H Sayyed | Category: Spring Boot
Developing your first Spring Boot application or starting from scratch. This blog is a great boilerplate or starter template for your spring boot project. Learn how to set up your project using the standard folder structure and files. You will learn how to setup your Spring Boot project using standard settings, folder structure. Learn how […]