Tagged articles
5000 articles
Page 12 of 50
Java Tech Enthusiast
Java Tech Enthusiast
Sep 26, 2025 · Information Security

How a Fired Engineer Crippled Eaton's Global Systems with Malicious Java Code

A senior Java developer at Eaton Corporation sabotaged the company's global production system with malicious code before his dismissal, causing a massive outage, data loss, and a four‑year prison sentence, highlighting the severe risk of insider threats and the need for robust access controls and monitoring.

Javaaccess controlcybersecurity
0 likes · 7 min read
How a Fired Engineer Crippled Eaton's Global Systems with Malicious Java Code
Code Ape Tech Column
Code Ape Tech Column
Sep 26, 2025 · Backend Development

Why FastJSON Calls isChinaName() During Serialization and How to Fix It

An unexpected NullPointerException occurs when adding a simple log line to a Java DTO, revealing that FastJSON’s serialization process invokes methods like isChinaName(), getXxx(), and isXxx() via ASM-generated serializers, and the article explains the underlying mechanism, common pitfalls, and best‑practice annotations to avoid such bugs.

ASMFastJSONJava
0 likes · 7 min read
Why FastJSON Calls isChinaName() During Serialization and How to Fix It
360 Smart Cloud
360 Smart Cloud
Sep 26, 2025 · Artificial Intelligence

How to Turn OpenAPI Specs into AI Agent Tools with MCP: A Multi‑Language Guide

This article explains how the Model Context Protocol (MCP) bridges large language models and external services by converting OpenAPI specifications into callable tools, covering generation with openapi‑generator, mapping rules, three runtime modes (stdio, streamable, SSE), and implementation details in Java, Python, and Go.

AI agentsGoJava
0 likes · 23 min read
How to Turn OpenAPI Specs into AI Agent Tools with MCP: A Multi‑Language Guide
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Sep 26, 2025 · Backend Development

Why Does My Spring Boot App Crash While Netty Still Runs? A Deep Dive

During a gray‑release a single server reported that the Spring container was closed while the Netty server still accepted HTTP requests, leading to an IllegalStateException; the article analyzes the root cause in Dubbo startup, explains the event flow, and proposes a reliable fix using ApplicationReadyEvent.

ApplicationReadyEventContextRefreshedEventDubbo
0 likes · 7 min read
Why Does My Spring Boot App Crash While Netty Still Runs? A Deep Dive
Su San Talks Tech
Su San Talks Tech
Sep 26, 2025 · Backend Development

Mastering Request Merging: Hystrix Collapser, BatchCollapser & ConcurrentHashMultiset

By merging similar or duplicate requests upstream before sending them downstream, you can dramatically reduce downstream load and boost overall throughput; this article compares Hystrix Collapser, a custom BatchCollapser, and Guava's ConcurrentHashMultiset, detailing their implementations, configurations, and ideal use cases.

BackendBatchCollapserConcurrentHashMultiset
0 likes · 15 min read
Mastering Request Merging: Hystrix Collapser, BatchCollapser & ConcurrentHashMultiset
Cognitive Technology Team
Cognitive Technology Team
Sep 25, 2025 · Backend Development

How to Accurately Count Valid Entries in Redisson RMapCache

This article explains why Redisson's RMapCache.size() includes expired entries, demonstrates how to obtain the exact number of currently valid key‑value pairs using keySet().size() or readAllEntrySet().size(), and provides performance tips and a real‑world e‑commerce use case.

Cache MonitoringJavaRMapCache
0 likes · 10 min read
How to Accurately Count Valid Entries in Redisson RMapCache
Architect
Architect
Sep 25, 2025 · Backend Development

8 Powerful Ways to Implement Asynchronous Processing in Java

This article explains why asynchronous execution is essential for reducing latency in Java applications and walks through eight practical implementations—including threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava—complete with code examples and usage tips.

CompletableFutureFutureGuava
0 likes · 14 min read
8 Powerful Ways to Implement Asynchronous Processing in Java
Ray's Galactic Tech
Ray's Galactic Tech
Sep 25, 2025 · Backend Development

Master Spring Boot AOP: Practical Guide to Logging, Transactions, and Performance

Spring Boot AOP simplifies cross‑cutting concerns such as logging, transaction management, and monitoring by using proxy‑based aspect‑oriented programming; this guide walks through adding dependencies, core concepts, proxy mechanisms, configuration, defining aspects with various advice types, custom annotations, real‑world scenarios, best practices, and troubleshooting tips.

AOPAspectJBackend Development
0 likes · 8 min read
Master Spring Boot AOP: Practical Guide to Logging, Transactions, and Performance
Ray's Galactic Tech
Ray's Galactic Tech
Sep 25, 2025 · Backend Development

Master Spring Boot & RabbitMQ: From Setup to Advanced Patterns

This guide walks you through installing RabbitMQ, configuring Spring Boot, building basic producers and consumers, exploring work, fanout, direct and topic patterns, and applying advanced features like confirmations, manual ACKs, TTL, dead‑letter, delayed and priority queues, plus clustering, monitoring and troubleshooting tips.

JavaMessage queueRabbitMQ
0 likes · 12 min read
Master Spring Boot & RabbitMQ: From Setup to Advanced Patterns
IT Services Circle
IT Services Circle
Sep 25, 2025 · Backend Development

