Skip to content
Tagged articles

Spring Framework

143 articles · Page 1 of 2
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Nov 20, 2026 · Backend Development

Master Spring 7.0.8 Source Code: Setup, Pre-compilation Pitfalls & Debug-Driven Reading Guide

This comprehensive guide walks through setting up Spring Framework 7.0.8 source code environment with JDK 17/25, Gradle Wrapper, pre-compilation of spring-core and spring-oxm, IDEA import configuration, creating a minimal debug module, and a systematic debug-driven methodology for reading core IoC/AOP flows including the refresh() 12-step lifecycle.

AOPBean LifecycleDebugging
0 likes · 61 min read
Master Spring 7.0.8 Source Code: Setup, Pre-compilation Pitfalls & Debug-Driven Reading Guide
IoT Full-Stack Technology
IoT Full-Stack Technology
Nov 12, 2026 · Backend Development

Spring-Smart-DI: Dynamic Provider Switching Without Restart Using @AutowiredProxySPI

This tutorial demonstrates how spring-smart-di's @AutowiredProxySPI annotation enables dynamic switching between service provider implementations by injecting a proxy that resolves the active implementation from configuration at runtime, eliminating manual bean lookups and allowing zero-restart changes via @EnvironmentProxySPI or custom config sources like databases.

@AutowiredProxySPI@EnvironmentProxySPISpring Framework
0 likes · 7 min read
Spring-Smart-DI: Dynamic Provider Switching Without Restart Using @AutowiredProxySPI
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Nov 12, 2026 · Backend Development

Spring 7.0.8 Source Code: Move Beyond Interview Clichés to Framework Extension

This article explains why reading Spring Framework 7.0.8 source code enables developers to extend the framework rather than just memorize interview answers, covering core extension points like BeanPostProcessor, BeanFactoryPostProcessor, and BeanRegistrar, the three-level cache for circular dependencies, AOP proxy weaving, and practical debugging techniques.

AOP ProxyBeanFactoryPostProcessorBeanPostProcessor
0 likes · 54 min read
Spring 7.0.8 Source Code: Move Beyond Interview Clichés to Framework Extension
Java Captain
Java Captain
Nov 8, 2026 · Backend Development

Why Dependency Injection Thrives in Java But Not Go or C++: IoC Trade-offs

The article explains that dependency injection is just one inversion-of-control pattern; Java adopts DI due to its object-oriented purity and reflection-enabled runtime frameworks, while Go and C++ prefer lighter callbacks, closures, and compile-time abstraction via headers, making DI frameworks less necessary despite the pattern's universal value for decoupling and testing.

C#DecouplingDependency Injection
0 likes · 6 min read
Why Dependency Injection Thrives in Java But Not Go or C++: IoC Trade-offs
Java Architect Essentials
Java Architect Essentials
Nov 1, 2026 · Backend Development

Spring's Hidden Async Alternative to MQ: Built-in Events for In-Process Decoupling

This article explains how Spring's built-in event mechanism provides a lightweight alternative to message queues for in-process asynchronous decoupling, covering synchronous vs asynchronous handling, transactional event listeners, thread pool configuration, lifecycle events, and when persistent solutions are needed.

Application Lifecycle EventsAsynchronous ProgrammingIn-Process Decoupling
0 likes · 7 min read
Spring's Hidden Async Alternative to MQ: Built-in Events for In-Process Decoupling
Java Tech Workshop
Java Tech Workshop
Oct 24, 2026 · Backend Development

How Spring Boot Auto-Configuration Finds and Loads Classes: A Deep Dive

This article explains Spring Boot's auto-configuration mechanism, covering how @EnableAutoConfiguration triggers AutoConfigurationImportSelector, loads candidate classes from META-INF imports files, evaluates conditional annotations like @ConditionalOnClass and @ConditionalOnMissingBean at different phases, orders configurations via @AutoConfigureBefore/After, binds properties with @ConfigurationProperties, and troubleshoots silent failures using --debug and ConditionEvaluationReport.

Auto-ConfigurationDebuggingJava
0 likes · 24 min read
How Spring Boot Auto-Configuration Finds and Loads Classes: A Deep Dive
Architecture Pony
Architecture Pony
Oct 13, 2026 · Backend Development

Spring Framework 6.x Internals: Core Processes, Source Code & Learning Roadmap

This comprehensive guide covers Spring Framework 6.x and Spring Boot 3.x internals, including version migration, IoC/DI mechanisms, AOP proxy creation, bean lifecycle, circular dependency resolution, Spring MVC request processing, transaction management, auto-configuration, AOT compilation, and a structured learning roadmap with best practices.

AOPAOT CompilationAuto-Configuration
0 likes · 56 min read
Spring Framework 6.x Internals: Core Processes, Source Code & Learning Roadmap
Java Captain
Java Captain
Sep 29, 2026 · Backend Development

