Tagged articles
configuration-properties
14 articles · Page 1 of 1
The article explains the complete binding process of Spring Boot’s @ConfigurationProperties, covering configuration loading, property source merging, Binder execution, validation, registration, registration methods, naming conventions, complex type handling, metadata generation, and dynamic refresh, while providing practical code examples and troubleshooting tips.
BinderSpring Bootconfiguration-properties
0 likes · 17 min read

This article presents eight ready‑to‑use Spring Boot 3.5.0 code snippets—including MapStruct converters, embeddable collections, i18n helpers, secure random generators, custom runtime exceptions, type‑safe configuration properties, JPA auditing, and custom validation annotations—each illustrated with concrete examples and runnable code.
MapStructSpring Bootconfiguration-properties
0 likes · 13 min read

This article demonstrates how to dynamically register Spring Boot 3 beans using BeanDefinitionRegistryPostProcessor and configuration properties, covering property setup, bean class definition, post‑processor implementation, registration in a configuration class, and a CommandLineRunner test that prints the created beans.
BeanDefinitionRegistryPostProcessorDynamic Bean Registrationconfiguration-properties
0 likes · 7 min read

Spring Boot 3.4.0 introduces stronger type‑safe configuration, unified multi‑source support (YAML, properties, environment variables, command‑line), and improved IDE assistance, providing developers with clearer, safer, and more flexible ways to manage application settings compared with version 3.3.
IDE SupportSpring Bootconfiguration-properties
0 likes · 11 min read

Spring Boot 3.4.0 introduces stronger type‑safe configuration, unified multi‑source support, and improved IDE assistance, enabling developers to manage application settings more safely and efficiently compared with version 3.3, with practical examples for microservice scenarios.
IDE SupportSpring Bootconfiguration-properties
0 likes · 10 min read

This article walks through the complete process of creating a Spring Boot Starter that wraps the GrowingIO Java SDK, covering the motivation, project setup, property abstraction, auto‑configuration, custom logging, service implementation, and a simple test to verify the starter works in a Spring Boot application.
Auto-configurationGrowingIOJava SDK
0 likes · 20 min read

This guide demonstrates five practical Spring Boot 3 techniques—including using @ConfigurationProperties with validation, handling missing @Value entries, defining custom property sources, enforcing required properties, and parsing YML files—to ensure robust configuration management and prevent startup failures.
EnvironmentPostProcessorJavaSpring Boot
0 likes · 5 min read

This article explains the inner workings of Spring Boot's auto‑configuration mechanism, covering the role of @SpringBootApplication, @EnableAutoConfiguration, spring.factories scanning, conditional annotations, and how configuration properties are bound to beans, with code examples and diagrams for clear understanding.
Auto-configurationJavaSpring Boot
0 likes · 9 min read

This article explains how Spring Boot’s auto‑configuration works, covering the role of application properties, the @EnableAutoConfiguration annotation, condition annotations, the spring.factories mechanism, and how configuration properties are bound to beans such as ServerProperties to make settings like server.port effective.
Auto-configurationBackendJava
0 likes · 7 min read

This article explains how to use Spring's Java Validation to check configuration properties at application startup, demonstrates the required annotations, lists supported validation constraints, and shows how to implement and register custom validators to enforce business rules early in the boot process.
backend-developmentconfiguration-propertiesspring-boot
0 likes · 7 min read

This article explains how Spring Boot’s auto‑configuration mechanism operates, covering configuration files, key annotations like @EnableAutoConfiguration, the role of spring.factories, conditional annotations, and how properties are bound to beans to become effective at runtime.
AnnotationsAuto-configurationJava
0 likes · 9 min read

This tutorial demonstrates how to use Spring Boot's @Profile annotation to conditionally register beans based on active profiles, covering simple configuration files, multi‑condition expressions, logical operators, and default profile handling with complete code examples.
@ProfileConditional Beanconfiguration-properties
0 likes · 5 min read

This guide explains how to use Spring Boot's Actuator /actuator/configprops endpoint to track and retrieve real-time configuration property values across multiple environments, handle profile-specific settings, customize sensitive data masking, and integrate checks into CI pipelines.
ActuatorCIbackend-development
0 likes · 4 min read

Spring Boot 2.2.0 has been officially released, offering faster startup, lower memory usage, optional lazy initialization via the spring.main.lazy-initialization property, full Java 13 compatibility, immutable @ConfigurationProperties through constructor binding, and extensive RSocket auto‑configuration with a new starter.
Javaconfiguration-propertieslazy initialization
0 likes · 4 min read
