Tagged articles
5000 articles
Page 21 of 50
Big Data Technology & Architecture
Big Data Technology & Architecture
Apr 25, 2025 · Artificial Intelligence

Introducing Spring AI: A Java Framework for Building Generative AI Applications

This article introduces Spring AI, a Java‑based AI framework inspired by LangChain, explains its core capabilities such as model management, inference, extension and Spring ecosystem integration, and provides step‑by‑step installation, configuration, sample code, and guidance for creating MCP services.

AI FrameworkGenerative AIJava
0 likes · 6 min read
Introducing Spring AI: A Java Framework for Building Generative AI Applications
JavaEdge
JavaEdge
Apr 24, 2025 · Artificial Intelligence

How to Customize HTTP Clients for LangChain4j LLM Integration in Java

This guide explains how LangChain4j modules let you replace the default HTTP client used to call LLM provider APIs, showing two out‑of‑the‑box implementations (JdkHttpClient and SpringRestClient) and providing step‑by‑step code examples for custom JDK and Spring RestClient configurations.

HTTP clientJavaLLM
0 likes · 4 min read
How to Customize HTTP Clients for LangChain4j LLM Integration in Java
Architecture Digest
Architecture Digest
Apr 24, 2025 · Backend Development

Configurable Data Desensitization in Spring Boot Using Custom Annotations and Serializer

This article demonstrates how to create a configurable data‑masking solution for Spring Boot APIs by defining a custom @DataMasking annotation, implementing masking strategies, building a custom Jackson serializer, integrating it via an AnnotationIntrospector, and testing the functionality with a sample controller.

Custom AnnotationJavaSerializer
0 likes · 8 min read
Configurable Data Desensitization in Spring Boot Using Custom Annotations and Serializer
Sanyou's Java Diary
Sanyou's Java Diary
Apr 24, 2025 · Fundamentals

Master Java’s Concurrent Containers: Deep Dive into ConcurrentHashMap and Queues

This article provides an in‑depth exploration of Java’s concurrent collection classes, covering the design and implementation of ConcurrentHashMap, ConcurrentLinkedQueue, and the seven blocking queue variants, complete with code analysis, performance considerations, and practical usage scenarios for high‑throughput multithreaded applications.

BlockingQueueConcurrentHashMapConcurrentLinkedQueue
0 likes · 50 min read
Master Java’s Concurrent Containers: Deep Dive into ConcurrentHashMap and Queues
Java Captain
Java Captain
Apr 24, 2025 · Backend Development

Comparing Collections Using Java Stream API

This article explains how to log pre‑update data, compare old and new records, and use Java Stream operations such as filter, collect, anyMatch, noneMatch, and contains to identify differences between collections, including custom objects, with code examples and best‑practice recommendations.

Backend DevelopmentCollection ComparisonJava
0 likes · 13 min read
Comparing Collections Using Java Stream API
FunTester
FunTester
Apr 24, 2025 · Fundamentals

How to Validate Numeric Strings in Java: Multiple Approaches Explained

This article compares five Java techniques for checking whether a string represents a valid number—including manual character iteration, Integer.parseInt/Double.parseDouble, BigDecimal, regular expressions, and Apache Commons NumberUtils—showing code samples, test cases, and the pros and cons of each method.

Apache CommonsBigDecimalJava
0 likes · 16 min read
How to Validate Numeric Strings in Java: Multiple Approaches Explained
vivo Internet Technology
vivo Internet Technology
Apr 23, 2025 · Backend Development

Optimizing Full GC Frequency in a Java Game Service Using MAT and GC Logs

By analyzing heap dumps with MAT and scrutinizing GC logs, the Vivo Internet Server Team identified thread‑local FutureAdapter and Jackson BufferRecycler objects and tuned promotion thresholds, cutting the Java game service’s Full GC occurrences from roughly 120 per day to about 30 and dramatically shortening pause times.

GC optimizationJVM tuningJava
0 likes · 17 min read
Optimizing Full GC Frequency in a Java Game Service Using MAT and GC Logs
Architecture Digest
Architecture Digest
Apr 23, 2025 · Backend Development

Spring Framework 7.0 Native API Versioning Support and Implementation Guide

This article explains the importance of API version control, outlines common versioning strategies, and demonstrates how Spring Framework 7.0 introduces native support with a version attribute on @RequestMapping, custom resolvers, client usage examples, and best‑practice recommendations for managing multi‑version APIs.

API VersioningJavaREST
0 likes · 10 min read
Spring Framework 7.0 Native API Versioning Support and Implementation Guide
Java Captain
Java Captain
Apr 23, 2025 · Backend Development

