Tagged articles
136 articles
Page 1 of 2
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
java1234
java1234
Mar 1, 2026 · Backend Development

Spring MVC Interceptor vs Filter: Key Differences and Execution Order

This article explains the fundamental differences between Spring MVC interceptors and servlet filters—including definition, scope, configuration, lifecycle, and execution timing—and details their processing order with illustrative code samples and a request flow diagram.

InterceptorJavaServlet
0 likes · 8 min read
Spring MVC Interceptor vs Filter: Key Differences and Execution Order
SpringMeng
SpringMeng
Feb 27, 2026 · Backend Development

How to Use IntelliJ IDEA Diagrams to Explore Java Inheritance and Source Code

This guide shows how to leverage IntelliJ IDEA's diagram feature to visualize inheritance and interface relationships of Java classes, prune irrelevant nodes, inspect members, filter visibility, add additional classes, and quickly jump to source code, making code navigation far more efficient.

DiagramsIDE TipsInheritance
0 likes · 5 min read
How to Use IntelliJ IDEA Diagrams to Explore Java Inheritance and Source Code
Coder Trainee
Coder Trainee
Jan 27, 2026 · Backend Development

How to Implement Global IP‑Based User Location Display in Java

This article explains how Java developers can retrieve a client’s IP address from an HttpServletRequest, handle proxy headers, and use the ip2region library (via Maven) to map the IP to its province and city, including code snippets and configuration details.

IP addressJavaLocation lookup
0 likes · 5 min read
How to Implement Global IP‑Based User Location Display in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 25, 2025 · Backend Development

Master Spring Boot 3 Functional Routing: Handlers, Reactive APIs, and Advanced Techniques

This article explains how to replace annotation‑based controllers with Spring Boot 3 functional routing, covering both servlet‑blocking and reactive WebFlux implementations, complete with code examples for handlers, routers, parameter validation, nested routes, filters, and resource redirects.

Functional RoutingHandlerFunctionRouterFunction
0 likes · 10 min read
Master Spring Boot 3 Functional Routing: Handlers, Reactive APIs, and Advanced Techniques
Top Architect
Top Architect
Dec 17, 2025 · Backend Development

Zero‑Downtime SpringBoot Updates: Share the Same Port Between Old and New Instances

This article explains how to update a SpringBoot application without stopping the service by letting the old and new processes share the same port, detailing the underlying Tomcat and ServletContainerInitializer mechanisms, providing a step‑by‑step implementation and a demo for seamless zero‑downtime deployments.

DeploymentJavaPortSharing
0 likes · 10 min read
Zero‑Downtime SpringBoot Updates: Share the Same Port Between Old and New Instances
Java Tech Enthusiast
Java Tech Enthusiast
Dec 6, 2025 · Backend Development

How to Visualize Java Servlet Inheritance Using IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA's diagram feature to display, clean up, and explore the inheritance and interface implementation hierarchy of Java Servlet classes, including filtering unwanted nodes, inspecting members, adjusting visibility, zooming, adding related classes, and jumping to source code.

Backend DevelopmentIDE TipsInheritance Diagram
0 likes · 6 min read
How to Visualize Java Servlet Inheritance Using IntelliJ IDEA Diagrams
macrozheng
macrozheng
Nov 26, 2025 · Backend Development

Visualizing Java Servlet Inheritance with IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA's diagram feature to view, customize, and navigate Java Servlet inheritance and interface implementation graphs, including filtering classes, inspecting members, adjusting visibility, zooming, adding related classes, and jumping directly to source code.

IDE TipsInheritance DiagramIntelliJ IDEA
0 likes · 6 min read
Visualizing Java Servlet Inheritance with IntelliJ IDEA Diagrams
Su San Talks Tech
Su San Talks Tech
Nov 10, 2025 · Backend Development

Visualize Java Servlet Inheritance with IntelliJ IDEA Diagrams

Learn how to quickly generate and customize clear inheritance diagrams for Java Servlet classes using IntelliJ IDEA’s diagram feature, including viewing relationships, filtering classes, inspecting members, adjusting visibility, adding classes, and navigating source code—all illustrated with step‑by‑step screenshots.

IDE tutorialInheritance DiagramIntelliJ IDEA
0 likes · 7 min read
Visualize Java Servlet Inheritance with IntelliJ IDEA Diagrams
Java Architect Essentials
Java Architect Essentials
Sep 5, 2025 · Backend Development

Zero‑Downtime SpringBoot Updates: Share the Same Port Seamlessly

This article explains how to achieve zero‑downtime updates for SpringBoot applications by allowing two processes to share the same port, detailing the underlying Tomcat and ServletContainerInitializer mechanisms, providing a step‑by‑step implementation with code examples, and demonstrating seamless hot‑swap without service interruption.

