Tagged articles
341 articles
Page 2 of 4
Top Architect
Top Architect
Nov 23, 2023 · Backend Development

Understanding Java Class Loading Mechanism and Tomcat’s ClassLoader Design

This article explains the Java class loading mechanism, the parent‑delegation model, how it can be broken, and then details Tomcat’s custom classloader hierarchy—including CommonClassLoader, CatalinaClassLoader, SharedClassLoader, and WebappClassLoader—showing why Tomcat deviates from the standard delegation model.

JavaParent DelegationTomcat
0 likes · 15 min read
Understanding Java Class Loading Mechanism and Tomcat’s ClassLoader Design
Java Architect Essentials
Java Architect Essentials
Nov 9, 2023 · Backend Development

Why Does My Spring Boot App Behave Differently as JAR vs WAR? Understanding Embedded and External Tomcat

This article explains why a Spring Boot application runs with the configured port when packaged as a JAR using the embedded Tomcat, but switches to Tomcat's default port and context path when deployed as a WAR, and provides step‑by‑step instructions to package and deploy both formats along with historical context and technical differences.

JARJavaSpring Boot
0 likes · 14 min read
Why Does My Spring Boot App Behave Differently as JAR vs WAR? Understanding Embedded and External Tomcat
Sanyou's Java Diary
Sanyou's Java Diary
Nov 2, 2023 · Backend Development

How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Limits

This article explores how many concurrent requests a SpringBoot application can process with default settings, demonstrating a hands‑on demo, analyzing Tomcat’s thread‑pool defaults, comparing Undertow behavior, and revealing how configuration parameters like core threads, max threads, queue size, and connection limits affect throughput.

SpringBootThreadPoolTomcat
0 likes · 18 min read
How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Limits
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2023 · Backend Development

Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth

This article demonstrates how Spring Boot’s connectionTimeout setting influences server‑client connections, using three experiments—controller sleep, HttpURLConnection requests, and raw socket communication—to reveal that the timeout only terminates idle client connections, not the duration of request processing.

HTTPJavaSocket
0 likes · 4 min read
Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth
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
Java Architect Essentials
Java Architect Essentials
Sep 6, 2023 · Backend Development

Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits

This article examines Spring Boot 2.7.10’s embedded Tomcat configuration, detailing default connection queue sizes, thread pool parameters, key Tomcat settings such as AcceptCount and MaxConnections, internal thread components, and practical testing results that reveal how connection limits affect client‑server handshakes.

Backend DevelopmentConnection ManagementSpring Boot
0 likes · 15 min read
Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits
Top Architect
Top Architect
Sep 1, 2023 · Backend Development

Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR

This article explains the differences between JAR and WAR files, why Spring Boot runs with an embedded Tomcat when packaged as a JAR, how deployment changes when using an external Tomcat, and provides step‑by‑step instructions with Maven configurations to build Spring Boot applications as either JAR or WAR packages.

JARSpring BootTomcat
0 likes · 14 min read
Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR
Java High-Performance Architecture
Java High-Performance Architecture
Aug 31, 2023 · Backend Development

Why Tomcat Breaks Java’s Parent Delegation Model: Inside Its Class Loader Design

This article reviews Java’s default class loading mechanism, explains the parent‑delegation model, then details how Tomcat’s custom class loaders (Common, Catalina, Shared, Webapp, Jasper) intentionally deviate from that model to achieve isolation, versioning, and hot‑swap capabilities for web applications.

Class LoaderJVMJava
0 likes · 15 min read
Why Tomcat Breaks Java’s Parent Delegation Model: Inside Its Class Loader Design
macrozheng
macrozheng
Aug 25, 2023 · Backend Development

How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Thread Pool Secrets

This article explores the interview question of how many concurrent requests a SpringBoot project can process by building a minimal demo, measuring Tomcat and Undertow thread pool limits, analyzing default configurations, and showing how container settings and annotations like @Async affect the actual request capacity.

SpringBootThreadPoolTomcat
0 likes · 19 min read
How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Thread Pool Secrets
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 20, 2023 · Backend Development

How Spring Boot Registers Custom Error Pages with Tomcat

