Tagged articles

Spring Boot

4573 articles · Page 6 of 46
CodeSmart Hoops
CodeSmart Hoops
May 25, 2026 · Backend Development

Hands‑On Unit Tests for Full Spring Cache Features

This guide walks through setting up a Spring Boot 3.x project with JDK 17+, adding the necessary Maven dependencies, and implementing a comprehensive JUnit 5 test suite that demonstrates @Cacheable, @CachePut, @CacheEvict (single‑key and all‑entries), SpEL‑based keys, condition/unless caching, and the AOP proxy pitfall of same‑class calls, plus instructions for running the tests via Maven or IntelliJ IDEA.

JUnit5JavaSpring
0 likes · 19 min read
Hands‑On Unit Tests for Full Spring Cache Features
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 25, 2026 · Backend Development

7 Practical Ways to Secure Spring Boot APIs with Permission Control

This article walks through seven concrete implementations for controlling access to Spring Boot 3.5.0 controller endpoints—including Spring Security, Sa‑Token, custom annotation with AOP, interceptor, URL‑based filter, custom HandlerMapping, and a Spring Cloud Gateway filter—providing code samples, configuration details, and test results to help developers choose the right approach for API security.

AOPAPI SecurityPermission control
0 likes · 14 min read
7 Practical Ways to Secure Spring Boot APIs with Permission Control
LuTiao Programming
LuTiao Programming
May 24, 2026 · Backend Development

How Spring Boot and MCP Enable Java to Lead the AI Agent Ecosystem

This article explains the Model Context Protocol (MCP), compares it with traditional function calling, and walks through building a Spring Boot MCP server that lets Claude Desktop automatically invoke Java tools, covering architecture, code examples, security extensions, and future enterprise AI integrations.

AI AgentClaude DesktopJava
0 likes · 11 min read
How Spring Boot and MCP Enable Java to Lead the AI Agent Ecosystem
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 24, 2026 · Backend Development

Stop Returning null! 4 Advanced Optional Patterns

The article explains why returning null from Java service methods is risky, demonstrates how to replace null with Optional as a return type, and presents four advanced Optional usage patterns—including chaining, flatMap, and proper scope—to write safer, more readable Spring Boot code.

Best PracticesJavaNull Safety
0 likes · 12 min read
Stop Returning null! 4 Advanced Optional Patterns
The Dominant Programmer
The Dominant Programmer
May 24, 2026 · Artificial Intelligence

Integrating Spring AI with Ollama for Tool Calling: A Complete Beginner‑to‑Practice Guide

This article walks through setting up Spring AI with Ollama, explains the tool‑calling workflow, shows two ways to define tools, provides full Maven and YAML configurations, presents runnable Java code for services, chat client, and controller, and addresses common compatibility and dependency issues.

AI IntegrationJavaOllama
0 likes · 12 min read
Integrating Spring AI with Ollama for Tool Calling: A Complete Beginner‑to‑Practice Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2026 · Backend Development

How to Use @Lock in Spring Boot to Solve Concurrency Issues

This article explains how Spring Boot 3.5.0 leverages the @Lock annotation and JPA LockModeType to apply pessimistic read or write locks, shows custom repository implementations, provides concrete code snippets and generated SQL, and emphasizes that all lock operations must run inside a transaction.

JPAPessimistic LockSpring Boot
0 likes · 7 min read
How to Use @Lock in Spring Boot to Solve Concurrency Issues
Java Architect Handbook
Java Architect Handbook
May 23, 2026 · Backend Development

How to Preheat Cache During Spring Startup – Interview Guide

The article explains four ways to preheat caches in Spring during startup, recommends CommandLineRunner/ApplicationRunner as the safest option, and discusses timing, async handling, error protection, and distributed‑lock strategies to avoid common pitfalls in production environments.

CommandLineRunnerSpringSpring Boot
0 likes · 13 min read
How to Preheat Cache During Spring Startup – Interview Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2026 · Backend Development

Three Powerful Ways to Load Custom YAML Config in Spring Boot 3

The article explains why Spring Boot's default configuration loading falls short for complex scenarios and demonstrates three concrete techniques—an EnvironmentPostProcessor, a custom PropertySourceFactory, and an ApplicationEnvironmentPreparedEvent listener—each with full code, registration steps, and runtime output.

ConfigurationEnvironmentPostProcessorPropertySourceFactory
0 likes · 6 min read
Three Powerful Ways to Load Custom YAML Config in Spring Boot 3
Java Architect Essentials
Java Architect Essentials
May 23, 2026 · Operations

Choosing a Config Center? Nacos vs Apollo – A 100% Scenario‑Fit Comparison

The article analyzes the pain points of configuration updates and gray releases, compares Nacos and Apollo across deployment effort, latency, rollback, format support and fine‑grained rollout, presents real‑world performance numbers, and provides a checklist to help teams pick the right solution for their specific needs.

Gray ReleaseNacosSpring Boot
0 likes · 8 min read
Choosing a Config Center? Nacos vs Apollo – A 100% Scenario‑Fit Comparison
Linyb Geek Road
Linyb Geek Road
May 23, 2026 · Backend Development

8 Essential Claude Code Skills to Supercharge Your Spring Boot Projects

This article explains what Claude Code Skills are, lists the eight most valuable Spring Boot Skills, shows how to configure each Skill with concrete examples and YAML rules, and provides step‑by‑step instructions for integrating them into a Java 21 / Spring Boot 3.x project.

AI code generationClaude CodeJava
0 likes · 15 min read
8 Essential Claude Code Skills to Supercharge Your Spring Boot Projects
samdeepthink
samdeepthink
May 22, 2026 · Backend Development

Building a Payment System for Hundreds of Millions of Users – Part 1 Intro

An incident where a forged free‑card callback corrupted order status reveals the need for daily cross‑system reconciliation, and the article outlines a 20‑part series that details the architecture, design decisions, multi‑channel handling, risk control, and implementation of a production‑grade payment system serving over a hundred million users.