Master Java Interviews: Overloading, HashMap, Thread Pools, GC & HTTP Essentials

This article combines practical advice for negotiating offers at Tonghuashun with a comprehensive Java interview cheat‑sheet covering method overloading vs overriding, final vs finally, sleep vs wait, HashMap insertion and resizing, reference types, HTTP request structure, status codes, thread‑pool parameters, and garbage‑collection algorithms.

GarbageCollectionHTTPHashMap
0 likes · 23 min read
Master Java Interviews: Overloading, HashMap, Thread Pools, GC & HTTP Essentials
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 25, 2025 · Backend Development

Master Text Diff in Java with Diff Utils: Real‑World Spring Boot Examples

This article introduces the Java Diff Utils library, explains its core features such as computing differences, applying patches, and generating unified diffs, and provides step‑by‑step Spring Boot 3 examples—including dependency setup, string list comparison, patch generation, application, side‑by‑side view creation, and HTML rendering—for efficient text version control.

JavaSpring BootText Diff
0 likes · 11 min read
Master Text Diff in Java with Diff Utils: Real‑World Spring Boot Examples
Architecture Digest
Architecture Digest
Sep 24, 2025 · Backend Development

Streamlining Spring Controllers with Unified Responses and Validation

This article explains how to simplify Spring MVC controller code by introducing a unified response format, leveraging ResponseBodyAdvice for automatic wrapping, applying JSR‑303 validation for request parameters, creating custom validators, and handling exceptions globally to keep business logic clean and maintainable.

ControllerException HandlingJava
0 likes · 15 min read
Streamlining Spring Controllers with Unified Responses and Validation
DeWu Technology
DeWu Technology
Sep 24, 2025 · Backend Development

Master Java Thread Pools: Deep Dive into JDK ThreadPoolExecutor Architecture

This article explains why thread pools are essential for performance, explores the JDK ThreadPoolExecutor’s internal architecture, parameters, lifecycle states, common pitfalls, and provides practical best‑practice guidelines—including handling invokeAll timeouts, submit exceptions, rejection policies, and pool isolation techniques—to help developers use thread pools safely and efficiently.

Best PracticesJavaThreadPoolExecutor
0 likes · 38 min read
Master Java Thread Pools: Deep Dive into JDK ThreadPoolExecutor Architecture
Selected Java Interview Questions
Selected Java Interview Questions
Sep 24, 2025 · Backend Development

How to Build a Math Image Captcha with Spring Boot 3.5.5

This step‑by‑step tutorial shows Java beginners how to create a Spring Boot 3.5.5 application that generates a math‑expression image captcha, stores the answer in session or an in‑memory map, provides REST endpoints, handles CORS, and includes a complete front‑end page with refresh and validation logic.

CaptchaJavaSpring Boot
0 likes · 30 min read
How to Build a Math Image Captcha with Spring Boot 3.5.5
Java Tech Enthusiast
Java Tech Enthusiast
Sep 24, 2025 · Backend Development

Essential Java Interview Questions Every Backend Engineer Must Master

This guide compiles high‑frequency Java interview questions—from core language concepts and collections to JVM tuning, MySQL indexing, Redis caching, Spring frameworks, micro‑services, and MQ reliability—providing a comprehensive reference for candidates targeting small‑to‑mid‑size companies.

JVMJavaMySQL
0 likes · 11 min read
Essential Java Interview Questions Every Backend Engineer Must Master
Ray's Galactic Tech
Ray's Galactic Tech
Sep 24, 2025 · Backend Development

How to Seamlessly Integrate MQTT into Spring Boot with Production-Ready Practices

This guide walks you through adding MQTT dependencies, configuring connection parameters, creating a unified MqttConfig class, defining a messaging gateway, implementing service and controller layers, and applying advanced production settings such as SSL/TLS, multi‑topic subscriptions, QoS choices, clustering, health checks, and performance tuning for Spring Boot applications.

JavaMQTTMessaging
0 likes · 9 min read
How to Seamlessly Integrate MQTT into Spring Boot with Production-Ready Practices
Ray's Galactic Tech
Ray's Galactic Tech
Sep 24, 2025 · Backend Development

Mastering Spring Boot Auto-Configuration: Full 3.x Mechanism Explained

This article provides a comprehensive, step‑by‑step breakdown of Spring Boot's auto‑configuration system, covering its core SPI‑based design, execution flow, conditional annotations, the evolution from spring.factories to the new .imports file in version 3.x, practical examples, custom configuration creation, and debugging techniques.

Conditional AnnotationsJavaSpring Boot
0 likes · 7 min read
Mastering Spring Boot Auto-Configuration: Full 3.x Mechanism Explained
Ray's Galactic Tech
Ray's Galactic Tech
Sep 24, 2025 · Backend Development

How to Set Up Multi-DataSource in Spring Boot with MyBatis

This guide walks through two approaches for configuring multiple databases in a Spring Boot and MyBatis project—native multi‑data‑source beans and the dynamic‑datasource‑spring‑boot‑starter—covering project structure, Maven dependencies, Java configuration, mapper setup, usage examples, common pitfalls, and a concise summary of when to choose each method.

JavaMulti-DataSourceMyBatis
0 likes · 9 min read
How to Set Up Multi-DataSource in Spring Boot with MyBatis
Architect's Guide
Architect's Guide
Sep 24, 2025 · Backend Development

