Tagged articles
5000 articles
Page 13 of 50
macrozheng
macrozheng
Aug 30, 2025 · Backend Development

How to Build a Real‑Time SQL Call Tree Visualizer with Spring Boot and D3.js

This guide shows how to create a Spring Boot and MyBatis interceptor that captures SQL execution, builds a hierarchical call tree, and visualizes it with D3.js, providing performance monitoring, statistics, and thread‑safe management for complex query debugging.

D3.jsSQL VisualizationSpring Boot
0 likes · 24 min read
How to Build a Real‑Time SQL Call Tree Visualizer with Spring Boot and D3.js
Java Architect Essentials
Java Architect Essentials
Aug 29, 2025 · Backend Development

Simplify Java Stream Operations with JDFrame: A Semantic DataFrame API

This article introduces JDFrame/SDFrame, a JVM‑level DataFrame library that provides a more semantic and concise API for Java 8 stream processing, showcases quick start steps, detailed API categories such as filtering, aggregation, grouping, sorting, joining, and explains the differences between SDFrame and JDFrame with practical code examples.

JDFrameStreambackend-development
0 likes · 19 min read
Simplify Java Stream Operations with JDFrame: A Semantic DataFrame API
DaTaobao Tech
DaTaobao Tech
Aug 29, 2025 · Backend Development

Why HSF’s Hessian2 Serialization Fails with Java 9 Immutable Collections (Set.of)

When an HSF service receives a parameter created with Java 9's immutable collection factories such as Set.of(), the default Hessian2 serializer drops the collection elements, causing a NullArray InvalidObjectException and resulting in a SERVER_SERIALIZE_ERROR on the server side, which can be avoided by using mutable collections or a compatible serializer.

HSFImmutableCollectionsJava9
0 likes · 24 min read
Why HSF’s Hessian2 Serialization Fails with Java 9 Immutable Collections (Set.of)
Architecture Digest
Architecture Digest
Aug 29, 2025 · Backend Development

Eliminate Repetitive Common Fields in Java Backends with MyBatis-Plus, AOP, and JWT

This article explains how to automate the handling of common entity fields such as creation time, update time, and user identifiers in Java backend services by using MyBatis-Plus automatic filling, custom AOP aspects, multi‑data‑source configuration, distributed ID generation, and auditing techniques, dramatically reducing boiler‑plate code and bugs.

AuditingAutomatic Field FillingSpringBoot
0 likes · 9 min read
Eliminate Repetitive Common Fields in Java Backends with MyBatis-Plus, AOP, and JWT
Tech Freedom Circle
Tech Freedom Circle
Aug 29, 2025 · Backend Development

What Is SSE? Why Is This 20‑Year‑Old Technology Suddenly Booming? – Interview Deep Dive

This article provides a comprehensive interview‑style analysis of Server‑Sent Events (SSE), covering its definition, 20‑year history, core features, data format, Java Spring Boot implementation, client‑side EventSource usage, detailed comparison with WebSocket and other polling techniques, and a decision guide for choosing the right real‑time communication protocol in modern AI‑driven applications.

AIReal-TimeSSE
0 likes · 47 min read
What Is SSE? Why Is This 20‑Year‑Old Technology Suddenly Booming? – Interview Deep Dive
Code Ape Tech Column
Code Ape Tech Column
Aug 29, 2025 · Backend Development

Master Spring Integration: Build Scalable Message‑Driven Systems with Ease

This article introduces Spring Integration, explains its core concepts such as messages, channels, endpoints, adapters, filters, and transformers, compares it with traditional middleware, and provides detailed XML and Java configuration examples for channels, endpoints, adapters, transformers, routers, integration patterns, interceptors, and a practical order‑processing workflow.

Message ChannelsSpring IntegrationTransformers
0 likes · 21 min read
Master Spring Integration: Build Scalable Message‑Driven Systems with Ease
Su San Talks Tech
Su San Talks Tech
Aug 29, 2025 · Backend Development

Why Switching to MyBatis‑Plus Can Break LocalDateTime Handling and How to Fix It

The article walks through replacing MyBatis with MyBatis‑Plus in a legacy project, explains the LocalDateTime conversion errors caused by version changes in MyBatis and mysql‑connector‑java, shows how upgrading the JDBC driver resolves the issue, and shares lessons on cautious component upgrades and testing.

LocalDateTimeVersion Compatibilitybackend-development
0 likes · 8 min read
Why Switching to MyBatis‑Plus Can Break LocalDateTime Handling and How to Fix It
Lin is Dream
Lin is Dream
Aug 29, 2025 · Backend Development

How I Built a Mini‑Netty from Scratch: Lessons in Java NIO Design

This article concludes the "From Zero Hand‑write Mini Netty" series, walking through the evolution from a simple single‑thread NIO program to a multi‑threaded, pluggable Mini‑Netty framework with heartbeat, decoding, and responsibility‑chain processing, and outlines future plans for a full‑featured Netty chat application.