Distributed ArchitectureJavaSpring Boot
0 likes · 17 min read
Building a Payment System for Hundreds of Millions of Users – Part 1 Intro
Coder Trainee
Coder Trainee
May 22, 2026 · Cloud Native

Spring Cloud Microservices Hands‑On (Revised Part 10): Full Deployment with Docker Compose

After building the order, stock, and point services along with Nacos, Seata, Sentinel, Prometheus, Grafana, and SkyWalking, this guide shows how to package all components into Docker images and use a single Docker Compose command to start the entire microservice system with one click, while addressing common pitfalls.

ContainerizationDockerDocker Compose
0 likes · 13 min read
Spring Cloud Microservices Hands‑On (Revised Part 10): Full Deployment with Docker Compose
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2026 · Backend Development

Why Hand‑Write WebSocket? Use Spring Boot + Netty‑SocketIO for Simpler Real‑Time Communication

This article walks through building a real‑time bidirectional communication system with Spring Boot 3.5.0 and the Netty‑SocketIO library, covering its core features, Maven setup, server implementation via CommandLineRunner, client HTML/JavaScript code, room support, and testing screenshots.

JavaSocket.IOSpring Boot
0 likes · 9 min read
Why Hand‑Write WebSocket? Use Spring Boot + Netty‑SocketIO for Simpler Real‑Time Communication
Java Architect Essentials
Java Architect Essentials
May 21, 2026 · Backend Development

Building a High‑Performance SpringBoot Log Analyzer for Slow SQL Detection from Scratch

Faced with massive MyBatis log files that made manual slow‑SQL hunting impossible, the author designed a SpringBoot‑Vue‑MySQL system that parses logs with multithreaded batch processing, flexible regex templates, real‑time performance monitoring, and virtual‑scroll UI, achieving 55 000 lines/s throughput and over 95% matching accuracy.

MyBatisPerformance MonitoringSlow SQL
0 likes · 11 min read
Building a High‑Performance SpringBoot Log Analyzer for Slow SQL Detection from Scratch
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 21, 2026 · Backend Development

10 Most Valuable Features in Spring Boot Practice

This article presents ten highly valuable Spring Boot features—including global exception handling, MVC interceptors, programmatic bean access, @Import usage, startup runners, BeanDefinition modification, bean lifecycle callbacks, and custom scopes—each illustrated with concrete code examples and explanations for building cleaner, more maintainable Java backend applications.

BeanFactoryCommandLineRunnerCustom Scope
0 likes · 13 min read
10 Most Valuable Features in Spring Boot Practice
Xiaolin Talks Programming
Xiaolin Talks Programming
May 21, 2026 · Backend Development

High-Performance QPS Monitoring in Spring Boot: Sliding Window, RingBuffer & LongAdder Deep Dive

This article details a production-ready QPS monitoring implementation for Spring Boot using sliding window algorithm with RingBuffer and LongAdder for high-concurrency safety, integrated with Micrometer for metrics exposure, covering algorithm design, code implementation, performance optimization, and distributed monitoring strategies.

Distributed MonitoringHigh ConcurrencyLongAdder
0 likes · 19 min read
High-Performance QPS Monitoring in Spring Boot: Sliding Window, RingBuffer & LongAdder Deep Dive
Su San Talks Tech
Su San Talks Tech
May 21, 2026 · Backend Development

Druid vs HikariCP: Which Java Connection Pool Wins?

The article compares Alibaba’s Druid and Spring Boot’s default HikariCP connection pools, explaining how connection pooling works, presenting benchmark results that show HikariCP’s lower latency and higher TPS, detailing HikariCP’s lock‑free ConcurrentBag and bytecode optimizations, and highlighting Druid’s rich monitoring, SQL firewall and leak detection features to help developers choose the right pool for different scenarios.

DruidHikariCPJava
0 likes · 18 min read
Druid vs HikariCP: Which Java Connection Pool Wins?
Senior Xiao Ying
Senior Xiao Ying
May 20, 2026 · Backend Development

Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader

This article explains the N+1 query problem in a Spring Boot GraphQL service, demonstrates how DataLoader batches and caches requests to reduce database round‑trips, and provides step‑by‑step integration code, including dependency setup, schema definition, entity mapping, batch loader registration, and best‑practice recommendations.

Batch loadingDataLoaderGraphQL
0 likes · 8 min read
Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 20, 2026 · Backend Development

10 Essential Spring Boot Utility Classes to Cut Your Code in Half

This article showcases ten built‑in Spring Boot utilities—including version retrieval, system property access, temporary and home directory handling, method introspection, generic type resolution, process ID extraction, property binding, and package path registration—each illustrated with concise code examples that dramatically reduce the need for custom helper classes.

Code SimplificationConfigurationGenericTypeResolver
0 likes · 11 min read
10 Essential Spring Boot Utility Classes to Cut Your Code in Half
Cloud Architecture
Cloud Architecture
May 19, 2026 · Operations

RabbitMQ High‑Availability Cluster: Theory, Architecture, and Production Troubleshooting

This article explains why RabbitMQ failures can cascade through a micro‑service system, details the underlying HA mechanisms such as quorum queues, presents a layered production architecture with concrete Spring Boot code, outlines a step‑by‑step troubleshooting workflow, and shares best‑practice checklists for scaling, Kubernetes deployment, and migration from classic mirrored queues.

KubernetesQuorum QueueRabbitMQ
0 likes · 52 min read
RabbitMQ High‑Availability Cluster: Theory, Architecture, and Production Troubleshooting
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
Cloud Architecture
Cloud Architecture
May 17, 2026 · Backend Development

Production Design for Order Timeout Closure: RabbitMQ Delay Queues, Idempotent State Machine