HotSwapServletSpringBoot
0 likes · 9 min read
Zero‑Downtime SpringBoot Updates: Share the Same Port Seamlessly
Architecture Digest
Architecture Digest
Aug 21, 2025 · Backend Development

Which Java Technologies Are Truly Obsolete? A Practical Guide

The article reviews decades of Java evolution, evaluates JSP, Struts, Hibernate, Servlet and other legacy tools against real‑world usefulness, interview relevance, and learning value, and advises developers on which technologies to drop and which fundamentals to master.

HibernateJSPJava
0 likes · 7 min read
Which Java Technologies Are Truly Obsolete? A Practical Guide
Architect's Tech Stack
Architect's Tech Stack
Aug 21, 2025 · Backend Development

Master Java Servlet Inheritance with IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA's diagram feature to visualize, clean up, and explore Java Servlet inheritance hierarchies, including removing irrelevant classes, viewing method details, zooming, adding related classes, and jumping directly to source code.

Backend DevelopmentClass DiagramInheritance
0 likes · 6 min read
Master Java Servlet Inheritance with IntelliJ IDEA Diagrams
Java Captain
Java Captain
May 23, 2025 · Backend Development

CompressUtil Java Utility for File Compression and Download

This article introduces a Java utility class named CompressUtil that provides methods for compressing files and directories into ZIP archives, handling duplicate filenames, creating new files safely, and offering HTTP endpoints for downloading the generated ZIP files in a single request.

File CompressionServletutility
0 likes · 10 min read
CompressUtil Java Utility for File Compression and Download
macrozheng
macrozheng
Apr 16, 2025 · Backend Development

Which Java Technologies Are Truly Obsolete? A 2024 Guide for Developers

This article reviews common Java backend technologies, explains why JSP, Struts, Hibernate and several legacy tools are no longer worth learning, and highlights the essential concepts—especially deep mastery of Servlets—that modern Java developers should focus on in 2024.

HibernateMicroservicesMyBatis
0 likes · 9 min read
Which Java Technologies Are Truly Obsolete? A 2024 Guide for Developers
Lin is Dream
Lin is Dream
Mar 17, 2025 · Backend Development

How Web Containers Stay Alive: Inside Java Servlets, Netty, and Sockets

Web containers, such as Tomcat, keep running by continuously listening on network ports with socket servers and thread pools, handling I/O requests; this article explains the role of the main function, servlet lifecycle, Netty’s NIO framework, and why WebFlux‑based gateways outperform traditional Tomcat setups.

JavaNettyServlet
0 likes · 5 min read
How Web Containers Stay Alive: Inside Java Servlets, Netty, and Sockets
Architecture Digest
Architecture Digest
Feb 11, 2025 · Backend Development

Outdated Java Backend Technologies You Can Stop Learning

The article reviews several Java backend technologies—JSP, Struts, Hibernate, Servlet, Applet, Swing, JDBC, and XML—explaining why they are now considered obsolete or low‑priority and recommending modern alternatives such as Spring MVC, MyBatis, and deep Servlet knowledge for current development.

HibernateJSPJava
0 likes · 9 min read
Outdated Java Backend Technologies You Can Stop Learning
macrozheng
macrozheng
Jan 26, 2025 · Backend Development

Which Java Technologies Are Worth Learning in 2024? A Practical Guide

Based on 20 years of Java experience, this article evaluates Java technologies like JSP, Struts, Hibernate, and Servlet against practical use, depth of understanding, and interview relevance, recommending which to drop, which to master, and highlighting alternatives such as Spring MVC and MyBatis.

Backend DevelopmentHibernateJSP
0 likes · 8 min read
Which Java Technologies Are Worth Learning in 2024? A Practical Guide
Architect
Architect
Oct 9, 2024 · Backend Development

Unlocking Higher Throughput: Mastering Async Requests in Spring Boot

This article explains how Spring Boot can handle HTTP requests asynchronously using Callable, WebAsyncTask, and DeferredResult, detailing the underlying servlet workflow, thread‑pool configuration, and when asynchronous processing truly improves throughput versus CPU‑bound workloads.

AsyncCallableDeferredResult
0 likes · 12 min read
Unlocking Higher Throughput: Mastering Async Requests in Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Sep 7, 2024 · Backend Development

Understanding Tomcat and Its Integration with Spring Boot

Apache Tomcat is the underlying servlet container and web server that Spring Boot automatically embeds via the spring‑boot‑starter‑web dependency, but junior developers often miss its core roles—managing servlet lifecycles, serving static resources, and compiling JSPs—so learning Tomcat (or swapping it for Jetty by adjusting Maven exclusions) clarifies what Spring Boot abstracts and enables flexible container choices.