Automate Java CRUD Code Generation: One-Click Tool for Fast Backend Development

The article introduces a self‑built utility that automatically generates Java backend code—including entity classes, DAO interfaces, service implementations, and controllers—based on database table definitions, dramatically reducing the manual effort of creating dozens of tables and their associated CRUD logic.

Backend automationCRUDJava
0 likes · 17 min read
Automate Java CRUD Code Generation: One-Click Tool for Fast Backend Development
Ray's Galactic Tech
Ray's Galactic Tech
Sep 23, 2025 · Backend Development

15 MyBatis Pitfalls and How to Avoid Them

This guide lists the 15 most common MyBatis pitfalls—from SQL injection and mismatched field mappings to N+1 queries and improper pagination—paired with concrete best‑practice solutions, code snippets, and configuration tips to make your persistence layer safer, more efficient, and easier to maintain.

JavaMyBatisorm
0 likes · 8 min read
15 MyBatis Pitfalls and How to Avoid Them
Ray's Galactic Tech
Ray's Galactic Tech
Sep 23, 2025 · Backend Development

Master MyBatis-Plus: Quick Start, Core Features, and Best Practices

This guide walks through adding MyBatis-Plus to a Spring Boot project, configuring basic settings, using CRUD operations, condition builders, pagination, advanced features like auto‑fill, logical delete, optimistic locking, code generation, common pitfalls, and practical recommendations for effective usage.

CRUDJavaMyBatis-Plus
0 likes · 7 min read
Master MyBatis-Plus: Quick Start, Core Features, and Best Practices
Zhihu Tech Column
Zhihu Tech Column
Sep 23, 2025 · Backend Development

Build a High‑Performance AI Chatbot with FUST Microservices and DeepSeek

This tutorial walks through using Zhihu's open‑source FUST microservice framework together with DeepSeek's language model API to design, implement, and deploy a scalable, high‑performance intelligent Q&A system, covering architecture, data models, service layers, and deployment scripts.

AI chatbotDeepSeekFUST
0 likes · 16 min read
Build a High‑Performance AI Chatbot with FUST Microservices and DeepSeek
macrozheng
macrozheng
Sep 23, 2025 · Information Security

Mastering Token Renewal: 5 Proven Strategies to Boost Security and Performance

This article examines common token‑renewal pitfalls and presents five practical solutions—including single‑token, blacklist, double‑token with triple validation, automatic renewal, and distributed‑environment techniques—while offering best‑practice guidelines to enhance security, user experience, and system scalability.

AuthenticationJavaToken Renewal
0 likes · 9 min read
Mastering Token Renewal: 5 Proven Strategies to Boost Security and Performance
Code Ape Tech Column
Code Ape Tech Column
Sep 23, 2025 · Backend Development

Integrate Tess4J OCR into Spring Boot: Step‑by‑Step Guide

This tutorial walks you through setting up a Spring Boot project with Tess4J, adding required dependencies, configuring language data, implementing an OCR service and REST controller, and testing both local file and remote URL image recognition, all with complete code examples.

JavaOCRREST API
0 likes · 6 min read
Integrate Tess4J OCR into Spring Boot: Step‑by‑Step Guide
21CTO
21CTO
Sep 23, 2025 · Fundamentals

Can Java Become a More Growable Language? Inside Brian Goetz’s Vision

Brian Goetz, Java language architect, outlines his vision for a more growable Java by introducing the “witness” concept, discussing underlying philosophy, potential new features like numeric types, operator overloading, collection expressions, and how these ideas fit into the Valhalla project and Java’s future roadmap.

Brian GoetzJavaLanguage Design
0 likes · 10 min read
Can Java Become a More Growable Language? Inside Brian Goetz’s Vision
Architect's Tech Stack
Architect's Tech Stack
Sep 23, 2025 · Backend Development

Master SpringDoc: Minimal OpenAPI 3 Setup for Spring Boot

This tutorial walks through integrating SpringDoc into a Spring Boot project, covering why it replaces SpringFox, how to configure it with minimal settings, add API annotations, set up grouped documentation, and handle static resources and Spring Security for full Swagger UI access.

API documentationJavaOpenAPI
0 likes · 15 min read
Master SpringDoc: Minimal OpenAPI 3 Setup for Spring Boot
JakartaEE China Community
JakartaEE China Community
Sep 23, 2025 · Backend Development

Upgrade JPA 2.x to Jakarta Persistence 3.0 – Step‑by‑Step Guide

This article explains how to migrate a Java application from JPA 2.x to Jakarta Persistence 3.0 by updating Maven dependencies, replacing javax.persistence imports with jakarta.persistence, adjusting XML namespace URLs, and renaming configuration properties, all illustrated with concrete code snippets.

EclipseLinkHibernateJava
0 likes · 9 min read
Upgrade JPA 2.x to Jakarta Persistence 3.0 – Step‑by‑Step Guide
Ray's Galactic Tech
Ray's Galactic Tech
Sep 22, 2025 · Backend Development

Integrating Knife4j with OpenAPI 3 in Spring Boot 3.x – Step‑by‑Step Guide