This article presents a production‑grade architecture for automatically closing unpaid orders, detailing why simple scheduled tasks are insufficient, outlining high‑risk scenarios, defining five core objectives, comparing implementation options, and providing a complete RabbitMQ TTL + DLX solution with state‑machine idempotency, high‑concurrency handling, observability, and Kubernetes deployment guidance.

High ConcurrencyRabbitMQSpring Boot
0 likes · 40 min read
Production Design for Order Timeout Closure: RabbitMQ Delay Queues, Idempotent State Machine
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 17, 2026 · Backend Development

How to Accurately Measure Spring Boot Bean Creation Time for Performance Optimization

This article demonstrates a non‑intrusive, high‑precision method to track each Spring Boot bean's creation time by customizing ApplicationContextFactory, Environment, and BeanFactory, allowing package‑level exclusion and clear console reporting to pinpoint slow‑loading beans during startup.

Performance OptimizationSpring Bootapplicationcontextfactory
0 likes · 7 min read
How to Accurately Measure Spring Boot Bean Creation Time for Performance Optimization
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 17, 2026 · Backend Development

8 Must‑Use Spring Boot Code Snippets to Stop Re‑inventing the Wheel

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 BootValidation
0 likes · 13 min read
8 Must‑Use Spring Boot Code Snippets to Stop Re‑inventing the Wheel
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Backend Development

14 Advanced Java Collection Tricks to Write Cleaner Code

This article presents fourteen practical Java collection techniques—ranging from creating immutable and empty collections to using computeIfAbsent, Map.merge, Collectors.groupingBy, and EnumMap/EnumSet—each illustrated with concise code snippets and explanations that improve readability, safety, and performance in Spring Boot applications.

EnumMapJavaMap.merge
0 likes · 9 min read
14 Advanced Java Collection Tricks to Write Cleaner Code
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Backend Development

7 Essential Spring Boot Concepts Every Senior Developer Should Master

The article walks senior developers through seven core Spring Boot 3.5.0 concepts—resilience with Resilience4j, observability via Actuator, distributed transactions using Saga, advanced caching, asynchronous processing, API‑gateway routing, and OAuth2/JWT security—providing concrete code snippets, configuration examples, and visual illustrations for each technique.

API GatewayAsync ProcessingCaching
0 likes · 10 min read
7 Essential Spring Boot Concepts Every Senior Developer Should Master
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Artificial Intelligence

Four CLAUDE.md Rules That Earned 130k GitHub Stars

This article presents four concrete guidelines for writing a CLAUDE.md file that improves Claude Code's behavior, explains the underlying problems with LLMs, details each rule with examples, shows how to install the rules as a plugin or raw file, and provides validation criteria to ensure the guidelines work in practice.

ClaudeGuidelinesLLM
0 likes · 9 min read
Four CLAUDE.md Rules That Earned 130k GitHub Stars
Architect's Guide
Architect's Guide
May 15, 2026 · Backend Development

One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper

The article introduces OKHttpUtil, a lightweight wrapper around Square’s OkHttp library that enables Java developers to perform HTTP GET, POST, file upload, and download operations with a single line of code, includes Maven setup, Spring Boot integration, fluent API usage, and examples of wrapping external services such as eBay.

API wrapperHTTP ClientHTTP request
0 likes · 10 min read
One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper
Linyb Geek Road
Linyb Geek Road
May 15, 2026 · Backend Development

8 Practical API Idempotency Solutions to Eliminate Duplicate Requests (Pitfall Guide)

The article explains the causes of duplicate requests in distributed systems, defines idempotency, and presents eight concrete implementation strategies—including token mechanisms, unique database indexes, optimistic and pessimistic locks, distributed locks, state machines, request serial numbers, and MQ‑based handling—each with code samples, advantages, drawbacks, and usage guidelines.

API DesignSpring Bootdatabase
0 likes · 35 min read
8 Practical API Idempotency Solutions to Eliminate Duplicate Requests (Pitfall Guide)
LuTiao Programming
LuTiao Programming
May 14, 2026 · Backend Development

How Claude Code Took Over My Spring Boot Backend and Eliminated Wasted Overtime

After integrating Claude Code into a Spring Boot micro‑service project, the author discovered that most of the previous overtime was spent on repetitive boilerplate—controllers, DTOs, services, tests, and documentation—and that Claude Code can generate, refactor, and test these artifacts in minutes, freeing developers to focus on architecture and business logic.

AI programmingClaude CodeSpring Boot
0 likes · 11 min read
How Claude Code Took Over My Spring Boot Backend and Eliminated Wasted Overtime
Java Architect Essentials
Java Architect Essentials
May 13, 2026 · Backend Development

Boost CRUD Efficiency with MyBatisPlus Pro: A BaseController Guide

This article introduces MyBatisPlus Pro, walks through adding the MyBatisPlus dependency, creating a utility class, defining a generic BaseController with full CRUD, pagination support, and shows how to extend it in specific controllers, providing a ready‑to‑use RESTful API template.

BaseControllerCRUDJava
0 likes · 9 min read
Boost CRUD Efficiency with MyBatisPlus Pro: A BaseController Guide
Cloud Architecture
Cloud Architecture
May 13, 2026 · Backend Development

Mastering Spring Boot Data Access: From ORM and Caching to Search and Distributed Consistency

This extensive guide redesigns Spring Boot data‑access for high‑traffic e‑commerce, explaining why traditional JPA‑Redis‑Elasticsearch thinking fails, then detailing a multimodal architecture that assigns strong‑consistency, hot‑read, document, and search responsibilities to MySQL, Redis, MongoDB and Elasticsearch, with production‑grade code, CDC pipelines, distributed‑transaction patterns, caching strategies, observability, and cloud‑native deployment.

CDCCachingElasticsearch
0 likes · 49 min read
Mastering Spring Boot Data Access: From ORM and Caching to Search and Distributed Consistency
Java Tech Enthusiast
Java Tech Enthusiast
May 13, 2026 · Backend Development

