Tagged articles

Java

5000 articles · Page 20 of 50
macrozheng
macrozheng
Jul 2, 2025 · Backend Development

Master LiteFlow: Simplify Complex Business Logic in SpringBoot

This article introduces LiteFlow, a lightweight Java workflow engine, explains its key features, rule syntax, IDE plugin, integration steps with SpringBoot, component development, context handling, and provides practical code examples for building a complex order‑price calculation flow.

JavaLiteFlowSpringBoot
0 likes · 10 min read
Master LiteFlow: Simplify Complex Business Logic in SpringBoot
Java Backend Technology
Java Backend Technology
Jul 2, 2025 · Backend Development

Generate Spring Boot CRUD Code Instantly with EasyCode Plugin

This tutorial walks you through installing the EasyCode IntelliJ plugin, creating a MySQL database, configuring IDEA’s database connection, setting up Maven dependencies and application.yml, generating entity, DAO, service, and controller code automatically, and finally running the Spring Boot project.

EasyCodeIntelliJ IDEAJava
0 likes · 6 min read
Generate Spring Boot CRUD Code Instantly with EasyCode Plugin
Lin is Dream
Lin is Dream
Jul 2, 2025 · Databases

Master Redis in Spring Boot: From RedisTemplate to Redisson Integration

This tutorial walks Java developers through using Redis in Spring Boot projects, covering the essential spring-boot-starter-data-redis dependency, RedisTemplate basics, the underlying RedisConnectionFactory design, custom connection configurations for single‑node and sentinel modes, and seamless integration of the Redisson client for advanced distributed features.

JavaRedisRedisTemplate
0 likes · 10 min read
Master Redis in Spring Boot: From RedisTemplate to Redisson Integration
Su San Talks Tech
Su San Talks Tech
Jul 2, 2025 · Backend Development

Unlocking Java Plugin Architecture: From SPI to SpringBoot Extensions

This article explains the concept and benefits of plugin-based development in Java, introduces common implementation approaches such as SPI, custom configuration, and Spring Boot's spring.factories, and provides step‑by‑step code examples and a real‑world case study to help developers build extensible backend systems.

Backend DevelopmentJavaSPI
0 likes · 21 min read
Unlocking Java Plugin Architecture: From SPI to SpringBoot Extensions
Java Architect Essentials
Java Architect Essentials
Jul 1, 2025 · Backend Development

Why Postman Fails and MockMvc Wins: Real‑World API Testing Secrets

This article recounts a midnight production outage caused by inadequate Postman tests, explains three hidden pitfalls of Postman, demonstrates how MockMvc provides precise, code‑level assertions and automated scenarios, and offers a step‑by‑step guide to boost API test automation from 30% to 90% coverage.

JavaMockMvcPostman
0 likes · 9 min read
Why Postman Fails and MockMvc Wins: Real‑World API Testing Secrets
Java Architect Essentials
Java Architect Essentials
Jul 1, 2025 · Backend Development

How @Validated Simplifies SpringBoot Parameter Validation

This article explains how the @Validated annotation in SpringBoot can automatically enforce request parameter validation, reducing boilerplate code, supporting group validation, and improving code readability and maintainability for backend developers.

JavaSpringBootValidation
0 likes · 9 min read
How @Validated Simplifies SpringBoot Parameter Validation
macrozheng
macrozheng
Jul 1, 2025 · Backend Development

Master Dynamic JSON Fields in Java with @JsonAnyGetter & @JsonAnySetter

This article explains how to handle JSON objects with unknown or changing fields in Java by using Jackson's @JsonAnySetter to collect them during deserialization and @JsonAnyGetter to serialize them back, complete with code examples, pitfalls, and a concise analogy.

DynamicPropertiesJavadeserialization
0 likes · 8 min read
Master Dynamic JSON Fields in Java with @JsonAnyGetter & @JsonAnySetter
FunTester
FunTester
Jul 1, 2025 · Backend Development

How to Test Java ExecutorService Without Thread.sleep(): Reliable Strategies

This article explains why using Thread.sleep() in Java ExecutorService unit tests is unreliable and inefficient, and introduces three robust alternatives—Future.get(), CountDownLatch, and shutdown/awaitTermination—to ensure stable, performant testing of asynchronous WebSocket query scenarios.

ConcurrencyCountDownLatchExecutorService
0 likes · 13 min read
How to Test Java ExecutorService Without Thread.sleep(): Reliable Strategies
JavaEdge
JavaEdge
Jun 30, 2025 · Artificial Intelligence

How GPULlama3.java Brings GPU‑Accelerated Llama 3 to Pure Java

GPULlama3.java, released by Manchester University's Beehive Lab, is the first native Java implementation of Llama 3 that leverages TornadoVM to automatically accelerate inference on GPUs without writing CUDA or native code, supporting NVIDIA, Intel and Apple Silicon back‑ends and modern Java 21 features.