JavaServletSpring Boot
0 likes · 6 min read
Understanding Tomcat and Its Integration with Spring Boot
Top Architect
Top Architect
Jun 26, 2024 · Backend Development

Visualizing Java Servlet Inheritance Hierarchy with IntelliJ IDEA Diagrams

This article explains how to use IntelliJ IDEA's diagram feature to view, clean up, and explore the inheritance and interface implementation relationships of Java Servlet classes, including tips for removing irrelevant nodes, inspecting class members, adjusting visibility, zooming, and adding related classes to the diagram.

Backend DevelopmentIDE TipsInheritance Diagram
0 likes · 7 min read
Visualizing Java Servlet Inheritance Hierarchy with IntelliJ IDEA Diagrams
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 26, 2024 · Backend Development

Visualizing and Optimizing Java Inheritance Diagrams in IntelliJ IDEA

This guide explains how to use IntelliJ IDEA’s diagram feature to view, clean up, and explore inheritance and interface relationships of Java classes such as Servlets, including removing unwanted nodes, inspecting members, adjusting visibility, zooming, adding classes, and jumping to source code.

Backend DevelopmentInheritance DiagramIntelliJ IDEA
0 likes · 6 min read
Visualizing and Optimizing Java Inheritance Diagrams in IntelliJ IDEA
Architecture Digest
Architecture Digest
Apr 2, 2024 · Backend Development

Outdated Java Backend Technologies and Learning Recommendations

The article examines which Java backend technologies are considered obsolete—such as JSP, Struts, Hibernate, and others—by applying criteria like practical usage, depth of understanding, and interview relevance, and advises learners on what to drop, prioritize, or master for modern development.

BackendHibernateJSP
0 likes · 7 min read
Outdated Java Backend Technologies and Learning Recommendations
Java Architecture Diary
Java Architecture Diary
Oct 10, 2023 · Backend Development

Running Spring Cloud Gateway on Traditional Servlet Containers: MVC Support Explained

This article explains why Spring Cloud Gateway originally required Netty and could not run in traditional Servlet containers, introduces the new MVC Servlet support added in Spring Cloud 2023 (Gateway 4.1), and provides step‑by‑step instructions for configuring dependencies, routing rules, and custom filters using Tomcat or other servlet containers.

JavaMVCNetty
0 likes · 6 min read
Running Spring Cloud Gateway on Traditional Servlet Containers: MVC Support Explained
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2023 · Backend Development

Understanding Tomcat’s Startup Process: From Bootstrap to Lifecycle

This article explains how Tomcat starts by running the startup script, invoking the BootStrap main method, initializing Catalina, loading configuration, and managing component lifecycles through the Lifecycle interface, while also detailing default implementations, endpoint types, and protocol handlers.

BackendJavaLifecycle
0 likes · 5 min read
Understanding Tomcat’s Startup Process: From Bootstrap to Lifecycle
macrozheng
macrozheng
Sep 12, 2023 · Backend Development

Which Java Technologies Are Still Worth Learning? A Practical Guide

This article reviews common Java technologies—JSP, Struts, Hibernate, Servlet, and others—evaluating their relevance for modern backend development based on practical usage, depth of understanding, and interview value, and offers clear recommendations on what to study or drop.

HibernateJavaServlet
0 likes · 9 min read
Which Java Technologies Are Still Worth Learning? A Practical Guide
Java Captain
Java Captain
Jul 21, 2023 · Backend Development

Outdated Java Technologies You Should Stop Learning

This article reviews several Java backend technologies—JSP, Struts, Hibernate, Servlet, and others—explaining why they are considered outdated or unnecessary for modern development and offering guidance on what newcomers should focus on instead.

Backend DevelopmentHibernateJSP
0 likes · 9 min read
Outdated Java Technologies You Should Stop Learning
Architecture Digest
Architecture Digest
Jun 15, 2023 · Backend Development

How to Package Spring Boot Projects as JAR and WAR

This article explains the differences between JAR and WAR packaging for Spring Boot applications, shows why embedded Tomcat behaves differently from external Tomcat, and provides step‑by‑step instructions with Maven commands and pom.xml modifications to build both JAR and WAR artifacts.

JARServletSpring Boot
0 likes · 13 min read
How to Package Spring Boot Projects as JAR and WAR
Java High-Performance Architecture
Java High-Performance Architecture
May 6, 2023 · Backend Development

Unveiling Tomcat’s Architecture: From Servlet Spec to Core Components

This article explains the servlet specification, core servlet APIs, and how Tomcat implements them, detailing the roles of ServletConfig, ServletContext, ServletRequest, and ServletResponse, and walks through Tomcat’s internal architecture, including server.xml configuration, component hierarchy, and the interaction of Server, Service, Engine, Host, and Context.