Spring AOP with Annotations: Pointcuts, Advice Types & Data Binding

This tutorial explains Spring AOP using annotations, covering core concepts like join points, pointcuts, and advice types (before, after, around, etc.), with detailed examples of pointcut expressions and how to access method parameters, return values, and exceptions in advice methods.

AnnotationsJoinPointProceedingJoinPoint
0 likes · 12 min read
Spring AOP with Annotations: Pointcuts, Advice Types & Data Binding
Architect's Tech Stack
Architect's Tech Stack
Sep 29, 2026 · Industry Insights

Navicat Gone, Spring Shrunk: GPT-6 AI Takes Over Backend Workflows

The author explains how OpenAI's GPT-6 model family with computer-use capabilities and halved pricing eliminates the need for tools like Navicat and reduces Spring to a template, shifting backend developers from code writing to problem definition and model output auditing.

AI-assisted developmentAutomationBenchDeepSWE
0 likes · 5 min read
Navicat Gone, Spring Shrunk: GPT-6 AI Takes Over Backend Workflows
ITPUB
ITPUB
Sep 3, 2026 · Backend Development

Master Java Callbacks & Functional Programming: Write Elegant, Structured Code Beyond CRUD

This article explains Java callback mechanisms — synchronous and asynchronous — through interfaces, anonymous classes, lambdas, and CompletableFuture, demonstrates their use in Spring's BeanFactory and a payment integration, and shows how functional interfaces enable flexible data transformation for multi-bank integration.

CallbackCompletableFutureDesign Patterns
0 likes · 15 min read
Master Java Callbacks & Functional Programming: Write Elegant, Structured Code Beyond CRUD
21CTO
21CTO
Sep 1, 2026 · Industry Insights

Broadcom Commits to Securing Key Open‑Source Python and Java Libraries (Spring, RabbitMQ, and More)

On September 1, Broadcom announced it will assume security responsibility for critical open‑source projects such as Spring and RabbitMQ, launch a TrueSource service to identify and protect essential components, and work closely with upstream maintainers to ensure clean, safe libraries across the Java, Python, and Node.js ecosystems.

BroadcomRabbitMQSpring Framework
0 likes · 5 min read
Broadcom Commits to Securing Key Open‑Source Python and Java Libraries (Spring, RabbitMQ, and More)
Code Archaeology
Code Archaeology
Aug 24, 2026 · Backend Development

Why Spring Changed HttpMethod from Enum to Class: Fixing an Open Set Mismatch

Spring changed HttpMethod from enum to class in Spring 6.0 because HTTP methods form an open, extensible set per RFC 7231, making enum's closed nature a poor fit that forced workarounds like dual getters and null-returning resolve methods until a major version break allowed the fix.

API designEnum vs ClassHTTP Methods
0 likes · 7 min read
Why Spring Changed HttpMethod from Enum to Class: Fixing an Open Set Mismatch
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Aug 18, 2026 · Backend Development

Build Your Own Spring IoC Container: From Core Principles to Circular Dependency Resolution

This article guides you through building a minimal Spring IoC container from scratch, covering BeanDefinition metadata, BeanFactory design, full bean lifecycle, three-level cache for circular dependencies, BeanPostProcessor for AOP extension points, with runnable code and interview Q&A.

Bean LifecycleBeanPostProcessorCircular Dependency
0 likes · 34 min read
Build Your Own Spring IoC Container: From Core Principles to Circular Dependency Resolution
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 13, 2026 · Backend Development

Discover Spring Boot’s New BeanFactoryInitializer – Early Bean Initialization Made Easy

Spring Boot 3.5 introduces the BeanFactoryInitializer extension point, allowing developers to safely pre‑instantiate specific beans before the regular singleton pool, replace unsafe BeanFactoryPostProcessor hacks, fetch remote configurations, and programmatically register @Tool‑annotated beans, all demonstrated with concrete code examples and a working test.

BeanFactoryInitializerFactoryBeanJava
0 likes · 8 min read
Discover Spring Boot’s New BeanFactoryInitializer – Early Bean Initialization Made Easy
CodeSmart Hoops
CodeSmart Hoops
Aug 6, 2026 · Backend Development

Spring Container Full-Stack Walkthrough: 12 Interview Questions & Answers

This article provides a comprehensive Spring container walkthrough covering the full lifecycle—from bean definition scanning and proxy creation during startup to request handling, AOP interception, transaction and caching mechanisms—plus detailed answers to 12 common interview questions with code examples and best‑practice recommendations.

AOPBackendCache
0 likes · 21 min read
Spring Container Full-Stack Walkthrough: 12 Interview Questions & Answers
IT Services Circle
IT Services Circle
Jul 20, 2026 · Backend Development