This tutorial walks through adding the required Maven dependencies, configuring application.yml, creating SwaggerConfig, implementing sample controllers, accessing the enhanced Knife4j UI and Swagger UI, troubleshooting common issues, and comparing SpringDoc OpenAPI with Knife4j OpenAPI3 to help developers choose the right solution for Spring Boot 3.x projects.

API documentationJavaKnife4j
0 likes · 10 min read
Integrating Knife4j with OpenAPI 3 in Spring Boot 3.x – Step‑by‑Step Guide
IT Services Circle
IT Services Circle
Sep 22, 2025 · Information Security

JWT vs Token+Redis: Which Authentication Strategy Wins for Your Apps?

This article provides a comprehensive comparison of JWT and Token‑Redis authentication schemes, covering their underlying principles, Java implementations, advantages and disadvantages, performance and security trade‑offs, suitable use‑cases, and practical guidance for choosing the optimal solution in modern web and mobile applications.

AuthenticationJWTJava
0 likes · 15 min read
JWT vs Token+Redis: Which Authentication Strategy Wins for Your Apps?

Getting Started with Tree-sitter: High‑Performance Code Parsing and Multi‑Language SQL Extraction

Tree-sitter is a high‑performance incremental parsing library that supports over 50 languages; the article explains its core features, typical use cases such as editor syntax highlighting and static analysis, and walks through a concrete multi‑language SQL extraction implementation in Java, Python, and XML.

JavaPythonSQL extraction
0 likes · 6 min read
Getting Started with Tree-sitter: High‑Performance Code Parsing and Multi‑Language SQL Extraction
Ray's Galactic Tech
Ray's Galactic Tech
Sep 20, 2025 · Backend Development

Migrate Java 8 to JDK 17: Must‑Fix Issues and Optimization Tips

This guide outlines the mandatory code changes required when moving from JDK 8 to JDK 17—such as removed modules, internal API restrictions, and compiler flag updates—and highlights optional optimizations like var inference, collection factories, switch expressions, records, text blocks, enhanced Stream and Random APIs, with practical examples and migration steps.

Code RefactoringJDK 17Java
0 likes · 8 min read
Migrate Java 8 to JDK 17: Must‑Fix Issues and Optimization Tips
macrozheng
macrozheng
Sep 18, 2025 · Fundamentals

How Bitmaps and Bloom Filters Slash Memory Usage for Massive Datasets

This article explains how using a bitmap can reduce the memory needed to store billions of integers from about 15 GB to under 500 MB, describes the bitmap concept, introduces Bloom filters, outlines their principles, advantages, common use cases, and provides Java and Redis code examples for implementation.

Data StructuresJavaMemory Optimization
0 likes · 11 min read
How Bitmaps and Bloom Filters Slash Memory Usage for Massive Datasets
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 18, 2025 · Backend Development

Master Java Reflection: 5 Essential Techniques for Dynamic Code

This article explains Java reflection—a powerful feature used by frameworks like Spring and MyBatis—covering its core concepts and demonstrating five practical ways to invoke methods, access fields, handle static and private methods, and work with superclass methods using concise code examples.

Backend DevelopmentDynamic InvocationJava
0 likes · 4 min read
Master Java Reflection: 5 Essential Techniques for Dynamic Code
Architect's Guide
Architect's Guide
Sep 18, 2025 · Backend Development

Master Spring Batch: From Basics to Advanced Job Configurations

This article provides a comprehensive guide to Spring Batch, covering its purpose, supported business scenarios, core components and interfaces, Maven setup, sample job definitions, parallel execution, decision flows, nested jobs, data reading and writing, validation processing, and REST‑based job scheduling, all illustrated with complete code examples.

Batch processingJavaJob Scheduling
0 likes · 15 min read
Master Spring Batch: From Basics to Advanced Job Configurations
Architect's Tech Stack
Architect's Tech Stack
Sep 18, 2025 · Backend Development

Master Java Spring Utilities: Assertions, Collections, IO & Reflection

This article compiles essential Spring and Java utility methods—including assertion checks, object and collection handling, file I/O, resource management, and reflection/AOP tools—providing concise code examples and usage guidelines to help developers avoid redundant code and write cleaner, more reliable applications.

CollectionsJavaReflection
0 likes · 13 min read
Master Java Spring Utilities: Assertions, Collections, IO & Reflection
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 18, 2025 · Backend Development

Master 11 Spring Boot Bean Registration Techniques for Dynamic Applications

Explore 11 practical Spring Boot bean registration methods—from simple @Component scanning to advanced ImportSelector, FactoryBean, and runtime dynamic registration—detailing code examples, use cases, and configuration steps, enabling developers to choose the optimal approach for flexible, modular applications.

Backend DevelopmentBean RegistrationJava
0 likes · 11 min read
Master 11 Spring Boot Bean Registration Techniques for Dynamic Applications
21CTO
21CTO
Sep 17, 2025 · Backend Development

What’s New in Java 25? Simplified Syntax, AI Boosts, and Performance Gains

Oracle’s latest LTS release, JDK 25, introduces compact source files, streamlined module imports, enhanced constructors, memory‑efficient compact object headers, AI‑friendly features like pattern matching and the Vector API, plus performance and security improvements, while aiming to make Java more approachable for beginners.

AI IntegrationJDK 25Java
0 likes · 8 min read
What’s New in Java 25? Simplified Syntax, AI Boosts, and Performance Gains
Code Ape Tech Column
Code Ape Tech Column
Sep 17, 2025 · Backend Development