JavaServletTomcat
0 likes · 11 min read
Unveiling Tomcat’s Architecture: From Servlet Spec to Core Components
Java Architect Essentials
Java Architect Essentials
Apr 11, 2023 · Backend Development

Understanding JAR vs WAR Packaging in Spring Boot and How to Build Them

This article explains why a Spring Boot project runs differently when packaged as a JAR versus a WAR, outlines the historical evolution of Java web containers, compares the characteristics of JAR and WAR files, and provides step‑by‑step Maven commands and pom.xml configurations for building both package types.

JARServletSpring Boot
0 likes · 13 min read
Understanding JAR vs WAR Packaging in Spring Boot and How to Build Them
Java High-Performance Architecture
Java High-Performance Architecture
Apr 1, 2023 · Backend Development

Mastering Spring Boot Filters and Interceptors: A Complete Guide with Code Samples

This article explains the differences between servlet filters and Spring MVC interceptors, demonstrates how to wrap requests with HttpServletRequestWrapper, use OncePerRequestFilter, configure filters and interceptors in Spring Boot, handle login interception with AJAX redirects, set up listeners, manage static resources, and provides step‑by‑step testing procedures with code examples.

InterceptorJavaServlet
0 likes · 14 min read
Mastering Spring Boot Filters and Interceptors: A Complete Guide with Code Samples
macrozheng
macrozheng
Oct 30, 2022 · Backend Development

Which Java Technologies Are Obsolete? A 20‑Year Veteran’s Guide

Drawing on two decades of Java experience, this article evaluates outdated Java technologies—JSP, Struts, Hibernate, and others—based on real‑world development relevance, interview usefulness, and depth of understanding, and offers clear recommendations on what to skip and what to master.

HibernateJSPJava
0 likes · 8 min read
Which Java Technologies Are Obsolete? A 20‑Year Veteran’s Guide
Java Captain
Java Captain
Oct 23, 2022 · Backend Development

Outdated Java Technologies: What to Skip and What to Master

The article reviews decades of Java development, explaining why technologies such as JSP, Struts, Hibernate, Applet, Swing, JDBC, and XML are now largely obsolete for new learners, and recommends focusing on Spring MVC, MyBatis, and a deep understanding of Servlets.

Backend DevelopmentHibernateJSP
0 likes · 8 min read
Outdated Java Technologies: What to Skip and What to Master
Top Architect
Top Architect
Jul 11, 2022 · Backend Development

Spring Core Concepts and Building a Mini Framework Without Spring

This article explains Spring's core features such as IoC, DI and AOP, demonstrates creating a simple Hello World service with Spring Boot, then shows how to implement the same functionality using raw Servlets and finally builds a miniature Spring‑like framework with custom annotations, an IOC container and a dispatcher servlet.

IoCJavaMiniFramework
0 likes · 19 min read
Spring Core Concepts and Building a Mini Framework Without Spring
Senior Brother's Insights
Senior Brother's Insights
May 4, 2022 · Backend Development

Inside Tomcat: Architecture, Lifecycle, Connectors, and Asynchronous Processing Explained

This article provides a comprehensive technical overview of Apache Tomcat, covering its role as a Java EE servlet container, internal components such as Server, Service, Connector, and Container, lifecycle management, startup sequence, deployment configuration, JSP engine, connector types, NIO processing, Comet, and asynchronous servlet handling.

AsynchronousConnectorJava
0 likes · 23 min read
Inside Tomcat: Architecture, Lifecycle, Connectors, and Asynchronous Processing Explained
Java Architect Essentials
Java Architect Essentials
Jan 21, 2022 · Backend Development

Using IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance and Interface Relationships

This tutorial demonstrates how to leverage IntelliJ IDEA's diagram feature to view, filter, and explore inheritance and interface implementation relationships of Java Servlet classes, including customizing the diagram, inspecting class members, and navigating source code directly from the visual representation.

Class DiagramIDEInheritance
0 likes · 6 min read
Using IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance and Interface Relationships
Java Captain
Java Captain
Jan 19, 2022 · Backend Development

Using IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance Hierarchy

This article demonstrates how to use IntelliJ IDEA's diagram feature to view, clean up, and explore the inheritance and interface implementation relationships of Java Servlet classes, including tips for filtering classes, inspecting members, zooming, and adding additional classes to the diagram.

IDE TipsInheritance DiagramIntelliJ IDEA
0 likes · 6 min read
Using IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance Hierarchy
Java Architect Essentials
Java Architect Essentials
Jan 16, 2022 · Backend Development

Using IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance and Interface Relationships

This article demonstrates how to leverage IntelliJ IDEA's diagram feature to clearly view, customize, and explore the inheritance and interface implementation hierarchy of Java Servlet classes, including removing irrelevant nodes, inspecting members, adding extra classes, and jumping directly to source code.