This article explains how Spring Boot 2.4.12 configures error handling, from default HTML/JSON responses based on the Accept header to the internal auto‑configuration that registers custom error pages in the embedded Tomcat container using BeanPostProcessors and the BasicErrorController.

Backend DevelopmentError HandlingException Management
0 likes · 10 min read
How Spring Boot Registers Custom Error Pages with Tomcat
Java Interview Crash Guide
Java Interview Crash Guide
Aug 17, 2023 · Backend Development

Boost Your Java Development: Essential IntelliJ IDEA Settings & Tips

This guide compiles a comprehensive set of IntelliJ IDEA configurations and shortcuts—including SVN change indicators, multi‑project windows, Tomcat UTF‑8 fixes, import settings, compilation speed tweaks, global encoding, serialVersionUID generation, Maven/Tomcat setup, file exclusion, language injection, and quote wrapping—to streamline Java backend development.

IDE configurationIntelliJ IDEAJava
0 likes · 6 min read
Boost Your Java Development: Essential IntelliJ IDEA Settings & Tips
Selected Java Interview Questions
Selected Java Interview Questions
Aug 7, 2023 · Backend Development

Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders

This article reviews Java’s default class‑loading mechanism, explains the parent‑delegation model, discusses how it can be broken, and details Tomcat’s custom class‑loader architecture that intentionally deviates from the standard delegation to achieve web‑application isolation and hot‑swap capabilities.

Backend DevelopmentClassLoadingJava
0 likes · 13 min read
Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders
Java Backend Technology
Java Backend Technology
Jul 11, 2023 · Backend Development

Why kill -9 Can Corrupt Your Spring Boot Service and How to Shut It Down Gracefully

This article explains the dangers of using the Linux kill -9 command on Spring Boot applications, illustrates data loss scenarios, and provides multiple graceful shutdown methods—including SIGTERM, Spring's ConfigurableApplicationContext, Actuator endpoints, and custom Tomcat shutdown configurations—complete with code examples and best‑practice tips.

ActuatorGraceful ShutdownJava
0 likes · 21 min read
Why kill -9 Can Corrupt Your Spring Boot Service and How to Shut It Down Gracefully
Selected Java Interview Questions
Selected Java Interview Questions
Jul 5, 2023 · Backend Development

IntelliJ IDEA Tips: SVN Settings, Tomcat Encoding, Compilation Options, Code Templates, and More

This article provides a comprehensive collection of IntelliJ IDEA configuration tips covering SVN change visibility, opening projects in new windows, fixing Tomcat Chinese character encoding, adjusting import display, speeding up compilation, setting global file encodings, generating serialVersionUID, customizing code templates, and various other IDE shortcuts and settings.

IDE settingsIntelliJ IDEAJava
0 likes · 7 min read
IntelliJ IDEA Tips: SVN Settings, Tomcat Encoding, Compilation Options, Code Templates, and More
Java Backend Technology
Java Backend Technology
Jun 9, 2023 · Backend Development

Why Switch to Undertow? Boost SpringBoot Performance Over Tomcat

This article explains how to replace SpringBoot's default embedded Tomcat with the high‑performance Undertow container, compares their architectures, presents benchmark results on QPS and memory usage, and shows why Undertow is the better choice for high‑concurrency Java web applications.

JavaSpringBootTomcat
0 likes · 6 min read
Why Switch to Undertow? Boost SpringBoot Performance Over Tomcat
Code Ape Tech Column
Code Ape Tech Column
May 31, 2023 · Backend Development

Tomcat Performance Tuning Guide: Core Components and Key Parameters

This article explains Tomcat's component architecture, describes the three critical parameters (maxThreads, maxConnections, acceptCount) that affect request handling, and provides practical tuning recommendations to improve backend performance without additional hardware costs.

BackendConnectorJava
0 likes · 11 min read
Tomcat Performance Tuning Guide: Core Components and Key Parameters
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
vivo Internet Technology
vivo Internet Technology
Apr 19, 2023 · Backend Development

Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System