Why Spring Is Dropping Feign: A Deep Dive into @HttpExchange vs Feign

This article analyzes why Spring Framework introduced the native @HttpExchange HTTP client to replace OpenFeign, comparing their architectures, dependencies, proxy mechanisms, performance benchmarks, and offering migration guidance for developers deciding between the two declarative HTTP solutions.

FeignHTTP ClientSpring Boot
0 likes · 14 min read
Why Spring Is Dropping Feign: A Deep Dive into @HttpExchange vs Feign
Code Ape Tech Column
Code Ape Tech Column
Jul 1, 2026 · Backend Development

How Spring Integration Simplifies Inter‑Service Messaging

This article explains Spring Integration’s core concepts—messages, channels, endpoints, adapters, filters, and transformers—shows how to configure them with XML or Java, compares the framework to traditional middleware, and provides a complete e‑commerce order‑processing example with code snippets and interceptor techniques.

Design PatternsJavaSpring Framework
0 likes · 20 min read
How Spring Integration Simplifies Inter‑Service Messaging
CodeSmart Hoops
CodeSmart Hoops
May 18, 2026 · Backend Development

Unit Testing Spring Transaction Propagation: Practical Insights

This article provides a complete, runnable unit‑test suite for Spring Boot 3.x that demonstrates and verifies every transaction‑propagation behavior (REQUIRED, REQUIRES_NEW, NESTED, SUPPORTS, MANDATORY), highlights common pitfalls such as self‑calls and swallowed exceptions, and shows how to configure the environment, write the test code, and run the tests.

H2 DatabaseJUnit 5Spring Boot
0 likes · 15 min read
Unit Testing Spring Transaction Propagation: Practical Insights
MeowKitty Programming
MeowKitty Programming
May 10, 2026 · Backend Development

Why Java Developers Should Stop Treating Null as a Minor Issue – JSpecify Turns NPEs into Enforceable Contracts

The article explains how Java developers have become numb to NullPointerExceptions, why AI‑assisted coding makes undocumented null assumptions riskier, and how JSpecify's nullability annotations—adopted by Spring 7—provide explicit contracts that improve code safety and tooling support.

AI code generationJSpecifyJava
0 likes · 7 min read
Why Java Developers Should Stop Treating Null as a Minor Issue – JSpecify Turns NPEs into Enforceable Contracts
Coder Trainee
Coder Trainee
May 7, 2026 · Backend Development

Deep Dive into Spring Boot IoC Container Initialization (Part 4)

This article breaks down Spring Boot's core refresh() method into twelve detailed steps, explaining how the IoC container prepares, configures, and starts up—including bean factory preparation, post‑processor registration, singleton instantiation, and final event publishing—providing interview‑ready insights and code illustrations.

BeanFactoryIoCSpring Boot
0 likes · 14 min read
Deep Dive into Spring Boot IoC Container Initialization (Part 4)
Architecture Digest
Architecture Digest
Mar 20, 2026 · Backend Development

Why Spring Framework 7.0.4’s Hidden Bugs and Speed Boosts Matter to You

The article dissects Spring 7.0.4’s critical deadlock bug, explains several other subtle fixes, details three major performance optimizations that can cut startup time by up to 50 % and up to 20 % request latency, and provides practical upgrade guidance for Kubernetes‑deployed Java services.

JavaKubernetesSpring Framework
0 likes · 13 min read
Why Spring Framework 7.0.4’s Hidden Bugs and Speed Boosts Matter to You
macrozheng
macrozheng
Mar 17, 2026 · Backend Development

How Spring 7.0.4 Fixes Deadlock Bugs and Boosts Startup Speed by Up to 50%

Spring Framework 7.0.4 resolves a rare deadlock caused by concurrent shutdown paths in Kubernetes, introduces dozens of bug fixes and performance tweaks—including faster request routing, annotation caching, and validation refactoring—that together can cut startup time by 30‑50% depending on the JDK version.

JavaSpring Frameworkbug fix
0 likes · 13 min read
How Spring 7.0.4 Fixes Deadlock Bugs and Boosts Startup Speed by Up to 50%
java1234
java1234
Mar 17, 2026 · Backend Development

Understanding the Core Mechanism Behind Spring Event Listening

The article explains Spring’s event-driven model, detailing how ApplicationEventPublisher, ApplicationListener, and ApplicationEventMulticaster work together to publish, multicast, and handle events, and provides code examples for defining custom events, implementing listeners via interfaces or @EventListener annotations, and configuring asynchronous handling.

ApplicationEventPublisherJavaSpring
0 likes · 6 min read
Understanding the Core Mechanism Behind Spring Event Listening
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 7, 2026 · Backend Development

Mastering Resource Loading in Spring Boot 3: From @Value to ResourcePatternResolver

