Tagged articles
10 articles
Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 13, 2025 · Backend Development

Mastering Spring Boot 3: Real‑World Cases, ThreadLocal, Async & More

This article presents a continuously updated collection of over 90 practical Spring Boot 3 examples, covering request/response access, ThreadLocal handling, async interceptors, request metadata extraction, custom type converters, 404 error handling, and related source code to help developers build robust backend services.

Backend DevelopmentError HandlingJava
0 likes · 10 min read
Mastering Spring Boot 3: Real‑World Cases, ThreadLocal, Async & More
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 3, 2024 · Backend Development

Master Advanced Spring Boot 3 Techniques: Output Control, Body Parsing, and Security Context

This article presents a collection of over 50 practical Spring Boot 3 examples, demonstrating how to directly write responses with OutputStream, read request bodies via InputStream, use @Value and SpEL for fixed parameters, combine body and headers with HttpEntity, access security data through @CurrentSecurityContext, and handle Map parameters with @ModelAttribute.

REST APIRequest HandlingSecurity
0 likes · 7 min read
Master Advanced Spring Boot 3 Techniques: Output Control, Body Parsing, and Security Context
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 27, 2021 · Backend Development

How Spring MVC Processes a Request: From DispatcherServlet to ViewResolver

This article explains step‑by‑step how Spring MVC handles an incoming HTTP request, detailing the roles of DispatcherServlet, HandlerMapping, HandlerAdapter, argument and return value resolvers, and ViewResolver, and includes key code excerpts that illustrate the matching and initialization processes.

DispatcherServletJava backendRequest Handling
0 likes · 7 min read
How Spring MVC Processes a Request: From DispatcherServlet to ViewResolver
ZhiKe AI
ZhiKe AI
Oct 9, 2021 · Backend Development

Inside Spring MVC: How DispatcherServlet Processes Requests

The article dissects Spring MVC’s core request flow, detailing how DispatcherServlet extends HttpServlet, delegates to FrameworkServlet, and ultimately routes requests through doService, doDispatch, handler adapters, interceptors, and result processing, with code excerpts illustrating each step.

DispatcherServletFrameworkServletJava Servlet
0 likes · 6 min read
Inside Spring MVC: How DispatcherServlet Processes Requests
21CTO
21CTO
Feb 14, 2021 · Backend Development

How to Gracefully Prevent Duplicate Requests with Redis and Java

This article explains why duplicate requests—especially those that modify data—can be dangerous, outlines common causes, and provides a comprehensive server‑side solution using unique request IDs, parameter hashing, and a Java utility class with Redis to reliably deduplicate incoming calls.

IdempotencyJavaRequest Handling
0 likes · 8 min read
How to Gracefully Prevent Duplicate Requests with Redis and Java
Top Architect
Top Architect
May 2, 2020 · Backend Development

Understanding Tomcat: Request/Response Processing and the Servlet Lifecycle

This article explains how Tomcat, a popular Java web server and servlet container, handles incoming HTTP requests by providing socket services, distributing URLs to web applications, encapsulating request and response objects, and invoking servlet classes, illustrated with step‑by‑step screenshots of a simple implementation.

Backend DevelopmentJavaRequest Handling
0 likes · 5 min read
Understanding Tomcat: Request/Response Processing and the Servlet Lifecycle
Senior Brother's Insights
Senior Brother's Insights
Apr 5, 2020 · Backend Development

Demystifying Tomcat: How It Handles Requests in 7 Simple Steps

This article explains how Tomcat, the popular Java servlet container, processes incoming HTTP requests by providing socket services, dispatching URLs, wrapping request/response objects, and invoking servlet classes, illustrated with a seven‑step implementation and accompanying screenshots.

BackendJavaRequest Handling
0 likes · 5 min read
Demystifying Tomcat: How It Handles Requests in 7 Simple Steps
Java High-Performance Architecture
Java High-Performance Architecture
Sep 1, 2015 · Databases

How a Database Server Starts, Handles, and Completes Client Requests

The article outlines the step‑by‑step lifecycle of a database server—from system initialization and buffer allocation, through connection and thread management, request parsing, optimization, storage‑engine interaction, to final response delivery and cleanup—illustrated with diagrams of each stage.

Database ArchitectureQuery ProcessingRequest Handling
0 likes · 4 min read
How a Database Server Starts, Handles, and Completes Client Requests