The article details how a midnight interface timeout in Vivo’s e‑commerce activity system was traced to a logging bottleneck: a synchronous Log4j call blocked all threads while a cron‑driven log‑rotation script copied a 2.6 GB file, and the issue was resolved by switching to asynchronous logging with a non‑blocking appender.

BackendTomcatlogging
0 likes · 17 min read
Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System
Java Architect Essentials
Java Architect Essentials
Mar 27, 2023 · Backend Development

Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas

This article walks through the step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot channel service, using network checks, curl timing, and the Arthas Java diagnostic tool to pinpoint a Tomcat‑embed bug caused by Swagger jars, and then shows how upgrading Tomcat or Spring Boot resolves the problem.

ArthasPerformance debuggingSpring Boot
0 likes · 14 min read
Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas
Top Architect
Top Architect
Feb 22, 2023 · Backend Development

Resolving HTTPS Redirect and Session Consistency Issues with Nginx, Docker, and Memcached

This article explains why an Nginx reverse‑proxy configuration that proxies HTTPS requests to a backend server causes the browser URL to change, how to fix the redirect by using HTTPS in the proxy, and how to achieve session consistency across multiple Tomcat instances by deploying Memcached with Docker and adjusting Tomcat’s session manager.

DockerHTTPSMemcached
0 likes · 8 min read
Resolving HTTPS Redirect and Session Consistency Issues with Nginx, Docker, and Memcached
Selected Java Interview Questions
Selected Java Interview Questions
Feb 20, 2023 · Backend Development

Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them

This article explains why a Spring Boot application behaves differently when run as a JAR versus deployed as a WAR, outlines the historical context of servlet containers, compares JAR and WAR formats, and provides step‑by‑step Maven commands and pom.xml modifications for packaging both types.

JARSpring BootTomcat
0 likes · 13 min read
Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them
Java Architect Essentials
Java Architect Essentials
Dec 28, 2022 · Backend Development

Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide

This article provides a comprehensive guide to implementing asynchronous processing in Spring Boot, covering annotation‑based @Async, CompletableFuture patterns, WebAsyncTask, DeferredResult, custom thread pools, Tomcat tuning, component scanning, and switching to Undertow, with complete code examples and configuration details.

AsynchronousCompletableFutureDeferredResult
0 likes · 12 min read
Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide
php Courses
php Courses
Dec 8, 2022 · Backend Development

Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie

To prevent repeated logins in distributed microservice systems, this article explains four session‑sharing solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis‑based session caching, and cookie‑based storage—detailing their principles, configuration examples, and advantages and disadvantages.

Distributed SystemsNginxTomcat
0 likes · 5 min read
Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie
Liangxu Linux
Liangxu Linux
Dec 7, 2022 · Operations

Master systemd: From Basics to Real-World Service Management on Linux

Learn how systemd replaces traditional init on modern Linux, its key features, command syntax, unit file structure, and step-by-step hands-on examples that show how to create and control systemd services for Nginx, Tomcat, and custom Java JAR applications using systemctl.

JavaLinuxNginx
0 likes · 9 min read
Master systemd: From Basics to Real-World Service Management on Linux
Liangxu Linux
Liangxu Linux
Nov 27, 2022 · Operations

Master systemd: Write unit files and control Nginx, Tomcat, and Java services

This guide explains what systemd is, its key advantages over traditional init, the basic systemctl syntax, how unit files are structured, and provides step‑by‑step examples for creating systemd services to manage Nginx, Tomcat, and a custom Java JAR application on CentOS 7 and similar Linux distributions.

JavaLinuxNginx
0 likes · 10 min read
Master systemd: Write unit files and control Nginx, Tomcat, and Java services
dbaplus Community
dbaplus Community
Oct 25, 2022 · Operations

How a Government System’s Week‑Long Outage Exposed Critical Backend and Load‑Balancing Flaws

A government information system suffered a week of instability, including service deadlocks, Tomcat memory overflows, and load‑balancing failures, prompting a deep forensic analysis that uncovered database lock‑ups, faulty front‑end loops, inadequate monitoring, and misconfigured logging, leading to concrete remediation steps and lessons for future reliability.

OperationsTomcatincident analysis
0 likes · 21 min read
How a Government System’s Week‑Long Outage Exposed Critical Backend and Load‑Balancing Flaws
Open Source Linux
Open Source Linux
Oct 7, 2022 · Backend Development

How to Deploy Your Own Website: From Domain Registration to Server Setup

This guide walks beginners through the complete process of publishing a website online, covering domain registration and ICP filing, DNS configuration, selecting and configuring a cloud server, installing Java and Tomcat, and finally uploading the site source files via FTP.

LinuxServer ConfigurationTomcat
0 likes · 10 min read
How to Deploy Your Own Website: From Domain Registration to Server Setup
Code Ape Tech Column
Code Ape Tech Column
Sep 8, 2022 · Backend Development

Tomcat Performance Tuning: Core Components and Key Parameters

This article explains Tomcat's component architecture, describes the request‑processing flow, and provides practical guidance on tuning the three critical parameters—maxThreads, maxConnections, and acceptCount—along with additional settings to improve backend service performance without additional hardware.

BackendJavaServer Configuration
0 likes · 11 min read
Tomcat Performance Tuning: Core Components and Key Parameters
ITPUB
ITPUB
Sep 4, 2022 · Backend Development

Inside Tomcat: Architecture, Connectors, Containers, and Class Loaders Explained

This article explores Tomcat’s mature architecture, detailing its macro and micro design, the roles of connectors, containers, lifecycle management, class loaders, and the design patterns that enable modularity, extensibility, and hot‑reloading, while offering practical tips for reading and applying its source code.

Class LoaderDesign PatternsJava
0 likes · 42 min read
Inside Tomcat: Architecture, Connectors, Containers, and Class Loaders Explained
Code Ape Tech Column
Code Ape Tech Column
Aug 29, 2022 · Backend Development

Seven Common Spring Boot Performance Optimization Techniques

This article presents seven practical Spring Boot performance optimization methods—including asynchronous execution, increasing embedded Tomcat connection limits, component scanning, switching to Undertow, using BufferedWriter, DeferredResult, and AsyncHandlerInterceptor—each illustrated with code samples and explanations for improving Java backend applications.

AsynchronousJavaPerformance Optimization
0 likes · 12 min read
Seven Common Spring Boot Performance Optimization Techniques
Su San Talks Tech
Su San Talks Tech
Aug 1, 2022 · Backend Development

Master Tomcat Performance: Key Components and Tuning Tips for Max Throughput

This article explains Tomcat’s internal component architecture, walks through the request‑processing flow, and details three crucial configuration parameters—maxThreads, maxConnections, and acceptCount—offering practical formulas and tuning guidelines to improve throughput without adding hardware.

BackendConnectorJava
0 likes · 12 min read
Master Tomcat Performance: Key Components and Tuning Tips for Max Throughput
Architect's Tech Stack
Architect's Tech Stack
Jul 6, 2022 · Backend Development

Replacing Tomcat with Undertow in Spring Boot: Performance and Memory Comparison

This article explains how to replace Spring Boot's default embedded Tomcat with Undertow, outlines the configuration steps, compares their performance and memory usage through benchmark results, and concludes that Undertow offers superior throughput and lower resource consumption for high‑concurrency Java web applications.

JavaSpringBootTomcat
0 likes · 5 min read
Replacing Tomcat with Undertow in Spring Boot: Performance and Memory Comparison
Top Architect
Top Architect
Jul 5, 2022 · Backend Development

Advanced Asynchronous Execution and Performance Tuning in Spring Boot

This article explains multiple Spring Boot asynchronous execution techniques—such as @Async, CompletableFuture, WebAsyncTask, DeferredResult, and AsyncHandlerInterceptor—provides complete Java code examples, and discusses performance optimizations like increasing Tomcat connection limits, switching to Undertow, using ComponentScan, and buffered I/O.

AsynchronousJavaSpring Boot
0 likes · 9 min read
Advanced Asynchronous Execution and Performance Tuning in Spring Boot
Architecture Digest
Architecture Digest
Jun 5, 2022 · Information Security

Root Cause Analysis of Cross-Origin Request Errors Triggered by WAF XSS Filtering

The article details a step‑by‑step investigation of a form‑submission cross‑origin error in a front‑back separated system, tracing the HTTP request flow through DNS, Nginx, Tomcat, and finally identifying a WAF XSS rule that blocked a specific moduleExport field, and explains how the issue was resolved by adjusting the WAF configuration.

CORSDebuggingHTTP
0 likes · 12 min read
Root Cause Analysis of Cross-Origin Request Errors Triggered by WAF XSS Filtering
Top Architect
Top Architect
May 29, 2022 · Information Security

Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration

This article provides a comprehensive tutorial on implementing Single Sign‑On using the open‑source CAS solution, covering the concepts of SSO and CAS, required development environment, server‑side deployment, client integration with Spring Boot, configuration details, and a complete end‑to‑end testing workflow.

AuthenticationCASJava
0 likes · 9 min read
Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration
Su San Talks Tech
Su San Talks Tech
May 23, 2022 · Backend Development

Unveiling Tomcat’s Architecture: Design Principles, Core Components, and Patterns

Explore Tomcat’s mature architecture, from its connector and container components to class loader hierarchy, revealing how design patterns like composite, observer, and template method shape its modular, extensible system and offering practical insights for mastering Java web server internals.

Backend ArchitectureClass LoaderDesign Patterns
0 likes · 42 min read
Unveiling Tomcat’s Architecture: Design Principles, Core Components, and Patterns
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
Top Architect
Top Architect
Feb 7, 2022 · Backend Development

Understanding Tomcat: Architecture, Components, Lifecycle, Connectors, and Asynchronous Servlets

This article provides a comprehensive overview of Tomcat, covering its role as a Java web server, internal components such as Server, Service, Connector and Container, lifecycle management, deployment methods, connector implementations (BIO, NIO, APR), Comet support, and asynchronous servlet processing, with code examples for thread handling.

Asynchronous ServletBackend DevelopmentConnector
0 likes · 20 min read
Understanding Tomcat: Architecture, Components, Lifecycle, Connectors, and Asynchronous Servlets
Zhuanzhuan Tech
Zhuanzhuan Tech
Jan 19, 2022 · Backend Development

Resolving Image Upload Timeouts in a SpringBoot Service with Thread‑Pool Tuning and Asynchronous Servlet

The article details how a SpringBoot image‑upload service suffered timeouts due to excessive Full GC and thread‑blockage, and explains the investigation, thread‑pool tuning, and the adoption of asynchronous Servlet (with Tomcat and Spring MVC implementations) to isolate long‑running URL‑download tasks while returning results synchronously.

AsyncServletJavaSpringBoot
0 likes · 11 min read
Resolving Image Upload Timeouts in a SpringBoot Service with Thread‑Pool Tuning and Asynchronous Servlet
Ops Development Stories
Ops Development Stories
Jan 14, 2022 · Fundamentals

When Does Java Load a Class? Exploring the 7 Stages, Parent Delegation, and Custom ClassLoaders

This article explains the complete Java class loading lifecycle—including loading, verification, preparation, resolution, initialization, usage, and unloading—details the seven scenarios that trigger active loading, illustrates the parent delegation model, and provides code examples for custom and Tomcat class loaders.

Custom ClassLoaderJVMJava
0 likes · 16 min read
When Does Java Load a Class? Exploring the 7 Stages, Parent Delegation, and Custom ClassLoaders
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
Selected Java Interview Questions
Selected Java Interview Questions
Nov 15, 2021 · Backend Development

Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders

This article reviews Java’s default class loading mechanism and parent‑delegation model, explains how the model can be broken, and details Tomcat’s custom classloader architecture—including Common, Catalina, Shared, Webapp, and JSP loaders—showing why Tomcat deviates from the standard delegation hierarchy.

Backend DevelopmentJavaParent Delegation
0 likes · 14 min read
Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders
Java Architect Essentials
Java Architect Essentials
Nov 7, 2021 · Backend Development

How to Install and Configure JRebel for Java Web Development (Tomcat)