This guide explains how to load files in Spring Boot 3 using the Resource abstraction, covering classpath, filesystem, and URL prefixes, @Value injection, direct Resource instantiation, dynamic loading with ResourceLoader, and bulk loading with ResourcePatternResolver, plus common pitfalls and best‑practice code examples.

JavaSpring Frameworkbackend-development
0 likes · 11 min read
Mastering Resource Loading in Spring Boot 3: From @Value to ResourcePatternResolver
Coder Trainee
Coder Trainee
Feb 17, 2026 · Backend Development

Understanding Spring Cache’s @Cacheable Annotation

The article explains how Spring Cache, introduced after Spring 3.1, uses the @Cacheable annotation to declaratively cache method results, detailing each attribute such as cacheNames, key, keyGenerator, and unless, with code examples illustrating key generation and conditional caching.

@CacheableAnnotationsJava
0 likes · 4 min read
Understanding Spring Cache’s @Cacheable Annotation
Java Architect Handbook
Java Architect Handbook
Jan 11, 2026 · Backend Development

Why @Configuration + @Bean Overrides @Component in Spring Boot: Deep Dive and Version Differences

A detailed analysis shows that when a class is annotated with both @Configuration/@Bean and @Component, Spring creates only one bean—the one defined by @Configuration/@Bean—overriding the @Component definition, and explains how this behavior changed across Spring and Spring Boot versions.

@ComponentBean OverridingSpring Boot
0 likes · 10 min read
Why @Configuration + @Bean Overrides @Component in Spring Boot: Deep Dive and Version Differences
Top Architect
Top Architect
Jan 1, 2026 · Backend Development

Spring Boot 4.0 & Spring Framework 7: Deep Dive into New Features and Migration Guide

Spring Boot 4.0 and Spring Framework 7 introduce a comprehensive overhaul—including Jakarta EE 11, JDK 25, JSpecify null‑safety, Project Leyden AOT, declarative HTTP clients, Jackson 3, native API versioning, built‑in resilience, OpenTelemetry, and a dual‑track Spring AI roadmap—providing developers with a modern, cloud‑native Java stack.

AIBackendJava
0 likes · 9 min read
Spring Boot 4.0 & Spring Framework 7: Deep Dive into New Features and Migration Guide
Su San Talks Tech
Su San Talks Tech
Nov 24, 2025 · Backend Development

What’s New in Spring Boot 4? A Deep Dive into the Latest Spring Ecosystem Overhaul

Spring Boot 4 launches alongside Spring Framework 7, Spring Data 2025.1 and Spring AI 1.1, delivering a massive upgrade that includes Jakarta EE 11, JDK 25, null‑safety via JSpecify, build‑time optimizations, modern HTTP clients, full‑stack Jackson 3 support, native resilience features, modular auto‑configuration, OpenTelemetry integration, and a dual‑track AI strategy.

AIJakarta EEJava
0 likes · 9 min read
What’s New in Spring Boot 4? A Deep Dive into the Latest Spring Ecosystem Overhaul
JavaGuide
JavaGuide
Nov 21, 2025 · Backend Development

Spring Boot 4.0 Released: Core New Features and Upgrade Guide

Spring Boot 4.0, built on Spring Framework 7.0, introduces HTTP Service Clients, native API versioning, full JSpecify null‑safety, Java 25 support, upgraded dependencies, Gradle 9 compatibility, Redis static master‑replica configuration, and drops Undertow, with migration advice to move through 3.5 first.

API VersioningGradle 9HTTP Service Clients
0 likes · 8 min read
Spring Boot 4.0 Released: Core New Features and Upgrade Guide
Tech Freedom Circle
Tech Freedom Circle
Nov 17, 2025 · Backend Development

Spring Design Patterns Interview: The One Question That Can Make or Break Your Offer

This article breaks down Spring’s layered architecture and walks through ten core design patterns—factory, singleton, proxy, template method, observer, adapter, decorator, strategy, chain of responsibility, facade, and delegate—showing how they appear in real interview scenarios and how mastering them can turn a tough interview question into a winning advantage.

Design PatternsInterviewJava
0 likes · 50 min read
Spring Design Patterns Interview: The One Question That Can Make or Break Your Offer
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 14, 2025 · Backend Development

What’s New in Spring Framework 7? Features, Removals, and Migration Tips

Spring Framework 7 introduces a new baseline on JDK 17/25, upgrades to Jakarta EE 11, Kotlin 2.2 and GraalVM 25, removes several legacy APIs such as spring‑jcl and javax.annotation, deprecates features like RestTemplate and XML MVC config, and adds powerful capabilities including programmatic bean registration, enhanced HTTP client support, and improved testing extensions.

API changesJavaSpring Boot
0 likes · 15 min read
What’s New in Spring Framework 7? Features, Removals, and Migration Tips
Su San Talks Tech
Su San Talks Tech
Oct 6, 2025 · Backend Development

