Tag

Spring Framework

1 views collected around this technical thread.

Java Architecture Diary
Java Architecture Diary
Jun 16, 2025 · Information Security

Why Spring Framework’s RFD Bug Lets Attackers Download Malicious Files—and How to Patch It

Spring’s latest security advisory reveals a critical Reflection File Download (RFD) vulnerability affecting multiple Spring Framework versions, allowing crafted requests to force users to download malicious files, and provides detailed conditions, unaffected scenarios, version impact, and recommended remediation steps.

Content-DispositionRFD vulnerabilitySpring Boot
0 likes · 5 min read
Why Spring Framework’s RFD Bug Lets Attackers Download Malicious Files—and How to Patch It
Architecture Digest
Architecture Digest
Apr 23, 2025 · Backend Development

Spring Framework 7.0 Native API Versioning Support and Implementation Guide

This article explains the importance of API version control, outlines common versioning strategies, and demonstrates how Spring Framework 7.0 introduces native support with a version attribute on @RequestMapping, custom resolvers, client usage examples, and best‑practice recommendations for managing multi‑version APIs.

API versioningJavaREST
0 likes · 10 min read
Spring Framework 7.0 Native API Versioning Support and Implementation Guide
Java Architecture Diary
Java Architecture Diary
Apr 18, 2025 · Backend Development

How to Disable Automatic HTTP Header Binding in Spring Boot 3.4 and Avoid Version Field Conflicts

This article explains why Spring Boot 3.4's new automatic HTTP header binding can corrupt DTO fields like version used for optimistic locking, and provides a global ControllerAdvice solution plus alternative strategies to prevent such conflicts in microservice environments.

ControllerAdviceHTTP Header BindingSpring Boot
0 likes · 6 min read
How to Disable Automatic HTTP Header Binding in Spring Boot 3.4 and Avoid Version Field Conflicts
macrozheng
macrozheng
Jan 23, 2025 · Backend Development

Unlock Spring Boot’s Hidden Extension Points: A Complete Guide to Bean Lifecycle Hooks

This article walks through every extensible hook in Spring and Spring Boot—from container refresh and ApplicationContextInitializer to BeanFactoryPostProcessor, InstantiationAwareBeanPostProcessor, SmartInitializingSingleton, and more—showing when each runs, how to implement it, and practical code examples for Java developers.

Extension PointsJavaSpring Boot
0 likes · 18 min read
Unlock Spring Boot’s Hidden Extension Points: A Complete Guide to Bean Lifecycle Hooks
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 4, 2024 · Backend Development

Spring Boot 3 Essentials: Lifecycle, Bean Creation, Validation & More

This article presents a comprehensive collection of over 50 Spring Boot 3 practical examples, covering core topics such as the Lifecycle and SmartLifecycle interfaces, custom FactoryBean implementations, graceful shutdown in non‑web environments, resource injection, parameter validation, and type conversion techniques.

Backend DevelopmentJavaSpring Boot
0 likes · 10 min read
Spring Boot 3 Essentials: Lifecycle, Bean Creation, Validation & More
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 20, 2024 · Backend Development

Overview of Spring Framework Utility Classes

This article provides a comprehensive overview of Spring's built‑in utility classes—including assertion, string, collection, object, file/resource, web, reflection, AOP, path‑matching, and ID generation helpers—illustrating their usage with code examples and highlighting how they improve development efficiency and code quality.

Backend DevelopmentJavaSpring
0 likes · 12 min read
Overview of Spring Framework Utility Classes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 15, 2024 · Backend Development

Spring Boot 3.2.5 New Features: Multithreaded Bean Init, @Fallback, RestClient & More

This article walks through Spring Boot 3.2.5 enhancements including multithreaded bean initialization, the new @Fallback annotation, handling duplicate bean names, RestClient.create(URI) usage, header binding to records, expanded task‑scheduler metadata, and a host of other backend improvements.

AnnotationsBackend DevelopmentJava
0 likes · 9 min read
Spring Boot 3.2.5 New Features: Multithreaded Bean Init, @Fallback, RestClient & More
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 17, 2024 · Backend Development

Mastering Spring Boot 3 @ComponentScan: Advanced Configurations & Examples

This article provides a comprehensive, step‑by‑step guide to using Spring Boot 3's @ComponentScan annotation, covering basic usage, package filtering, include/exclude filters, lazy initialization, custom name generators, scoped proxies, and custom scope resolvers, complete with runnable code samples and output screenshots.

Backend DevelopmentComponentScanSpring Boot
0 likes · 12 min read
Mastering Spring Boot 3 @ComponentScan: Advanced Configurations & Examples
Lobster Programming
Lobster Programming
Sep 21, 2024 · Backend Development

Mastering Spring Boot Transaction Hooks for Advanced Business Logic

This article explains how Spring Boot’s @Transactional annotation works, introduces programmatic transaction management, and demonstrates how to create custom transaction hook functions with TransactionSynchronizationManager and TransactionSynchronization to execute custom logic at each transaction phase, improving robustness and maintainability.

Backend DevelopmentJavaSpring Boot
0 likes · 4 min read
Mastering Spring Boot Transaction Hooks for Advanced Business Logic
Java Architecture Diary
Java Architecture Diary
Sep 14, 2024 · Backend Development

Preventing Path Traversal in Spring MVC/Fn: Vulnerability Details and Fixes

This article explains how static resource handling via WebMvc.fn or WebFlux.fn can be exploited for path traversal, lists the affected Spring Framework and Spring Boot versions, and provides mitigation steps such as upgrading, enabling Spring Security HttpFirewall, or switching to Tomcat/Jetty.