AIGPU AccelerationJava
0 likes · 7 min read
How GPULlama3.java Brings GPU‑Accelerated Llama 3 to Pure Java
Architect
Architect
Jun 30, 2025 · Backend Development

Boost Java Performance: 12 Proven Techniques for Faster, Scalable Backend Systems

This article presents twelve practical strategies for optimizing Java backend performance—including parallel processing with CompletableFuture, minimizing transaction scope, effective caching, proper thread‑pool configuration, service warm‑up, cache‑line alignment, reducing object creation, asynchronous execution, loop optimization, shrinking network payloads, and decreasing inter‑service dependencies—each illustrated with code examples and benchmark results.

ConcurrencyJavaasync
0 likes · 33 min read
Boost Java Performance: 12 Proven Techniques for Faster, Scalable Backend Systems
IT Services Circle
IT Services Circle
Jun 30, 2025 · Backend Development

What Makes Java Interviews Tough? A Deep Dive into Concurrency, JVM, MySQL, and More

This article analyzes 58.com’s recent business struggles and layoffs, then presents a comprehensive set of Java interview questions covering synchronized vs. Lock, JVM memory layout, garbage collection, TCP connection teardown, MySQL indexing pitfalls, and common sorting algorithms, providing detailed explanations and code examples.

ConcurrencyJVMJava
0 likes · 18 min read
What Makes Java Interviews Tough? A Deep Dive into Concurrency, JVM, MySQL, and More
JD Cloud Developers
JD Cloud Developers
Jun 30, 2025 · Backend Development

Unveiling Guava Cache Internals: Why It Lags Behind Caffeine

This article dissects Guava Cache's source code, explaining its segment‑based locking, data structures, put/get implementations, cleanup and eviction mechanisms, and then contrasts its performance and design choices with the more modern Caffeine cache, highlighting why Guava falls short.

CacheCaffeineConcurrency
0 likes · 39 min read
Unveiling Guava Cache Internals: Why It Lags Behind Caffeine
macrozheng
macrozheng
Jun 30, 2025 · Fundamentals

Supercharge Your Docs: Explore Quarkdown, the Next‑Gen Markdown Engine

Quarkdown is an open‑source, Java‑based Markdown engine that extends the language with Turing‑complete features, enabling functions, variables, conditionals, and loops, while offering one‑click generation of HTML, PDF, slides, and books, live preview, fast compilation, and a rich standard library for modern documentation workflows.

JavaMarkdowndocumentation
0 likes · 7 min read
Supercharge Your Docs: Explore Quarkdown, the Next‑Gen Markdown Engine
macrozheng
macrozheng
Jun 30, 2025 · Backend Development

Mastering Java Stream toMap: Handling Duplicate Keys with Ease

Learn how to effectively use Java's Stream API to convert a list of User objects into a Map, handle duplicate keys by providing a merge function, and avoid common pitfalls like IllegalStateException and NullPointerException using Optional and concise code examples.

CollectorsDuplicate KeyJava
0 likes · 6 min read
Mastering Java Stream toMap: Handling Duplicate Keys with Ease
JavaEdge
JavaEdge
Jun 28, 2025 · Backend Development

How Java Developers Can Harness CUDA on NVIDIA A100 GPUs

This guide explains why Java architects should understand CUDA, describes the GPU programming model, compares CPU and GPU designs, and details three practical ways—JNI, JCuda, and TornadoVM—to integrate CUDA acceleration into Java applications, with tips for using A100 GPUs effectively.

A100CUDAGPU
0 likes · 15 min read
How Java Developers Can Harness CUDA on NVIDIA A100 GPUs
Lin is Dream
Lin is Dream
Jun 27, 2025 · Backend Development

How to Solve Common RocketMQ Issues: Duplicates, Throttling, Retries, and Loss

This article examines frequent RocketMQ problems such as duplicate sending, flow‑control throttling, message retries, duplicate consumption, backlog, and loss, and provides practical configuration tweaks, scaling strategies, batch sending, idempotent handling, and retry mechanisms to ensure reliable message delivery.

JavaMessage QueuePerformance Tuning
0 likes · 9 min read
How to Solve Common RocketMQ Issues: Duplicates, Throttling, Retries, and Loss
Cognitive Technology Team
Cognitive Technology Team
Jun 26, 2025 · Backend Development

Mastering JVM Argument Prefixes: Boost Java Performance & Debugging

This tutorial explains the purpose and usage of JVM argument prefixes—including system properties, standard, non‑standard, and advanced options—along with execution modes like interpreted, compiled, and mixed, providing code examples and performance comparisons to help Java developers optimize and debug their applications.

GCJVM OptionsJava
0 likes · 13 min read
Mastering JVM Argument Prefixes: Boost Java Performance & Debugging
macrozheng
macrozheng
Jun 26, 2025 · Operations

Master JVM Performance: Visual Tools, JConsole, VisualVM & Arthas Guide

