Spring Boot Annotations 1. Overview Spring Boot made configuring Spring easier with its auto-configuration feature. In this quick tutorial, we’ll explore the annotations from the org.springframework.boot.autoconfigure and org.springframework.boot.autoconfigure.condition packages. 2. @SpringBootApplication We use this annotation to mark the main class of a Spring Boot application: @SpringBootApplication class VehicleFactoryApplication { public… Continue Reading spring-boot-annotations

Guide to @ConfigurationProperties in Spring Boot 1. Introduction One handy feature of Spring Boot is externalized configuration and easy access to properties defined in properties files. An earlier article described various ways in which this can be done. We are now going to explore the @ConfigurationProperties annotation in greater detail.… Continue Reading configuration-properties-in-spring-boot

Configure a Spring Boot Web Application 1. Overview Spring Boot can do a lot of things; in this tutorial, we’re going to go over a few of the more interesting configuration options in Boot. Further reading: Migrating from Spring to Spring Boot See how to properly migrate from a Spring… Continue Reading spring-boot-application-configuration

Spring Boot Tutorial – Bootstrap a Simple Application 1. Overview Spring Boot is an opinionated, convention-over-configuration focused addition to the Spring platform – highly useful to get started with minimum effort and create stand-alone, production-grade applications. This tutorial is a starting point for Boot – a way to get started… Continue Reading spring-boot-start

Spring Boot Security Auto-Configuration 1. Introduction In this article, we’ll have a look at Spring Boot’s opinionated approach to security. Simply put, we’re going to focus on the default security configuration and how we can disable or customize it if we need to. Further reading: Spring Security – security none,… Continue Reading spring-boot-security-autoconfiguration