Custom MyBatis TypeHandler for Automatic JSON and Enum Conversion

This article explains how to create custom MyBatis TypeHandler classes to automatically convert Java objects—such as JSON strings and enum codes—to appropriate JDBC types, simplifying data persistence in Spring Boot applications and improving code maintainability.

DatabaseEnumJSON
0 likes · 9 min read
Custom MyBatis TypeHandler for Automatic JSON and Enum Conversion
Java Captain
Java Captain
Apr 23, 2025 · Backend Development

Design and Selection of Local In‑Memory Caches for High‑Performance Service Architecture

This article explains the role of local in‑memory caches in high‑performance service architectures, compares implementations such as ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache, discusses cache consistency and hit‑rate challenges, and recommends Caffeine as the preferred solution for multi‑level caching with Redis or Memcached.

CachingCaffeineEhcache
0 likes · 11 min read
Design and Selection of Local In‑Memory Caches for High‑Performance Service Architecture
Java Captain
Java Captain
Apr 23, 2025 · Fundamentals

Understanding Recursion in Java: Concepts, Pros/Cons, and Practical Examples

This article explains the fundamentals of recursion in Java, covering its definition, advantages and disadvantages, differences from iteration, and provides practical examples such as traversing comment and department trees, along with code snippets, performance considerations, and improvement strategies using depth control and Stream API.

Code ExampleJavaRecursion
0 likes · 7 min read
Understanding Recursion in Java: Concepts, Pros/Cons, and Practical Examples
IT Services Circle
IT Services Circle
Apr 22, 2025 · Backend Development

Effective Date and Time Handling in Java: Pitfalls, Thread Safety, and Advanced Solutions

This article explores common pitfalls in Java date handling such as thread‑unsafe SimpleDateFormat and daylight‑saving issues, and presents robust solutions including ThreadLocal wrappers, Java 8 Date‑Time API, timezone‑aware calculations, caching strategies, and global interceptor designs to ensure safe, performant, and maintainable time processing.

JavaThreadSafetyTimezone
0 likes · 10 min read
Effective Date and Time Handling in Java: Pitfalls, Thread Safety, and Advanced Solutions
Java Captain
Java Captain
Apr 22, 2025 · Backend Development

Implementing Asynchronous Calls in SpringBoot with @Async

This article explains why asynchronous programming improves concurrency in SpringBoot applications, describes how to enable @Async support, configure a custom ThreadPoolTaskExecutor, annotate methods for async execution, and outlines the underlying proxy mechanism that powers @Async.

AsyncAsyncJava
0 likes · 5 min read
Implementing Asynchronous Calls in SpringBoot with @Async
Java Captain
Java Captain
Apr 22, 2025 · Backend Development

Implementing Data Isolation with MyBatis Interceptor and Custom Annotations in Java

This article describes how to achieve multi‑environment data isolation in a Java backend by adding an env field to tables, using a MyBatis interceptor with JSqlParser to rewrite SQL, and applying custom annotations and AOP to control environment‑specific logic while preserving existing business code.

BackendCustom AnnotationData Isolation
0 likes · 9 min read
Implementing Data Isolation with MyBatis Interceptor and Custom Annotations in Java
JavaEdge
JavaEdge
Apr 21, 2025 · Artificial Intelligence

How to Build a LangChain4j MCP Tool Provider with Docker and GitHub Integration

This tutorial explains how to use LangChain4j's Model Context Protocol (MCP) to create a tool provider, configure HTTP or stdio transports, run a GitHub MCP server in Docker, and employ a language model to summarize recent repository commits, complete with code samples and logging customization.

AIDockerGitHub
0 likes · 11 min read
How to Build a LangChain4j MCP Tool Provider with Docker and GitHub Integration
Java Captain
Java Captain
Apr 21, 2025 · Backend Development

MyBatis-Plus Guide: Features, Quick Start, CRUD Extensions, and Advanced Usage

This article introduces MyBatis‑Plus, an enhancement for MyBatis, outlining its lightweight features, step‑by‑step setup including database creation, Maven dependency, configuration, entity and mapper definitions, CRUD operations, pagination, optimistic locking, logical deletion, condition wrappers, and code generation utilities for rapid backend development.

CRUDJavaMyBatis-Plus
0 likes · 12 min read
MyBatis-Plus Guide: Features, Quick Start, CRUD Extensions, and Advanced Usage
Java Captain
Java Captain
Apr 21, 2025 · Backend Development