Why RestTemplate Is Being Retired in Spring 7 and What to Use Instead

Spring Framework 7 will deprecate RestTemplate, outlining a migration timeline, the shortcomings of the classic HTTP client, and introducing RestClient and WebClient as modern alternatives for synchronous and reactive applications, while providing guidance for both new and legacy projects.

JavaRestClientRestTemplate
0 likes · 6 min read
Why RestTemplate Is Being Retired in Spring 7 and What to Use Instead
Programmer DD
Programmer DD
Sep 26, 2025 · Backend Development

Spring Boot 4 & Spring Framework 7: Key Features, Code Samples, and Upgrade Guide

This article reviews the major enhancements in Spring Boot 4 and Spring Framework 7, covering baseline requirements, performance boosts, native image support, modularization, new annotations, API versioning, declarative HTTP clients, resilient method support, multiple TaskDecorators, and null‑safety improvements, with practical code examples to help developers plan their migration.

API VersioningGraalVMJava 17
0 likes · 19 min read
Spring Boot 4 & Spring Framework 7: Key Features, Code Samples, and Upgrade Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 16, 2025 · Backend Development

Master Spring Boot 3: 171 Real-World Cases and Advanced Techniques

This article presents a continuously updated collection of 171 Spring Boot 3 practical cases, covering advanced topics such as global exception handling, custom interceptors, bean retrieval, configuration imports, startup runners, bean definition modification, initialization methods, custom scopes, and graceful shutdown, with full code examples and a free PDF ebook.

JavaSpring BootSpring Framework
0 likes · 14 min read
Master Spring Boot 3: 171 Real-World Cases and Advanced Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 29, 2025 · Backend Development

Explore 160 Real-World Spring Boot 3 Cases – Free PDF Updated to 130+

This article presents a free, continuously updated collection of 160 practical Spring Boot 3 examples, organized into nine annotation categories with clear explanations and code snippets, allowing developers to master component scanning, bean lifecycle, dependency injection, MVC, configuration, JPA, exception handling, AOP, and testing.

Dependency InjectionJava AnnotationsSpring Boot
0 likes · 20 min read
Explore 160 Real-World Spring Boot 3 Cases – Free PDF Updated to 130+
Java Architecture Diary
Java Architecture Diary
Jul 28, 2025 · Backend Development

How Spring Framework 7.0 Simplifies Retry and Concurrency with Built‑in Resilience

Spring Framework 7.0 introduces built‑in resilience annotations @Retryable and @ConcurrencyLimit, eliminating the need for external spring‑retry dependencies and enabling declarative retry, exponential backoff, and concurrency throttling—including reactive support—so developers can write cleaner, more robust Java backend services.

@RetryableConcurrencyLimitJava
0 likes · 7 min read
How Spring Framework 7.0 Simplifies Retry and Concurrency with Built‑in Resilience
Su San Talks Tech
Su San Talks Tech
Jul 23, 2025 · Backend Development

Unlock Spring Boot’s Hidden Power: 9 Built‑In Features Every Backend Developer Should Master

Spring Boot offers a suite of built‑in tools—from request logging and content caching to AOP utilities, starter dependencies, auto‑configuration, async scheduling, Actuator monitoring, and SpEL expressions—that streamline development, improve maintainability, and boost production‑grade performance for backend applications.

Spring BootSpring Frameworkbackend development
0 likes · 13 min read
Unlock Spring Boot’s Hidden Power: 9 Built‑In Features Every Backend Developer Should Master
macrozheng
macrozheng
Jul 14, 2025 · Backend Development

Master Spring Batch: Core Concepts, Architecture, and Best Practices

This article provides a comprehensive guide to Spring Batch, covering its purpose, architecture, core components such as Job, Step, ItemReader/Writer/Processor, chunk processing, skip strategies, and practical tips for configuring and optimizing batch jobs in Java applications.

ChunkJavaJob
0 likes · 21 min read
Master Spring Batch: Core Concepts, Architecture, and Best Practices
Java Architecture Diary
Java Architecture Diary
Jun 20, 2025 · Backend Development

What’s New in Spring Boot 3.5.3? Key Fixes, Features, and Upgrade Guide

Spring Boot 3.5.3, the first patch of the 3.5 series, introduces critical fixes for a severe issue in 3.5.1, upgrades Tomcat to 10.1.42 with multipart limits, adds ConfigData options support, resolves numerous performance, configuration, actuator, and binding bugs, improves documentation, and updates a wide range of core, database, server, and monitoring dependencies, making the upgrade strongly recommended.

JavaSpring BootSpring Framework
0 likes · 8 min read
What’s New in Spring Boot 3.5.3? Key Fixes, Features, and Upgrade Guide
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.