8 Powerful Ways to Implement Asynchronous Processing in Java

Explore eight practical techniques for achieving asynchronous execution in Java—from low‑level threads and Futures to Spring’s @Async, ApplicationEvent, message queues, and Guava ListenableFuture—complete with code samples, performance insights, and best‑practice recommendations for building responsive backend services.

AsynchronousFutureJava
0 likes · 13 min read
8 Powerful Ways to Implement Asynchronous Processing in Java
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 17, 2025 · Backend Development

Master Spring Transactions: Programming vs Declarative Approaches Explained

This article provides a comprehensive guide to Spring transaction management, covering both programmatic (TransactionTemplate) and declarative (@Transactional) methods, explaining their principles, code examples, and how Spring abstracts underlying JDBC steps to simplify database transaction handling for backend developers.

BackendJavaprogramming
0 likes · 4 min read
Master Spring Transactions: Programming vs Declarative Approaches Explained
Architect's Tech Stack
Architect's Tech Stack
Sep 17, 2025 · Backend Development

Why Process Orchestration Is Essential for Scalable Backend Systems

The article explains why process orchestration is crucial for backend systems, illustrates common pitfalls of scattered if‑else logic, and demonstrates how a flow engine combined with plugin extensions—using the open‑source MemberClub project—provides clean, extensible business logic execution.

Javaflow engineplugin extension
0 likes · 8 min read
Why Process Orchestration Is Essential for Scalable Backend Systems
Efficient Ops
Efficient Ops
Sep 16, 2025 · Backend Development

Why Tomcat Thread‑Pool Saturation Crashed Our Service and How to Avoid It

A detailed post‑mortem explains how a sudden traffic surge, insufficient pod count, and a custom thread‑pool bottleneck caused Tomcat thread‑pool saturation, health‑check failures, and a zone‑wide outage, and offers concrete lessons on capacity planning, monitoring, and safe coding practices.

CapacityPlanningJavaThreadPool
0 likes · 28 min read
Why Tomcat Thread‑Pool Saturation Crashed Our Service and How to Avoid It
Architect's Tech Stack
Architect's Tech Stack
Sep 16, 2025 · Backend Development

Avoid Hidden Spring Boot Pitfalls: Optimize Tomcat, HikariCP, JPA, and More

Spring Boot’s “convention over configuration” hides many default settings that can cause performance bottlenecks and runtime failures, from Tomcat and HikariCP connection limits to JPA lazy loading, timezone serialization, logging, caching, file upload limits, thread pools, and transaction timeouts, and the article shows how to tune each.

BackendJavaSpring Boot
0 likes · 13 min read
Avoid Hidden Spring Boot Pitfalls: Optimize Tomcat, HikariCP, JPA, and More
Selected Java Interview Questions
Selected Java Interview Questions
Sep 16, 2025 · Backend Development

Mastering Asynchronous Responses in Spring: CompletableFuture vs ResponseBodyEmitter

This guide explains how to implement high‑performance asynchronous APIs in Spring Web using CompletableFuture and ResponseBodyEmitter, covering controller and service code, configuration, request lifecycle, client handling, Nginx settings, and practical recommendations for choosing the right approach.

AsynchronousCompletableFutureJava
0 likes · 12 min read
Mastering Asynchronous Responses in Spring: CompletableFuture vs ResponseBodyEmitter
Java Tech Enthusiast
Java Tech Enthusiast
Sep 16, 2025 · Backend Development

Master Java Concurrency & Redis: Thread Safety, Pools, and Data Consistency

This article explains Java thread‑safety concepts, how to use and configure ThreadPoolExecutor, Redis performance tricks, Zset internal structures, memory‑eviction policies, node‑failure handling, cache‑DB consistency patterns, and MySQL transaction ACID properties with MVCC differences, providing practical code examples throughout.

DatabaseJavaRedis
0 likes · 25 min read
Master Java Concurrency & Redis: Thread Safety, Pools, and Data Consistency
macrozheng
macrozheng
Sep 16, 2025 · Backend Development

Simplify Elasticsearch with Easy-Es: MyBatis‑Plus‑Style ORM Tutorial

This article introduces Easy-Es, an Elasticsearch ORM that mimics MyBatis‑Plus syntax, walks through its core features, integration steps, entity annotations, mapper and service implementations, and demonstrates simple, advanced, and recommendation search scenarios, highlighting the reduction in boilerplate code.

Easy-EsElasticsearchJava
0 likes · 17 min read
Simplify Elasticsearch with Easy-Es: MyBatis‑Plus‑Style ORM Tutorial
Architect's Guide
Architect's Guide
Sep 16, 2025 · Backend Development

How to Replace Clunky if‑else Chains with Elegant Java Patterns

This article shares practical techniques for reducing verbose if‑else statements in Java, covering strategy‑enum patterns, ternary operators, Stream API methods, Map lookups, enums, and Optional, each illustrated with concise code examples to make conditional logic clearer and more maintainable.

Code OptimizationDesign PatternsJava
0 likes · 9 min read
How to Replace Clunky if‑else Chains with Elegant Java Patterns
JakartaEE China Community
JakartaEE China Community
Sep 16, 2025 · Backend Development

Defining Jakarta Data Repositories with Hibernate: A Practical Guide

This article explains how to define Jakarta Data repositories using Hibernate, covering the stateless nature of repositories, minimal and extended interfaces, custom lifecycle annotations, finder methods, and custom JDQL queries, with concrete code examples and generated SQL illustrations.

HibernateJakarta DataJava
0 likes · 13 min read
Defining Jakarta Data Repositories with Hibernate: A Practical Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 16, 2025 · Backend Development

Master Spring Boot 3: 171 Real-World Cases and Advanced Techniques

This article presents a continuously updated collection of 171 Spring Boot 3 practical cases, covering advanced topics such as global exception handling, custom interceptors, bean retrieval, configuration imports, startup runners, bean definition modification, initialization methods, custom scopes, and graceful shutdown, with full code examples and a free PDF ebook.

Backend DevelopmentJavaSpring Boot
0 likes · 14 min read
Master Spring Boot 3: 171 Real-World Cases and Advanced Techniques
Cognitive Technology Team
Cognitive Technology Team
Sep 15, 2025 · Databases

Avoid Common Pitfalls When Combining MyBatis‑Plus with ShardingSphere‑JDBC

Learn how to seamlessly integrate MyBatis‑Plus with ShardingSphere‑JDBC for high‑performance sharding, covering core principles, step‑by‑step workflow, and detailed solutions to typical pitfalls such as SQL parsing, pagination conflicts, key generation, query routing, transaction handling, broadcast tables, injection risks, and shard algorithm design.

JavaMyBatis-PlusShardingSphere-JDBC
0 likes · 19 min read
Avoid Common Pitfalls When Combining MyBatis‑Plus with ShardingSphere‑JDBC
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 15, 2025 · Backend Development

Master Spring’s Core: IoC, DI, AOP & Transaction Explained

This article provides a comprehensive overview of the Spring framework, covering its core principles such as Inversion of Control, Dependency Injection, Aspect‑Oriented Programming, and transaction management, while illustrating each concept with diagrams and practical code examples for Java developers.

AOPBackend DevelopmentJava
0 likes · 7 min read
Master Spring’s Core: IoC, DI, AOP & Transaction Explained
Code Ape Tech Column
Code Ape Tech Column
Sep 15, 2025 · Backend Development

Unlock Ultra‑Fast Messaging with Disruptor: A Hands‑On Java Guide

This article introduces the high‑performance Disruptor library, explains its core concepts such as Ring Buffer, Sequence, and Wait Strategy, and provides a step‑by‑step Java demo—including Maven setup, event model, producer, consumer, and test—showcasing how to build a lock‑free in‑memory message queue.

Concurrent ProgrammingDisruptorJava
0 likes · 11 min read
Unlock Ultra‑Fast Messaging with Disruptor: A Hands‑On Java Guide
Architect's Journey
Architect's Journey
Sep 15, 2025 · Backend Development

Token Bucket vs Leaky Bucket: Deep Dive into Core Traffic‑Control Algorithms

This article compares the token‑bucket and leaky‑bucket rate‑limiting algorithms, explaining their core principles, Java implementation details, key advantages and drawbacks, suitable application scenarios, interview‑style Q&A, and advanced hybrid strategies for building robust high‑concurrency systems.

Distributed SystemsJavaRate Limiting
0 likes · 9 min read
Token Bucket vs Leaky Bucket: Deep Dive into Core Traffic‑Control Algorithms
Java Backend Technology
Java Backend Technology
Sep 15, 2025 · Backend Development

How to Dynamically Load External JARs into SpringBoot and Scan Them

This guide explains how to load external JAR files into the JVM, configure SpringBoot to recognize them, and choose among several class‑loading strategies—including expanding the classpath, using the loader.path parameter, or implementing a custom classloader—while providing Maven configuration examples and code snippets.

Custom ClassLoaderDynamic ConfigurationJava
0 likes · 9 min read
How to Dynamically Load External JARs into SpringBoot and Scan Them
Architect's Guide
Architect's Guide
Sep 15, 2025 · Backend Development

How to Use Java Agents and Instrumentation for Non‑Intrusive Performance Monitoring

This article explains why inserting manual timing code is invasive, introduces the java.lang.instrument API, shows how to write a tiny Java Agent with premain and agentmain methods, demonstrates dynamic class redefinition via the Attach API, and explores how tools like Arthas and Bytekit leverage these mechanisms for runtime tracing and bytecode enhancement.

ArthasAttach APIInstrumentation
0 likes · 19 min read
How to Use Java Agents and Instrumentation for Non‑Intrusive Performance Monitoring
Cognitive Technology Team
Cognitive Technology Team
Sep 14, 2025 · Fundamentals

Unlocking Java HashMap: How It Works, Optimizations & Common Pitfalls

This article explores Java's HashMap internals, detailing its bucket array design, hash processing, collision handling, Java 8 treeification, resizing strategy, load factor and threshold calculations, performance optimization tips, common pitfalls, and when to choose alternative map implementations for high‑concurrency or ordered use cases.

Data StructuresHashMapJava
0 likes · 9 min read
Unlocking Java HashMap: How It Works, Optimizations & Common Pitfalls
Architect
Architect
Sep 14, 2025 · Backend Development

Interceptor vs Filter in Spring MVC: Key Differences, Code Samples, and Usage Guide

This article explains the fundamental differences between Spring MVC interceptors and servlet filters, provides complete Java code examples for both, shows how to configure them in Spring and web.xml, and summarizes when to choose each approach for request handling and AOP-like functionality.

AOPInterceptorJava
0 likes · 11 min read
Interceptor vs Filter in Spring MVC: Key Differences, Code Samples, and Usage Guide
Cognitive Technology Team
Cognitive Technology Team
Sep 14, 2025 · Backend Development

How to Simulate Function Pointers in Java: Interfaces, Lambdas, and More

This guide explains how Java can mimic function pointers using interfaces with anonymous classes, lambda expressions, built-in functional interfaces, method references, reflection, the command pattern, and enum-based implementations, comparing their advantages, drawbacks, and ideal use cases for modern and legacy codebases.

Functional InterfacesJavaLambda
0 likes · 14 min read
How to Simulate Function Pointers in Java: Interfaces, Lambdas, and More
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 14, 2025 · Backend Development

5 Common Redis Cache Anti‑Patterns and How to Fix Them

This article examines five frequent Redis cache anti‑patterns—cache avalanche, unbounded local cache, stale data, missing invalidation, and oversized objects—explaining their pitfalls with code examples and showing concrete fixes that dramatically improve latency, throughput, and memory usage.

Anti-PatternCacheCaffeine
0 likes · 15 min read
5 Common Redis Cache Anti‑Patterns and How to Fix Them
Code Mala Tang
Code Mala Tang
Sep 13, 2025 · Information Security

Mastering CORS: How to Fix Cross-Origin Errors in Web Apps

Learn what CORS (Cross-Origin Resource Sharing) is, why browsers block cross-origin requests, and how to configure servers—using Java, Express.js, or Spring Boot—to handle preflight checks, simple requests, and fine-grained security headers, ensuring safe and functional web applications.

CORSCross-OriginHTTP
0 likes · 13 min read
Mastering CORS: How to Fix Cross-Origin Errors in Web Apps
Architect
Architect
Sep 13, 2025 · Backend Development

Automate MinIO Image Cleanup with Spring Boot Scheduled Tasks

This article explains how to use MinIO as an image storage service and implement a Spring Boot scheduled task that periodically deletes outdated image folders, covering dependency setup, delete utilities, performance considerations, cron expressions, thread‑pool tuning, asynchronous execution, configuration extensions, and testing strategies.

File CleanupJavaMinio
0 likes · 27 min read
Automate MinIO Image Cleanup with Spring Boot Scheduled Tasks
Java Web Project
Java Web Project
Sep 13, 2025 · Backend Development

How to Quickly Integrate SpringDoc for OpenAPI Docs in Spring Boot

This article walks through why SpringDoc replaces SpringFox, shows step‑by‑step minimal configuration, dependency setup, controller annotations, API grouping (both programmatic and declarative), and necessary adjustments for WebMvcConfigurer and Spring Security to generate OpenAPI 3 documentation in a Spring Boot project.

API documentationJavaOpenAPI
0 likes · 15 min read
How to Quickly Integrate SpringDoc for OpenAPI Docs in Spring Boot
macrozheng
macrozheng
Sep 13, 2025 · Fundamentals

Why 73% of Companies Face Oracle Java Audits and How to Switch to OpenJDK

Recent Dimensional Research data shows that 73% of surveyed enterprises have encountered Oracle‑initiated Java license audits, prompting 15% to complete migration, 22% to start, and 25% to plan moving to OpenJDK or other open‑source JDKs, driven by cost and compliance pressures.

ComplianceJavaLicense Audit
0 likes · 7 min read
Why 73% of Companies Face Oracle Java Audits and How to Switch to OpenJDK
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 13, 2025 · Backend Development

Generate PDFs with Spring Boot 3, iText, and Thymeleaf – 170 Real‑World Cases

This article presents a comprehensive guide to generating PDF documents in Spring Boot 3 applications using iTextpdf and Thymeleaf, covering environment setup, Maven dependencies, data model, HTML template design, controller implementation, and a test case that produces a correctly rendered PDF with external CSS and images.

Backend DevelopmentJavaSpring Boot
0 likes · 9 min read
Generate PDFs with Spring Boot 3, iText, and Thymeleaf – 170 Real‑World Cases
Java Backend Full-Stack
Java Backend Full-Stack
Sep 12, 2025 · Backend Development

How to Handle Exceptions Thrown by Threads in a ThreadPool

This article explains why tasks submitted to a Java ThreadPool via submit silently swallow exceptions while execute prints them, and demonstrates three practical ways—using Future.get(), a custom UncaughtExceptionHandler, and overriding afterExecute—to reliably capture and process those exceptions.

ExecutorServiceFutureJava
0 likes · 14 min read
How to Handle Exceptions Thrown by Threads in a ThreadPool
IT Services Circle
IT Services Circle
Sep 12, 2025 · Fundamentals

Is Java 8 Dead? Explore Essential Features from Java 8 to Java 24

This article walks through why Java 8 is being retired and highlights the most useful language features introduced from Java 8 through Java 24—including lambdas, streams, optional, records, sealed classes, virtual threads, and the new Stream Gatherers—providing code examples and practical guidance for modern Java development.