This guide introduces JVM performance monitoring by explaining built‑in tools like JConsole and VisualVM, showcasing third‑party solutions such as Arthas, and providing step‑by‑step commands and screenshots to help developers quickly visualize and troubleshoot Java applications.

ArthasJConsoleJVM
0 likes · 12 min read
Master JVM Performance: Visual Tools, JConsole, VisualVM & Arthas Guide
Lin is Dream
Lin is Dream
Jun 26, 2025 · Backend Development

Unveiling RocketMQ: How Messages Journey Through Storage, Delivery, and Expiration

This article systematically breaks down RocketMQ's core mechanisms—covering message roles, disk storage, push/pull delivery, expiration handling, retry queues, and cluster failover—so developers can understand every stage a message undergoes from creation to cleanup and ensure reliable, high‑performance messaging.

JavaMessage QueueMiddleware
0 likes · 13 min read
Unveiling RocketMQ: How Messages Journey Through Storage, Delivery, and Expiration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 26, 2025 · Backend Development

Avoid Common Spring Boot Mistakes and Write Cleaner Backend Code

This article highlights common pitfalls in Spring Boot development—such as exposing sensitive data, neglecting records, field injection, using RestTemplate, bloated controllers, and poor exception handling—and provides concise, code‑driven solutions to write cleaner, more secure, and maintainable backend applications.

Best PracticesDTOJava
0 likes · 8 min read
Avoid Common Spring Boot Mistakes and Write Cleaner Backend Code
Java Web Project
Java Web Project
Jun 25, 2025 · Backend Development

How to Speed Up Nested Loops in Java: Break and Map Tricks

This article walks through a common Java scenario of matching two large lists with nested loops, measures the poor performance, then demonstrates two optimizations—adding a break statement and replacing the inner loop with a HashMap—to dramatically cut execution time.

HashMapJavaNested Loop
0 likes · 6 min read
How to Speed Up Nested Loops in Java: Break and Map Tricks
DeWu Technology
DeWu Technology
Jun 25, 2025 · Artificial Intelligence

Engineering Large Language Models with Spring AI: From Basics to RAG and Function Calls

This article walks through the fundamentals of large language models, their stateless and structured-output nature, explains how Spring‑AI provides a Java‑friendly API for model integration, covers RAG architecture, the MCP protocol, and demonstrates end‑to‑end code examples for building intelligent agents.

AI integrationFunction CallingJava
0 likes · 15 min read
Engineering Large Language Models with Spring AI: From Basics to RAG and Function Calls
macrozheng
macrozheng
Jun 25, 2025 · Backend Development

Master Retrofit in Spring Boot: Seamless HTTP Client Integration Tutorial

This article walks through integrating the Retrofit HTTP client into Spring Boot applications using the retrofit‑spring‑boot‑starter, covering dependency setup, basic request definitions, token handling, custom interceptors, global logging, timeout and retry configurations, and provides concise code examples for each step.

HTTP ClientJavaRetrofit
0 likes · 11 min read
Master Retrofit in Spring Boot: Seamless HTTP Client Integration Tutorial
High Availability Architecture
High Availability Architecture
Jun 25, 2025 · Backend Development

How to Build a Java Method Call Stack Tracker for Faster Debugging

This article explains how to address common on‑call debugging pain points by analyzing error screenshots, extracting key information, and developing a lightweight Java tool that leverages StackTraceElement to generate a clear, filtered method‑call chain, dramatically speeding up code‑origin identification and issue resolution.

JavaMethod Call Chaindebugging
0 likes · 12 min read
How to Build a Java Method Call Stack Tracker for Faster Debugging
Java Architecture Diary
Java Architecture Diary
Jun 25, 2025 · Artificial Intelligence

Build a Text‑to‑SQL Chatbot with Spring AI and DeepSeek LLM

This tutorial walks through creating a natural‑language‑to‑SQL chatbot using Spring AI, configuring a MySQL school database with Flyway, defining system prompts for a DeepSeek LLM, implementing service beans and a REST API, and interacting with the bot via curl commands.

ChatbotDeepSeekJava
0 likes · 15 min read
Build a Text‑to‑SQL Chatbot with Spring AI and DeepSeek LLM
Java Captain
Java Captain
Jun 24, 2025 · Backend Development

Master Spring Configuration: XML vs Java, Bean Lifecycle, and Advanced Profiles

This article explains Spring configuration files, comparing XML and Java (annotation‑based) approaches, details bean creation, scopes, initialization and destruction, and demonstrates advanced techniques such as conditional beans and profile‑specific configurations with clear code examples.

@Conditional@ProfileBean
0 likes · 6 min read
Master Spring Configuration: XML vs Java, Bean Lifecycle, and Advanced Profiles
Selected Java Interview Questions
Selected Java Interview Questions
Jun 24, 2025 · Backend Development

Mastering Large File Uploads with Spring Boot: Chunked Upload Guide

This article explains why traditional file uploads fail for large files, outlines the advantages of chunked uploading, and provides a complete Spring Boot implementation—including backend controllers, high‑performance merging, Vue front‑end code, enterprise‑level optimizations, performance benchmarks, and best‑practice recommendations.