RFD vulnerabilitySecurity PatchSpring Boot
0 likes · 5 min read
Why Spring Framework’s RFD Bug Lets Attackers Download Malicious Files—and How to Patch It
Java Backend Technology
Java Backend Technology
Apr 24, 2025 · Backend Development

Mastering API Versioning in Spring Framework 7.0: Strategies and Code Samples

This article explains why API versioning is essential for modern web development, outlines common versioning strategies such as URI, header, query‑parameter and content‑negotiation approaches, and demonstrates how Spring Framework 7.0 natively supports version‑specific routing on both server and client sides with practical code examples.

API VersioningSpring FrameworkWebClient
0 likes · 9 min read
Mastering API Versioning in Spring Framework 7.0: Strategies and Code Samples
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
Architect
Architect
Jan 24, 2025 · Backend Development

Unveiling Spring Boot’s Magic: How @SpringBootApplication Drives Auto‑Configuration

This article deep‑dives into Spring Boot’s inner workings, explaining why dependency versions are omitted, how the spring‑boot‑starter‑parent and spring‑boot‑dependencies manage libraries, and how the composite @SpringBootApplication annotation orchestrates @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan to achieve seamless auto‑configuration and rapid application startup.

Auto-ConfigurationJavaSpring Boot
0 likes · 29 min read
Unveiling Spring Boot’s Magic: How @SpringBootApplication Drives Auto‑Configuration
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.

Bean LifecycleSpring BootSpring Framework
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.

Spring BootSpring Frameworkbackend development
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.

JavaSpringSpring Framework
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.

AnnotationsMultithreadingRestClient
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.

ComponentScanSpring BootSpring Framework
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.

JavaSpring BootSpring Framework
0 likes · 4 min read
Mastering Spring Boot Transaction Hooks for Advanced Business Logic
Architect
Architect
Sep 4, 2024 · Backend Development

Unlocking Spring Bean Lifecycle: 17 Extension Points Every Developer Should Master

This article systematically catalogs every Spring and Spring Boot extension interface—from ApplicationContextInitializer to DisposableBean—illustrates their invocation order with a diagram, explains practical use‑cases, and provides concrete code samples for each hook, enabling developers to tap into the bean lifecycle for custom initialization, monitoring, and cleanup.

BackendBean LifecycleDependency Injection
0 likes · 20 min read
Unlocking Spring Bean Lifecycle: 17 Extension Points Every Developer Should Master
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.

CVE-2024-38808CVE-2024-38809DoS
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.

AnnotationsJavaSpring Boot
0 likes · 17 min read
Comprehensive Guide to Spring Boot Annotations
Su San Talks Tech
Su San Talks Tech
Mar 6, 2024 · Backend Development

Mastering Java Design Patterns: From High Cohesion to Low Coupling in Spring

This article explains the core concepts of high cohesion and low coupling, introduces common Java design patterns, demonstrates how Spring applies these patterns such as Singleton, Factory, Proxy, Observer, Chain of Responsibility, and Template Method, and provides practical code examples for real‑world scenarios.

Design PatternsJavaSpring Framework
0 likes · 19 min read
Mastering Java Design Patterns: From High Cohesion to Low Coupling in Spring
Architect
Architect
Feb 23, 2024 · Backend Development

Mastering Spring Transaction Propagation: When and How Transactions Merge, Suspend, or Nest

This article explains the seven Spring transaction propagation levels, shows how nested @Transactional methods interact under each level, and provides concrete code‑level examples that illustrate when transactions are merged, suspended, started anew, or rolled back, helping developers choose the right strategy for reliable enterprise applications.

@TransactionalJavaSpring
0 likes · 14 min read
Mastering Spring Transaction Propagation: When and How Transactions Merge, Suspend, or Nest
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.

JavaSpringSpring Framework
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.

JavaSpring FrameworkSpringBoot
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 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
Programmer DD
Programmer DD
Jul 7, 2023 · Backend Development

Master Spring Boot’s Built‑In Utility Classes for Faster Development

This article introduces the most useful Spring Boot utility classes—including Assert, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, and AOP helpers—explaining their purpose, key methods, and code examples to help Java developers write cleaner, more efficient backend code.

JavaSpring BootSpring Framework
0 likes · 14 min read
Master Spring Boot’s Built‑In Utility Classes for Faster Development
Top Architect
Top Architect
Apr 24, 2023 · Backend Development

Understanding the Spring Bean Lifecycle and Its Core Stages

This article explains the complete lifecycle of a Spring bean—including creation, merged BeanDefinition processing, factory exposure, property population, initialization, and destruction—while illustrating the underlying source‑code mechanisms and how Spring resolves constructors, handles circular dependencies, and integrates AOP and post‑processors.