BackendMini FrameworkNetty
0 likes · 7 min read
How I Built a Mini‑Netty from Scratch: Lessons in Java NIO Design
Sohu Tech Products
Sohu Tech Products
Aug 28, 2025 · Backend Development

Unlock MyBatis-Plus: From Zero-Code CRUD to Secure, Scalable DAO Architecture

This article introduces MyBatis-Plus, explains its core zero‑invasion features such as effortless single‑table CRUD, powerful Lambda condition builders, and a rich plugin system, then provides practical guidelines and code examples for building secure, high‑performance DAO layers in microservice back‑ends.

CRUDORMPlugins
0 likes · 16 min read
Unlock MyBatis-Plus: From Zero-Code CRUD to Secure, Scalable DAO Architecture
Sohu Tech Products
Sohu Tech Products
Aug 28, 2025 · Backend Development

Unlocking Tomcat’s Secrets: Deep Dive into Architecture, Design Patterns, and Class Loading

This comprehensive guide explores Tomcat’s mature architecture, detailing its connector and container components, the underlying design patterns such as composite, observer, and template method, and the custom class‑loading mechanisms that enable modularity, hot‑reloading, and isolation for Java web applications.

Design PatternsTomcatWeb server
0 likes · 43 min read
Unlocking Tomcat’s Secrets: Deep Dive into Architecture, Design Patterns, and Class Loading
macrozheng
macrozheng
Aug 28, 2025 · Backend Development

One-Click Maven Multi-Module Setup for Java Projects with IntelliJ Plugin

Discover how to dramatically speed up Java Maven multi‑module project creation by using a custom IntelliJ plugin that generates full module structures, configures dependencies, and applies best‑practice settings in seconds, complete with installation methods, usage tips, and troubleshooting advice.

IntelliJautomationjava
0 likes · 11 min read
One-Click Maven Multi-Module Setup for Java Projects with IntelliJ Plugin
Architect's Tech Stack
Architect's Tech Stack
Aug 28, 2025 · Backend Development

Boost Your Spring Boot CRUD with MyBatisPlusPro: A Step‑by‑Step Guide

This tutorial walks you through creating a reusable BaseController in Spring Boot using MyBatis‑Plus, introducing a utility class for dynamic query building, configuring pagination support, and extending the controller for any entity to instantly gain full CRUD, list, pagination, sorting, and count operations.

CRUDMyBatisPlusRESTful API
0 likes · 11 min read
Boost Your Spring Boot CRUD with MyBatisPlusPro: A Step‑by‑Step Guide
Java Architect Essentials
Java Architect Essentials
Aug 28, 2025 · Backend Development

Simplify Java HTTP Calls with UniHttp: A Declarative Framework Guide

This article introduces UniHttp, a declarative HTTP‑client framework for Java that replaces traditional HttpClient/OkHttp code with annotation‑driven interfaces, shows quick‑start setup, explains all supported annotations, lifecycle hooks, custom client configuration, and a real‑world enterprise integration example.

Declarative APIHTTPbackend-development
0 likes · 22 min read
Simplify Java HTTP Calls with UniHttp: A Declarative Framework Guide
Baidu Geek Talk
Baidu Geek Talk
Aug 27, 2025 · Artificial Intelligence

Boost Your Java Development with AI: 5 Powerful Wenxin Code Tips

This article shares five practical techniques for using Wenxin Code's Zulu and Chat agents—covering context provision, automatic command execution, rule constraints, inline chat, and Git commit shortcuts—to make AI‑generated Java code more reliable, maintainable, and aligned with project standards.

AI CodingSpring BootWenxin Code
0 likes · 19 min read
Boost Your Java Development with AI: 5 Powerful Wenxin Code Tips
Su San Talks Tech
Su San Talks Tech
Aug 27, 2025 · Backend Development

Master Distributed Tracing with SkyWalking: Principles, Architecture & Practices

This article explains the fundamentals of distributed tracing in microservice architectures, details the OpenTracing standard, examines SkyWalking’s design, sampling strategies, context propagation, and plugin development, and shares practical implementation experiences and performance comparisons, helping engineers choose and integrate effective tracing solutions.

Distributed TracingMicroservicesOpenTracing
0 likes · 19 min read
Master Distributed Tracing with SkyWalking: Principles, Architecture & Practices
macrozheng
macrozheng
Aug 27, 2025 · Backend Development

Oracle JDK vs OpenJDK: Which JDK Should Power Your Production Java Apps?

An in‑depth comparison of Oracle JDK and OpenJDK covers their origins, licensing, feature sets, release cycles, performance benchmarks, security updates, and practical migration guides, helping developers choose the right JDK for production environments and avoid costly legal or stability pitfalls.

JDKLicensingOpenJDK
0 likes · 12 min read
Oracle JDK vs OpenJDK: Which JDK Should Power Your Production Java Apps?
Architect
Architect
Aug 26, 2025 · Backend Development

Mastering the Chain of Responsibility Pattern for Scalable Backend Validation

This article explains the Chain of Responsibility design pattern, outlines its typical application scenarios, and demonstrates two practical implementations—a multi‑step product creation validation and an expense‑approval workflow—showing how to configure, assemble, and execute handler chains dynamically in Java.