Chunked UploadJavafile transfer
0 likes · 12 min read
Mastering Large File Uploads with Spring Boot: Chunked Upload Guide
Java Tech Enthusiast
Java Tech Enthusiast
Jun 24, 2025 · Backend Development

Ace Your Java Backend Interview: From Self‑Intro to Redis Strategies and Design Patterns

This guide walks you through the realities of joining state‑owned enterprises, offers practical tips for Java backend interview preparation—including self‑introduction, project presentation, database choices, Redis eviction policies, common design patterns, singleton usage, thread‑safety concepts, and commands to terminate Java processes on Linux, macOS, and Windows.

Design PatternsJavaLinux commands
0 likes · 16 min read
Ace Your Java Backend Interview: From Self‑Intro to Redis Strategies and Design Patterns
Lin is Dream
Lin is Dream
Jun 24, 2025 · Backend Development

Master RocketMQ Console: From Zero to Full Monitoring in Minutes

This article walks you through installing and using the RocketMQ Dashboard to monitor topics, brokers, producers, consumers, and message details, explains common pitfalls such as client‑ID conflicts in Docker, and demonstrates how to troubleshoot consumption issues, TPS metrics, and dead‑letter handling.

JavaMessage QueueRocketMQ
0 likes · 9 min read
Master RocketMQ Console: From Zero to Full Monitoring in Minutes
Architect's Guide
Architect's Guide
Jun 23, 2025 · Information Security

Discover Sa-Token: The Most Feature‑Rich Java Authentication Framework

Sa-Token is a lightweight Java permission authentication framework that offers zero‑configuration login, comprehensive permission checks, session management, single sign‑on, OAuth2.0 support, distributed sessions, token customization, and many advanced features, with simple one‑line API calls illustrated by clear code examples.

AuthorizationJavaPermission
0 likes · 7 min read
Discover Sa-Token: The Most Feature‑Rich Java Authentication Framework
Su San Talks Tech
Su San Talks Tech
Jun 23, 2025 · Backend Development

How to Build a Million‑QPS Short‑URL Service: Architecture & Code

This article walks through the challenges of handling millions of requests per second for a short‑URL service and presents a complete backend solution—including ID generation, Base62 encoding, cache‑layer design, Nginx redirect optimization, disaster‑recovery strategies, sharding, and performance test results—while providing Java code snippets and design principles for high‑throughput, resilient systems.

Javahigh concurrencyshort-url
0 likes · 11 min read
How to Build a Million‑QPS Short‑URL Service: Architecture & Code
Architect's Guide
Architect's Guide
Jun 22, 2025 · Backend Development

How to Build a Scalable Delayed Queue with Redis and Java

This article explains why traditional polling fails for large‑scale delayed tasks, compares built‑in Java, RocketMQ, and RabbitMQ delay queues, and provides a detailed Redis‑based design with architecture diagrams, message structures, and a 2.0 version that uses real‑time locking for low‑latency delivery.

JavaRedisdelayed queue
0 likes · 8 min read
How to Build a Scalable Delayed Queue with Redis and Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 21, 2025 · Artificial Intelligence

Master AI Agent Workflows with Spring Boot 3: From Chains to Orchestrators

This article introduces the fundamentals of augmented large language model agents, explains six workflow patterns—including chain, parallel, routing, orchestrator‑workers, evaluator‑optimizer, and autonomous agents—and provides complete Spring Boot 3 code examples, configuration, and test results for each pattern.

JavaLLMSpring Boot
0 likes · 15 min read
Master AI Agent Workflows with Spring Boot 3: From Chains to Orchestrators
Su San Talks Tech
Su San Talks Tech
Jun 21, 2025 · Backend Development

How to Pick the Right Rule Engine: 5 Popular Choices Compared

This article examines the conflict between rapidly changing business rules and system stability, introduces rule engines as a solution, compares five widely used Java rule engines—including Drools, Easy Rules, QLExpress, Aviator, and LiteFlow—by their scenarios, advantages, disadvantages, performance, and provides practical guidance for selecting and avoiding common pitfalls.

AviatorDroolsEasy Rules
0 likes · 12 min read
How to Pick the Right Rule Engine: 5 Popular Choices Compared
Architecture Digest
Architecture Digest
Jun 20, 2025 · Backend Development

How to Implement Seamless Token Refresh in Java Backend with JWT

This article explains why silent token refresh is needed, outlines backend and front‑end strategies for automatically renewing JWTs, provides a complete Java implementation with Maven dependencies, utility methods, unit tests, and discusses handling edge cases such as long‑idle forms.

JWTJavaSpring
0 likes · 10 min read
How to Implement Seamless Token Refresh in Java Backend with JWT
Tech Freedom Circle
Tech Freedom Circle
Jun 20, 2025 · Backend Development

Master Spring’s Core Design Patterns: The Interview‑Ready Answer That Stuns Recruiters