This guide explains how to install JRebel, a hot‑deployment tool for Java web applications, using either Tomcat startup parameters or the IntelliJ IDEA plugin, and details the necessary VM options, deployment settings, and Maven/Gradle integration to achieve instant code updates without restarting the server.

Backend DevelopmentHot DeploymentIntelliJ IDEA
0 likes · 5 min read
How to Install and Configure JRebel for Java Web Development (Tomcat)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2021 · Backend Development

How Spring Boot Registers Custom Error Pages with Tomcat

This article explains how Spring Boot registers custom error pages with its embedded Tomcat container, covering default HTML/JSON error responses, the underlying auto‑configuration classes, BeanPostProcessor registration, and the BasicErrorController that serves the default /error endpoint.

Backend DevelopmentError HandlingJava
0 likes · 11 min read
How Spring Boot Registers Custom Error Pages with Tomcat
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
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 22, 2021 · Operations

Resource Isolation Strategies in Distributed Systems

The article explains why resource isolation is essential for distributed architectures, describes common isolation methods such as thread, process, cluster, data, static and crawler isolation, and provides concrete examples and code snippets for Netty, Dubbo, Tomcat, and Hystrix to illustrate practical implementations.

Distributed SystemsDubboNetty
0 likes · 12 min read
Resource Isolation Strategies in Distributed Systems
Laravel Tech Community
Laravel Tech Community
Sep 22, 2021 · Backend Development

Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie

The article explains why session sharing is critical in micro‑service and distributed deployments and presents four backend solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis‑based centralized session storage, and cookie‑based sessions—detailing their implementations, advantages, and drawbacks.

BackendDistributed SystemsNginx
0 likes · 5 min read
Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie
Top Architect
Top Architect
Sep 20, 2021 · Backend Development

Session Sharing Solutions in Distributed Systems: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie

This article explains why session sharing is required in micro‑service and distributed environments and presents four practical solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis centralized session cache, and cookie‑based sharing—detailing their implementations, code snippets, and pros and cons.

Distributed SystemsSessionTomcat
0 likes · 6 min read
Session Sharing Solutions in Distributed Systems: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie
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
Open Source Linux
Open Source Linux
Sep 5, 2021 · Information Security

How to Exploit Critical Tomcat Vulnerabilities (CVE‑2017‑12615, CVE‑2020‑1938, CVE‑2019‑0232) Step‑by‑Step

This guide introduces Apache Tomcat, explains the mechanics of several high‑severity CVEs—including arbitrary file write, AJP file inclusion, and CGI RCE—provides detailed reproduction steps with Docker, command‑line payloads, and code snippets, and demonstrates how to gain remote shells via weak credentials and war deployment.

CVE-2017-12615CVE-2019-0232CVE-2020-1938
0 likes · 15 min read
How to Exploit Critical Tomcat Vulnerabilities (CVE‑2017‑12615, CVE‑2020‑1938, CVE‑2019‑0232) Step‑by‑Step
JavaEdge
JavaEdge
Aug 18, 2021 · Backend Development

Why Tomcat’s Thread Pool Works Differently from the JDK’s

This article explains how Tomcat customizes Java’s ThreadPoolExecutor for I/O‑intensive web workloads, detailing the key parameters, the custom task queue and thread factory, the overridden execute logic, and the role of the submittedCount variable in preventing thread starvation under high concurrency.

JDKJavaTomcat
0 likes · 7 min read
Why Tomcat’s Thread Pool Works Differently from the JDK’s
Code Ape Tech Column
Code Ape Tech Column
Aug 10, 2021 · Backend Development

How to Share Sessions Across Distributed Servers: Nginx, Tomcat, Redis, and Cookie Solutions

This article explains why session sharing is critical in micro‑service architectures, compares common Nginx load‑balancing methods, and provides four practical solutions—ip_hash load balancing, Tomcat session replication, Redis‑based session caching, and cookie‑based sharing—complete with configuration examples and pros/cons.

BackendDistributed SystemsNginx
0 likes · 6 min read
How to Share Sessions Across Distributed Servers: Nginx, Tomcat, Redis, and Cookie Solutions
Su San Talks Tech
Su San Talks Tech
Aug 8, 2021 · Backend Development