BackendBean LifecycleDependency Injection
0 likes · 16 min read
Understanding the Spring Bean Lifecycle and Its Core Stages
IT Architects Alliance
IT Architects Alliance
Apr 17, 2023 · Backend Development

Spring Batch Tutorial: Introduction, Architecture, Core Interfaces, and Practical Implementation

This article provides a comprehensive overview of Spring Batch, covering its purpose, typical business scenarios, core architecture and interfaces, and detailed step‑by‑step code examples for configuring jobs, steps, flows, parallel execution, decision making, nested jobs, data reading and writing, item processing, and job scheduling within a Spring Boot application.

JavaSpring BatchSpring Framework
0 likes · 14 min read
Spring Batch Tutorial: Introduction, Architecture, Core Interfaces, and Practical Implementation
Java Architecture Diary
Java Architecture Diary
Mar 22, 2023 · Information Security

Understanding Spring Framework DoS Vulnerability CVE-2023-20861 and How to Fix It

This article explains the Spring Framework DoS vulnerability (CVE‑2023‑20861), outlines affected versions, details the root cause in SpEL expression handling, and provides step‑by‑step mitigation and upgrade instructions for both Spring Framework and Spring Boot, along with references and security considerations.

CVE-2023-20861DoSMitigation
0 likes · 7 min read
Understanding Spring Framework DoS Vulnerability CVE-2023-20861 and How to Fix It
Programmer DD
Programmer DD
Mar 14, 2023 · Backend Development

Why This Spring ‘Full‑Stack’ Book Is a Must‑Read for Java Developers

The article reviews a comprehensive Spring framework book that covers the entire Spring family—from core concepts and data access to web development and cloud‑native microservices—using a practical, localized approach and a large milk‑tea shop case study to guide both beginners and experienced Java developers.

Distributed SystemsJavaSpring Boot
0 likes · 10 min read
Why This Spring ‘Full‑Stack’ Book Is a Must‑Read for Java Developers
Sanyou's Java Diary
Sanyou's Java Diary
Jan 30, 2023 · Backend Development

Mastering Spring Bean Injection: 5 Ways to Register Beans in the Container

This article comprehensively reviews the various techniques for injecting beans into the Spring container—including XML and properties configuration files, annotation-based declarations, manual BeanDefinition registration, direct singleton registration, and FactoryBean usage—providing code examples, underlying principles, and practical guidance for each method.

Dependency InjectionSpringSpring Framework
0 likes · 18 min read
Mastering Spring Bean Injection: 5 Ways to Register Beans in the Container
Top Architect
Top Architect
Dec 1, 2022 · Backend Development

Understanding Spring Transaction Management: @EnableTransactionManagement, Transaction Propagation, and Synchronization

This article provides a comprehensive guide to Spring transaction management, explaining the inner workings of @EnableTransactionManagement, the basic and detailed execution processes, various propagation mechanisms, forced rollback techniques, and TransactionSynchronization, supplemented with practical code examples and case analyses.

JavaSpring Frameworktransaction management
0 likes · 13 min read
Understanding Spring Transaction Management: @EnableTransactionManagement, Transaction Propagation, and Synchronization
Programmer DD
Programmer DD
Nov 18, 2022 · Backend Development

Spring Framework 6.0 Released: What’s New for Java 17+ and Jakarta EE 10

Spring Framework 6.0.0 has been officially released, introducing a Java 17+ baseline, migration to Jakarta EE 9+ namespaces, support for the latest Jakarta EE 10 APIs, AOT compilation for GraalVM native images, virtual threads via Project Loom, and enhanced HTTP client observability.

AOTGraalVMJakarta EE
0 likes · 5 min read
Spring Framework 6.0 Released: What’s New for Java 17+ and Jakarta EE 10
Top Architect
Top Architect
Oct 27, 2022 · Backend Development

Spring Framework 6.0 RC1 Released: Key Features and Updates

Spring Framework 6.0 RC1 introduces Java 17+ requirement, migration to Jakarta EE 9+, AOT compilation support, virtual‑thread integration, and updated compatibility with Tomcat 10, Jetty 11, and Hibernate 6.1, while adding new HTTP client features and observability enhancements.

AOTGraalVMJakarta EE
0 likes · 5 min read
Spring Framework 6.0 RC1 Released: Key Features and Updates
Code Ape Tech Column
Code Ape Tech Column
Oct 24, 2022 · Backend Development

Spring Framework 6.0 RC1 Released: Key Features and Changes

Spring Framework 6.0 RC1 has been released, requiring Java 17+, migrating to Jakarta EE 9+ namespaces, supporting the latest web containers and Hibernate ORM, introducing AOT compilation, virtual‑thread executor support, new @HttpExchange client, RFC 7807 handling, Micrometer observability, and more.