Why Adding Spring HATEOAS Stops Front‑End Teams From Chasing Swagger Updates

The article explains how integrating Spring HATEOAS transforms a Level‑2 REST API into a hypermedia‑driven Level‑3 API, automatically exposing actionable links, reducing front‑end state‑handling, enabling type‑safe URL generation, and simplifying RBAC integration, thereby eliminating the need for constant Swagger revisions.

API DesignRESTSecurity
0 likes · 7 min read
Why Adding Spring HATEOAS Stops Front‑End Teams From Chasing Swagger Updates
CodeSmart Hoops
CodeSmart Hoops
May 13, 2026 · Backend Development

Spring Circular Dependency Unit Tests: Full Analysis and Hands‑On Demo

This article provides a comprehensive set of JUnit 5 unit tests that demonstrate how Spring Boot 3.x and Spring Framework 6.x handle various circular dependency scenarios—including field, setter, constructor, @Lazy, prototype beans, three‑bean cycles, and AOP proxy interactions—along with Maven and IDE run instructions.

AOPJavaPrototype Bean
0 likes · 12 min read
Spring Circular Dependency Unit Tests: Full Analysis and Hands‑On Demo
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 13, 2026 · Backend Development

Beyond try‑catch: 3 Elegant Fault‑Tolerance Patterns Every Senior Developer Needs

The article explains why simple try‑catch is insufficient for production stability and introduces three advanced fault‑tolerance patterns—retry with exponential back‑off, circuit breaker using Resilience4j, and idempotency design—each illustrated with concrete Spring Boot 3.5.0 code examples and best‑practice guidelines.

Circuit BreakerResilience4jRetry
0 likes · 12 min read
Beyond try‑catch: 3 Elegant Fault‑Tolerance Patterns Every Senior Developer Needs
LuTiao Programming
LuTiao Programming
May 12, 2026 · Backend Development

Stop Splitting Databases: Spring Boot + PostgreSQL Schema Multi‑Tenant Best Practice for Performance

This article explains why naïve database‑per‑tenant designs cause resource waste and operational headaches, and demonstrates how Spring Boot, Hibernate, and PostgreSQL schemas provide a lightweight, high‑performance multi‑tenant architecture with strong isolation, low overhead, and easy scalability.

HibernatePostgreSQLSpring Boot
0 likes · 16 min read
Stop Splitting Databases: Spring Boot + PostgreSQL Schema Multi‑Tenant Best Practice for Performance
samdeepthink
samdeepthink
May 12, 2026 · Backend Development

Three Years of DDD in Practice: Insights from the Opening Chapter

The author recounts three years of applying Domain‑Driven Design to a microservice ecosystem, sharing concrete pitfalls, code‑first modeling from database tables, and a structured 24‑article series that guides developers to refactor existing Spring Boot + MyBatis Plus projects without rewriting the framework.

AggregatesCQRSDomain-Driven Design
0 likes · 8 min read
Three Years of DDD in Practice: Insights from the Opening Chapter
Coder Trainee
Coder Trainee
May 12, 2026 · Backend Development

Designing a Logistics Prepaid Deduction System: Architecture & Core Implementation

This article details a logistics‑focused prepaid deduction platform built with a Spring Boot backend and Vue 3 frontend, covering precise cent‑to‑yuan handling, role‑based view isolation, VO‑based pagination, automatic deduction workflow, and an Apple‑style responsive UI using Tailwind CSS.

Money PrecisionMySQLRole-Based Access
0 likes · 6 min read
Designing a Logistics Prepaid Deduction System: Architecture & Core Implementation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 12, 2026 · Backend Development

Reproducing Three Classic Spring Boot Concurrency Deadlocks in Just 10 Lines

The article explains three typical deadlock scenarios in Spring Boot 3.5—circular‑wait, connection‑pool starvation, and implicit DML deadlocks—shows minimal 10‑line code reproductions, demonstrates the resulting errors, and provides concrete fixes such as ordered locking, removing REQUIRES_NEW propagation, and using asynchronous events.

@TransactionalConcurrencyJava
0 likes · 9 min read
Reproducing Three Classic Spring Boot Concurrency Deadlocks in Just 10 Lines
ZhiKe AI
ZhiKe AI
May 11, 2026 · Backend Development

Java Rewrites OpenClaw: An Architecture‑Level Translation, Not a Simple Port

A Java team rebuilt the popular Node.js AI‑Agent platform OpenClaw from scratch, replacing AI‑generated “vibe code” with a carefully refactored architecture that leverages Spring AI, JobRunr, and Spring Modulith, and demonstrates how to run the new Java version with just a few commands.

AI AgentsArchitecture TranslationJava
0 likes · 16 min read
Java Rewrites OpenClaw: An Architecture‑Level Translation, Not a Simple Port
LuTiao Programming
LuTiao Programming
May 11, 2026 · Backend Development

Why @RequestBody Is More Than Just JSON: Handling Multiple Request Formats in Spring Boot

This article explains how Spring MVC’s @RequestBody annotation is a universal entry point for HTTP request bodies, supporting JSON, XML, plain text, binary streams, maps, lists, and custom media types through its HttpMessageConverter mechanism, with concrete code examples and configuration details.

Custom ConverterHttpMessageConverterJSON
0 likes · 12 min read
Why @RequestBody Is More Than Just JSON: Handling Multiple Request Formats in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 11, 2026 · Backend Development

Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing

This article explains how to integrate the Java‑DataLoader library into a Spring Boot 3.5.0 application, covering dependency setup, entity and repository definitions, service methods, DataLoader configuration, testing, contextual loading, and custom two‑level caching to achieve high‑performance batch data fetching.

Batch loadingCachingDataLoader
0 likes · 12 min read
Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing
Coder Trainee
Coder Trainee
May 10, 2026 · Backend Development

Spring Boot Source Code Deep Dive (Part 7): Full Recap and Ultimate Interview Guide