This article systematically breaks down the eight most common design patterns used inside the Spring framework, explains how the template pattern powers bean lifecycle, compares classic and Spring‑specific implementations, and provides concrete code examples and step‑by‑step walkthroughs to help you ace interview questions.

Bean LifecycleDesign PatternsJava
0 likes · 48 min read
Master Spring’s Core Design Patterns: The Interview‑Ready Answer That Stuns Recruiters
macrozheng
macrozheng
Jun 20, 2025 · Backend Development

Why UUIDv7 Outperforms Traditional UUIDs for Database Primary Keys

This article explains the drawbacks of traditional random UUIDs as database primary keys, introduces the time‑ordered UUIDv7 design, shows how its ordered structure improves index performance and storage efficiency, provides Java generation and SQL usage examples, and answers common questions about collisions and clock rollback.

JavaPrimary KeyUUID
0 likes · 9 min read
Why UUIDv7 Outperforms Traditional UUIDs for Database Primary Keys
JD Tech Talk
JD Tech Talk
Jun 20, 2025 · Operations

Mastering SNMP: A Complete Guide to Network Monitoring and Automation

This comprehensive tutorial explains the fundamentals of SNMP, its architecture, versions, message types, MIB structure, and practical usage—including command‑line tools and Java code examples—to help network administrators efficiently monitor and manage devices.

CLIJavaMIB
0 likes · 15 min read
Mastering SNMP: A Complete Guide to Network Monitoring and Automation
Lin is Dream
Lin is Dream
Jun 20, 2025 · Backend Development

Unlocking RocketMQ: What Every SendResult Field Means

This article explains the composition of RocketMQ's SendResult object returned after a successful synchronous send, detailing each field such as sendStatus, msgId, offsetMsgId, messageQueue, and queueOffset, and provides practical examples and a full field‑by‑field breakdown for Java developers.

JavaMessage QueueRocketMQ
0 likes · 6 min read
Unlocking RocketMQ: What Every SendResult Field Means
Java Architecture Diary
Java Architecture Diary
Jun 20, 2025 · Backend Development

What’s New in Spring Boot 3.5.3? Key Fixes, Features, and Upgrade Guide

Spring Boot 3.5.3, the first patch of the 3.5 series, introduces critical fixes for a severe issue in 3.5.1, upgrades Tomcat to 10.1.42 with multipart limits, adds ConfigData options support, resolves numerous performance, configuration, actuator, and binding bugs, improves documentation, and updates a wide range of core, database, server, and monitoring dependencies, making the upgrade strongly recommended.

JavaSpring BootSpring Framework
0 likes · 8 min read
What’s New in Spring Boot 3.5.3? Key Fixes, Features, and Upgrade Guide
Code Ape Tech Column
Code Ape Tech Column
Jun 19, 2025 · Fundamentals

Master the Chain of Responsibility Pattern: Concepts, Benefits, and Java Example

This article explains the Chain of Responsibility design pattern, detailing its definition, key characteristics, integration with the Strategy pattern, and practical Java code examples—including abstract interfaces, handlers, context management, and execution flow—illustrating how to build flexible, decoupled processing pipelines for complex business logic.

Chain of ResponsibilityJavaSoftware Architecture
0 likes · 11 min read
Master the Chain of Responsibility Pattern: Concepts, Benefits, and Java Example
Lin is Dream
Lin is Dream
Jun 19, 2025 · Backend Development

Master RocketMQ with Spring Boot: Complete Guide to Messaging APIs

This tutorial walks through integrating Alibaba's RocketMQ into a Spring Boot application, covering Maven dependencies, producer and consumer configurations, and detailed examples of synchronous, asynchronous, one‑way, delayed, ordered, transactional, request‑response, batch, and pull messaging APIs, along with best‑practice recommendations.

JavaMessage QueueMessaging API
0 likes · 21 min read
Master RocketMQ with Spring Boot: Complete Guide to Messaging APIs
Architect's Must-Have
Architect's Must-Have
Jun 18, 2025 · Backend Development

How to Dynamically Load External JARs into Spring Boot at Runtime

This guide explains step‑by‑step how to load external JAR files into the JVM, configure Spring Boot to recognize them, and choose among four practical solutions—including classpath expansion, Spring Boot loader.path, custom class loaders, and JVM boot classpath tweaks—while highlighting their pros, cons, and required Maven settings.

Custom ClassLoaderJVMJava
0 likes · 10 min read
How to Dynamically Load External JARs into Spring Boot at Runtime
vivo Internet Technology
vivo Internet Technology
Jun 18, 2025 · Backend Development

Cutting Spring Boot Startup Time by 50%: From 280 s to 159 s

This article systematically analyzes a Spring Boot project's 280‑second startup, identifies bottlenecks such as bean initialization and sharding data source loading, and applies listener‑based timing, bean‑post‑processor profiling, and asynchronous initialization to reduce launch time to 159 seconds, improving developer efficiency.