AOTJakarta EEJava 17
0 likes · 7 min read
Spring Framework 6.0 RC1 Released: Key Features and Changes
Programmer DD
Programmer DD
Oct 17, 2022 · Backend Development

Spring Framework 6.0 RC1: Java 17+, Jakarta EE, AOT & Virtual Thread Highlights

Spring Framework 6.0 RC1, requiring Java 17+, migrates to Jakarta EE 9+, adds AOT compilation support, enables virtual‑thread execution via Project Loom, updates to modern containers like Tomcat 10 and Jetty 11, and introduces new features such as @HttpExchange client, RFC 7807 handling, and Micrometer observability.

AOTJakarta EEJava 17
0 likes · 4 min read
Spring Framework 6.0 RC1: Java 17+, Jakarta EE, AOT & Virtual Thread Highlights
Architect's Tech Stack
Architect's Tech Stack
Oct 9, 2022 · Backend Development

Spring Batch Overview: Architecture, Core Concepts, and Practical Usage

This article provides a comprehensive introduction to Spring Batch, covering its purpose for large‑scale data processing, overall architecture, key concepts such as Job, Step, ItemReader/Writer/Processor, chunk processing, skip policies, and practical configuration examples with Java code.

JavaSpring BatchSpring Framework
0 likes · 17 min read
Spring Batch Overview: Architecture, Core Concepts, and Practical Usage
Su San Talks Tech
Su San Talks Tech
Sep 7, 2022 · Backend Development

Demystifying Spring Bean Lifecycle: From Creation to Destruction

This article explains the Spring Bean lifecycle in depth, covering IoC fundamentals, each lifecycle stage, extension points such as Aware interfaces and BeanPostProcessor, and provides a step‑by‑step code walkthrough that maps the execution flow from bean creation to destruction.

BackendBean LifecycleDependency Injection
0 likes · 12 min read
Demystifying Spring Bean Lifecycle: From Creation to Destruction
Java High-Performance Architecture
Java High-Performance Architecture
Mar 31, 2022 · Backend Development

How SpringBoot Auto‑Configuration Works: From @SpringBootApplication to Conditional Annotations

This article explains how SpringBoot simplifies Spring’s XML configuration by providing convention‑over‑configuration and automatic setup, walks through the key annotations such as @SpringBootApplication, @EnableAutoConfiguration, and @ComponentScan, and details the internal loading mechanism using META‑INF/spring.factories and conditional annotations.

AnnotationsAuto-ConfigurationJava
0 likes · 13 min read
How SpringBoot Auto‑Configuration Works: From @SpringBootApplication to Conditional Annotations
Top Architect
Top Architect
Mar 9, 2022 · Backend Development

Deep Dive into Spring Bean Lifecycle and Initialization Process

This article provides a comprehensive analysis of Spring's bean lifecycle, detailing the refresh method steps, post‑processor ordering, bean creation, dependency injection via @Autowired and @Resource, Aware callbacks, and initialization hooks such as @PostConstruct and init‑method.

Bean LifecycleDependency InjectionJava
0 likes · 24 min read
Deep Dive into Spring Bean Lifecycle and Initialization Process
Code Ape Tech Column
Code Ape Tech Column
Jan 22, 2022 · Backend Development

Key Changes in Spring Boot 3.0.0 M1 Release

The article outlines the major updates in Spring Boot 3.0.0 M1, including the shift to Java 17, migration from Java EE to Jakarta EE, removed and upgraded dependencies, and the roadmap for upcoming milestone releases.

Jakarta EEJava 17Spring Framework
0 likes · 6 min read
Key Changes in Spring Boot 3.0.0 M1 Release
Sanyou's Java Diary
Sanyou's Java Diary
Jan 18, 2022 · Backend Development

Deep Dive into Spring Bean Lifecycle: Property Assignment, Aware Callbacks, Initialization & Destruction

This article continues the Spring bean lifecycle series by explaining the property‑assignment stage, Aware interface callbacks, bean initialization phases, and the destruction process, illustrating each step with source‑code diagrams and highlighting how BeanPostProcessor extensions drive the lifecycle.

Dependency InjectionSpringSpring Framework
0 likes · 9 min read
Deep Dive into Spring Bean Lifecycle: Property Assignment, Aware Callbacks, Initialization & Destruction
macrozheng
macrozheng
Dec 22, 2021 · Backend Development

What’s New in Spring Framework 6.0? Key Changes and Migration Guide

Spring Framework 6.0 milestone introduces Jakarta EE migration, updates core containers and persistence, upgrades servlet baselines, removes deprecated APIs, changes controller scanning rules, and replaces the HttpMethod enum with a class, while previewing the upcoming Spring Boot 3.0 release.

HttpMethodJakarta EEServlet
0 likes · 5 min read
What’s New in Spring Framework 6.0? Key Changes and Migration Guide