The final installment of the Spring Boot source‑code series consolidates the previous six episodes—covering startup flow, auto‑configuration, IoC container, bean lifecycle, circular dependencies, and SPI—while providing a complete knowledge map, 20 interview‑question templates, practical study tips, and a roadmap for further learning and contribution.

Auto-configurationBean LifecycleConfiguration
0 likes · 14 min read
Spring Boot Source Code Deep Dive (Part 7): Full Recap and Ultimate Interview Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 9, 2026 · Backend Development

9 Essential Java Code Optimizations to Eliminate Bad Practices

This article presents nine practical Java code‑optimization techniques—including string formatting, loop refactoring, resource management, buffered I/O, multithreading, enums, exception handling, and third‑party libraries—each illustrated with before‑and‑after code samples and clear explanations of why the improved version is more readable, efficient, and maintainable.

Best PracticesJavaPerformance
0 likes · 14 min read
9 Essential Java Code Optimizations to Eliminate Bad Practices
Cloud Architecture
Cloud Architecture
May 9, 2026 · Backend Development

High‑Concurrency Flash‑Sale Blueprint: Redis Atomic Stock and Kafka Throttling

The article presents a production‑grade, scalable flash‑sale architecture that combines Redis atomic inventory deduction, Kafka asynchronous peak‑shaving, and careful database finalization, detailing each layer’s goals, pre‑filtering techniques, Lua scripting, idempotency, capacity planning, monitoring, and compensation strategies to prevent overselling and ensure reliability.

Flash SaleHigh ConcurrencyJava
0 likes · 31 min read
High‑Concurrency Flash‑Sale Blueprint: Redis Atomic Stock and Kafka Throttling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 8, 2026 · Backend Development

How to Achieve Asynchronous Thread‑Pool Traceability in Spring Boot with MDC

In high‑concurrency microservices, Spring Boot's default async thread pool loses the MDC‑based traceId, making log correlation impossible; this article shows how to capture the traceId in a filter, propagate it with a custom ThreadPoolTaskExecutor and MDC task decorator, and extend the solution to Feign, RestTemplate, and RestClient while demonstrating a price‑aggregation use case.

@AsyncMDCSpring Boot
0 likes · 11 min read
How to Achieve Asynchronous Thread‑Pool Traceability in Spring Boot with MDC
Senior Xiao Ying
Senior Xiao Ying
May 8, 2026 · Backend Development

Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance

Spring Boot 4.0 introduces a milestone upgrade that requires JDK 21, switches to jakarta.* packages, offers first‑class virtual‑thread support, a built‑in declarative HTTP client, native retry annotations, API versioning, and modular auto‑configuration, all aimed at higher cloud‑native performance.

API VersioningDeclarative HTTP ClientJDK 21
0 likes · 11 min read
Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance
Coder Trainee
Coder Trainee
May 8, 2026 · Backend Development

How Spring Boot Instantiates Beans and Resolves Circular Dependencies

This article walks through Spring Boot's bean creation pipeline—from the initial getBean call through doGetBean, the three‑level singleton cache, and the detailed steps of createBean, populateBean, and initializeBean—explaining how circular dependencies are safely resolved and where AOP proxies are generated.

@BeanAOPBean Lifecycle
0 likes · 14 min read
How Spring Boot Instantiates Beans and Resolves Circular Dependencies
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)
LuTiao Programming
LuTiao Programming
May 6, 2026 · Backend Development

Can You Build an MCP Server with Spring Boot? Complete Java Guide to Standardized AI APIs

This article explains why the Model Context Protocol (MCP) is becoming the universal AI interface standard, compares three implementation approaches, and provides a step‑by‑step tutorial for Java developers to create a production‑ready MCP server with Spring Boot, including tool definition, registration, controller, LLM integration, and best‑practice optimizations.

AIBackendJava
0 likes · 10 min read
Can You Build an MCP Server with Spring Boot? Complete Java Guide to Standardized AI APIs
Cloud Architecture
Cloud Architecture
May 6, 2026 · Backend Development

Why Polling Breaks at Scale and How Spring Boot Webhooks Enable High‑Concurrency Event‑Driven Architecture

The article explains why traditional polling becomes unsustainable under high load, contrasts polling with webhook‑based event delivery, and provides a complete Spring Boot implementation—including outbox pattern, Kafka integration, retry logic, security, observability, and operational best practices—to build a production‑grade, scalable webhook platform.

High ConcurrencyKafkaOutbox
0 likes · 36 min read
Why Polling Breaks at Scale and How Spring Boot Webhooks Enable High‑Concurrency Event‑Driven Architecture
Java Tech Enthusiast
Java Tech Enthusiast
May 6, 2026 · Backend Development

Spring Boot 4.1’s Default Virtual Threads Boost Throughput—But Require HikariCP Tuning

Spring Boot 4.1 makes virtual threads the default, dramatically increasing I/O concurrency, yet the unchanged HikariCP maximumPoolSize can exhaust connections; the article explains this incompatibility, shows how to adjust pool settings, enable lazy connections, and outlines a step‑by‑step migration path from 3.x to 4.1.

HikariCPJava 21LazyConnection
0 likes · 19 min read
Spring Boot 4.1’s Default Virtual Threads Boost Throughput—But Require HikariCP Tuning
Architect's Guide
Architect's Guide
May 6, 2026 · Backend Development

Quickly Implement API Encryption in Spring Boot with a Single Library

This article walks through using RSA to encrypt Spring Boot API responses, covering the theory behind RSA, two security scenarios, Maven dependency setup, configuration, controller annotations, encryption/decryption code, a front‑end JavaScript example, common pitfalls, and a final security summary.

API EncryptionBackendJava
0 likes · 11 min read
Quickly Implement API Encryption in Spring Boot with a Single Library
Coder Trainee
Coder Trainee
May 6, 2026 · Backend Development