JavaPerformanceSharding
0 likes · 13 min read
Cutting Spring Boot Startup Time by 50%: From 280 s to 159 s
JD Tech
JD Tech
Jun 18, 2025 · Backend Development

How to Instantly Spot Problematic SQL with a MyBatis Coloring Interceptor

This article explains how to implement a lightweight MyBatis interceptor that annotates SQL statements with their mapper ID and execution stack, enabling developers to quickly locate performance bottlenecks during high‑traffic events, and also shows an AspectJ alternative for non‑MyBatis projects.

JavaMyBatisPerformance
0 likes · 30 min read
How to Instantly Spot Problematic SQL with a MyBatis Coloring Interceptor
Top Architect
Top Architect
Jun 18, 2025 · Backend Development

Unlock Spring Boot’s Hidden Power: Master Built‑in Features for Faster Development

This article explores Spring Boot’s powerful built‑in utilities—including request logging, content caching, once‑per‑request filters, AOP helpers, starter auto‑configuration, flexible property binding, asynchronous execution, Actuator monitoring, and SpEL expressions—showing how they streamline development, improve maintainability, and boost production‑grade reliability.

AOPBackend DevelopmentJava
0 likes · 15 min read
Unlock Spring Boot’s Hidden Power: Master Built‑in Features for Faster Development
DaTaobao Tech
DaTaobao Tech
Jun 18, 2025 · Backend Development

How to Eliminate GC Pauses in High‑QPS Java Services: A Step‑by‑Step JVM Tuning Guide

This article investigates a high‑concurrency Java service that suffers from long GC pauses during large index swaps, identifies YGC Object Copy as the root cause, and presents a series of JVM tuning techniques—including MaxTenuringThreshold, InitialTenuringThreshold, AlwaysTenure, G1HeapRegionSize, ZGC, and an Eden‑preheat strategy—to achieve near‑zero service disruption and 99.995% success rate.

GC TuningJVMJava
0 likes · 20 min read
How to Eliminate GC Pauses in High‑QPS Java Services: A Step‑by‑Step JVM Tuning Guide
Cognitive Technology Team
Cognitive Technology Team
Jun 18, 2025 · Backend Development

How Spring Boot’s Fat Jar Enables One‑Click Java Deployment

Spring Boot’s Fat Jar packages all application code, dependencies, and an embedded server into a single executable JAR, breaking the parent‑delegation model with a custom class loader and protocol handler, enabling simple ‘java -jar’ execution, streamlined deployment, and benefits for microservices and Docker layering.

Class LoaderFat JarJava
0 likes · 10 min read
How Spring Boot’s Fat Jar Enables One‑Click Java Deployment
macrozheng
macrozheng
Jun 18, 2025 · Fundamentals

Mastering the State Pattern: Theory, Java Examples, and Real‑World Order Workflow

This article explains the State (State Machine) pattern, its typical scenarios, core roles, and provides complete Java implementations—including a user login example and a Spring StateMachine‑driven order processing workflow—while comparing it with related patterns and outlining its pros and cons.

Design PatternsJavaSoftware Architecture
0 likes · 15 min read
Mastering the State Pattern: Theory, Java Examples, and Real‑World Order Workflow
macrozheng
macrozheng
Jun 18, 2025 · Backend Development

Mastering TinyID: A High‑Performance Distributed ID System for Java Backend

This article introduces TinyID, a distributed ID service originally developed by Didi, explains its features, segment‑based architecture, database schema, HTTP and client APIs, configuration steps, and provides practical code examples for integrating the system into Java backend applications.

Distributed IDJavaTinyid
0 likes · 11 min read
Mastering TinyID: A High‑Performance Distributed ID System for Java Backend
Architect's Guide
Architect's Guide
Jun 18, 2025 · Fundamentals

Master LRU Cache: O(1) Implementation with Hash-Linked List in Java

Learn how to design and implement an O(1) LRU (Least Recently Used) cache in Java using a combined hash map and doubly linked list, covering algorithm concepts, data structure choices, method details, and complete code with examples and explanations.

Doubly Linked ListJavaO(1) Operations
0 likes · 10 min read
Master LRU Cache: O(1) Implementation with Hash-Linked List in Java
Java Architecture Diary
Java Architecture Diary
Jun 18, 2025 · Backend Development

What’s New in Java 24? 8 Game‑Changing Features You Must Try

Java 24 arrives with a suite of groundbreaking enhancements—including a simplified Hello World syntax, primitive type pattern matching, flexible constructor bodies, ScopedValue API, module import declarations, structured concurrency, AOT class loading, and the removal of 32‑bit Windows support—each detailed with code examples and JEP references.

JEPJavajdk24
0 likes · 12 min read
What’s New in Java 24? 8 Game‑Changing Features You Must Try
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 18, 2025 · Backend Development

Master Polymorphic Deserialization in Spring Boot 3 with Jackson

This tutorial shows how to use Jackson's polymorphic deserialization in Spring Boot 3 to handle variable JSON request bodies by defining a common Order interface, concrete implementations, and a REST controller that routes calculations based on the order type, eliminating redundant endpoints.

JavaPolymorphic DeserializationREST API
0 likes · 6 min read
Master Polymorphic Deserialization in Spring Boot 3 with Jackson
Java Architect Essentials
Java Architect Essentials
Jun 17, 2025 · Backend Development

Transforming Task Systems: Configurable Completion Rules with QLExpress

This article explains how to redesign a company's activity middle‑platform task system by standardizing message formats, introducing a rule engine (QLExpress) for configurable task completion conditions, and enabling dynamic backend configuration, dramatically reducing integration time from weeks to minutes.

JavaRocketMQTask System
0 likes · 11 min read
Transforming Task Systems: Configurable Completion Rules with QLExpress
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Jun 17, 2025 · Backend Development

How to Run Multiple SpringBoot Microservices on a Single Tomcat with Minimal Resources

This guide explains how to adapt a distributed micro‑service architecture to run all SpringBoot services inside one external Tomcat instance by changing packaging to WAR, configuring server.xml, setting memory options, adjusting virtual addresses, handling logs, and registering services with Nacos for low‑memory environments.

DeploymentJavaNacos
0 likes · 17 min read
How to Run Multiple SpringBoot Microservices on a Single Tomcat with Minimal Resources
Java Captain
Java Captain
Jun 17, 2025 · Backend Development

Mastering Client‑Side Load Balancing with Spring Cloud Ribbon

This article explains how Spring Cloud Ribbon provides client‑side load balancing, outlines its classification, core mechanisms, common algorithms, and shows step‑by‑step code to replace the default balancing rule in a Spring Boot microservice.

JavaRibbonSpring Cloud
0 likes · 5 min read
Mastering Client‑Side Load Balancing with Spring Cloud Ribbon
FunTester
FunTester
Jun 17, 2025 · Backend Development

How to Test Java ExecutorService Without Thread.sleep(): Reliable Strategies

This article explains why using Thread.sleep() in Java ExecutorService unit tests is unreliable and inefficient, and introduces three robust alternatives—Future.get(), CountDownLatch, and shutdown/awaitTermination—to achieve stable and performant testing of asynchronous code.

CountDownLatchExecutorServiceFuture
0 likes · 13 min read
How to Test Java ExecutorService Without Thread.sleep(): Reliable Strategies
Java Captain
Java Captain
Jun 16, 2025 · Backend Development

Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Multi-DataSource Guide

A comprehensive step‑by‑step tutorial shows how to integrate MyBatis‑Plus into a Spring Boot project, covering dependencies, configuration, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, multi‑datasource support, and testing.

CRUDJavaMulti-DataSource
0 likes · 13 min read
Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Multi-DataSource Guide
Java Tech Enthusiast
Java Tech Enthusiast
Jun 16, 2025 · Fundamentals

Why Java Is Turning 30: The Surprising History of a Programming Giant

The article recounts Java’s three‑decade journey—from its original name Oak and trademark‑driven rename, through its birth in Sun’s Green Project, to its core “write once, run anywhere” philosophy—highlighting its enduring dominance despite criticism and the legacy of its creator James Gosling.

James GoslingJavaProgramming Language History
0 likes · 5 min read
Why Java Is Turning 30: The Surprising History of a Programming Giant
macrozheng
macrozheng
Jun 16, 2025 · Backend Development

Hot‑Deploying User‑Defined Interfaces in Spring Boot: Reflection vs Annotation

This article demonstrates how to design a simple Calculator interface, provide two implementation strategies (annotation‑managed and reflection‑based), and achieve hot deployment of user‑supplied JARs in a Spring Boot application, including loading, registering, and removing beans dynamically.

Dependency InjectionHot DeploymentJava
0 likes · 9 min read
Hot‑Deploying User‑Defined Interfaces in Spring Boot: Reflection vs Annotation
Su San Talks Tech
Su San Talks Tech
Jun 16, 2025 · Backend Development

10 Essential Spring Design Patterns Every Java Developer Should Master

This article walks through ten core design patterns used in the Spring framework—Template Method, Factory, Proxy, Singleton, Observer, Strategy, Adapter, Decorator, Builder, and Chain of Responsibility—explaining their scenarios, Spring implementations, code examples, and why they improve decoupling, extensibility, and performance.

Design PatternsJavaSpring
0 likes · 12 min read
10 Essential Spring Design Patterns Every Java Developer Should Master
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Jun 16, 2025 · Backend Development

How RocketMQ Guarantees No Message Loss, Duplication, or Disorder

This article explains RocketMQ’s architecture, the roles of NameServer, Broker, Producer, Consumer, and how each component ensures reliable message delivery—covering synchronous, asynchronous, and one‑way sending, storage mechanisms, consumer retries, dead‑letter queues, installation steps, and Java client integration with code examples.