Chain of Responsibilitydesign patternjava
0 likes · 20 min read
Mastering the Chain of Responsibility Pattern for Scalable Backend Validation
Architecture Digest
Architecture Digest
Aug 26, 2025 · Backend Development

Unlock Java’s New Power: 7 Must‑Know JDK 17 Features for Modern Developers

This article walks through JDK 17’s most impactful language upgrades—including records, sealed classes, pattern matching, text blocks, var inference, enhanced switch, and new APIs—explaining their syntax, practical use cases, and how they simplify Java code while improving performance and maintainability.

RecordSealed ClassesText Blocks
0 likes · 12 min read
Unlock Java’s New Power: 7 Must‑Know JDK 17 Features for Modern Developers
Top Architect
Top Architect
Aug 26, 2025 · Backend Development

Master Liteflow: A Lightweight Rule Engine for Complex Business Flows

This article introduces the Liteflow rule engine, explains its architecture, component types, EL rule syntax, data context handling, Spring Boot configuration, and demonstrates a real‑world e‑commerce order processing scenario with code examples and diagrams.

LiteFlowSpring Bootjava
0 likes · 13 min read
Master Liteflow: A Lightweight Rule Engine for Complex Business Flows
Code Ape Tech Column
Code Ape Tech Column
Aug 26, 2025 · Backend Development

Boost Your Maven Project Setup: One-Click Multi-Module Generation Plugin

This article introduces a custom IntelliJ IDEA plugin that automates the creation of Maven multi‑module projects, allowing developers to generate full directory structures, pom dependencies, and configuration files with a single command, dramatically reducing setup time from minutes to seconds.

IntelliJ IDEAMulti‑moduleautomation
0 likes · 10 min read
Boost Your Maven Project Setup: One-Click Multi-Module Generation Plugin
Architect's Tech Stack
Architect's Tech Stack
Aug 26, 2025 · Backend Development

10 Proven Ways to Speed Up Spring Boot Startup Time

This article presents ten practical techniques—including lazy loading, lazy database initialization, selective auto‑configuration, log level tuning, JVM flags, dependency trimming, bean optimization, JIT tweaks, classpath scanning reduction, and DevTools restart—to dramatically reduce Spring Boot application startup time.

Spring Bootjavaperformance
0 likes · 6 min read
10 Proven Ways to Speed Up Spring Boot Startup Time
Java Web Project
Java Web Project
Aug 26, 2025 · Backend Development

How to Hot‑Deploy User‑Provided JAR Implementations in a Spring‑Based System

This article walks through building a simple Calculator interface, creating a dual‑mode implementation, and then dynamically loading, registering, and unloading user‑supplied JAR files at runtime using reflection or Spring annotation processing, complete with utility methods and a test harness.

Hot DeploymentReflectiondynamic-bean-registration
0 likes · 9 min read
How to Hot‑Deploy User‑Provided JAR Implementations in a Spring‑Based System
Architecture Digest
Architecture Digest
Aug 25, 2025 · Backend Development

Boost Your Spring Boot Apps with a Reusable MyBatisPlus Controller Layer

This article walks through creating a reusable MyBatisPlus‑based controller framework for Spring Boot, covering dependency setup, utility methods for query building and reflection, a generic BaseController with full CRUD endpoints, pagination configuration, and concrete controller extensions, enabling rapid development of RESTful APIs.

CRUDControllerMyBatisPlus
0 likes · 9 min read
Boost Your Spring Boot Apps with a Reusable MyBatisPlus Controller Layer
IT Services Circle
IT Services Circle
Aug 25, 2025 · Fundamentals

How to Efficiently Compress Strings in Java: Interview‑Ready Solution

The article critiques absurd interview questions, then presents a practical Java solution for compressing strings by replacing consecutive characters with their counts, explains the algorithm’s O(n) time and O(1) extra space, discusses edge cases like multi‑digit counts and Unicode handling, and offers implementation tips.

String Compressionalgorithminterview question
0 likes · 6 min read
How to Efficiently Compress Strings in Java: Interview‑Ready Solution
macrozheng
macrozheng
Aug 25, 2025 · Backend Development

How to Refactor Spring Boot Controllers for Clean, Consistent Responses

This article explains why controllers are essential yet often over‑engineered, identifies common problems such as tangled validation and inconsistent responses, and demonstrates how to unify return structures, handle String conversion, apply JSR‑303 validation, create custom validators, and centralize exception handling using Spring Boot features.

ControllerException HandlingParameter Validation
0 likes · 19 min read
How to Refactor Spring Boot Controllers for Clean, Consistent Responses
Lin is Dream
Lin is Dream
Aug 25, 2025 · Backend Development

How to Build a Mini‑Netty Pipeline that Decouples Decoding from Business Logic

This article explains how to redesign a Java NIO server by introducing a Netty‑style pipeline that separates decoding, logging, authentication, and business handling into independent handlers, improving extensibility, maintainability, and performance while providing complete sample code and initialization steps.

Design PatternsHandlerNetty
0 likes · 15 min read
How to Build a Mini‑Netty Pipeline that Decouples Decoding from Business Logic
Java Architect Essentials
Java Architect Essentials
Aug 24, 2025 · Information Security

How Java Serialization Leaks Passwords—and the Simple Fix with transient

This article explains how Java’s native serialization can expose plain‑text passwords, illustrates real‑world breaches, and shows how using the transient keyword together with encryption, library replacement, security frameworks, and penetration testing creates a five‑layer defense against serialization attacks.

Vulnerabilityjavamitigation
0 likes · 6 min read
How Java Serialization Leaks Passwords—and the Simple Fix with transient
Architect
Architect
Aug 24, 2025 · Backend Development

Avoid Hidden SpringBoot Pitfalls: Optimize Default Settings for Production

This article examines common default configuration issues in SpringBoot—such as Tomcat connection limits, HikariCP pool size, JPA lazy loading, Jackson timezone handling, logging, caching, file upload limits, async execution, and transaction timeouts—and provides practical adjustments to improve performance and reliability in production environments.

SpringBootdefault configurationjava
0 likes · 13 min read
Avoid Hidden SpringBoot Pitfalls: Optimize Default Settings for Production
Architect's Tech Stack
Architect's Tech Stack
Aug 24, 2025 · Backend Development

Why MyBatis-Flex Beats MyBatis-Plus: Features, Performance & More

MyBatis-Flex is a lightweight, high‑performance MyBatis enhancement offering zero third‑party dependencies, flexible QueryWrapper support, superior CRUD speed, advanced relational mappings, built‑in data masking, caching, multi‑datasource handling, and customizable SQL auditing, making it a compelling alternative to MyBatis‑Plus for modern Java backend development.

DataMaskingMyBatis-FlexORM
0 likes · 19 min read
Why MyBatis-Flex Beats MyBatis-Plus: Features, Performance & More
Architect's Guide
Architect's Guide
Aug 24, 2025 · Information Security

Master Session Management and SSO: From Cookies to CAS with Java Code

This article explains traditional session mechanisms, the challenges of session handling in clustered environments, explores session sharing strategies, introduces single sign‑on concepts, compares CAS and OAuth2, and provides complete Java code examples for implementing SSO with Redis.

CASSession ManagementSingle Sign-On
0 likes · 14 min read
Master Session Management and SSO: From Cookies to CAS with Java Code
IT Services Circle
IT Services Circle
Aug 23, 2025 · Fundamentals

Master Core Tech: DNS, TCP, Java, MySQL & SpringBoot Interview Essentials

This article combines a look at big‑tech work intensity with a comprehensive interview guide covering website request flow, DNS resolution, HTTP status codes, TCP four‑way handshake, Java abstract classes vs interfaces, HashMap vs ConcurrentHashMap, HashSet internals, MySQL functions, and SpringBoot startup steps.

SpringBootjava
0 likes · 19 min read
Master Core Tech: DNS, TCP, Java, MySQL & SpringBoot Interview Essentials
Architect's Guide
Architect's Guide
Aug 23, 2025 · Backend Development

Eliminate Repetitive Java Code: Design Patterns, Annotations & Mapping Tricks

This article explains why duplicate code harms maintainability and demonstrates three practical techniques—factory/template method patterns, annotation‑driven reflection, and bean‑mapping utilities—to refactor Java backend services and dramatically reduce redundant implementations.

Code RefactoringDesign PatternsReflection
0 likes · 23 min read
Eliminate Repetitive Java Code: Design Patterns, Annotations & Mapping Tricks
Java One
Java One
Aug 23, 2025 · Backend Development

Master Spring Boot Starters, Parent, and DevTools for Faster Backend Development

This guide explains how Spring Boot starters simplify dependency management, how the Spring Boot starter parent centralizes version control, and how to use the built‑in Maven plugin and DevTools for automatic restarts, including step‑by‑step Maven and IntelliJ configurations with code examples.

DevToolsSpring BootStarter
0 likes · 7 min read
Master Spring Boot Starters, Parent, and DevTools for Faster Backend Development
Cognitive Technology Team
Cognitive Technology Team
Aug 22, 2025 · Backend Development

Unlock MyBatis-Plus: From Zero-Code CRUD to Advanced Plugins

This article introduces MyBatis-Plus as a zero‑intrusion enhancement to MyBatis, explains its core values of convenience, safety, and compatibility, details CRUD methods, condition builders, plugin mechanisms, and best‑practice guidelines for building efficient, secure backend services.

CRUDLambda QueryORM
0 likes · 15 min read
Unlock MyBatis-Plus: From Zero-Code CRUD to Advanced Plugins
Java Architect Essentials
Java Architect Essentials
Aug 22, 2025 · Backend Development

Why MyBatis-Flex Outperforms MyBatis-Plus: Features, Performance & Quick Start

This article introduces MyBatis-Flex, a lightweight yet powerful MyBatis enhancement framework that boosts development efficiency with type‑safe QueryWrapper, extensive features like multi‑tenant and data encryption, supports dozens of databases, and delivers 5‑10× performance gains over MyBatis‑Plus, complete with a step‑by‑step quick‑start guide.

MyBatis-FlexORMjava
0 likes · 11 min read
Why MyBatis-Flex Outperforms MyBatis-Plus: Features, Performance & Quick Start
macrozheng
macrozheng
Aug 22, 2025 · Fundamentals

How Jeandle’s LLVM‑Powered JIT Could Supercharge Java Performance

Jeandle, the new open‑source LLVM‑based JIT compiler released by Ant Group, aims to integrate LLVM’s high‑performance optimizations into the JVM, offering faster execution, future roadmap details, and insights into JIT and LLVM fundamentals for Java developers.

JITJVMLLVM
0 likes · 6 min read
How Jeandle’s LLVM‑Powered JIT Could Supercharge Java Performance
Architect's Guide
Architect's Guide
Aug 22, 2025 · Backend Development

Can JDBC Batch Insertion Speed Up MySQL? 100M Row Performance Test

This article evaluates the efficiency of inserting massive data into MySQL using Java, comparing three strategies—MyBatis without transactions, plain JDBC with and without transactions, and JDBC batch processing—showing that batch processing combined with transactions yields the fastest insertion speed for hundreds of millions of rows.

Batch ProcessingJDBCjava
0 likes · 13 min read
Can JDBC Batch Insertion Speed Up MySQL? 100M Row Performance Test
Java Captain
Java Captain
Aug 22, 2025 · Backend Development

Designing Clean API Responses in Java: From JSON Structure to Global Wrappers

This article explains how to design a standardized JSON response format for Java back‑end APIs, introduces a Result wrapper class, and shows how to automate response wrapping using a custom @ResponseResult annotation, interceptors, and Spring's ResponseBodyAdvice for cleaner, more maintainable code.

BackendJSON responseannotations
0 likes · 7 min read
Designing Clean API Responses in Java: From JSON Structure to Global Wrappers
Java Backend Technology
Java Backend Technology
Aug 22, 2025 · Backend Development

How Jeandle’s LLVM‑Powered JIT Could Revolutionize Java Performance

Jeandle, the new open‑source LLVM‑based JIT compiler released by Ant Group, aims to boost Java performance by integrating LLVM’s optimization capabilities into the JVM, explaining JIT and LLVM fundamentals, its architecture, and an ambitious roadmap toward full bytecode support and advanced optimizations.

JITJVMLLVM
0 likes · 6 min read
How Jeandle’s LLVM‑Powered JIT Could Revolutionize Java Performance
Cognitive Technology Team
Cognitive Technology Team
Aug 22, 2025 · Backend Development

Unlocking Ordered Messaging: How RocketMQ and DDMQ Ensure Sequence

This article deeply explores the sequential consumption mechanisms of RocketMQ and its derivative DDMQ, comparing their source‑code implementations, detailing producer ordering, broker locking, consumer locking, and the architectural differences that allow DDMQ to achieve ordered processing with only proxy‑side locks.

DDMQOrdered ConsumptionRocketMQ
0 likes · 30 min read
Unlocking Ordered Messaging: How RocketMQ and DDMQ Ensure Sequence
Architect
Architect
Aug 21, 2025 · Artificial Intelligence

Implement OCR in Java with Tess4j and SpringBoot in Just a Few Lines

This tutorial walks you through adding optical character recognition to a Java SpringBoot project using the Tess4j library, covering prerequisites, dependency setup, engine initialization, RESTful API creation, and tips for improving accuracy with custom training data or third‑party services.

Artificial IntelligenceImage ProcessingOCR
0 likes · 8 min read
Implement OCR in Java with Tess4j and SpringBoot in Just a Few Lines
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.

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

Class DiagramInheritanceIntelliJ IDEA
0 likes · 6 min read
Master Java Servlet Inheritance with IntelliJ IDEA Diagrams
Top Architect
Top Architect
Aug 21, 2025 · Backend Development

Master 10 Essential Spring Extension Points for Robust Backend Development

This article walks through the ten most useful Spring extension points—including global exception handling, custom interceptors, bean access, @Import usage, startup runners, BeanDefinition modification, initialization callbacks, BeanPostProcessor hooks, destroy callbacks, and custom scopes—providing clear explanations and ready‑to‑use code examples for each.

BackendBeanFactoryBeanPostProcessor
0 likes · 17 min read
Master 10 Essential Spring Extension Points for Robust Backend Development
macrozheng
macrozheng
Aug 21, 2025 · Backend Development

Master PO, VO, BO, DTO, DAO & POJO: When and How to Use Each in Java

This article explains the purpose, responsibilities, and typical pitfalls of six common Java objects—PO, DAO, BO, DTO, VO, and POJO—illustrates their flow in different architectural models, and recommends tools and best‑practice patterns for efficient conversion and clean layer separation.

BackendObject Designjava
0 likes · 12 min read
Master PO, VO, BO, DTO, DAO & POJO: When and How to Use Each in Java
Java Architect Essentials
Java Architect Essentials
Aug 20, 2025 · Backend Development