Spring Boot Auto-Configuration: In‑Depth Source Code Walkthrough

This article explores the complete execution flow of Spring Boot’s auto‑configuration, detailing the role of @EnableAutoConfiguration, the AutoConfigurationImportSelector hierarchy, how candidate configurations are loaded from spring.factories, filtered by conditions, and how to create custom starters, with interview‑style Q&A.

Auto-configurationConditional AnnotationsCustom Starter
0 likes · 12 min read
Spring Boot Auto-Configuration: In‑Depth Source Code Walkthrough
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 5, 2026 · Backend Development

Stop Manually Concatenating URLs: Master Spring Boot’s Powerful URI Utilities

This article walks through Spring Boot 3.5.0’s URI building tools—including UriComponents, UriBuilderFactory, encoding options, ServletUriComponentsBuilder, and MVC link generation—showing how to construct correct, automatically‑encoded URLs for RestTemplate, WebClient, and controller methods with concrete code examples and outputs.

JavaRestTemplateSpring Boot
0 likes · 8 min read
Stop Manually Concatenating URLs: Master Spring Boot’s Powerful URI Utilities
Architect's Guide
Architect's Guide
May 5, 2026 · Backend Development

Why This Lightweight Rule Engine Lets You Ditch If‑Else Statements

The article introduces the liteflow rule‑engine framework, explains its architecture, component types, EL rule files, data‑context handling, configuration options, and demonstrates a real‑world e‑commerce workflow that replaces verbose if‑else code with concise rule definitions.

ConfigurationJavaLiteFlow
0 likes · 9 min read
Why This Lightweight Rule Engine Lets You Ditch If‑Else Statements
Architect-Kip
Architect-Kip
May 5, 2026 · Backend Development

Scalable PBC Architecture for Decoupled Logistics Workflow Orchestration

This article presents a detailed design of a Process Business Capability (PBC) architecture that decouples logistics workflow steps, replaces hard‑coded controller logic with configurable nodes, introduces a unified entry point, a flow engine for matching and execution, and demonstrates the complete Spring Boot implementation with code examples and database schemas.

JavaPBCSpring Boot
0 likes · 35 min read
Scalable PBC Architecture for Decoupled Logistics Workflow Orchestration
Coder Trainee
Coder Trainee
May 5, 2026 · Backend Development

What Does @SpringBootApplication Actually Do? A Deep Dive into Spring Boot’s Core Annotation

This article dissects the @SpringBootApplication annotation, explaining how it combines @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan, and walks through the auto‑configuration mechanism, conditional annotations, and common interview questions with concrete code examples.

@SpringBootApplicationAuto-configurationComponentScan
0 likes · 10 min read
What Does @SpringBootApplication Actually Do? A Deep Dive into Spring Boot’s Core Annotation
Java Tech Enthusiast
Java Tech Enthusiast
May 4, 2026 · Backend Development

Minimalist Spring Boot 3: Annotation‑Based Efficient Sensitive‑Word Handling

This guide demonstrates how to use a custom @SensitiveFilter annotation together with an AOP aspect and the lightweight sensitive‑word library to implement global sensitive‑word filtering in Spring Boot 3, supporting both automatic replacement and detection modes while eliminating repetitive code across controllers.

AOPJavaSensitive Word Filtering
0 likes · 14 min read
Minimalist Spring Boot 3: Annotation‑Based Efficient Sensitive‑Word Handling
LuTiao Programming
LuTiao Programming
May 4, 2026 · Backend Development

Barclays 2026 Java Spring Boot Microservices Interview Q&A: Deep Dive into Core Concepts

This article dissects a comprehensive set of Barclays Java Spring Boot microservices interview questions, covering HashMap internals, REST method semantics, code implementations, Spring dependency injection, JDBC evolution, JPA/Hibernate usage, SQL injection defenses, microservice architecture essentials, and best‑practice REST API design.

HashMapJPAJava
0 likes · 9 min read
Barclays 2026 Java Spring Boot Microservices Interview Q&A: Deep Dive into Core Concepts
java1234
java1234
May 4, 2026 · Backend Development

Building a WeChat Mini‑Program Pet Adoption System in 20 Minutes with Cursor AI

In just 20 minutes, the author uses Cursor AI with Opus 4.7 to create a complete pet‑adoption solution that includes a WeChat mini‑program front‑end, a Vue‑based admin portal, and a Spring Boot backend with JWT security, demonstrating rapid AI‑assisted development and detailed architecture.

Cursor AIJavaPet Adoption
0 likes · 9 min read
Building a WeChat Mini‑Program Pet Adoption System in 20 Minutes with Cursor AI
Coder Trainee
Coder Trainee
May 4, 2026 · Backend Development

Spring Boot Startup Process: A Zero‑to‑One Source Code Walkthrough

This article dissects the Spring Boot startup sequence step by step, showing how a minimal @SpringBootApplication triggers listeners, type deduction, auto‑configuration loading, environment preparation, IOC container creation, bean refresh, and embedded Tomcat launch, with interview‑ready explanations.

Auto-configurationJavaSpring Boot
0 likes · 9 min read
Spring Boot Startup Process: A Zero‑to‑One Source Code Walkthrough
java1234
java1234
May 3, 2026 · Mobile Development

Building a WeChat Mini‑Program Dormitory Management System in 20 Minutes with Cursor AI

The author demonstrates how Cursor AI and Opus 4.7 can generate a complete campus dormitory management solution—including a Spring Boot backend, Vue 3 admin portal, and a WeChat mini‑program front‑end—within twenty minutes, and provides the source code, video tutorial, and deployment details.

Cursor AIDormitory ManagementMySQL
0 likes · 7 min read
Building a WeChat Mini‑Program Dormitory Management System in 20 Minutes with Cursor AI
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2026 · Backend Development

Beyond Controller Validation: 90% Miss Spring’s Advanced Validation Techniques