Backend DevelopmentInheritance DiagramIntelliJ IDEA
0 likes · 5 min read
Using IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance and Interface Relationships
Programmer DD
Programmer DD
Jan 12, 2022 · Backend Development

Mastering Spring’s HttpMessageConverter: Elegant Request/Response Handling

This article explains how Spring's HttpMessageConverter abstracts HTTP message conversion, shows how to read request bodies via HttpInputMessage and ServletServerHttpRequest, demonstrates a practical filter using FormHttpMessageConverter, and illustrates writing JSON responses with MappingJackson2HttpMessageConverter, all with concise code examples.

BackendHttpMessageConverterJava
0 likes · 6 min read
Mastering Spring’s HttpMessageConverter: Elegant Request/Response Handling
macrozheng
macrozheng
Dec 22, 2021 · Backend Development

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

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

Backend DevelopmentHttpMethodServlet
0 likes · 5 min read
What’s New in Spring Framework 6.0? Key Changes and Migration Guide
Programmer DD
Programmer DD
Dec 21, 2021 · Backend Development

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

Spring Framework 6.0 milestone introduces Jakarta EE package migrations, updates core containers, overhauls persistence APIs, modernizes servlet middleware with Tomcat 10, Jetty 11, Undertow 2.2.14, removes legacy components, and changes controller scanning and HttpMethod handling, while offering resources for learning Spring Boot and Cloud.

Backend DevelopmentServletSpring Framework
0 likes · 6 min read
What’s New in Spring Framework 6.0? Key Changes and Migration Guide
Open Source Linux
Open Source Linux
Dec 9, 2021 · Backend Development

Inside Tomcat: How Java’s Popular Backend Server Works

Tomcat is an open‑source Java web server that implements core Java EE specifications such as Servlets and JSP, and its architecture includes containers, connectors, pipelines, valves, and lifecycle management, with detailed explanations of component roles, startup process, deployment, NIO handling, Comet, and asynchronous servlet support.

BackendJavaServlet
0 likes · 23 min read
Inside Tomcat: How Java’s Popular Backend Server Works
Top Architect
Top Architect
Dec 6, 2021 · Backend Development

Tomcat Architecture Overview: Connectors, Containers, and Lifecycle

This article provides a detailed overview of Tomcat’s backend architecture, explaining its core components such as the server, service, connector, lifecycle management, protocol handler, endpoint, processor, adapter, and container hierarchy, and includes code examples illustrating the request‑response flow.

JavaServletTomcat
0 likes · 8 min read
Tomcat Architecture Overview: Connectors, Containers, and Lifecycle
Programmer DD
Programmer DD
Nov 26, 2021 · Backend Development

Master Java Servlet Inheritance with IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA’s diagram feature to visualize, clean up, and explore Java Servlet inheritance and interface relationships, including removing unwanted classes, inspecting members, adding new classes, and jumping directly to source code for deeper understanding.

Backend DevelopmentInheritance DiagramIntelliJ IDEA
0 likes · 5 min read
Master Java Servlet Inheritance with IntelliJ IDEA Diagrams
YunZhu Net Technology Team
YunZhu Net Technology Team
Nov 12, 2021 · Backend Development

Understanding How Spring MVC DispatcherServlet Registers Controllers and Dispatches Requests via HandlerMapping

This article explains, using servlet source code as a starting point, how Spring MVC registers @RequestMapping‑annotated controllers into RequestMappingHandlerMapping during container initialization and how the DispatcherServlet processes incoming HTTP requests by locating the appropriate HandlerMethod through a series of handler mappings and interceptor chains.

DispatcherServletHandlerMappingJava
0 likes · 17 min read
Understanding How Spring MVC DispatcherServlet Registers Controllers and Dispatches Requests via HandlerMapping
Open Source Linux
Open Source Linux
Oct 8, 2021 · Backend Development

Tomcat Deep Dive: Java Servlet Container Architecture & Lifecycle

Tomcat is an open‑source Java web server that implements core Java EE specifications such as Servlets and JSPs, and its architecture comprises containers like Server, Service, Connector, and Catalina, each with components (Engine, Host, Context, Wrapper) that manage lifecycle stages, request processing pipelines, valves, connectors (BIO/NIO/APR), JSP compilation, and asynchronous servlet handling.

Asynchronous ServletConnectorJSP
0 likes · 18 min read
Tomcat Deep Dive: Java Servlet Container Architecture & Lifecycle
Java Interview Crash Guide
Java Interview Crash Guide
Oct 3, 2021 · Backend Development

How Spring MVC Simplifies Server‑Side Development: From Servlets to DispatcherServlet