Understanding Java Annotations and Reflection: Built‑in Annotations, Meta‑annotations, Custom Annotations, Class Loading and Runtime Reflection

This article explains Java annotations—including built‑in, meta‑ and custom annotations—covers how they are used in Spring, describes the Java reflection mechanism, class loading process, ways to obtain Class objects, and demonstrates retrieving generic and annotation information at runtime with code examples.

JavaMeta-AnnotationReflection
0 likes · 15 min read
Understanding Java Annotations and Reflection: Built‑in Annotations, Meta‑annotations, Custom Annotations, Class Loading and Runtime Reflection
Java Architecture Diary
Java Architecture Diary
Apr 21, 2025 · Backend Development

Mastering API Versioning in Spring Framework 7.0: Strategies and Code Samples

Spring Framework 7.0 introduces native API versioning support, enabling developers to manage multiple API versions through URI, request header, query parameter, and content negotiation strategies, with detailed implementation examples, customizable resolvers, and client-side usage via WebClient, ensuring backward compatibility and flexible version control.

BackendJavaWeb
0 likes · 11 min read
Mastering API Versioning in Spring Framework 7.0: Strategies and Code Samples
Java Captain
Java Captain
Apr 20, 2025 · Backend Development

Comprehensive Guide to JSON Conversion Using Fastjson in Java

This article provides a detailed tutorial on JSON fundamentals and demonstrates how to convert between Java objects, collections, maps, and JSON strings or objects using Alibaba's fastjson library, covering key‑value and array structures, code examples, and practical conversion scenarios.

BackendFastJSONJSON
0 likes · 11 min read
Comprehensive Guide to JSON Conversion Using Fastjson in Java
Java Captain
Java Captain
Apr 20, 2025 · Backend Development

Dynamic Adjustment of Scheduled Tasks in SpringBoot Using ThreadPoolTaskScheduler

This article explains how to dynamically modify the execution time of SpringBoot scheduled tasks by combining ScheduledTaskRegistrar with ThreadPoolTaskScheduler, decoupling business logic from triggers, and provides complete code examples for adding, updating, and removing tasks at runtime.

Backend DevelopmentDynamic SchedulingJava
0 likes · 9 min read
Dynamic Adjustment of Scheduled Tasks in SpringBoot Using ThreadPoolTaskScheduler
Java Tech Enthusiast
Java Tech Enthusiast
Apr 20, 2025 · Backend Development

Understanding Domain-Driven Design (DDD) with Practical Examples

Domain‑Driven Design (DDD) aligns software structure with business concepts by embedding rules in rich domain models, using aggregates, domain services, and events, contrasting with traditional anemic layers, and is ideal for complex, evolving domains such as e‑commerce, finance, or ERP systems.

Backend DevelopmentDDDDesign Patterns
0 likes · 9 min read
Understanding Domain-Driven Design (DDD) with Practical Examples
Su San Talks Tech
Su San Talks Tech
Apr 19, 2025 · Backend Development

How to Refactor Smelly if…else Chains in Java: 5 Clean Design‑Pattern Solutions

This article examines the problems of long if…else statements in Java payment services, explains why they violate the Open‑Closed and Single Responsibility principles, and presents five practical refactoring techniques—including annotations, dynamic bean names, template methods, strategy‑factory, and chain‑of‑responsibility patterns—to eliminate the conditional logic.

DesignPatternsJavaOpenClosedPrinciple
0 likes · 16 min read
How to Refactor Smelly if…else Chains in Java: 5 Clean Design‑Pattern Solutions
dbaplus Community
dbaplus Community
Apr 19, 2025 · Fundamentals

Why Thread.sleep(0) Can Influence GC: Uncovering JVM Safepoint Tricks

This article explores the puzzling "prevent gc" comment in RocketMQ source code, explains how Thread.sleep(0) interacts with JVM safepoints, distinguishes counted and uncounted loops, and demonstrates practical experiments that reveal why altering loop variables can change GC behavior.

JVMJavaRocketMQ
0 likes · 12 min read
Why Thread.sleep(0) Can Influence GC: Uncovering JVM Safepoint Tricks
Java Captain
Java Captain
Apr 18, 2025 · Backend Development

Career Development and Knowledge Building for Java Backend Engineers

The article shares a Java backend developer’s personal reflections on work methods, building a systematic knowledge base, and early career planning, offering practical advice on attitude, growth mindset, balancing work and life, and navigating the evolving IT industry.