The article explains how standard Spring Boot controller‑level validation leaves service methods unchecked, and demonstrates using @Validated with MethodValidationPostProcessor, custom exception handling, and a MethodValidationExcludeFilter to apply, convert, and selectively disable validation across the application.

Custom FilterJavaMethodValidationPostProcessor
0 likes · 7 min read
Beyond Controller Validation: 90% Miss Spring’s Advanced Validation Techniques
IT Services Circle
IT Services Circle
Apr 30, 2026 · Backend Development

How a Single Front‑end Change Dragged Four Backend Teams – The BFF Solution

A tiny UI tweak that required a meeting with four backend groups exposed the pain of calling many micro‑services from the front‑end, and the article shows how introducing a Backend‑For‑Frontend (BFF) layer can aggregate, transform, and simplify those calls while improving reliability and performance.

API aggregationBFFBackend For Frontend
0 likes · 21 min read
How a Single Front‑end Change Dragged Four Backend Teams – The BFF Solution
MeowKitty Programming
MeowKitty Programming
Apr 30, 2026 · Backend Development

Why Codex Agents Are Redefining the Java Developer Workflow

The article analyzes how OpenAI's Codex CLI, an AI coding agent, is shifting Java development from manual code writing to task‑oriented automation, outlining suitable use cases, practical prompting techniques, and the new skills engineers must adopt to keep quality and control.

AI coding agentCode ReviewCodex
0 likes · 7 min read
Why Codex Agents Are Redefining the Java Developer Workflow
Senior Xiao Ying
Senior Xiao Ying
Apr 30, 2026 · Backend Development

Stop Hardcoding Secrets: Secure Spring Boot Configurations with @SecretValue

This article explains why storing passwords and API keys in plain‑text configuration files is risky, outlines the three core principles of configuration security, and provides a step‑by‑step guide to using the @SecretValue annotation from the spring‑secret‑starter library to inject secrets safely from services such as AWS Secrets Manager.

@SecretValueAWS Secrets ManagerConfiguration Security
0 likes · 11 min read
Stop Hardcoding Secrets: Secure Spring Boot Configurations with @SecretValue
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 30, 2026 · Backend Development

5 Common Spring Boot Anti‑Patterns You Must Avoid

The article examines five high‑frequency Spring Boot anti‑patterns—field injection, returning entities from controllers, overusing @Transactional, generic exception handling, and embedding business logic in controllers—showing problematic code snippets, real‑world consequences, and concise refactored examples to improve testability, performance, and maintainability.

Anti-PatternController DesignDependency Injection
0 likes · 9 min read
5 Common Spring Boot Anti‑Patterns You Must Avoid
Cloud Architecture
Cloud Architecture
Apr 29, 2026 · Databases

ORM Type Mismatch Causes MySQL Index Failure and Outage – Investigation & Fix

An ORM parameter type mismatch caused MySQL to perform implicit conversion on a VARCHAR index column, turning an indexed query into a full table scan that saturated connection pools, thread pools, Kafka consumers, and upstream services during a high‑traffic promotion, illustrating the full‑stack impact and remediation steps.

Index OptimizationMyBatisMySQL
0 likes · 29 min read
ORM Type Mismatch Causes MySQL Index Failure and Outage – Investigation & Fix
Architect's Guide
Architect's Guide
Apr 29, 2026 · Backend Development

How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push

This article walks through building a Netty‑based WebSocket server integrated with Spring Boot, configuring the channel pipeline, implementing custom handlers, exposing a push‑message service, and testing the end‑to‑end flow that enables the backend to push real‑time messages to web clients.

BackendJavaNetty
0 likes · 8 min read
How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push
The Dominant Programmer
The Dominant Programmer
Apr 29, 2026 · Databases

Getting Started with Spring Boot and Neo4j: Step‑by‑Step Guide and Sample Code

This article introduces Neo4j as a graph database, walks through its Windows installation, and provides a complete Spring Boot integration tutorial—including Maven dependencies, YAML configuration, entity and repository definitions, REST controller implementation, and end‑to‑end testing of user and follow‑relationship APIs.

Neo4jSpring Bootgraph database
0 likes · 8 min read
Getting Started with Spring Boot and Neo4j: Step‑by‑Step Guide and Sample Code
LuTiao Programming
LuTiao Programming
Apr 29, 2026 · Backend Development

Java 2026 Learning Roadmap: The Proven Path to Double Your Salary

This article outlines a step‑by‑step Java learning roadmap—from core fundamentals to microservices, high‑concurrency, AI integration, and cloud‑native deployment—showing how targeted skill progression can dramatically boost both technical competence and earning potential.

AIHigh ConcurrencyJVM
0 likes · 9 min read
Java 2026 Learning Roadmap: The Proven Path to Double Your Salary
LuTiao Programming
LuTiao Programming
Apr 28, 2026 · Backend Development

How I Built a High‑Performance Java Price‑Comparison Engine from Scratch

Starting from a simple sequential Java price‑aggregator, the article walks through successive architectural upgrades—concurrent calls with CompletableFuture, timeout and fallback handling, Spring Boot service exposure, caching, bulkhead isolation, microservice split, and Kafka‑driven event processing—showing how latency drops from 1500 ms to under 20 ms.

CachingConcurrencyJava
0 likes · 9 min read
How I Built a High‑Performance Java Price‑Comparison Engine from Scratch
The Dominant Programmer
The Dominant Programmer
Apr 28, 2026 · Backend Development

Spring Boot, LangChain4j & Ollama: Chain for Intent Recognition and Task Dispatch

The article demonstrates how to construct a Spring Boot application that orchestrates multiple AI services using LangChain4j and Ollama, defining intent‑classification and tool‑based assistants, registering them as beans, and routing user requests through a controller to achieve multi‑step intent recognition and task dispatch in a simulated intelligent customer‑service workflow.