Unlock Tomcat’s Secrets: A Deep Dive into Its Architecture, Design Patterns, and Class Loading

This comprehensive guide explores Tomcat’s mature architecture, explains its core components such as connectors, containers, endpoints, processors, adapters, and valves, demonstrates the request flow, reveals the custom class‑loading mechanism, and shows how to apply these design patterns to real‑world backend development.

BackendTomcatWeb server
0 likes · 42 min read
Unlock Tomcat’s Secrets: A Deep Dive into Its Architecture, Design Patterns, and Class Loading
Java Interview Crash Guide
Java Interview Crash Guide
Jul 28, 2021 · Backend Development

How to Share Sessions Across Distributed Servers: Nginx, Tomcat, Redis & Cookie Solutions

This article explains why session sharing is needed in micro‑service architectures, outlines common Nginx reverse‑proxy strategies, and presents four practical solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis centralized cache, and cookie‑based sharing—detailing their implementations and trade‑offs.

Distributed SystemsTomcatredis
0 likes · 6 min read
How to Share Sessions Across Distributed Servers: Nginx, Tomcat, Redis & Cookie Solutions
Selected Java Interview Questions
Selected Java Interview Questions
Jul 20, 2021 · Backend Development

Session Sharing Solutions for Distributed Systems: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie Approaches

In distributed micro‑service environments, session sharing is essential to prevent repeated logins, and this article explains four practical solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis‑based centralized sessions, and cookie‑based sharing—detailing their implementations, advantages, and drawbacks.

NginxTomcatredis
0 likes · 5 min read
Session Sharing Solutions for Distributed Systems: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie Approaches
Java Interview Crash Guide
Java Interview Crash Guide
Jul 9, 2021 · Operations

Mastering JVisualVM: Detect and Analyze Java Memory Leaks & Remote Tomcat Monitoring

JVisualVM, bundled with JDK, provides a visual interface to monitor JVM threads, memory, and CPU usage, allowing installation of plugins for GC, thread, and memory analysis, demonstrating how to simulate memory leaks, capture heap dumps, compare snapshots, trace object references, and set up remote Tomcat monitoring via JMX.

JVisualVMJavaProfiling
0 likes · 8 min read
Mastering JVisualVM: Detect and Analyze Java Memory Leaks & Remote Tomcat Monitoring
Java Backend Technology
Java Backend Technology
Jul 8, 2021 · Backend Development

How to Instantly Reload Java Web Apps with JRebel in IntelliJ IDEA

This guide explains how JRebel eliminates the need to restart Tomcat by enabling hot‑deployment of class and Spring configuration changes, covering two installation methods—adding JVM parameters to Tomcat and using the IntelliJ IDEA plugin—plus detailed configuration for Windows, Linux, Mac, Maven, and Gradle.

GradleIntelliJ IDEAJRebel
0 likes · 6 min read
How to Instantly Reload Java Web Apps with JRebel in IntelliJ IDEA
JavaEdge
JavaEdge
Jul 4, 2021 · Backend Development

Apache HTTP Server vs Nginx vs Tomcat: Key Differences and When to Use Each

This article explains the core characteristics of Apache HTTP Server, Nginx, and Tomcat, compares their static and dynamic content handling, and shows how they are typically combined in a Java‑based backend architecture for optimal performance and scalability.

ApacheHTTP serverJava
0 likes · 4 min read
Apache HTTP Server vs Nginx vs Tomcat: Key Differences and When to Use Each
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
Liangxu Linux
Liangxu Linux
Jun 10, 2021 · Operations

Quick Guide: Secure Linux Server Setup with JDK, Tomcat & Docker

This step‑by‑step tutorial shows how to enable security groups, configure firewall ports, install the BT panel or use the command line to set up a Linux server, then install JDK, Tomcat, and Docker CE with all required commands and configurations.

JDKLinuxSecurity Group
0 likes · 5 min read
Quick Guide: Secure Linux Server Setup with JDK, Tomcat & Docker
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