InstallationJavaMessage Queue
0 likes · 20 min read
How RocketMQ Guarantees No Message Loss, Duplication, or Disorder
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Jun 16, 2025 · Backend Development

Mastering ZooKeeper: 7 Real-World Use Cases and Code Samples

ZooKeeper is an open‑source distributed coordination service that provides a simple, efficient mechanism for managing shared state, and this guide explores seven typical scenarios—including distributed locks, service registration, configuration management, queues, leader election, notifications, and barriers—complete with Java code examples and usage details.

Distributed CoordinationDistributed LockJava
0 likes · 9 min read
Mastering ZooKeeper: 7 Real-World Use Cases and Code Samples
Architect's Guide
Architect's Guide
Jun 15, 2025 · Backend Development

Mastering Read‑Write Splitting in Spring Boot: A Complete Guide

This article explains how to implement database read‑write separation in a Spring Boot application by configuring master and slave data sources, creating a routing datasource, managing thread‑local context, and using an AOP‑based annotation to switch between read and write operations.

AOPDataSource RoutingJava
0 likes · 10 min read
Mastering Read‑Write Splitting in Spring Boot: A Complete Guide
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Jun 15, 2025 · Backend Development

Understanding Zookeeper’s One‑Time Watch and Persistent Listener Techniques

This article explains why Zookeeper's watch mechanism triggers only once, outlines the performance, reliability, and design reasons behind it, describes its asynchronous eventual consistency, and provides Java code examples for basic watches, manual re‑registration, and using the Curator framework for persistent listeners.

CuratorJavaOne-time Trigger
0 likes · 7 min read
Understanding Zookeeper’s One‑Time Watch and Persistent Listener Techniques
Java Tech Enthusiast
Java Tech Enthusiast
Jun 14, 2025 · Backend Development

Java vs Go: Which Language Should You Learn for a Successful Backend Career?

This article compares Java and Go across language features, market demand, ecosystem support, learning difficulty, and future trends, ultimately advising beginners and job‑seekers to prioritize Java for broader opportunities while acknowledging Go’s niche advantages in cloud‑native and blockchain projects.

Backend DevelopmentCareer AdviceJava
0 likes · 11 min read
Java vs Go: Which Language Should You Learn for a Successful Backend Career?
Java Architect Essentials
Java Architect Essentials
Jun 14, 2025 · Backend Development

Why System.out.println() Can Kill Your MyBatis Performance and How to Fix It

This article explains why MyBatis's default StdOutImpl logging, which relies on System.out.println, blocks threads and creates severe concurrency bottlenecks, and demonstrates how to replace it with asynchronous logging implementations like Slf4jImpl, configure log levels, and even create custom Log classes for optimal performance.

ConcurrencyJavaLogging
0 likes · 8 min read
Why System.out.println() Can Kill Your MyBatis Performance and How to Fix It
Architect
Architect
Jun 13, 2025 · Fundamentals

Mastering the State Pattern: Real‑World Java Examples and Spring State Machine

This article explains the State (State Machine) pattern, its typical scenarios such as order processing and elevator control, presents a complete Java implementation with abstract, concrete, and context classes, demonstrates how to model order workflows using Spring State Machine, compares related patterns, and discusses the pattern’s advantages and drawbacks.

JavaSpring State MachineState Machine
0 likes · 14 min read
Mastering the State Pattern: Real‑World Java Examples and Spring State Machine
macrozheng
macrozheng
Jun 13, 2025 · Backend Development

Why MyBatis-Plus saveBatch Triggers Unexpected Transaction Rollback and How to Fix It

This article explains a puzzling Spring Boot transaction rollback caused by MyBatis-Plus's saveBatch method, reproduces the error with nested @Transactional calls, analyzes why the rollback flag is set, and offers a practical workaround by replacing the framework batch operation with a custom mapper implementation.

JavaSpringBootTransaction
0 likes · 6 min read
Why MyBatis-Plus saveBatch Triggers Unexpected Transaction Rollback and How to Fix It
Lin is Dream
Lin is Dream
Jun 13, 2025 · Backend Development

How to Seamlessly Integrate SFTP Upload/Download in Spring Boot

This guide walks you through adding SFTP capabilities to a Spring Boot application, covering Maven dependencies, configuration properties, a reusable SFTP helper class, service and controller layers for file transfer, optional ZIP compression, and practical tips like retries, multithreading, and scheduling.

FileUploadJSchJava
0 likes · 9 min read
How to Seamlessly Integrate SFTP Upload/Download in Spring Boot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 13, 2025 · Backend Development

Turn a Spring Boot CRUD App into an AI‑Powered Service with Model Context Protocol

This guide shows how to integrate Spring Boot with the Model Context Protocol (MCP) to let large language models interact with existing services via natural language, covering entity definitions, Maven dependencies, configuration, tool annotations, and testing to create an AI‑enabled book management API.

AI integrationJavaMCP
0 likes · 18 min read
Turn a Spring Boot CRUD App into an AI‑Powered Service with Model Context Protocol