AI OrchestrationLangChain4jOllama
0 likes · 13 min read
Spring Boot, LangChain4j & Ollama: Chain for Intent Recognition and Task Dispatch
Java Companion
Java Companion
Apr 27, 2026 · Artificial Intelligence

From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain

MateClaw is an open‑source, Java‑centric AI operating system built on Spring Boot 3.5 and Spring AI Alibaba that runs as a single JAR, offering multi‑agent collaboration, a structured wiki‑style knowledge base, tool‑guarded utilities, multi‑model routing, and cross‑channel deployment while keeping all data on‑premises.

AIJavaMulti-agent
0 likes · 16 min read
From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 27, 2026 · Backend Development

One‑Line Annotation for Method Monitoring in Spring Boot

This article demonstrates how to add a single @Monitor annotation to Spring Boot 3.5.0 services and automatically obtain call‑trace and execution‑time metrics by leveraging Spring AOP, SimpleTraceInterceptor, PerformanceMonitorInterceptor, custom advisors, and a BeanPostProcessor, with full code examples and a test controller.

AOPBeanPostProcessorCustom Annotation
0 likes · 6 min read
One‑Line Annotation for Method Monitoring in Spring Boot
The Dominant Programmer
The Dominant Programmer
Apr 27, 2026 · Artificial Intelligence

Build and Integrate a Local LLM with Spring Boot, LangChain4j, and Ollama

This guide walks through installing Ollama on Windows, downloading a Qwen2.5‑7B model, configuring Spring Boot with LangChain4j dependencies, setting up application.yml, defining AI service interfaces, adding conversation memory, creating REST and streaming controllers, and testing the end‑to‑end local LLM workflow.

AILLMLangChain4j
0 likes · 12 min read
Build and Integrate a Local LLM with Spring Boot, LangChain4j, and Ollama
Java Architect Essentials
Java Architect Essentials
Apr 26, 2026 · Backend Development

15 SpringBoot Performance Tweaks to Handle Million-Scale Concurrency

This guide walks through exposing metrics, integrating Prometheus and Grafana, using async‑profiler flame graphs, tuning Tomcat/Undertow, optimizing JVM flags, applying SkyWalking tracing, and applying layer‑wise code, cache, and thread‑pool improvements so a SpringBoot service can reliably serve millions of concurrent requests.

GrafanaNginxPerformance
0 likes · 20 min read
15 SpringBoot Performance Tweaks to Handle Million-Scale Concurrency
Java Tech Workshop
Java Tech Workshop
Apr 26, 2026 · Backend Development

Integrating Spring Boot with RocketMQ for Message Production and Consumption

This tutorial explains why RocketMQ is chosen for high‑throughput messaging, outlines its core components and typical scenarios, guides environment setup via Docker or local installation, shows Maven integration, provides Spring Boot configuration, and presents complete producer and consumer code with testing steps, extensions for sync/async messages, and common troubleshooting tips.

ConsumerDockerMaven
0 likes · 16 min read
Integrating Spring Boot with RocketMQ for Message Production and Consumption
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 26, 2026 · Backend Development

Why Misusing JPA findById Hurts Performance and Causes Critical Pitfalls

The article dissects how the default JpaRepository findById method can trigger unnecessary SELECT queries, create foreign‑key violations under concurrency, and degrade performance, then demonstrates three concrete workarounds—including getReferenceById, manual entity construction, and pessimistic read locking—to eliminate these issues.

ConcurrencyJPAPerformance
0 likes · 8 min read
Why Misusing JPA findById Hurts Performance and Causes Critical Pitfalls
The Dominant Programmer
The Dominant Programmer
Apr 25, 2026 · Backend Development

Integrating LangChain4j with Spring Boot for Fast AI Conversations on Alibaba Baichuan

This guide walks through using the SpringAIAlibaba framework to integrate Alibaba Baichuan with Spring Boot via LangChain4j, explains core concepts, compares LangChain4j to Spring AI and OpenAI, and provides step‑by‑step dependency setup, environment configuration, code examples, and a simple browser test.

AI chatAgentAlibaba Baichuan
0 likes · 11 min read
Integrating LangChain4j with Spring Boot for Fast AI Conversations on Alibaba Baichuan
Cloud Architecture
Cloud Architecture
Apr 25, 2026 · Backend Development

Spring Boot & Tomcat Tuning for High Concurrency: 17 Techniques & 12 Key Parameters

This guide walks through a complete Spring Boot and Tomcat performance tuning workflow for high‑traffic services, covering thread‑model fundamentals, capacity planning, 17 practical engineering tricks, 12 essential Tomcat parameters, and strategies for graceful deployment, observability, and fault isolation.

High ConcurrencyJavaSpring Boot
0 likes · 43 min read
Spring Boot & Tomcat Tuning for High Concurrency: 17 Techniques & 12 Key Parameters
Ray's Galactic Tech
Ray's Galactic Tech
Apr 25, 2026 · Artificial Intelligence

Mastering Spring AI MCP: Bidirectional Communication, Four Providers, Sampling Callbacks, and Dual‑Mode Deployment

This article explains why traditional function‑calling is insufficient for production AI services and shows how Spring AI's Model Context Protocol (MCP) introduces bidirectional communication, addressable resources, parameterized prompts, tool orchestration, and server‑initiated sampling, providing a complete roadmap to build a production‑grade AI microservice architecture.

AIJavaMCP
0 likes · 37 min read
Mastering Spring AI MCP: Bidirectional Communication, Four Providers, Sampling Callbacks, and Dual‑Mode Deployment
Java Tech Workshop
Java Tech Workshop
Apr 25, 2026 · Information Security

Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers

This article walks through building a complete OAuth2.0 solution in Spring Boot, covering core concepts, a comparison of the four grant types, project initialization, detailed configuration of the authorization and resource servers, custom login pages, end‑to‑end testing, advanced optimizations, and security best‑practice recommendations.

JWTJavaOAuth2
0 likes · 24 min read
Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers