Tagged articles
3833 articles
Page 1 of 39
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
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.

Spring Bootconfiguration-propertiescustom-exception
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.

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

Distributed TransactionsSecuritySpring Boot
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.

ClaudeCode GenerationGuidelines
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
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
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.

SecuritySpring Bootapi-design
0 likes · 7 min read
Why Adding Spring HATEOAS Stops Front‑End Teams From Chasing Swagger Updates
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.

Exception HandlingIdempotencyRetry
0 likes · 12 min read
Beyond try‑catch: 3 Elegant Fault‑Tolerance Patterns Every Senior Developer Needs
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 PrecisionRole-Based AccessSpring Boot
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.

JavaSpring Bootconcurrency
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
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 LoadingDataLoaderGraphQL
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.

ConfigurationDebuggingSpring Boot
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.

Code OptimizationException HandlingJava
0 likes · 14 min read
9 Essential Java Code Optimizations to Eliminate Bad Practices
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.

AsyncMicroservicesSpring Boot
0 likes · 11 min read
How to Achieve Asynchronous Thread‑Pool Traceability in Spring Boot with MDC
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.

Spring Bootaopbean
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)
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.

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

Backend DevelopmentConditional 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.

JavaSpring Bootresttemplate
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
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.

@SpringBootApplicationBackend DevelopmentComponentScan
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.

JavaSensitive Word FilteringSpring Boot
0 likes · 14 min read
Minimalist Spring Boot 3: Annotation‑Based Efficient Sensitive‑Word Handling
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.

JavaSpring BootStartup Process
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 ManagementSpring Boot
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 FilterException HandlingJava
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
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 DesignException Handling
0 likes · 9 min read
5 Common Spring Boot Anti‑Patterns You Must Avoid
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.

Neo4jREST APISpring Boot
0 likes · 8 min read
Getting Started with Spring Boot and Neo4j: Step‑by‑Step Guide and Sample Code
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.

AIJavaKnowledge Base
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.

BeanPostProcessorCustom AnnotationMethod Monitoring
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.

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

GrafanaNGINXPrometheus
0 likes · 20 min read
15 SpringBoot Performance Tweaks to Handle Million-Scale Concurrency
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.

Spring Bootconcurrencyfindbyid
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
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
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 25, 2026 · Backend Development

Seven Techniques to Retrieve Spring Boot Properties

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

ActuatorConfigurationEnvironment
0 likes · 9 min read
Seven Techniques to Retrieve Spring Boot Properties
Coder Trainee
Coder Trainee
Apr 25, 2026 · Cloud Native

How to Expose Spring Cloud Microservices to Frontends with Spring Cloud Gateway

This article explains why a gateway is needed in a Spring Cloud microservice architecture, compares Spring Cloud Gateway with Zuul, introduces its core concepts of routes, predicates, and filters, and provides step‑by‑step code examples for dependency setup, configuration, custom authentication and logging filters, rate limiting, circuit breaking, troubleshooting tips, and a complete gateway configuration for a blog system.

Spring Bootapi-gatewaycircuit breaker
0 likes · 14 min read
How to Expose Spring Cloud Microservices to Frontends with Spring Cloud Gateway
Ray's Galactic Tech
Ray's Galactic Tech
Apr 24, 2026 · Backend Development

From Bottlenecks to a High‑Concurrency Medical Assistant with LangChain4j

This guide details how to design and implement a production‑grade, high‑concurrency medical AI assistant using LangChain4j, Spring Boot, Redis, and Kubernetes, covering architecture, RAG‑enhanced retrieval, controlled tool invocation, guardrails, idempotent transactions, scaling strategies and observability to ensure reliable, compliant patient interactions.

LangChain4jRAGSpring Boot
0 likes · 33 min read
From Bottlenecks to a High‑Concurrency Medical Assistant with LangChain4j
java1234
java1234
Apr 24, 2026 · Artificial Intelligence

Choosing Between Spring AI 2.0 and LangChain4j for Java AI Development

This article compares Spring AI 2.0 and LangChain4j, examining their positioning, version alignment, architecture, programming model, RAG support, observability, learning curve, and ecosystem integration to help Java teams decide which library best fits their AI project constraints.

AI librariesJavaLLM integration
0 likes · 13 min read
Choosing Between Spring AI 2.0 and LangChain4j for Java AI Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 24, 2026 · Backend Development

Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis

This article demonstrates how to create a millisecond‑level real‑time online user tracking system using Spring Boot 3.5, WebSocket with STOMP, and Redis pub/sub, covering environment setup, Maven dependencies, server‑side configuration, presence services, event listeners, and a simple front‑end page.

JavaReal-TimeSpring Boot
0 likes · 10 min read
Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 23, 2026 · Backend Development

Real-Time Bidirectional Config Updates in Spring Boot 3 Without Restart

This tutorial shows how to integrate Apache Commons Configuration2 with Spring Boot 3 to load, refresh, persist, and listen to configuration changes in real time, using periodic reload triggers, auto‑save, and event listeners so updates take effect without restarting the service.

Apache Commons Configuration2Auto SaveDynamic Configuration
0 likes · 8 min read
Real-Time Bidirectional Config Updates in Spring Boot 3 Without Restart
Top Architect
Top Architect
Apr 22, 2026 · Backend Development

From Hottest to Obsolete: A Critical Review of 13 Java Web Frameworks

The article evaluates 13 Java web frameworks—Spring Boot, Quarkus, Micronaut, Vert.x, Helidon, Javalin, Dropwizard, Play Framework, Grails, Apache Wicket, Struts 2, JSF, and native Servlet+JSP—using six objective dimensions (performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation) and presents concrete usage statistics, benchmark numbers, and tiered rankings to guide technology selection.

Backend DevelopmentJavaMicronaut
0 likes · 10 min read
From Hottest to Obsolete: A Critical Review of 13 Java Web Frameworks
Top Architect
Top Architect
Apr 22, 2026 · Backend Development

Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns

Learn how to replace tangled if‑else login code with a clean, extensible architecture using Spring Boot, combining the Factory pattern to instantiate strategy beans and the Strategy pattern to encapsulate each login method (password, WeChat, SMS, etc.), enabling easy addition of new authentication types.

AuthenticationDesign PatternsFactory Pattern
0 likes · 14 min read
Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 22, 2026 · Backend Development

A Lightweight Spring Boot Starter for Anti‑Repeat Submissions and Rate Limiting – Now on Maven Central

Guardian is a lightweight Spring Boot starter that provides both anti‑repeat‑submission protection and API rate limiting; it supports annotation and YAML configuration, flexible key scopes (user, IP, global), Redis or local storage, customizable response modes, white‑list handling, and built‑in observability, making it a drop‑in solution for single‑service projects.

API protectionSpring BootYAML
0 likes · 16 min read
A Lightweight Spring Boot Starter for Anti‑Repeat Submissions and Rate Limiting – Now on Maven Central
java1234
java1234
Apr 22, 2026 · Artificial Intelligence

Getting Started with LangChain4j: Building Java AI Agents with a Mature LLM Framework

LangChain4j fills the long‑standing gap for Java developers by offering a Java‑native, enterprise‑grade LLM framework that abstracts model calls, prompts, memory, tools, RAG, streaming and structured output, enabling quick setup, clean AI Service definitions, and seamless integration into Spring Boot or Quarkus applications.

AI servicesChatMemoryJava
0 likes · 24 min read
Getting Started with LangChain4j: Building Java AI Agents with a Mature LLM Framework
Java Web Project
Java Web Project
Apr 22, 2026 · Backend Development

How to Build a Java MCP Server for AI Tools with Spring AI

This guide explains the Model Context Protocol (MCP), its JSON‑RPC communication modes, compares Java implementations, and provides a step‑by‑step tutorial—including project setup, configuration, tool creation, registration, and integration with Claude Desktop and IDEA—while covering description best practices, security, validation, and production considerations.

AIBackendJava
0 likes · 17 min read
How to Build a Java MCP Server for AI Tools with Spring AI
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 22, 2026 · Backend Development

5 Common Spring Boot Filter Pitfalls and How to Avoid Them

This article examines five typical pitfalls when using Spring Boot filters—request body consumption, ThreadLocal leakage, duplicate execution, ordering conflicts, and async handling—provides concrete code examples, explains why each issue occurs, and offers reliable solutions to keep your applications stable and secure.

BackendJavaServlet
0 likes · 11 min read
5 Common Spring Boot Filter Pitfalls and How to Avoid Them
MeowKitty Programming
MeowKitty Programming
Apr 21, 2026 · Backend Development

Stop Hand‑Coding HTTP for AI: Adopt the Fast‑Updating OpenAI Java SDK

The OpenAI Java SDK has released three versions (4.29.0, 4.31.0, 4.32.0) within weeks, adding a Responses API, Spring Boot starter, webhook verification, request‑ID handling, automatic retries, and GraalVM compatibility, turning it from a simple HTTP wrapper into a production‑ready backend component for Java developers.

AI integrationJavaOpenAI
0 likes · 6 min read
Stop Hand‑Coding HTTP for AI: Adopt the Fast‑Updating OpenAI Java SDK
Java Architect Handbook
Java Architect Handbook
Apr 21, 2026 · Information Security

How to Secure Spring Boot APIs with RSA Encryption: A Step‑by‑Step Guide

This article explains RSA encryption fundamentals, illustrates two practical scenarios, and walks through creating a Spring Boot project, adding Maven dependencies, configuring RSA keys, annotating controllers for automatic encryption/decryption, testing the endpoints, and handling client‑side encryption with JavaScript, while highlighting common pitfalls.

API SecurityBackendJava
0 likes · 13 min read
How to Secure Spring Boot APIs with RSA Encryption: A Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 21, 2026 · Backend Development

Mastering Spring Boot 3 Parameter Conversion: 5 Practical Solutions

This article walks through five comprehensive Spring Boot 3 techniques for converting request parameters—including a custom Converter, PropertyEditor, custom @ConvertUser annotation, argument resolver, and JSON deserializer—showing step‑by‑step implementations, registration details, and runtime screenshots for each approach.

Argument ResolverCustom ConverterJSON Deserializer
0 likes · 10 min read
Mastering Spring Boot 3 Parameter Conversion: 5 Practical Solutions
Selected Java Interview Questions
Selected Java Interview Questions
Apr 20, 2026 · Backend Development

How Groovy Scripts Enable Dynamic Business Rules in Spring Boot

This article explains why frequent business‑rule changes hurt backend release cycles, compares rule engines with Groovy dynamic scripts, walks through three integration methods, shows a Spring Boot implementation with caching and bean access, and details production pitfalls and best‑practice mitigations.

BackendDynamic ScriptingGroovy
0 likes · 16 min read
How Groovy Scripts Enable Dynamic Business Rules in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 20, 2026 · Backend Development

Avoid Hidden Thread‑Safety Bugs in Spring Boot 3: 6 Common Pitfalls and Fixes

This article examines six typical concurrency mistakes in Spring Boot 3—misusing volatile, unsafe ConcurrentHashMap patterns, exposing mutable collections, removing synchronized, abusing parallel streams, and invisible shutdown flags—showing why they occur and providing concrete, thread‑safe code replacements.

ConcurrentHashMapJavaSpring Boot
0 likes · 9 min read
Avoid Hidden Thread‑Safety Bugs in Spring Boot 3: 6 Common Pitfalls and Fixes
Eric Tech Circle
Eric Tech Circle
Apr 20, 2026 · Backend Development

How to Seamlessly Upgrade from Spring Boot 3 to 4 with AI Assistance

This article shares a practical, AI‑assisted workflow for migrating a Spring Boot 3.5.11 project to Spring Boot 4, covering key framework upgrades, step‑by‑step migration planning, common pitfalls, maintainability tips, and verification of critical functionality.

AI-assistedAPI VersioningBackend Development
0 likes · 11 min read
How to Seamlessly Upgrade from Spring Boot 3 to 4 with AI Assistance
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 20, 2026 · Backend Development

Rewrite Spring Boot Request Body: Filter, RequestBodyAdvice, and Custom Processor

This article compares three Spring Boot techniques—using a Filter with a custom HttpServletRequestWrapper, a global RequestBodyAdvice, and a custom RequestResponseBodyMethodProcessor—to transparently decrypt or modify the request body, providing code samples, configuration tips, and testing guidance for each approach.

BackendCustom ProcessorJava
0 likes · 8 min read
Rewrite Spring Boot Request Body: Filter, RequestBodyAdvice, and Custom Processor
Java Web Project
Java Web Project
Apr 19, 2026 · Industry Insights

Why Spring Boot Falters in Serverless: Comparing Quarkus, Micronaut & Helidon