This article explains how Spring MVC evolved from basic Servlets to a front‑controller architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerInterceptor, ModelAndView, and ViewResolver in streamlining request handling, business logic separation, and view rendering for modern Java web applications.

Backend DevelopmentDispatcherServletHandlerMapping
0 likes · 18 min read
How Spring MVC Simplifies Server‑Side Development: From Servlets to DispatcherServlet
MaGe Linux Operations
MaGe Linux Operations
Oct 2, 2021 · Backend Development

Inside Tomcat: Architecture, Lifecycle, Connectors, and Advanced Features

This article provides a comprehensive overview of Tomcat, covering its role as an open‑source Java web server, the internal components such as Server, Service, Connector, and Container, lifecycle management, servlet and JSP processing, connector types, pipeline/valve mechanisms, Comet push, and asynchronous servlet support.

AsyncConnectorJSP
0 likes · 19 min read
Inside Tomcat: Architecture, Lifecycle, Connectors, and Advanced Features
IT Architects Alliance
IT Architects Alliance
Sep 15, 2021 · Backend Development

Inside Tomcat: Unveiling Its Architecture, Lifecycle, and Connector Mechanics

This article provides a comprehensive technical deep‑dive into Apache Tomcat, covering its role as a Java EE web server, core components such as Server, Service, Connector, Container, the detailed lifecycle management, servlet and JSP processing, various connector implementations, NIO handling, Comet push technology, and asynchronous servlet support.

AsyncCometConnector
0 likes · 21 min read
Inside Tomcat: Unveiling Its Architecture, Lifecycle, and Connector Mechanics
Top Architect
Top Architect
Sep 13, 2021 · Backend Development

In‑Depth Overview of Tomcat Architecture, Components, and Lifecycle

This article provides a comprehensive technical guide to Apache Tomcat, covering its servlet container architecture, core components such as Server, Service, Engine, Host, and Context, lifecycle management, request processing pipeline, connector types, JSP handling, asynchronous servlet support, and related code examples.

ContainerLifecycleServlet
0 likes · 19 min read
In‑Depth Overview of Tomcat Architecture, Components, and Lifecycle
Java Architect Essentials
Java Architect Essentials
Jul 9, 2021 · Information Security

How Single Sign-On (SSO) Works: From Session Basics to Full Implementation

This article explains the stateless nature of HTTP, how session and cookie mechanisms enable login state in a single web system, the challenges of multi‑system environments, and provides a step‑by‑step guide with code examples for building a Java‑based Single Sign‑On solution, including token generation, validation, and logout handling.

AuthenticationJavaSSO
0 likes · 17 min read
How Single Sign-On (SSO) Works: From Session Basics to Full Implementation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2021 · Backend Development

Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration

This guide explains three ways to register Servlets in Spring Boot 2.3.9—including @ServletComponentScan with @WebServlet, ServletRegistrationBean, and dynamic registration via ServletContextInitializer—while detailing the underlying scanning mechanism, BeanFactory post‑processor workflow, and how Tomcat ultimately registers the servlet.

Dynamic RegistrationJavaServlet
0 likes · 11 min read
Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration
Architect's Tech Stack
Architect's Tech Stack
Jul 7, 2021 · Backend Development

Visualizing Java Servlet Inheritance and Interface Relationships with IntelliJ IDEA Diagrams

This guide demonstrates how to use IntelliJ IDEA's diagram feature to view, customize, and explore the inheritance and interface implementation hierarchy of Java Servlet classes, including filtering irrelevant nodes, inspecting members, adjusting visibility, zooming, adding related classes, and jumping to source code.

Backend DevelopmentIDE TipsInheritance Diagram
0 likes · 6 min read
Visualizing Java Servlet Inheritance and Interface Relationships with IntelliJ IDEA Diagrams
Tencent Cloud Developer
Tencent Cloud Developer
Jun 23, 2021 · Backend Development

Understanding Java Web Backend: Servlets, JSP, Tomcat, Listeners, Filters, Spring, Spring Boot, and Spring Cloud

Understanding Java web backend requires grasping how Tomcat parses HTTP requests, dispatches them through servlets, JSPs, listeners and filters, and then leverages Spring’s IoC, AOP, MVC, Boot’s auto‑configuration, and Cloud’s micro‑service tools to build robust, industrial‑grade applications.

BackendJavaServlet
0 likes · 24 min read
Understanding Java Web Backend: Servlets, JSP, Tomcat, Listeners, Filters, Spring, Spring Boot, and Spring Cloud
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 21, 2021 · Backend Development

Understanding Servlet 3.0 Asynchronous Processing in Spring MVC and Spring Boot

This article explains the fundamentals of Servlet 3.0 asynchronous processing, demonstrates how Spring MVC builds on the Servlet API, and provides multiple practical examples—including starting async support, using AsyncContext, custom threads, listeners, timeouts, and real‑world scenarios—to help developers master non‑blocking request handling in Java web applications.

AsyncJavaServlet
0 likes · 24 min read
Understanding Servlet 3.0 Asynchronous Processing in Spring MVC and Spring Boot
Programmer DD
Programmer DD
May 19, 2021 · Backend Development

Can You Build a Mini Spring Framework from Scratch? A Step‑by‑Step Guide

This article explains Spring's core concepts such as IOC, DI, and AOP, demonstrates building a simple Hello World with SpringBoot, then shows how to recreate the same functionality using raw Servlets and a handcrafted mini‑Spring framework with full code examples.

Inversion of ControlJavaMini Framework
0 likes · 20 min read
Can You Build a Mini Spring Framework from Scratch? A Step‑by‑Step Guide
Java Interview Crash Guide
Java Interview Crash Guide
Apr 29, 2021 · Backend Development

How Spring MVC Simplifies Server‑Side Development: From Servlets to DispatcherServlet

This article walks through the evolution from traditional Servlets to Spring MVC's DispatcherServlet, explaining how each component—Servlet, BaseServlet, DispatcherServlet, HandlerMapping, HandlerInterceptor, HandlerExecutionChain, ModelAndView, ViewResolver, and View—contributes to a cleaner, more modular server‑side architecture.

Backend DevelopmentDispatcherServletHandlerMapping
0 likes · 17 min read
How Spring MVC Simplifies Server‑Side Development: From Servlets to DispatcherServlet
Selected Java Interview Questions
Selected Java Interview Questions
Apr 5, 2021 · Backend Development

Understanding Thread Safety in Java: StringBuilder, StringBuffer, and Servlets

This article explains the thread‑safety differences between StringBuilder and StringBuffer, demonstrates the problems of using mutable shared objects in multithreaded Java code, presents three solutions, and discusses why Servlets are not thread‑safe by default, highlighting visibility and ordering concepts.

Backend DevelopmentJavaServlet
0 likes · 10 min read
Understanding Thread Safety in Java: StringBuilder, StringBuffer, and Servlets
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 2, 2021 · Fundamentals

Master Java Reflection and Core Networking: From Basics to TCP/IP

An in‑depth guide covering Java reflection fundamentals, three methods to obtain Class objects, and practical code examples, followed by a comprehensive overview of computer networking layers, protocols, TCP/IP versus OSI models, transport protocols, HTTP/HTTPS differences, status codes, GET/POST, cookies, sessions, tokens, and servlet lifecycle.

HTTPJavaNetworking
0 likes · 28 min read
Master Java Reflection and Core Networking: From Basics to TCP/IP
Selected Java Interview Questions
Selected Java Interview Questions
Feb 18, 2021 · Backend Development

Optimizing Web Request Performance with Multithreading and Caching in Java Servlets

The article explains how multithreading can improve web request throughput and scalability, illustrates performance gains with example I/O tasks, discusses pitfalls of shared HashMap in servlets, and presents thread‑safe caching solutions using ConcurrentHashMap and FutureTask to reduce latency and avoid concurrency bugs.

JavaServletmultithreading
0 likes · 8 min read
Optimizing Web Request Performance with Multithreading and Caching in Java Servlets
IT Xianyu
IT Xianyu
Oct 27, 2020 · Backend Development

Using HttpServletResponse: Methods, Examples, and Best Practices

This article explains the HttpServletResponse object's role in Java web development, details common response header methods, highlights differences between addXXX and setXXX, and provides four complete servlet code examples covering cache control, page refresh, file download (including Chinese filenames), and dynamic image generation.

BackendFile DownloadHttpServletResponse
0 likes · 9 min read
Using HttpServletResponse: Methods, Examples, and Best Practices
IT Xianyu
IT Xianyu
Oct 25, 2020 · Backend Development

Understanding HttpSession: Concepts, Methods, and Practical Examples

This article explains the fundamentals of HttpSession in Java web applications, covering its server‑side nature, underlying JSESSIONID cookie mechanism, lifecycle, common API methods, configuration, and provides several practical code examples such as login verification, shopping cart handling, duplicate‑submission prevention, and cookie‑disabled session strategies.

HttpSessionJavaServlet
0 likes · 9 min read
Understanding HttpSession: Concepts, Methods, and Practical Examples
Top Architect
Top Architect
Oct 22, 2020 · Backend Development

Visualizing Java Servlet Inheritance Hierarchy with IntelliJ IDEA Diagrams

This guide explains how to use IntelliJ IDEA's diagram feature to view, clean up, and explore the inheritance and interface implementation relationships of Java Servlet classes, including removing irrelevant nodes, inspecting class members, adding related classes, and navigating to source code.

Class DiagramIDE TipsInheritance
0 likes · 5 min read
Visualizing Java Servlet Inheritance Hierarchy with IntelliJ IDEA Diagrams
Code Ape Tech Column
Code Ape Tech Column
Oct 7, 2020 · Backend Development

Mastering Spring Boot Filters: From Basics to CORS Solutions

This article explains the role of Servlet Filters in Spring Boot, details their execution chain, shows how to implement custom filters, and provides step‑by‑step configurations using FilterRegistrationBean and @WebFilter, including a practical CORS filter example.

BackendCORSJava
0 likes · 8 min read
Mastering Spring Boot Filters: From Basics to CORS Solutions
Top Architect
Top Architect
Sep 26, 2020 · Backend Development

Building a Mini Spring MVC Framework from Scratch Using Pure JDK

This article walks through creating a lightweight Spring MVC‑like framework by setting up a clean web project, defining custom annotations, implementing a DispatcherServlet that scans packages, instantiates beans, performs dependency injection, maps URLs to controller methods, and finally runs the application without any Spring dependencies.

Custom AnnotationsJavaServlet
0 likes · 5 min read
Building a Mini Spring MVC Framework from Scratch Using Pure JDK
Programmer DD
Programmer DD
Sep 14, 2020 · Backend Development

Master IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance

This guide shows how to use IntelliJ IDEA's diagram feature to clearly display inheritance and interface relationships of Java Servlet classes, remove irrelevant nodes, explore class members, add additional classes, and quickly navigate to source code, making backend code comprehension much easier.

Class DiagramIDE TipsInheritance
0 likes · 5 min read
Master IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance
Java Backend Technology
Java Backend Technology
Sep 3, 2020 · Backend Development

Master Java Servlet Inheritance with IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA’s diagram feature to visualize Java Servlet inheritance and interface relationships, remove irrelevant classes, display detailed members, zoom the view, add additional classes, and quickly jump to source code, making backend code exploration much easier.

Class DiagramInheritanceIntelliJ IDEA
0 likes · 5 min read
Master Java Servlet Inheritance with IntelliJ IDEA Diagrams
Programmer DD
Programmer DD
Jul 7, 2020 · Backend Development

Mastering Spring MVC: Step-by-Step Flow and Core Code Explained

This article walks through the complete Spring MVC request handling flow, from setting request attributes and locating the handler to executing interceptors, invoking the controller, resolving the view, and finally rendering the response, with detailed code examples for each step.

HandlerAdapterJavaServlet
0 likes · 7 min read
Mastering Spring MVC: Step-by-Step Flow and Core Code Explained
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
Java Backend Technology
Java Backend Technology
Apr 28, 2020 · Backend Development

Demystifying Tomcat: 7 Steps to Build a Simple Java Web Server

This article explains how Tomcat works as a servlet container, detailing the seven essential steps—from socket handling and request dispatch to request/response encapsulation, servlet base classes, implementations, configuration, and startup—so you can build a minimal Tomcat-like server yourself.

JavaServletTomcat
0 likes · 5 min read
Demystifying Tomcat: 7 Steps to Build a Simple Java Web Server
Architecture Digest
Architecture Digest
Apr 28, 2020 · Information Security

Understanding Spring Security Integration with Servlet Applications

This article explains how Spring Security integrates with Servlet‑based Java web applications by detailing the servlet filter chain, DelegatingFilterProxy, FilterChainProxy, SecurityFilterChain, and providing code examples to help readers grasp authentication and authorization mechanisms.

AuthenticationFilter ChainJava
0 likes · 7 min read
Understanding Spring Security Integration with Servlet Applications
Programmer DD
Programmer DD
Apr 13, 2020 · Backend Development

Demystifying Tomcat: Build a Miniature Web Server in 7 Steps

Learn how Tomcat, the popular Java web server and servlet container, processes requests—from socket handling and URL dispatching to request/response encapsulation, servlet lifecycle, configuration, and startup—through a detailed 7‑step guide with illustrative code snippets and diagrams.

Backend DevelopmentJavaServlet
0 likes · 5 min read
Demystifying Tomcat: Build a Miniature Web Server in 7 Steps
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
Architect's Tech Stack
Architect's Tech Stack
Mar 2, 2020 · Backend Development

Using Asynchronous Requests and Calls in Spring Boot

This article explains how to implement asynchronous request handling and asynchronous method invocation in Spring Boot, covering servlet‑based async, Callable, WebAsyncTask, DeferredResult, @Async usage, common pitfalls, proxy solutions, and the differences between async requests and async calls.

AsyncAsynchronousServlet
0 likes · 11 min read
Using Asynchronous Requests and Calls in Spring Boot