Tagged articles
Properties
18 articles · Page 1 of 1
This tutorial shows two standard Java approaches for loading a jdbc.properties file: using ClassLoader.getResourceAsStream with Properties, and using ResourceBundle.getBundle, each with complete code examples and output verification.
ClassLoaderConfigurationJava
0 likes · 3 min read

This article demonstrates seven practical ways to access configuration properties in a Spring Boot 3.5.0 application, covering ContextRefreshedEvent listeners, ConfigurableEnvironment, the Environment interface, @Value, @ConfigurationProperties, ConfigurableBeanFactory, and the Actuator /env endpoint, each with code examples and usage notes.
ActuatorConfigurationEnvironment
0 likes · 9 min read

This article reveals nine advanced Spring Boot YAML configuration techniques—including default environment variables, external file imports, application grouping, multi‑profile activation, conditional imports, custom structured properties, random values, multi‑document files, and anchors/aliases—each illustrated with code samples to help developers master robust configuration practices.
ConfigurationJavaProperties
0 likes · 9 min read

This article demystifies Spring Boot's auto‑configuration by breaking it into four layers—annotation composition, loading engine, conditional assembly, and property binding—providing clear explanations, code examples, and common pitfalls to help developers ace interview questions and master backend development.
AnnotationsAuto-configurationJava
0 likes · 6 min read

This article explains the purpose and usage of Spring's @ConfigurationProperties and @PropertySources annotations, demonstrates how to bind configuration files to Java beans, shows step‑by‑step examples for both annotations, and compares their roles in managing application properties.
BackendProperties
0 likes · 11 min read

This guide demonstrates how to retrieve command‑line arguments, use JSON‑encoded properties, load external configuration files, encrypt values, parse YAML, generate random properties, handle internationalization, customize the banner, and configure the application context in Spring Boot 3.0.9, providing code examples for each feature.
ConfigurationJavaProperties
0 likes · 9 min read


IT NiukeDec 18, 2023 · Backend Development
This article explains Maven's inheritance and aggregation features, including the super POM, parent POM configuration, module aggregation syntax, reactor build order, dependency management, property definitions, and useful command‑line options, all illustrated with a simple multi‑module demo.
MavenPropertiesdependencyManagement
0 likes · 18 min read

This article explains Doris's fundamental concepts such as rows, columns, tablets, and partitions, provides guidelines for column definition, partitioning and bucketing strategies, and details table creation syntax and property settings for optimal big‑data storage and query performance.
DorisOLAPPartitioning
0 likes · 15 min read

This guide shows how to store automated test data in JSON files within the resources folder, read and parse them using FastJSON and Hutool, and also retrieve configuration values from application.properties via ResourceBundle, providing reusable Java utility classes.
File I/OJSONJava
0 likes · 4 min read

This article explains Spring Boot's two configuration file formats—properties and YAML—detailing their syntax, how to map them to Java classes, and the various annotations (@ConfigurationProperties, @Value, @PropertySource) for retrieving configuration values, including custom file handling.
ConfigurationJavaProperties
0 likes · 11 min read

Spring Boot loads configuration files in a defined order, giving higher priority to application.properties over application.yaml, and searches locations such as file:./config/, file:./, classpath:/config/, and classpath:/, with merging behavior that interviewers often test.
ConfigurationPropertiesspring-boot
0 likes · 5 min read

Spring Boot 2.4 introduces a major overhaul of how application.properties and application.yml files are processed, adding deterministic document ordering, new profile activation keys, support for multi‑document properties, profile groups, import of external configuration, and Kubernetes‑aware volume mounts, while preserving backward compatibility through a legacy mode.
@ProfileConfigurationKubernetes
0 likes · 12 min read

This article explores advanced Python programming techniques, including using properties and descriptors to replace getters/setters, leveraging metaclasses for validation and registration, implementing concurrency with threads, subprocesses, queues, and coroutines, and utilizing built‑in modules such as functools, contextlib, copyreg, datetime, and decimal for robust development.
Propertiesadvancedbuilt-in modules
0 likes · 16 min read

This tutorial explains how Spring Boot loads configuration files, compares properties and YAML formats, shows how to define custom parameters, use random values, switch environments via profiles, and leverage the new Binder API with practical code examples for Java developers.
ProfilesPropertiesspring-boot
0 likes · 19 min read

This guide explains how Spring Boot loads configuration files, compares properties and YAML formats, shows code examples for custom properties, XML imports, command‑line arguments, and profile‑specific settings, and details the underlying loading order and priority rules.
ConfigurationProfilesProperties
0 likes · 7 min read

This article explains how Spring Boot allows external configuration through various sources such as command‑line arguments, JNDI, system properties, environment variables, random values, property files, @PropertySource, and default properties, detailing their priority order and usage examples with code snippets.
External ConfigurationJavaProperties
0 likes · 10 min read

This article provides a step‑by‑step guide to creating a Spring Boot project, explains core features such as embedded servlet containers and starters, demonstrates how to configure the main class, customize banners, manage properties, set up type‑safe beans, logging, and profile‑specific settings, all with runnable code examples.
ConfigurationJavaProperties
0 likes · 12 min read


21CTOJan 14, 2018 · Fundamentals
This tutorial walks you through Python's for loops, iterating over lists and dictionaries, demonstrates key-value access, explores class definitions, constructors, getters, setters, and property decorators, and shows how to create and manipulate objects with clear code examples.
ClassesDictionariesLoops
0 likes · 8 min read