BackendJavaWork Practices
0 likes · 13 min read
Career Development and Knowledge Building for Java Backend Engineers
Top Architect
Top Architect
Apr 18, 2025 · Backend Development

Comprehensive Guide to Using the XXL‑Job Distributed Task Scheduling Framework

This article provides a step‑by‑step tutorial on installing, configuring, and using the open‑source XXL‑Job distributed scheduling framework with Spring Boot, covering server and executor deployment, task creation via annotations, API and sharding, execution, logging, and the underlying Netty‑based communication design.

Distributed SchedulingJavaSpring Boot
0 likes · 14 min read
Comprehensive Guide to Using the XXL‑Job Distributed Task Scheduling Framework
Top Architect
Top Architect
Apr 18, 2025 · Backend Development

Optimizing XML-to-MySQL Import: Reducing Execution Time from 300 s to 4 s with Batch Processing and Multithreading

This article details how to dramatically speed up importing over 60,000 XML records into MySQL by profiling the original 300‑second implementation, enabling JDBC batch writes, configuring MySQL rewriteBatchedStatements, and applying a Disruptor‑based multithreaded pipeline, ultimately achieving sub‑5‑second runtimes with modest memory usage.

BatchProcessingDisruptorJava
0 likes · 15 min read
Optimizing XML-to-MySQL Import: Reducing Execution Time from 300 s to 4 s with Batch Processing and Multithreading
Zhuanzhuan Tech
Zhuanzhuan Tech
Apr 18, 2025 · Artificial Intelligence

AI‑Powered Tools to Boost Java Development Efficiency: A Comprehensive Guide

An in‑depth guide reviews six leading AI‑driven development tools—including GitHub Copilot, Alibaba Cloud CodeWhisperer, Tabnine, Tencent Hunyuan DevBox, Amazon CodeWhisperer, and CodeGeeX—detailing their core features, use cases, security considerations, and selection advice for Java developers seeking to automate code generation, review, configuration, performance tuning, and documentation.

AIDeveloper ToolsDocumentation
0 likes · 18 min read
AI‑Powered Tools to Boost Java Development Efficiency: A Comprehensive Guide
Code Ape Tech Column
Code Ape Tech Column
Apr 18, 2025 · Backend Development

Dynamic Cron Expression Management in SpringBoot Scheduling

This article explains how to enable SpringBoot scheduling with @EnableScheduling and @Scheduled, describes the three scheduling modes (cron, fixedDelay, fixedRate), and provides a complete solution for dynamically updating, disabling, and re‑enabling Cron expressions at runtime using custom interfaces and configuration classes.

BackendJavaScheduling
0 likes · 10 min read
Dynamic Cron Expression Management in SpringBoot Scheduling
FunTester
FunTester
Apr 18, 2025 · Backend Development

Using CompletableFuture for Parallel REST Calls in Java

The article explains why serial REST calls cause performance bottlenecks, illustrates the benefits of concurrent requests, and demonstrates how Java 8's CompletableFuture can be used to implement parallel REST calls with robust exception handling, improving throughput and resource utilization.

CompletableFutureJavaREST
0 likes · 10 min read
Using CompletableFuture for Parallel REST Calls in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 18, 2025 · Backend Development

Discover 17 Spring Boot Return Types: From @ResponseBody to Flux & Mono

This article explains how Spring Boot controllers can return up to 17 different response types—including @ResponseBody, HttpEntity, ResponseEntity, HttpHeaders, ErrorResponse, ProblemDetail, String views, ModelAndView, @ModelAttribute, DeferredResult, Callable, CompletableFuture, ResponseBodyEmitter, SseEmitter, StreamingResponseBody, Flux and Mono—providing code examples, usage notes, and sample output images for each.

JavaReturn TypesSpring Boot
0 likes · 16 min read
Discover 17 Spring Boot Return Types: From @ResponseBody to Flux & Mono
Java Architect Essentials
Java Architect Essentials
Apr 17, 2025 · Fundamentals

A Comprehensive Guide to Java Code Quality Tools: Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint

This article introduces several Java code quality tools—including Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint—detailing their installation, usage, and key features to help developers improve code standards, detect bugs, and streamline code review processes.

IDE pluginsJavacode quality
0 likes · 13 min read
A Comprehensive Guide to Java Code Quality Tools: Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint
Sanyou's Java Diary
Sanyou's Java Diary
Apr 17, 2025 · Backend Development

Why Does Log4j2 Async Logging Block Threads? Deep Dive & Solutions