JavaPath TraversalSecurity
0 likes · 5 min read
Preventing Path Traversal in Spring MVC/Fn: Vulnerability Details and Fixes
Java Architecture Diary
Java Architecture Diary
Aug 16, 2024 · Information Security

Fix Critical Spring Framework CVE-2024-38808 & CVE-2024-38809

Spring Framework versions up to 5.3.38 and certain Spring Boot releases contain two severe DoS vulnerabilities (CVE-2024-38808 and CVE-2024-38809); this guide explains their impact, affected products, and provides detailed mitigation steps, including version upgrades and configuration changes to secure your applications.

Backend DevelopmentCVE-2024-38808CVE-2024-38809
0 likes · 6 min read
Fix Critical Spring Framework CVE-2024-38808 & CVE-2024-38809
Selected Java Interview Questions
Selected Java Interview Questions
May 26, 2024 · Backend Development

Comprehensive Guide to Spring Boot Annotations

This article provides a detailed overview of the most commonly used Spring Boot annotations, covering core, prototype, Spring Boot, Spring Cloud, caching, testing, database access, JPA, and global exception handling annotations, with clear explanations and practical Java code examples for each.

AnnotationsBackend DevelopmentJava
0 likes · 17 min read
Comprehensive Guide to Spring Boot Annotations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 27, 2024 · Backend Development

Inside Spring 6 Bean Creation: A Step‑by‑Step Deep Dive

This article walks through Spring 6.1.2’s bean creation lifecycle, from the refresh entry point to property population, initialization, and disposable bean registration, illustrating each step with concise code examples and detailed explanations.

Backend DevelopmentJavaSpring
0 likes · 10 min read
Inside Spring 6 Bean Creation: A Step‑by‑Step Deep Dive
macrozheng
macrozheng
Feb 7, 2024 · Backend Development

Master Spring’s Essential Utility Classes: Assert, StringUtils, BeanUtils & More

This comprehensive guide walks you through the most useful Spring framework utility classes—including Assert, StringUtils, CollectionUtils, ObjectUtils, ClassUtils, BeanUtils, ReflectionUtils, Base64Utils, SerializationUtils, HttpStatus, and HtmlUtils—showing practical code examples and explaining when and how to use each to streamline Java backend development.

Backend DevelopmentJavaSpring
0 likes · 15 min read
Master Spring’s Essential Utility Classes: Assert, StringUtils, BeanUtils & More
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 27, 2024 · Backend Development

Analyzing the SpringBoot run Method: From Startup to Execution

This article provides a comprehensive analysis of SpringBoot's run method, explaining its overall flow, the creation of SpringApplication objects, argument parsing, environment preparation, context refresh, and key extension points, while offering code examples to help developers understand the startup process.

Backend DevelopmentJavaSpring Framework
0 likes · 9 min read
Analyzing the SpringBoot run Method: From Startup to Execution
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 24, 2023 · Backend Development

Unlock Spring Boot Startup: All Events Explained with Code Samples

This article explains every Spring Boot startup event, from ApplicationStartingEvent to ApplicationFailedEvent, showing when each occurs, how to customize them, and providing clear code examples to help developers extend and debug their applications effectively.

Application EventsBackend DevelopmentJava
0 likes · 10 min read
Unlock Spring Boot Startup: All Events Explained with Code Samples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 23, 2023 · Backend Development

Mastering Spring’s Type Conversion: Services, Custom Converters, and Best Practices

This article explains Spring’s type conversion system, introduces the core conversion service interfaces, demonstrates how to use GenericConversionService, DefaultConversionService, and WebConversionService, and provides step‑by‑step examples of custom converters, factories, generic converters, and their registration in Spring MVC.

JavaSpringSpring Framework
0 likes · 13 min read
Mastering Spring’s Type Conversion: Services, Custom Converters, and Best Practices
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 18, 2023 · Backend Development

Unveiling Spring’s @Autowired vs @Resource: Deep Dive into Injection Mechanics

This article explains the fundamental differences between Spring's @Autowired and @Resource annotations, walks through their underlying source code, and demonstrates how Spring resolves dependencies by type or by name, complete with annotated code examples and processor internals.

AutowiredJavaResource
0 likes · 9 min read
Unveiling Spring’s @Autowired vs @Resource: Deep Dive into Injection Mechanics
Java Architecture Diary
Java Architecture Diary
Jul 21, 2023 · Backend Development

What’s New in Spring Boot 3.1.2? Key Features, Improvements & Fixes

Spring Boot 3.1.2, released on July 20, 2023, upgrades to Spring Framework 6.0.6, adds Java 19 support, enhances Devtools, Micrometer metrics, REST Docs, and fixes several bugs including MongoDB test failures and Actuator metrics issues, requiring Java 17+.

DevtoolsJava 19Micrometer
0 likes · 2 min read
What’s New in Spring Boot 3.1.2? Key Features, Improvements & Fixes
Java Architecture Diary
Java Architecture Diary
Jun 23, 2023 · Backend Development

What’s New in Spring Boot 3.1.1? 89 Bug Fixes and Major Dependency Updates

Spring Boot 3.1.1, now on Maven Central, brings 89 bug fixes, documentation enhancements, and a comprehensive upgrade of 40+ dependencies, providing developers with improved stability and compatibility across the Spring ecosystem.

Bug FixesDependency UpgradeJava
0 likes · 7 min read
What’s New in Spring Boot 3.1.1? 89 Bug Fixes and Major Dependency Updates