Spring Tutorials


Spring Boot application.properties vs. application.yml

application.properties and application.yml both are the configuration files used in Spring Boot to configure application-specific properties. The main difference between […] Continue reading »

Spring @RestControllerAdvice Annotation Example

Spring Framework, with its extensive support for building RESTful APIs, offers a convenient way to handle exceptions using the @RestControllerAdvice […] Continue reading »

Does Spring Boot automatically close database connection?

Yes, Spring Boot can automatically manage and close database connections for you. Spring Boot provides integration with various database technologies […] Continue reading »

Types of Password Encoders in Spring Security

Securing user passwords is of utmost importance in any application. The Spring Framework, a popular Java-based framework, offers a variety […] Continue reading »

Securing Passwords with Spring Security Password Encoder

One of the critical aspects of application security is properly handling user passwords. Storing passwords in plain text or using […] Continue reading »

Simplify Data Access with Spring’s @Repository Annotation

In modern web development, efficient data access is crucial to building robust and scalable applications. The Spring Framework, with its […] Continue reading »

Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException

You might encounter the “Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException” error while upgrading Spring Boot and Swagger […] Continue reading »

Spring Boot- Disable Spring banner at startup

In your Spring Boot application, you can disable the Spring logo banner at the startup of the application. It can […] Continue reading »

How to change default banner text in Spring Boot

In this tutorial, you will learn how to change the default Spring Boot banner text with your own custom banner […] Continue reading »

Spring Boot Cookies Example

In this article, we’ll explore how to use cookies in the Spring Boot application. A cookie is a small piece […] Continue reading »

Generate QR Code using Spring Boot REST API

This tutorial will help you to expose REST API to generate the QR Code using the Spring Boot framework. QRGen library […] Continue reading »

1 2 3 4 12