Log4j2’s asynchronous logging can cause thread blocking when the Disruptor ring buffer fills, a problem explored through its architecture, root causes, and practical mitigation strategies such as dual‑track log classification, bytecode‑enhanced line‑level control, Maven plugins, and IDE integrations for dynamic log management.

Javaasynchronous logginglog4j2
0 likes · 13 min read
Why Does Log4j2 Async Logging Block Threads? Deep Dive & Solutions
ITPUB
ITPUB
Apr 17, 2025 · Databases

Migrate 700TB Over 2Mbps: Scripts, Sneakernet & Practical Steps

When a manager demands a script to move a 700‑terabyte database under a 2 Mbps bandwidth cap, the realistic solution combines physical Sneakernet transfer with a carefully staged export‑transform‑load script that handles field mapping, compression, rate‑limited transport, and fault‑tolerant import.

ETLJavaRate Limiting
0 likes · 8 min read
Migrate 700TB Over 2Mbps: Scripts, Sneakernet & Practical Steps
IT Services Circle
IT Services Circle
Apr 17, 2025 · Backend Development

McDonald's Java Backend Interview Experience and Technical Q&A

This article shares a candidate's interview experience at McDonald's China Technology R&D Center, detailing salary expectations, work schedule, and an extensive technical Q&A covering IoC/DI, MyBatis, JVM memory and garbage‑collection algorithms, MySQL storage engines, concurrency, locking, RPC, HTTPS, Docker/Kubernetes commands, and Git workflows, while also including some promotional material.

BackendDockerJava
0 likes · 22 min read
McDonald's Java Backend Interview Experience and Technical Q&A
Top Architect
Top Architect
Apr 17, 2025 · Backend Development

Plugin Architecture in Java: Implementing Modular Extensions with ServiceLoader, Spring Factories, and Custom Configurations

This article explains how to design and implement a plugin mechanism in Java and Spring Boot, covering the benefits of modular decoupling, common implementation patterns such as ServiceLoader and custom configuration files, and practical code examples for building extensible backend services.

JavaModular DesignServiceLoader
0 likes · 23 min read
Plugin Architecture in Java: Implementing Modular Extensions with ServiceLoader, Spring Factories, and Custom Configurations
Cognitive Technology Team
Cognitive Technology Team
Apr 17, 2025 · Backend Development

Understanding and Solving NIO Empty Polling in Java with Netty

This article explains the root causes of Java NIO empty polling, its impact on CPU usage, and presents Netty's multi‑layer detection, threshold‑based auto‑rebuild, and selector reconstruction techniques, along with configuration tips and future optimization directions for high‑concurrency backend systems.

EmptyPollingJavaNIO
0 likes · 8 min read
Understanding and Solving NIO Empty Polling in Java with Netty
Selected Java Interview Questions
Selected Java Interview Questions
Apr 17, 2025 · Backend Development

Understanding Java SPI and Implementing a Plugin Architecture

This article explains Java's Service Provider Interface (SPI) mechanism, compares SPI with traditional APIs, and provides a step‑by‑step guide—including Maven project setup, interface definition, implementation classes, custom class loader, and Spring Boot integration—to build a dynamic plugin system for backend applications.

JavaSPIbackend-development
0 likes · 16 min read
Understanding Java SPI and Implementing a Plugin Architecture
macrozheng
macrozheng
Apr 17, 2025 · Backend Development

Mastering Rate Limiting: 4 Proven Strategies to Protect Your Services

Facing a sudden 35% error rate in a payment API, the article explores why unprotected services crash, then details four common rate‑limiting algorithms—fixed window, sliding window, leaky bucket, token bucket—offering Java implementations, real‑world case studies, pitfalls, and performance tuning tips for production systems.

BackendJavaRate Limiting
0 likes · 10 min read
Mastering Rate Limiting: 4 Proven Strategies to Protect Your Services
Cognitive Technology Team
Cognitive Technology Team
Apr 16, 2025 · Backend Development

Automatic Trace-Wrapped ThreadPool Instances in Spring Cloud

This article explains how Spring Cloud automatically wraps managed thread pool beans with trace-enabled proxies to preserve distributed tracing information, details the ExecutorBeanPostProcessor implementation, shows the relevant configuration and instrumentation code, and notes that manually created executors must be wrapped manually.

Backend DevelopmentInstrumentationJava
0 likes · 7 min read
Automatic Trace-Wrapped ThreadPool Instances in Spring Cloud
Architect
Architect
Apr 16, 2025 · Backend Development

Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in MemberClub

The article explains how the MemberClub open‑source project leverages a flow engine and plugin extension engine to achieve business code isolation and extensibility, illustrating the problems of if‑else branching in multi‑business systems, providing configuration examples, execution principles, and Java code snippets.