JavaSealedClassesVirtualThreads
0 likes · 46 min read
Is Java 8 Dead? Explore Essential Features from Java 8 to Java 24
Java Tech Enthusiast
Java Tech Enthusiast
Sep 12, 2025 · Backend Development

Mastering Graceful Shutdown in Spring Boot: Hooks, Events, and @PreDestroy

Learn how to implement graceful shutdown in Spring Boot by understanding the JVM shutdown hook, customizing cleanup logic with ContextClosedEvent listeners and @PreDestroy annotations, and configuring the spring.main.register-shutdown-hook property to ensure resources are released safely during application termination.

ContextClosedEventGraceful ShutdownJava
0 likes · 9 min read
Mastering Graceful Shutdown in Spring Boot: Hooks, Events, and @PreDestroy
macrozheng
macrozheng
Sep 12, 2025 · Backend Development

Master Java Design Patterns: Strategy, SPI, Chain of Responsibility & Rule Engine

Learn how to replace tangled if‑else logic with four elegant solutions—Strategy pattern, Java SPI, Chain of Responsibility, and a rule engine—complete with concepts, UML diagrams, Java code examples, advantages, drawbacks, and practical usage scenarios for building maintainable, extensible backend systems.

Chain of ResponsibilityJavaRule Engine
0 likes · 23 min read
Master Java Design Patterns: Strategy, SPI, Chain of Responsibility & Rule Engine
macrozheng
macrozheng
Sep 12, 2025 · Backend Development

Automate User and Order IDs in Spring Boot Logs with MDC and AOP

This guide shows how to automatically inject userId and orderId into Spring Boot log messages by defining log placeholders, using ThreadLocal, creating a custom @UserLog annotation, and applying a Spring AOP aspect that populates MDC, dramatically simplifying logging in e‑commerce systems.

AOPJavaLogging
0 likes · 8 min read
Automate User and Order IDs in Spring Boot Logs with MDC and AOP
Java Tech Enthusiast
Java Tech Enthusiast
Sep 11, 2025 · Backend Development

Refresh Spring Boot Config at Runtime Without Restart

This guide explains how to use Spring Boot's @RefreshScope to dynamically refresh configuration at runtime without restarting services, covering the underlying mechanism, step‑by‑step implementation, production best practices, troubleshooting tips, and advanced use cases.

@RefreshScopeDynamic ConfigurationJava
0 likes · 9 min read
Refresh Spring Boot Config at Runtime Without Restart
Architect's Tech Stack
Architect's Tech Stack
Sep 11, 2025 · Backend Development

Master MyBatis Streaming Queries: Reduce Memory Usage with Cursors

This article explains MyBatis streaming queries, introduces the Cursor interface and its methods, demonstrates common pitfalls, and provides three practical solutions—using SqlSessionFactory, TransactionTemplate, or @Transactional—to keep database connections open while processing large result sets efficiently.

CursorDatabaseJava
0 likes · 7 min read
Master MyBatis Streaming Queries: Reduce Memory Usage with Cursors
Architect's Tech Stack
Architect's Tech Stack
Sep 11, 2025 · Backend Development

Master MyBatis Streaming Queries: Keep DB Connections Open Efficiently

This article explains MyBatis streaming queries using the Cursor interface, demonstrates common pitfalls such as closed connections, and provides three practical solutions—including SqlSessionFactory, TransactionTemplate, and @Transactional—to reliably process large result sets with minimal memory usage.

BackendCursorDatabase
0 likes · 6 min read
Master MyBatis Streaming Queries: Keep DB Connections Open Efficiently
Java Backend Full-Stack
Java Backend Full-Stack
Sep 10, 2025 · Backend Development

How a Misconfigured ThreadPool Caused Data Loss in Production – A Step‑by‑Step Troubleshooting Guide

The article recounts a real production incident where a recent deployment triggered loss of third‑party order data, traces the root cause to an improperly configured ThreadPoolExecutor that used a local memory queue, and walks through the systematic investigation and remediation steps.

BackendBlockingQueueConcurrency
0 likes · 6 min read
How a Misconfigured ThreadPool Caused Data Loss in Production – A Step‑by‑Step Troubleshooting Guide
DeWu Technology
DeWu Technology
Sep 10, 2025 · Backend Development

Unlocking Hessian: How Java’s Binary Serialization Boosts Performance

This article explains the core principles of Hessian, a Java‑optimized binary serialization protocol, covering object graph traversal, encoding formats, data‑block tags, repeated‑object reuse, small‑integer inlining, and integer compression, and shows why it offers higher efficiency and compression than text‑based alternatives.

HessianJavabinary protocol
0 likes · 17 min read
Unlocking Hessian: How Java’s Binary Serialization Boosts Performance
Su San Talks Tech
Su San Talks Tech
Sep 10, 2025 · Backend Development

Master Java Backend Interview Questions: HTTP Status, JVM, Multithreading & More

This article shares Beike's recent campus hiring salary data and provides a comprehensive Java backend interview guide covering HTTP response codes, session vs. cookie, runtime and checked exceptions, abstract classes vs. interfaces, StringBuilder vs. String, JVM memory structure, multithreading techniques, thread‑pool parameters, the synchronized keyword, B+‑tree indexing, and essential Linux commands.

Backend DevelopmentInterviewJVM
0 likes · 23 min read
Master Java Backend Interview Questions: HTTP Status, JVM, Multithreading & More