How to Prevent Java StackOverflow Crashes: Tuning JVM Stack Size and Monitoring Tips

This article explains why JVM stack overflow is a critical issue, illustrates common causes such as uncontrolled recursion and massive thread creation, provides practical stack‑size tuning guidelines, special‑scenario adjustments for SpringBoot and cloud‑native deployments, and outlines diagnostic tools and monitoring metrics to detect and avoid crashes.

JVMStackOverflowjava
0 likes · 6 min read
How to Prevent Java StackOverflow Crashes: Tuning JVM Stack Size and Monitoring Tips
Java Captain
Java Captain
Aug 20, 2025 · Information Security

Build a Secure Spring Boot App in Minutes with Spring Security

This tutorial walks you through adding Spring Security to a Spring Boot project, from adding the starter dependency and creating a simple controller to observing the default login page, understanding the auto‑generated password mechanism, and customizing usernames and passwords for production use.

AuthenticationAuthorizationSpring Boot
0 likes · 9 min read
Build a Secure Spring Boot App in Minutes with Spring Security
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 20, 2025 · Backend Development

Unlock MyBatis-Plus: From Zero-Code CRUD to Advanced Plugins

This article introduces MyBatis-Plus, explains its core zero‑injection CRUD capabilities, demonstrates powerful condition builders, plugin extensions, and best practices for secure, efficient data access, including custom query objects, micro‑service integration, and advanced mapper customization, helping developers boost backend productivity.

CRUDORMjava
0 likes · 16 min read
Unlock MyBatis-Plus: From Zero-Code CRUD to Advanced Plugins
Tech Freedom Circle
Tech Freedom Circle
Aug 20, 2025 · Backend Development

P0 Eureka Service Discovery Collapse Cost a Top E‑commerce $120M During Double‑11

During the Double‑11 shopping festival, a leading e‑commerce platform suffered a P0 outage when its Eureka service‑discovery cluster overloaded, triggering a full‑chain failure that lasted 2 hours 42 minutes and caused losses exceeding 1.2 billion yuan; the article dissects the timeline, root causes, capacity mis‑planning, monitoring gaps, and remediation strategies.

Microservicescapacity planningeureka
0 likes · 34 min read
P0 Eureka Service Discovery Collapse Cost a Top E‑commerce $120M During Double‑11
Architect's Guide
Architect's Guide
Aug 20, 2025 · Backend Development

How to Tune JVM for 1M Daily Logins on an 8GB Server Node

This article walks through a systematic, interview‑style guide for sizing and configuring JVM heap, young generation, GC choice, and related parameters to reliably support a platform that processes one million login requests per day on an 8 GB memory node.

BackendGarbage CollectionJVM
0 likes · 24 min read
How to Tune JVM for 1M Daily Logins on an 8GB Server Node
Senior Tony
Senior Tony
Aug 20, 2025 · Backend Development

Why Volatile Solves Memory Visibility and Reordering in Java?

This article explains how the volatile keyword guarantees visibility of shared variables and prevents instruction reordering in Java, covering the Java Memory Model, memory barriers, practical code examples, and the Happens‑Before principle for reliable multithreaded programming.

Instruction ReorderingJMMMemory Model
0 likes · 10 min read
Why Volatile Solves Memory Visibility and Reordering in Java?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 19, 2025 · Backend Development

Jackson‑jr in Spring Boot: Lightning‑Fast JSON Serialization & Benchmarks

This article introduces the lightweight Jackson‑jr library for Java, demonstrates how to create JSON objects and arrays, use the Composer API, customize serialization with annotations, and presents JMH performance comparisons showing Jackson‑jr’s superior speed over Jackson‑databind and Gson in Spring Boot 3.4.2 environments.

JSONJackson-jrSpring Boot
0 likes · 9 min read
Jackson‑jr in Spring Boot: Lightning‑Fast JSON Serialization & Benchmarks
Programmer DD
Programmer DD
Aug 19, 2025 · Backend Development

What’s New in Spring Boot 4? Explore the Latest Features and Enhancements

Spring Boot 4, built on Spring Framework 7, introduces elegant API versioning, streamlined Bean registration, null‑safety annotations, simplified HTTP proxy creation, upgraded SPEL, GraalVM native support, Jackson 3.x, newer Servlet/WebSocket versions, and numerous other enhancements, offering developers more powerful and convenient tools.

Bean RegistrationSpring BootSpring Framework 7
0 likes · 8 min read
What’s New in Spring Boot 4? Explore the Latest Features and Enhancements
dbaplus Community
dbaplus Community
Aug 18, 2025 · Cloud Native

Why Ubuntu 22.04 Upgrade Crashes Java Apps on Kubernetes: The cgroup v2 Trap

Upgrading a Kubernetes cluster from CentOS 7.9 to Ubuntu 22.04 caused Java pods to crash with OOMKilled errors; increasing memory limits only hid the issue, and the root cause was cgroup v2 making the JVM misinterpret its resource limits, resulting in excessive threads and heap sizes. The article advises upgrading to a JVM that supports cgroup v2 or reverting the node to cgroup v1.

JVMKubernetesOOMKilled
0 likes · 8 min read
Why Ubuntu 22.04 Upgrade Crashes Java Apps on Kubernetes: The cgroup v2 Trap
Architect
Architect
Aug 18, 2025 · Backend Development

Simplify Java Stream with JDFrame: A DataFrame‑Style API for Cleaner Code

This article introduces JDFrame/SDFrame, a JVM‑level DataFrame‑style library that provides a more semantic and concise API for Java 8 Stream processing, covering dependency setup, quick start, filtering, aggregation, distinct, grouping, sorting, joining, and advanced features such as percent conversion, partitioning, ranking, and missing‑data replenishment.

APIDataProcessingJDFrame
0 likes · 16 min read
Simplify Java Stream with JDFrame: A DataFrame‑Style API for Cleaner Code
Tech Freedom Circle
Tech Freedom Circle
Aug 18, 2025 · Interview Experience

How to Hand‑Write a Simple AbstractQueuedSynchronizer (AQS) for High‑Pay Java Interviews

This article walks through the fundamentals of Java's AbstractQueuedSynchronizer, covering lock‑queue relationships, CLH lock internals, dummy head nodes, state management, and step‑by‑step implementations of acquire, addWaiter, acquireQueued, shouldParkAfterFailedAcquire, and release methods, complete with runnable example code.

AQSAbstractQueuedSynchronizerLock
0 likes · 29 min read
How to Hand‑Write a Simple AbstractQueuedSynchronizer (AQS) for High‑Pay Java Interviews
macrozheng
macrozheng
Aug 18, 2025 · Backend Development

Simplify Java Stream Processing with JDFrame: A Semantic DataFrame Alternative

This article introduces JDFrame/SDFrame, a JVM‑level DataFrame‑style library that offers a more semantic and concise API for Java 8 streams, provides quick‑start instructions, detailed code examples, and a comprehensive overview of its SQL‑like operations such as filtering, aggregation, distinct, grouping, joining, and pagination.

BackendJDFrameSDFrame
0 likes · 13 min read
Simplify Java Stream Processing with JDFrame: A Semantic DataFrame Alternative
Java One
Java One
Aug 18, 2025 · Backend Development

Master Spring Boot 3: From Environment Setup to a Running Hello‑World REST API

This comprehensive guide walks Java beginners through installing IDEA and JDK, explains Spring Boot 3 fundamentals, demonstrates project creation with Spring Initializr, shows Maven standard layout, configures a simple Hello World REST controller, and covers essential topics such as POM files, GAV coordinates, Maven Wrapper, static resources, templates and unit testing.

IDEREST APISpring Boot
0 likes · 17 min read
Master Spring Boot 3: From Environment Setup to a Running Hello‑World REST API
Lin is Dream
Lin is Dream
Aug 18, 2025 · Backend Development

Boost Java NIO Performance with a Multi‑Threaded Boss‑Worker Server Model

This article explains how to overcome the single‑threaded bottleneck of Java NIO by introducing a Boss‑Worker architecture, detailing the design of multiple Selectors, thread binding, client implementation, performance considerations, and provides complete open‑source code examples.

Boss-WorkerServerjava
0 likes · 11 min read
Boost Java NIO Performance with a Multi‑Threaded Boss‑Worker Server Model
Su San Talks Tech
Su San Talks Tech
Aug 18, 2025 · Information Security

Mastering Token Renewal: 5 Strategies to Boost Security and Performance

This article explores the fundamentals of token renewal, analyzes common pitfalls, and presents five practical schemes—including single‑token, blacklist, double‑token, automatic renewal, and distributed‑environment solutions—while offering a comparison matrix, selection guidance, and best‑practice recommendations for secure, high‑performance authentication systems.

AuthenticationBackendToken Renewal
0 likes · 10 min read
Mastering Token Renewal: 5 Strategies to Boost Security and Performance
Architect
Architect
Aug 17, 2025 · Databases

Mastering Database Sharding in Spring Boot: A Complete Guide with ShardingSphere

This comprehensive tutorial explains database sharding concepts, types, strategies, and implementation in Spring Boot using ShardingSphere, covering configuration, entity and repository code, service and controller layers, integration with pagination, Swagger, ActiveMQ, security, batch processing, FreeMarker, WebSockets, AOP, performance testing, FAQs, real‑world cases, and future trends.

MicroservicesShardingSphereSpring Boot
0 likes · 32 min read
Mastering Database Sharding in Spring Boot: A Complete Guide with ShardingSphere
Cognitive Technology Team
Cognitive Technology Team
Aug 17, 2025 · Backend Development

synchronized vs Lock in Java: When to Choose Each for Thread Safety

This article examines the core differences between Java's synchronized keyword and the Lock interface, covering their principles, performance, flexibility, visibility guarantees, reentrancy, interruption handling, and practical selection guidelines with code examples, tables, and real‑world scenarios to help developers choose the appropriate locking mechanism.

LockReentrantLockjava
0 likes · 9 min read
synchronized vs Lock in Java: When to Choose Each for Thread Safety
Selected Java Interview Questions
Selected Java Interview Questions
Aug 15, 2025 · Backend Development

Master Spring Boot Controllers: Design Patterns, Best Practices & Code Samples

This comprehensive guide explains how to design high‑quality Spring Boot controller layers, covering architecture planning, RESTful API conventions, parameter validation, unified response structures, exception handling, logging, security, testing, asynchronous processing, and performance optimization with practical code examples and clear best‑practice recommendations.

ControllerException HandlingRESTful API
0 likes · 15 min read
Master Spring Boot Controllers: Design Patterns, Best Practices & Code Samples
Architect's Tech Stack
Architect's Tech Stack
Aug 15, 2025 · Backend Development

Why Upgrading to MyBatis‑Plus Triggers LocalDateTime Errors and How to Resolve Them

This article walks through a real‑world scenario where replacing MyBatis with MyBatis‑Plus caused a LocalDateTime conversion exception due to changes in MyBatis 3.5.1 and an outdated mysql‑connector‑java driver, demonstrates how to pinpoint the root cause via stack traces, and provides step‑by‑step fixes including driver upgrades and version considerations, while also sharing lessons learned from related validation bugs.

LocalDateTimeORMVersion Compatibility
0 likes · 16 min read
Why Upgrading to MyBatis‑Plus Triggers LocalDateTime Errors and How to Resolve Them
Java Backend Technology
Java Backend Technology
Aug 15, 2025 · Backend Development

Simplify Java Stream Processing with JDFrame – A JVM‑Level DataFrame Library

This article introduces JDFrame, a JVM‑level DataFrame‑style library that provides a more expressive, SQL‑like API for Java 8 streams, shows how to add the Maven dependency, demonstrates common operations such as filtering, grouping, sorting, joining, and explains the differences between SDFrame and JDFrame with practical code examples.

JDFrameStream APIdata-processing
0 likes · 19 min read
Simplify Java Stream Processing with JDFrame – A JVM‑Level DataFrame Library
Lin is Dream
Lin is Dream
Aug 15, 2025 · Backend Development

Why Java NIO Beats BIO: Mastering Non‑Blocking Network Programming

This article explains what network programming is, why it matters beyond HTTP, compares BIO and NIO models, dives into Java NIO's design with selectors, channels, and ByteBuffer methods, provides full server/client code examples, and shows how Netty simplifies high‑performance networking.

ByteBufferNetwork programmingNon-blocking IO
0 likes · 23 min read
Why Java NIO Beats BIO: Mastering Non‑Blocking Network Programming
Big Data Technology Tribe
Big Data Technology Tribe
Aug 15, 2025 · Backend Development

How StarRocks TabletChecker Guarantees Tablet Health and Scheduling

The article explains the purpose, configuration, and core implementation of StarRocks' TabletChecker component, detailing how it periodically scans OlapTable tablets, evaluates their health through multiple checks, and hands unhealthy tablets to the TabletScheduler for repair.

StarRocksTabletCheckerbackend scheduling
0 likes · 16 min read
How StarRocks TabletChecker Guarantees Tablet Health and Scheduling
Java Web Project
Java Web Project
Aug 14, 2025 · Backend Development

Why a Unified Controller Response Format Is Essential: Best Practices and AOP Implementation

The article explains how inconsistent API return types, missing error handling, irrelevant or complex parameters, and lack of proper result objects lead to maintenance headaches, and demonstrates a disciplined approach using a generic ResultBean, standardized controller conventions, and Spring AOP for logging and exception handling.

BackendControlleraop
0 likes · 11 min read
Why a Unified Controller Response Format Is Essential: Best Practices and AOP Implementation
Didi Tech
Didi Tech
Aug 14, 2025 · Backend Development

How RocketMQ and DDMQ Achieve Ordered Consumption: Deep Source Code Dive

This article deeply explores the ordered consumption mechanisms of RocketMQ and its derivative DDMQ, explaining the implementation differences, source‑code details of sequential sending, broker locking, client‑side processing, and compares the two systems' approaches to guarantee message order.

DDMQMessage QueueOrdered Consumption
0 likes · 30 min read
How RocketMQ and DDMQ Achieve Ordered Consumption: Deep Source Code Dive
Tech Freedom Circle
Tech Freedom Circle
Aug 14, 2025 · Backend Development

10 Proven Techniques to Optimize API Latency from 11 s to 170 ms – A Meituan Interview Case

The article presents a step‑by‑step analysis of how to shrink a 11‑second API response to 170 ms by applying batch database writes, Redis pipeline, asynchronous processing, thread‑pool design, local‑memory buffering, MQ integration, and other performance‑tuning patterns, backed by real‑world benchmarks and code samples.

API optimizationAsyncNoSQL
0 likes · 48 min read
10 Proven Techniques to Optimize API Latency from 11 s to 170 ms – A Meituan Interview Case