Business IsolationJavaSpringBoot
0 likes · 8 min read
Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in MemberClub
Selected Java Interview Questions
Selected Java Interview Questions
Apr 16, 2025 · Backend Development

Design and Selection of Local In-Memory Cache Solutions for High-Performance Services

An overview of two‑level caching architecture, the motivations for using local in‑memory caches, essential features of a local cache, comparative analysis of implementations using ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache, and strategies for consistency, hit‑rate improvement, and practical code examples.

CachingCaffeineEhcache
0 likes · 11 min read
Design and Selection of Local In-Memory Cache Solutions for High-Performance Services
Code Ape Tech Column
Code Ape Tech Column
Apr 16, 2025 · Backend Development

QLExpress: A Lightweight Dynamic Script Engine for Fast and Flexible Business Rule Configuration

This article introduces QLExpress, Alibaba's open‑source lightweight dynamic script engine, explains its thread‑safe and high‑performance features, compares it with other rule engines, and provides comprehensive Java examples covering integration, syntax, custom operators, functions, macros, dynamic parameters, collection handling, and traversal for enterprise rule management.

Dynamic ScriptingJavaQLExpress
0 likes · 30 min read
QLExpress: A Lightweight Dynamic Script Engine for Fast and Flexible Business Rule Configuration
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 16, 2025 · Backend Development

Improving Spring Controller Design: Unified Response Structure, Validation, and Exception Handling

This article explains how to refactor Spring MVC controllers by introducing a unified response wrapper, using ResponseBodyAdvice for automatic packaging, handling String conversion issues, applying JSR‑303 validation for request parameters, creating custom validators, and defining centralized exception handling to keep controller code clean and maintainable.

ControllerJavaResponseBodyAdvice
0 likes · 17 min read
Improving Spring Controller Design: Unified Response Structure, Validation, and Exception Handling
Cognitive Technology Team
Cognitive Technology Team
Apr 15, 2025 · Backend Development

Using Traceable Thread Pools in Spring Cloud to Preserve Trace Context

This article explains why and how to enforce the use of trace‑aware thread pools in Spring Cloud, presenting three approaches—including TraceableExecutorService, Tracer.currentTraceContext().wrap, and TraceCallable/TraceRunnable—to prevent loss of distributed tracing information in multithreaded applications.

Backend DevelopmentJavaSleuth
0 likes · 4 min read
Using Traceable Thread Pools in Spring Cloud to Preserve Trace Context
Architecture Digest
Architecture Digest
Apr 15, 2025 · Backend Development

JDFrame/SDFrame Java DataFrame Library: API Guide and Usage Examples

This article introduces the JDFrame and SDFrame Java libraries that provide DataFrame‑like, semantic stream processing APIs, demonstrates how to add Maven dependencies, shows quick‑start examples, detailed CRUD, filtering, grouping, sorting, joining, pagination, and other advanced operations with full code snippets for developers.

APIJDFrameJava
0 likes · 13 min read
JDFrame/SDFrame Java DataFrame Library: API Guide and Usage Examples
Java Backend Full-Stack
Java Backend Full-Stack
Apr 15, 2025 · Backend Development

How to Retrieve Nearby Charging Station Information Using Redis GEO

This tutorial shows how to obtain a user's current latitude and longitude via an IP API, send the coordinates to a backend service that stores charging stations in Redis GEO, and query stations within a 20‑kilometer radius, with complete front‑end and back‑end code examples.

Charging StationGEOJava
0 likes · 4 min read
How to Retrieve Nearby Charging Station Information Using Redis GEO
Code Ape Tech Column
Code Ape Tech Column
Apr 15, 2025 · Backend Development

Understanding the Compatibility of @Transactional and @Async in Spring

This tutorial explains how Spring's @Transactional and @Async annotations work, explores their interaction in various scenarios such as bank‑transfer examples, discusses thread‑context propagation, highlights pitfalls when mixing them, and provides best‑practice recommendations for maintaining data integrity.

AsyncBackend DevelopmentJava
0 likes · 11 min read
Understanding the Compatibility of @Transactional and @Async in Spring
Senior Tony
Senior Tony
Apr 15, 2025 · Backend Development

How to Size Java Thread Pools: CPU vs I/O Strategies and Dynamic ThreadPool Solutions

This article explains two common approaches for configuring Java thread pools—static sizing based on CPU‑bound or I/O‑bound workloads and a formula‑driven method—then critiques their limits in real systems and introduces DynamicTp as a flexible, monitoring‑enabled alternative with code examples and architectural details.

BackendCPU BoundDynamicThreadPool
0 likes · 8 min read
How to Size Java Thread Pools: CPU vs I/O Strategies and Dynamic ThreadPool Solutions
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Apr 15, 2025 · Backend Development

How to Implement Delayed Queues in RabbitMQ: TTL, DLX, and Plugin Methods

This article explains what delayed queues are, details two RabbitMQ implementations using TTL with dead‑letter exchanges and the rabbitmq‑delayed‑message‑exchange plugin, provides full Java configuration and producer/consumer code examples, and outlines common use‑cases such as order timeout and refund processing.

Backend DevelopmentJavaRabbitMQ
0 likes · 13 min read
How to Implement Delayed Queues in RabbitMQ: TTL, DLX, and Plugin Methods
Cognitive Technology Team
Cognitive Technology Team
Apr 15, 2025 · Fundamentals

Understanding Labeled Breaks in Java

This article explains Java's labeled break statement, showing its syntax, a practical example with code, discusses its potential as a code smell, outlines appropriate use cases, and offers guidance on when to prefer refactoring for clearer control flow.

Best PracticesControl FlowJava
0 likes · 6 min read
Understanding Labeled Breaks in Java
Java Architect Essentials
Java Architect Essentials
Apr 14, 2025 · Backend Development

Using Spring's ResponseBodyEmitter for Real-Time Log Streaming

This article introduces Spring Framework's ResponseBodyEmitter, explains its role in asynchronous HTTP responses, outlines typical use cases such as long polling and real‑time log streaming, provides a complete Spring Boot example with code, and compares it with SSE and raw OutputStream approaches.

JavaResponseBodyEmitterStreaming
0 likes · 11 min read
Using Spring's ResponseBodyEmitter for Real-Time Log Streaming
Java Tech Enthusiast
Java Tech Enthusiast
Apr 13, 2025 · Backend Development

Dynamic Loading of JAR Files in Spring Boot Applications

This guide explains how Spring Boot applications can dynamically load and unload JAR files at runtime—covering the underlying concepts, benefits such as modularity and hot‑plugging, and step‑by‑step implementations using SpringBootClassLoader as well as the OSGi resource‑locator library.

Class LoaderDynamic JAR LoadingJava
0 likes · 9 min read
Dynamic Loading of JAR Files in Spring Boot Applications
Top Architect
Top Architect
Apr 12, 2025 · Backend Development

Comprehensive Guide to Maven: Basic Configuration, Dependency Management, Modules, Plugins, and Build Settings

This article provides a detailed tutorial on Maven, covering basic configuration, repository setup, dependency management, module organization, plugin usage (including jar, assembly, shade), and build settings, with examples and code snippets to help Java developers efficiently manage projects.

Backend DevelopmentJavaMaven
0 likes · 19 min read
Comprehensive Guide to Maven: Basic Configuration, Dependency Management, Modules, Plugins, and Build Settings
Top Architect
Top Architect
Apr 12, 2025 · Backend Development

Decoupling Front‑End and Back‑End with a Dedicated TPS Microservice for Third‑Party Push Integration

This article analyzes the coupling problems caused by multiple controller calls and third‑party push interfaces, proposes a TPS microservice to centralize third‑party interactions, demonstrates Java Feign interfaces and enum‑based routing, and shows how backend and frontend can achieve low‑coupling architecture while reducing code duplication.

BackendCouplingJava
0 likes · 9 min read
Decoupling Front‑End and Back‑End with a Dedicated TPS Microservice for Third‑Party Push Integration
Java Tech Enthusiast
Java Tech Enthusiast
Apr 12, 2025 · Fundamentals

What Is Java Syntactic Sugar? A Deep Dive into Hidden Language Features

This article explains Java's syntactic sugar—features like enhanced for-loops, autoboxing, varargs, string switches, and try‑with‑resources—showing the original concise syntax, the compiler‑generated code behind it, and practical considerations for performance and readability.

InterviewJavalanguage features
0 likes · 7 min read
What Is Java Syntactic Sugar? A Deep Dive into Hidden Language Features
Java Tech Enthusiast
Java Tech Enthusiast
Apr 12, 2025 · Backend Development

Understanding AtomicLong vs LongAdder in Java Concurrency

In high‑concurrency Java applications, LongAdder—introduced in JDK 8 and using partitioned cells to reduce contention—generally outperforms the single‑value AtomicLong, which relies on CAS and can cause CPU waste under heavy load, so Alibaba advises LongAdder for scalable distributed counters, though memory usage and workload specifics must be considered.

BackendCASConcurrency
0 likes · 7 min read
Understanding AtomicLong vs LongAdder in Java Concurrency
Architect's Guide
Architect's Guide
Apr 12, 2025 · Backend Development

Refactoring Data Validation with Java 8 Functional Interfaces

This article demonstrates how Java 8's functional interfaces, especially Function and SFunction, can be used to abstract and reuse data‑validation logic, dramatically reducing boilerplate code, improving readability, and making validation rules easier to maintain and extend.

BackendFunctional ProgrammingJava
0 likes · 12 min read
Refactoring Data Validation with Java 8 Functional Interfaces
Cognitive Technology Team
Cognitive Technology Team
Apr 12, 2025 · Backend Development

Using CompletableFuture with Streams for Parallel Execution in Java

The article explains how to correctly combine Java's CompletableFuture with Stream API to achieve true asynchronous parallelism, highlights common pitfalls that lead to sequential execution, and provides the proper pattern of creating a CompletableFuture stream followed by a terminal operation.

CompletableFutureConcurrencyJava
0 likes · 3 min read
Using CompletableFuture with Streams for Parallel Execution in Java
Cognitive Technology Team
Cognitive Technology Team
Apr 11, 2025 · Backend Development

Understanding Netty 4 Thread Model: Master‑Worker Multithreading and EventLoop Design

Netty 4 employs a global multithreaded, locally single‑threaded (event‑loop) architecture where a boss thread pool accepts connections and delegates them to worker thread pools, each containing NioEventLoop instances with selectors, task queues, and pipelines, ensuring lock‑free, ordered processing while avoiding thread blocking.

ConcurrencyEventLoopJava
0 likes · 5 min read
Understanding Netty 4 Thread Model: Master‑Worker Multithreading and EventLoop Design
Java Tech Enthusiast
Java Tech Enthusiast
Apr 11, 2025 · Backend Development

Concept‑Download: A Spring Library for Annotation‑Driven File Download

Concept‑Download is a Spring library that lets developers replace verbose, multi‑step file‑download code with a single @Download annotation, automatically handling source loading, optional ZIP compression, and response writing for both MVC and WebFlux via a modular reactive handler chain.

File DownloadJavaannotations
0 likes · 16 min read
Concept‑Download: A Spring Library for Annotation‑Driven File Download
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 11, 2025 · Backend Development

Understanding Apache Commons Lang StringUtils: isEmpty, isBlank and Related Utility Methods

This article explains the differences between the various Apache Commons Lang StringUtils methods such as isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank, provides example code snippets, and points to official documentation for deeper reference.

Apache Commons LangBackend DevelopmentJava
0 likes · 7 min read
Understanding Apache Commons Lang StringUtils: isEmpty, isBlank and Related Utility Methods
Java Architect Essentials
Java Architect Essentials
Apr 10, 2025 · Backend Development

Master Dynamic Data Source Switching in SpringBoot: A Step‑by‑Step Guide

This article walks through the complete process of implementing dynamic data source switching in a SpringBoot application, covering the core concepts of thread‑local context, abstract routing, custom annotations with AOP, configuration, code examples, and important considerations such as transaction management and performance.

AOPDatabaseJava
0 likes · 6 min read
Master Dynamic Data Source Switching in SpringBoot: A Step‑by‑Step Guide
Alimama Tech
Alimama Tech
Apr 10, 2025 · Big Data

Performance Optimization of Apache Paimon in Dolphin OLAP Engine

The article details how Apache Paimon, integrated as an external table format in Alibaba’s Dolphin OLAP engine, achieves millisecond‑level query latency and up to 10k QPS through ORC push‑down, manifest conversion, caching, concurrency, and encoding optimizations, outperforming StarRocks and Hologres.

DolphinJavaMetadata
0 likes · 17 min read
Performance Optimization of Apache Paimon in Dolphin OLAP Engine
Top Architect
Top Architect
Apr 10, 2025 · Backend Development

Using Spring 6 HTTP Interface (GetExchange) to Build a Demo Service

This article introduces Spring 6's new HTTP Interface feature with a step‑by‑step demo, explains the GetExchange annotation and service creation, and then shifts to promote AI‑related products and community offers, including code snippets and deployment instructions.

Backend DevelopmentGetExchangeHTTP Interface
0 likes · 11 min read
Using Spring 6 HTTP Interface (GetExchange) to Build a Demo Service