Spring Boot’s heavy runtime, driven by reflection and classpath scanning, incurs long cold starts and high memory usage, making it costly for serverless and edge deployments; lightweight frameworks like Quarkus, Micronaut, and Helidon shift work to compile time and offer native images, but introduce trade‑offs in dynamism, ecosystem coverage, and build complexity.

HelidonMicronautQuarkus
0 likes · 10 min read
Why Spring Boot Falters in Serverless: Comparing Quarkus, Micronaut & Helidon
Coder Trainee
Coder Trainee
Apr 19, 2026 · Backend Development

How to Optimize Performance and Deploy a Production‑Ready Blog System

This article walks through a complete performance‑optimization and deployment pipeline for a Spring Boot blog, covering multi‑level caching with Caffeine and Redis, database indexing and cursor pagination, read‑write splitting, asynchronous processing, rate limiting, Docker multi‑stage builds, Nginx reverse‑proxy setup, Actuator monitoring, custom metrics, health checks, alerting, JMeter load testing, and JVM tuning.

CaffeineDockerPerformance Optimization
0 likes · 17 min read
How to Optimize Performance and Deploy a Production‑Ready Blog System
Java Architect Essentials
Java Architect Essentials
Apr 17, 2026 · Backend Development

How to Integrate Tess4J OCR into a Spring Boot Application

This article explains OCR fundamentals, introduces Tesseract and its Java wrapper Tess4J, guides you through downloading language data, shows step‑by‑step Spring Boot integration with Maven dependencies and configuration classes, and provides test code for Chinese, English, and mixed‑language image recognition.

JavaLanguage DataOCR
0 likes · 9 min read
How to Integrate Tess4J OCR into a Spring Boot Application
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 17, 2026 · Backend Development

Generate Professional Architecture Diagrams Instantly with Spring Boot 3

This guide introduces the Architecture Diagram Generator skill for Spring Boot 3, explains how to install it via OpenCode and Claude Code, lists its visual features and color scheme, and demonstrates generating various architecture diagrams such as web applications, AWS serverless stacks, and microservice systems.

AutomationBackend DevelopmentClaude
0 likes · 7 min read
Generate Professional Architecture Diagrams Instantly with Spring Boot 3
SpringMeng
SpringMeng
Apr 17, 2026 · Backend Development

Smart Agriculture System: Remote Mini‑Program Control and Real‑Time Dashboard

Programmer Xiao Meng details the design and implementation of a smart agriculture platform that uses a WeChat mini‑program for remote hardware control, a web‑based dashboard for real‑time monitoring, and a full stack of Spring Boot, Vue, UniApp, MQTT and TDengine technologies.

MQTTSmart AgricultureSpring Boot
0 likes · 11 min read
Smart Agriculture System: Remote Mini‑Program Control and Real‑Time Dashboard
Coder Circle
Coder Circle
Apr 16, 2026 · Artificial Intelligence

Add Context Memory to Your AI in 5 Lines with Spring AI ChatMemory

The article demonstrates how to give a Spring Boot AI chatbot persistent context using Spring AI's ChatMemory, showing the problem of stateless requests, explaining the ChatMemory architecture, providing a five‑line code example, comparing storage options (InMemory, JDBC, Redis), and sharing practical tips and pitfalls.

AI conversationChatMemoryJava
0 likes · 7 min read
Add Context Memory to Your AI in 5 Lines with Spring AI ChatMemory
Java Web Project
Java Web Project
Apr 16, 2026 · Backend Development

How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service

The article walks through a 13‑hour out‑of‑memory incident on a Spring Boot 2.7 service running in Kubernetes, detailing how to preserve the crash dump, interpret GC logs, use MAT and Arthas to pinpoint a static HashMap leak, and apply both temporary and permanent fixes while hardening the system for future safety.

ArthasJVMJava
0 likes · 18 min read
How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service
Coder Trainee
Coder Trainee
Apr 16, 2026 · Backend Development

Building a Tech Blog from Scratch (Part 2): Implementing Login Authentication with Spring Security and JWT

This article walks through creating a complete login authentication system—including registration, login, token refresh, and permission control—by replacing Spring Security's default session handling with JWT, configuring backend filters and utilities, and integrating a Vue 3 + Pinia front‑end with automatic token renewal.

AuthenticationJWTSpring Boot
0 likes · 19 min read
Building a Tech Blog from Scratch (Part 2): Implementing Login Authentication with Spring Security and JWT
Java Web Project
Java Web Project
Apr 15, 2026 · Backend Development

How We Cut Spring Boot Startup from 12 s to 3 s with GraalVM Native Image

This article walks through converting a Spring Boot order‑query microservice to a GraalVM Native Image, detailing environment setup, common build pitfalls with concrete code fixes, Docker multi‑stage packaging, K8s scaling comparison, performance benchmarks, CI/CD integration, and guidance on when Native Image is appropriate.

DockerKubernetesPerformance Optimization
0 likes · 12 min read
How We Cut Spring Boot Startup from 12 s to 3 s with GraalVM Native Image
Java Architecture Diary
Java Architecture Diary
Apr 15, 2026 · Operations

Unlock JVM Mysteries: How Arthas and AI Turn Debugging into a One‑Click Process

When a service’s P99 latency spikes to seconds and CPU hits 90% without logs, Arthas lets you inspect the JVM in real time without code changes, and its AI‑driven MCP extension automates command selection, enabling developers to diagnose, trace, decompile, and monitor issues through simple natural‑language prompts and Spring Boot integration.

AI OperationsArthasJVM debugging
0 likes · 8 min read
Unlock JVM Mysteries: How Arthas and AI Turn Debugging into a One‑Click Process
Coder Circle
Coder Circle
Apr 14, 2026 · Backend Development

Spring AI Hands‑On for Java Developers: Connecting ChatClient to the MiniMax LLM

This tutorial shows Java engineers how to set up a Spring Boot 4 project, configure Spring AI for the MiniMax large‑language model, call it via simple and streaming endpoints, use prompt templates with dynamic parameters, add metadata and advisors, and switch between different LLM providers with minimal code changes.

JavaLLMMiniMax
0 likes · 8 min read
Spring AI Hands‑On for Java Developers: Connecting ChatClient to the MiniMax LLM
Coder Trainee
Coder Trainee
Apr 14, 2026 · Operations

5 Production Nightmares in an Education Mini‑Program and How to Avoid Them

The author recounts five critical production incidents that crippleed an education mini‑program—Redis connection‑pool exhaustion, duplicate bookings, double refunds, mis‑firing no‑show jobs, and inventory oversell—detailing root causes, concrete fixes, and hard‑won lessons for building resilient backend services.

IdempotencySpring Bootdistributed-lock
0 likes · 10 min read
5 Production Nightmares in an Education Mini‑Program and How to Avoid Them
Su San Talks Tech
Su San Talks Tech
Apr 10, 2026 · Artificial Intelligence

Boost Your Java Development with CC GUI: A Dual‑AI IDE Plugin Review

This article introduces CC GUI, a powerful JetBrains IDEA plugin that integrates Claude Code and Codex AI engines, walks through its key features, installation steps, and a real‑world Spring Boot project demo, highlighting how the tool can automate code upgrades, refactoring, and testing within the IDE.

AI CodingClaude CodeIDE plugin
0 likes · 7 min read
Boost Your Java Development with CC GUI: A Dual‑AI IDE Plugin Review
Tech Verticals & Horizontals
Tech Verticals & Horizontals
Apr 10, 2026 · Artificial Intelligence

Enterprise‑Scale Codex + OpenSpec + Superpowers Workflow: A Step‑by‑Step, Governed AI Development Process

This article presents a comprehensive, enterprise‑grade workflow that combines Codex, OpenSpec, and Superpowers to turn AI‑assisted coding from chaotic code generation into a controlled, spec‑driven, and engineerable process for Java/Spring Boot microservice teams.

AI CodingCodexEnterprise workflow
0 likes · 15 min read
Enterprise‑Scale Codex + OpenSpec + Superpowers Workflow: A Step‑by‑Step, Governed AI Development Process
Java Companion
Java Companion
Apr 7, 2026 · Backend Development

A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature

The article explains how Spring’s built‑in ApplicationEvent and @EventListener mechanism provides a lightweight, zero‑dependency alternative to external message queues for decoupling logic within the same JVM, covering core components, implementation styles, async execution, transactional listeners, pitfalls, performance comparison, and production best practices.

ApplicationEventAsynchronousEvent-driven
0 likes · 23 min read
A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature