Tagged articles
5000 articles
Page 18 of 50
Lin is Dream
Lin is Dream
Jun 5, 2025 · Fundamentals

Master IntelliJ IDEA Debugging: Advanced Tips Every Java Developer Needs

Learn how to leverage IntelliJ IDEA's powerful debugging features—including step commands, conditional breakpoints, thread inspection, and expression evaluation—plus troubleshoot common startup errors and automatically generate serialVersionUID, providing essential techniques for Java developers to debug efficiently and resolve IDE issues.

DebuggingIDEIntelliJ IDEA
0 likes · 7 min read
Master IntelliJ IDEA Debugging: Advanced Tips Every Java Developer Needs
Big Data Technology Tribe
Big Data Technology Tribe
Jun 5, 2025 · Backend Development

Boost Java Code Quality: Essential Best Practices Every Developer Should Follow

This article outlines essential Java coding habits—including unit testing with TDD, using Optional to avoid nulls, preferring StringBuilder, proper exception handling, composition over inheritance, Streams API, try‑with‑resources, dependency injection, naming conventions, and design patterns—to dramatically improve code readability, performance, and maintainability.

Design Patternsbest practicescode quality
0 likes · 7 min read
Boost Java Code Quality: Essential Best Practices Every Developer Should Follow
Java Web Project
Java Web Project
Jun 4, 2025 · Backend Development

How to Eliminate Repetitive Common Fields in Java Order Services with MyBatis‑Plus and AOP

This article analyzes the pain points of manually maintaining common fields in order‑related entities and presents a production‑tested solution that combines MyBatis‑Plus automatic filling, custom AOP annotations, multi‑data‑source handling, distributed ID generation, and auditing to dramatically reduce boilerplate code and bugs.

AOPAuditingAutomatic Field Fill
0 likes · 9 min read
How to Eliminate Repetitive Common Fields in Java Order Services with MyBatis‑Plus and AOP
Architect's Tech Stack
Architect's Tech Stack
Jun 4, 2025 · Backend Development

Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features

This article introduces the Retrofit Spring Boot Starter, a lightweight HTTP client framework for Spring Boot that simplifies HTTP request handling, supports custom OkHttpClient injection, annotation‑based interceptors, logging, retry, error decoding, circuit‑breaker integration, connection‑pool management, global interceptors, microservice calls, and flexible call adapters and converters.

CircuitBreakerHTTPLogging
0 likes · 19 min read
Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features
Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 4, 2025 · Backend Development

A Comprehensive Guide to Redisson Distributed Locks in Java

This article explains Redisson's various distributed lock mechanisms—including watchdog, reentrant lock, multi‑lock, read‑write lock, semaphore, RedLock, and CountDownLatch—detailing their principles, usage patterns, code examples, and best‑practice recommendations for robust backend concurrency control.

Distributed LocksRedisRedisson
0 likes · 16 min read
A Comprehensive Guide to Redisson Distributed Locks in Java
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 4, 2025 · Artificial Intelligence

Bridge Java and Python AI: Integrate MCP with Spring AI for Seamless Tool Calls

This article walks through how Java developers can connect to Python‑based AI services using the Model Context Protocol (MCP), compares STDIO and SSE transports, explains why Spring AI’s MCP support is limited, and shows a complete implementation with the raw MCP Java SDK and OpenAI client to invoke tools like Blender from Java code.

AI IntegrationBackendMCP
0 likes · 50 min read
Bridge Java and Python AI: Integrate MCP with Spring AI for Seamless Tool Calls
IT Services Circle
IT Services Circle
Jun 4, 2025 · Databases

Understanding UUIDv7: Time‑Ordered IDs for Database Primary Keys

This article explains the limitations of traditional random UUIDs as database primary keys, introduces the time‑ordered UUIDv7 design with its 48‑bit timestamp and 74‑bit random component, shows Java generation and SQL storage examples, and addresses performance benefits and common questions.

B+Tree indexingUUIDv7database primary key
0 likes · 8 min read
Understanding UUIDv7: Time‑Ordered IDs for Database Primary Keys
Top Architect
Top Architect
Jun 4, 2025 · Backend Development

Replacing Tomcat with Undertow in Spring Boot: Configuration, Performance Comparison, and Recommendations

This article explains how to replace the default embedded Tomcat container in Spring Boot with Undertow, details the configuration steps and Maven dependencies, compares performance and memory usage between the two servers, and concludes with a recommendation for high‑concurrency applications, while also promoting related AI resources and services.

BackendPerformanceSpringBoot
0 likes · 10 min read
Replacing Tomcat with Undertow in Spring Boot: Configuration, Performance Comparison, and Recommendations
Top Architect
Top Architect
Jun 4, 2025 · Backend Development

Implementing Request Debounce in Java Backend Using Redis and Redisson

This article explains how to implement request debouncing in Java backend services using Redis and Redisson, covering the concept, interface types needing debouncing, duplicate request detection, shared cache and distributed lock solutions, with complete code examples and testing results.

BackendDebounceRedis
0 likes · 17 min read
Implementing Request Debounce in Java Backend Using Redis and Redisson
Top Architecture Tech Stack
Top Architecture Tech Stack
Jun 4, 2025 · Backend Development

Designing a Unified API Response Structure for Backend Services

This article explains how to design a consistent JSON response format for backend APIs, covering status‑code conventions, message handling, data payloads, a Result wrapper class, controller implementation, a @ResponseResult annotation, interceptor logic, and suggestions for further optimization.

APIResponseannotation
0 likes · 7 min read
Designing a Unified API Response Structure for Backend Services
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 4, 2025 · Backend Development

Understanding Java Locks, synchronized, ReentrantLock, and Kotlin Coroutine Synchronization

This article explains Java's lock mechanisms—including synchronized, ReentrantLock, and their JVM implementations—covers lock classifications, memory barriers, CAS, and compares them with Kotlin coroutine synchronization tools like Mutex, providing code examples and practical guidance for safe concurrent programming.

CoroutinesKotlinLocks
0 likes · 22 min read
Understanding Java Locks, synchronized, ReentrantLock, and Kotlin Coroutine Synchronization
Java Architect Essentials
Java Architect Essentials
Jun 3, 2025 · Backend Development

Graceful Shutdown of Spring Boot Applications: kill Commands, Signal Handlers, and Runtime Hooks

This article explains how to achieve graceful shutdown for Java applications by using Linux kill signals, JVM SignalHandler registration, Runtime.addShutdownHook, and Spring Boot's actuator shutdown endpoint, providing code examples and configuration details for safe resource cleanup.

Graceful ShutdownKill CommandRuntime Hook
0 likes · 13 min read
Graceful Shutdown of Spring Boot Applications: kill Commands, Signal Handlers, and Runtime Hooks
Java Captain
Java Captain
Jun 3, 2025 · Information Security

Integrating Spring Security with Spring Boot for JWT Authentication and Authorization

This article demonstrates how to integrate Spring Security into a Spring Boot application, configure JWT‑based authentication, implement custom AES encryption, define user and role entities, set up service and controller layers, and configure security, filter, and CORS settings to achieve secure login and permission management.

AuthenticationAuthorizationJWT
0 likes · 19 min read
Integrating Spring Security with Spring Boot for JWT Authentication and Authorization
Top Architect
Top Architect
Jun 3, 2025 · Backend Development

Best Practices for Spring MVC Controller Design: Unified Response, Validation, and Exception Handling

This article explains how to design Spring MVC controllers with a unified response structure, implement request validation using JSR‑303 and custom annotations, handle exceptions uniformly, and resolve issues with ResponseBodyAdvice and HttpMessageConverters to improve code clarity and maintainability.

ControllerException HandlingResponseBodyAdvice
0 likes · 18 min read
Best Practices for Spring MVC Controller Design: Unified Response, Validation, and Exception Handling
Top Architect
Top Architect
Jun 3, 2025 · Backend Development

Enabling Spring Boot DevTools, Lombok, and Configuration Processor for Hot Reload and Code Generation

This article explains how to activate Spring Boot DevTools for hot deployment, integrate Lombok to simplify Java beans, and add the Spring Configuration Processor for property metadata, providing step‑by‑step IDE settings, Maven dependencies, and configuration snippets for a smoother backend development experience.

Configuration ProcessorDevToolsLombok
0 likes · 8 min read
Enabling Spring Boot DevTools, Lombok, and Configuration Processor for Hot Reload and Code Generation
Big Data Technology Tribe
Big Data Technology Tribe
Jun 3, 2025 · Fundamentals

What’s New in JDK 24? Top Preview Features and How to Use Them

JDK 24 introduces a suite of preview enhancements—including a simplified main method, primitive type pattern matching, flexible constructors, scoped values, module import declarations, structured concurrency, and ahead‑of‑time class loading—that improve Java performance, readability, and developer productivity ahead of the upcoming JDK 25 LTS release.

Language Enhancementsjavajdk24
0 likes · 11 min read
What’s New in JDK 24? Top Preview Features and How to Use Them
Lobster Programming
Lobster Programming
Jun 3, 2025 · Backend Development

How ThreadLocal Can Cause Memory Leaks in Java Multithreading

This article explains how ThreadLocal creates per‑thread variable copies, demonstrates its usage with sample Java code, illustrates the internal storage structure, and reveals why improper handling can lead to memory leaks when thread‑local values persist in thread pools.

Memory LeakThreadLocaljava
0 likes · 3 min read
How ThreadLocal Can Cause Memory Leaks in Java Multithreading
Raymond Ops
Raymond Ops
Jun 2, 2025 · Operations

Mastering Java JVM Tuning: Essential Commands, GC Strategies, and Reference Types

This guide explains how to launch Java processes from the command line, details key JVM tuning flags such as -X and -XX options, describes garbage collection algorithms, reference strengths, and stop‑the‑world pauses, providing practical examples and diagrams to help developers optimize memory usage and performance.

Garbage CollectionMemory TuningReference Types
0 likes · 14 min read
Mastering Java JVM Tuning: Essential Commands, GC Strategies, and Reference Types
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 1, 2025 · Backend Development

Master Spring Boot 3 DataSource: 8 Practical Connection Management Techniques

This article presents a comprehensive Spring Boot 3 tutorial that explains how the framework manages database connections, introduces eight built‑in DataSource control methods, and provides detailed code examples for configuring HikariCP, using DataSourceUtils, SmartDataSource, TransactionAwareDataSourceProxy, and transaction managers.

Backend DevelopmentDataSourceSpring Boot
0 likes · 12 min read
Master Spring Boot 3 DataSource: 8 Practical Connection Management Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 31, 2025 · Backend Development

Master Spring Boot 3 Docker Compose: 128 Real‑World Cases & Step‑by‑Step Guide

Explore a comprehensive collection of 128 Spring Boot 3 practical examples demonstrating Docker Compose integration, from environment setup and dependency configuration to service lifecycle management, custom compose files, container persistence, and advanced features, enabling developers to effortlessly run MySQL, Redis, and other services without manual configuration.

Backend DevelopmentSpring Bootdocker-compose
0 likes · 8 min read
Master Spring Boot 3 Docker Compose: 128 Real‑World Cases & Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 31, 2025 · Backend Development

Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips

This article explores Jackson's ObjectMapper in Spring Boot 3, covering basic serialization/deserialization, converting between objects, JSON strings, JsonNode, and collections, custom serializers/deserializers, handling unknown fields, and performance tuning with the Afterburner module and JMH benchmarks.

DeserializationJSONJackson
0 likes · 12 min read
Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips
Architecture Digest
Architecture Digest
May 30, 2025 · Backend Development

MapStruct for Java Bean Mapping: Features, Expressions, QualifiedByName, NullValueMappingStrategy, and Decorator

MapStruct is a compile‑time Java annotation processor that generates type‑safe mapping code, offering concise, high‑performance conversions with features such as expressions, qualifiedByName methods, null‑value strategies, and decorators, illustrated through detailed code examples and usage guidelines.

DecoratorNullValueMappingStrategyQualifiedByName
0 likes · 7 min read
MapStruct for Java Bean Mapping: Features, Expressions, QualifiedByName, NullValueMappingStrategy, and Decorator
Su San Talks Tech
Su San Talks Tech
May 30, 2025 · Backend Development

Discover the Top 5 New Features in Spring Boot 4 Preview

This article introduces Spring Boot 4.0.0 preview, built on Spring Framework 7, and walks through five major enhancements—including elegant API versioning, flexible bean registration, null‑safety with JSpecify, simplified HTTP proxy creation, plus several other upgrades and deprecations—complete with code samples and screenshots.

API VersioningNull SafetySpring Boot
0 likes · 8 min read
Discover the Top 5 New Features in Spring Boot 4 Preview
Cognitive Technology Team
Cognitive Technology Team
May 30, 2025 · Backend Development

Using Google AutoService to Simplify Java SPI Implementations

This tutorial introduces Google AutoService, explains Java SPI concepts, shows Maven setup and @AutoService annotation examples, and demonstrates loading translation service providers with ServiceLoader, highlighting how the library automates SPI configuration and reduces errors.

AnnotationProcessorAutoServiceMaven
0 likes · 6 min read
Using Google AutoService to Simplify Java SPI Implementations
FunTester
FunTester
May 30, 2025 · Databases

MySQL Performance Testing Practice: Simulating New User Registration

This article demonstrates a practical MySQL performance test using a simulated e‑commerce scenario, detailing the user table schema, multithreaded Java code for inserting random user records, parameterized inputs, success counting, and resource management to evaluate and improve registration throughput.

MySQLjavamultithreading
0 likes · 9 min read
MySQL Performance Testing Practice: Simulating New User Registration
Cognitive Technology Team
Cognitive Technology Team
May 29, 2025 · Backend Development

Managing Multiple JDK Versions with jEnv

This guide explains how to install jEnv, add and configure multiple JDK versions, set global and local JDKs per project, and integrate the tool with Maven and Gradle to ensure the correct Java version is used across diverse development environments.

GradleJDK managementJEnv
0 likes · 8 min read
Managing Multiple JDK Versions with jEnv
Code Ape Tech Column
Code Ape Tech Column
May 29, 2025 · Backend Development

Using Apache Commons Lang3 Pair and Triple Classes to Return Multiple Values in Java

Apache Commons Lang3 provides Pair and Triple classes that let Java developers return multiple related values without custom wrappers, offering immutable and mutable variants, easy Maven integration, and clear APIs for handling key‑value pairs and three‑element tuples, improving code readability and maintainability.

Apache Commons LangImmutableMaven
0 likes · 15 min read
Using Apache Commons Lang3 Pair and Triple Classes to Return Multiple Values in Java
Cognitive Technology Team
Cognitive Technology Team
May 29, 2025 · Backend Development

Testing Java Architecture with ArchUnit: A Comprehensive Guide

This article explains how Java developers can use ArchUnit to automatically import and analyze compiled classes, define custom architectural rules, enforce package naming conventions, prevent cyclic dependencies, and integrate the library with Maven or Gradle builds to maintain a clean, layered backend architecture.

ArchUnitBackendGradle
0 likes · 9 min read
Testing Java Architecture with ArchUnit: A Comprehensive Guide
Senior Tony
Senior Tony
May 29, 2025 · Operations

How to Diagnose and Fix 100% CPU on Database and Application Servers

This guide explains how to identify the root causes of a server's CPU hitting 100%—whether on a database or an application server—by using cloud monitoring, Linux top commands, thread analysis with jstack, and practical Java code fixes such as limiting loops, optimizing locks, and handling GC pressure.

CPU troubleshootingDatabase MonitoringLinux commands
0 likes · 9 min read
How to Diagnose and Fix 100% CPU on Database and Application Servers
Sohu Tech Products
Sohu Tech Products
May 28, 2025 · Artificial Intelligence

Introducing AIFlowy: An Open‑Source Java‑Based One‑Stop AI Application Development Platform

AIFlowy is a Java‑powered, open‑source, enterprise‑grade AI platform that offers a bot for natural‑language interaction, extensible plugins, a knowledge‑base with RAG support, and visual workflow automation, enabling developers to quickly build and customize AI applications for domestic B2B scenarios.

AIBotKnowledge Base
0 likes · 10 min read
Introducing AIFlowy: An Open‑Source Java‑Based One‑Stop AI Application Development Platform
Architecture Digest
Architecture Digest
May 28, 2025 · Backend Development

Spring 6.0 Core Features and Spring Boot 3.0 Breakthroughs: Virtual Threads, Declarative HTTP Clients, ProblemDetail, GraalVM Native Images, and Monitoring

This article explains the major enhancements in Spring 6.0 and Spring Boot 3.0—including a JDK 17 baseline, Project Loom virtual threads, @HttpExchange declarative HTTP clients, RFC 7807 ProblemDetail error handling, GraalVM native image support, AOT compilation, OAuth2 server setup, and Micrometer‑Prometheus monitoring—while providing a practical upgrade roadmap and code samples.

Backendgraalvmjava
0 likes · 6 min read
Spring 6.0 Core Features and Spring Boot 3.0 Breakthroughs: Virtual Threads, Declarative HTTP Clients, ProblemDetail, GraalVM Native Images, and Monitoring
Lin is Dream
Lin is Dream
May 28, 2025 · Backend Development

Mastering Uniform Date Formatting in Spring Boot with Jackson

This guide shows how to configure Jackson in Spring Boot to consistently format LocalDateTime, Date, and String parameters as "yyyy-MM-dd HH:mm:ss", covering global settings via application properties, field-level @JsonFormat, custom serializers/deserializers, and unified handling in REST controllers.

Date FormattingJSONJackson
0 likes · 8 min read
Mastering Uniform Date Formatting in Spring Boot with Jackson
Tech Freedom Circle
Tech Freedom Circle
May 28, 2025 · Backend Development

Designing a 100k QPS Sensitive‑Word Filter with Real‑Time Updates

This article analyzes high‑throughput sensitive‑word filtering by comparing brute‑force, KMP, Trie, double‑array Trie and Aho‑Corasick algorithms, presents their time and space complexities, shows Java implementations for Trie and AC automata, evaluates Netty deployment options, and offers practical optimizations such as asynchronous detection, hot‑reloading, tiered responses, logging and fuzzy matching.

Aho-CorasickAlgorithm OptimizationKMP
0 likes · 37 min read
Designing a 100k QPS Sensitive‑Word Filter with Real‑Time Updates
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 28, 2025 · Backend Development

Master JSON-RPC with Spring Boot 3: Full Guide and Code Samples

This article introduces the JSON-RPC 2.0 protocol, demonstrates how to integrate the jsonrpc4j library into a Spring Boot 3.4.2 project, and provides step‑by‑step code examples for defining services, exposing them via beans or annotations, configuring various client proxies, handling errors, and implementing streaming socket communication.

Backend DevelopmentJSON-RPCRPC
0 likes · 10 min read
Master JSON-RPC with Spring Boot 3: Full Guide and Code Samples
Top Architect
Top Architect
May 27, 2025 · Backend Development

Using LiteFlow Rule Engine for Business Process Orchestration in Java

This article introduces the LiteFlow lightweight rule engine, explains its architecture, component types, EL rule files, data context handling, configuration options, and demonstrates a real‑world e‑commerce workflow with code examples, while also noting related promotional offers at the end.

LiteFlowRule EngineSpring Boot
0 likes · 12 min read
Using LiteFlow Rule Engine for Business Process Orchestration in Java
Alibaba Cloud Developer
Alibaba Cloud Developer
May 27, 2025 · Artificial Intelligence

How to Build AI-Powered Java Apps with Spring AI and DeepSeek

This guide walks Java developers through integrating Spring AI with large‑model services such as DeepSeek, covering setup, API key configuration, code examples for synchronous and streaming calls, reactive implementation, monitoring with Actuator, and compatibility with OpenAI‑style APIs.

AI IntegrationDeepSeekReactive streaming
0 likes · 9 min read
How to Build AI-Powered Java Apps with Spring AI and DeepSeek
Lin is Dream
Lin is Dream
May 27, 2025 · Backend Development

Master Maven: Essential Tips for Java Backend Projects

This guide walks you through Maven installation, local repository configuration, dependency coordinates, common Maven commands, profile usage, multi‑module project setup, the difference between dependencyManagement and dependencies, and practical Maven tricks such as installing local jars, removing version numbers from generated artifacts, and resolving dependency conflicts.

Mavenbuild toolsdependency management
0 likes · 11 min read
Master Maven: Essential Tips for Java Backend Projects
Lin is Dream
Lin is Dream
May 27, 2025 · Backend Development

Master Maven Mirrors: Configure Repositories, Mirrors, and Private Deployments

This guide explains how Maven repositories and mirrors work, the role of the mirrorOf attribute, how to set up central and third‑party repositories in pom.xml, configure mirrors in settings.xml with various matching rules, and properly configure private repository deployment with authentication and profile activation.

MavenMirrorRepository
0 likes · 7 min read
Master Maven Mirrors: Configure Repositories, Mirrors, and Private Deployments
Architect's Guide
Architect's Guide
May 27, 2025 · Backend Development

Understanding CopyOnWrite (COW) Concept and Its Implementation in Java

The article explains the CopyOnWrite (COW) concept, its read‑write separation benefits for thread‑safe, read‑heavy scenarios, key implementation details in Java’s CopyOnWriteArrayList—including volatile and transient usage—and discusses its memory overhead and eventual‑consistency drawbacks.

CopyOnWriteDataStructureThreadSafety
0 likes · 5 min read
Understanding CopyOnWrite (COW) Concept and Its Implementation in Java
FunTester
FunTester
May 27, 2025 · Backend Development

Java Serialization: Ten Common Pitfalls and Safer Alternatives

Java serialization, while convenient for persisting objects, suffers from versioning issues, hidden fields, mutable data snapshots, performance overhead, security vulnerabilities, singleton breaches, final field tampering, external dependencies, maintenance burdens, and format limitations, and the article recommends explicit serialVersionUID, custom methods, and JSON/Protobuf alternatives.

JSONProtobufbest practices
0 likes · 18 min read
Java Serialization: Ten Common Pitfalls and Safer Alternatives
Big Data Technology & Architecture
Big Data Technology & Architecture
May 26, 2025 · Artificial Intelligence

Spring AI 1.0 Released: Maven Dependency, Comparison with LangChain4j, and Future Trends

The article announces the Spring AI 1.0 release, provides the Maven BOM dependency, compares Spring AI with LangChain4j for Java AI development, and outlines upcoming integration, performance, and observability improvements for both frameworks amid rapid large‑model advancements.

Artificial IntelligenceLangChain4jMaven
0 likes · 4 min read
Spring AI 1.0 Released: Maven Dependency, Comparison with LangChain4j, and Future Trends
Lin is Dream
Lin is Dream
May 26, 2025 · Backend Development

Master Java Date & Time APIs: Quick Reference for Daily, Weekly, Monthly and Quarterly Operations

This article consolidates essential Java date and time utilities—including start/end calculations for days, weeks, months, quarters and years, time arithmetic, formatting, parsing, and conversions between LocalDateTime, Date, and Instant—providing a handy reference for developers working with the Java Time API.

DurationLocalDateTimeTime API
0 likes · 15 min read
Master Java Date & Time APIs: Quick Reference for Daily, Weekly, Monthly and Quarterly Operations
Code Ape Tech Column
Code Ape Tech Column
May 26, 2025 · Backend Development

Automated Management of Common Fields in Order Modules Using MyBatis-Plus, AOP, and JWT

This article presents a production‑validated solution that combines MyBatis‑Plus auto‑fill, AOP, JWT, multi‑data‑source handling, distributed ID generation, performance tuning, and audit logging to eliminate repetitive maintenance of common fields such as createTime, updateTime, createUser, and updateUser in Java backend order services.

AOPBackendMyBatis-Plus
0 likes · 9 min read
Automated Management of Common Fields in Order Modules Using MyBatis-Plus, AOP, and JWT
Java Web Project
Java Web Project
May 26, 2025 · Backend Development

How to Integrate WebSocket with Spring Boot for Real‑Time Messaging

This guide walks through the problem of server‑initiated push in a Spring Boot project, explains why WebSocket is needed over HTTP, and provides step‑by‑step Maven setup, configuration classes, controller code, a test HTML page, and troubleshooting tips for proper initialization.

BackendMessagingSpringBoot
0 likes · 12 min read
How to Integrate WebSocket with Spring Boot for Real‑Time Messaging
FunTester
FunTester
May 26, 2025 · Backend Development

Thread‑Safe Round Robin Load Balancer Using Java AtomicInteger

This article explains how to implement a thread‑safe round‑robin load balancer in Java using AtomicInteger, discusses its advantages and limitations, provides sample code for single‑thread and multithreaded scenarios, and suggests further optimizations such as health checks, weighted routing, and dynamic server updates.

AtomicIntegerBackendRound Robin
0 likes · 11 min read
Thread‑Safe Round Robin Load Balancer Using Java AtomicInteger
JakartaEE China Community
JakartaEE China Community
May 26, 2025 · Industry Insights

Why Jakarta EE Is the Right Choice for Modern Java Applications

The whitepaper outlines Jakarta EE's strategic importance, citing adoption surveys, open‑source benefits, deep ecosystem integration, stability, flexibility for cloud‑native and monolithic architectures, and a vibrant community that together make it a compelling platform for today’s and future Java development.

Enterprise JavaMicroProfilecloud-native
0 likes · 18 min read
Why Jakarta EE Is the Right Choice for Modern Java Applications
Java Architect Essentials
Java Architect Essentials
May 25, 2025 · Backend Development

Simplifying Asynchronous Tasks in Spring Boot with @Async Annotation

Spring Boot's @Async annotation enables developers to replace manual thread and thread‑pool management with simple method annotations, providing automatic asynchronous execution, customizable thread pools, and flexible return types such as Future and CompletableFuture, thereby streamlining code, improving efficiency, and reducing complexity in backend services.

AsyncSpringBootjava
0 likes · 7 min read
Simplifying Asynchronous Tasks in Spring Boot with @Async Annotation
Architect
Architect
May 25, 2025 · Backend Development

Using Project Loom Virtual Threads in Spring Boot: Setup, Code Samples, and Performance Testing

This article demonstrates how to integrate Project Loom virtual threads into a Spring Boot application, provides the necessary Maven configuration and Java code, runs load tests with JMeter to compare response times against traditional threads, and shows the significant throughput improvements achieved on the same hardware.

Project LoomSpring Bootjava
0 likes · 9 min read
Using Project Loom Virtual Threads in Spring Boot: Setup, Code Samples, and Performance Testing
Architect's Guide
Architect's Guide
May 25, 2025 · Backend Development

Integrating Elasticsearch with MySQL in a Spring Boot Backend: Technical Selection, Common Package, Repository, Mapper, and Service Implementation

This article explains how to combine Elasticsearch and MySQL in a Spring Boot backend by selecting the technology stack, creating a shared Elasticsearch package, defining ES and MySQL entity classes, implementing repository and mapper interfaces, writing service logic, and demonstrating query testing.

ElasticsearchMySQLRepository
0 likes · 17 min read
Integrating Elasticsearch with MySQL in a Spring Boot Backend: Technical Selection, Common Package, Repository, Mapper, and Service Implementation
Architect
Architect
May 24, 2025 · Backend Development

Implement End‑to‑End TraceId Logging Across Rest, MQ, and RPC in Java

This article walks through a practical approach to generate a unique traceId at request entry, propagate it through REST, RocketMQ, and Dubbo RPC modules, and configure Log4j2 to print the traceId so that logs from different services can be correlated into a single request chain.

LoggingMDCMicroservices
0 likes · 8 min read
Implement End‑to‑End TraceId Logging Across Rest, MQ, and RPC in Java
Java One
Java One
May 24, 2025 · Backend Development

How to Secure Your Spring Boot Application with HTTPS: A Step‑by‑Step Guide

This tutorial walks you through obtaining or generating SSL certificates, configuring Spring Boot to use JKS or PKCS12 keystores, redirecting HTTP to HTTPS, and distributing the certificate to clients, with complete command‑line examples and code snippets for a production‑ready setup.

HTTPSSSLSpring Boot
0 likes · 13 min read
How to Secure Your Spring Boot Application with HTTPS: A Step‑by‑Step Guide
Su San Talks Tech
Su San Talks Tech
May 24, 2025 · Backend Development

12 Proven SpringBoot Performance Hacks to Boost Your API Speed

Discover twelve practical SpringBoot performance optimization techniques—from connection pool tuning and JVM memory settings to caching, async processing, and full‑stack monitoring—each illustrated with code snippets and actionable guidance to prevent full‑table scans, OOM errors, and latency spikes in high‑traffic applications.

Performance OptimizationSpringBootdatabase indexing
0 likes · 13 min read
12 Proven SpringBoot Performance Hacks to Boost Your API Speed
FunTester
FunTester
May 24, 2025 · Backend Development

How to Stress-Test Netty WebSocket for 10,000 Subscriptions and Keepalive

This article presents advanced WebSocket testing techniques—including asynchronous connection creation, result statistics, price verification, latency measurement, TPS modeling—and demonstrates a Netty‑WebSocket subscription test for 10,000 users plus Java‑ and Netty‑based keepalive implementations for high‑concurrency scenarios.

Nettyconcurrencyjava
0 likes · 7 min read
How to Stress-Test Netty WebSocket for 10,000 Subscriptions and Keepalive
Java Architect Essentials
Java Architect Essentials
May 23, 2025 · Backend Development

Master SpringBoot Caching: How @Cacheable Simplifies Cache Management

This article explains how SpringBoot’s @Cacheable annotation automates cache handling, reducing boilerplate code, improving performance, and simplifying maintenance, while also covering related annotations like @CacheEvict and @CachePut, with practical code examples for user and product data caching in real-world applications.

@CacheableBackendPerformance
0 likes · 6 min read
Master SpringBoot Caching: How @Cacheable Simplifies Cache Management
Java Captain
Java Captain
May 23, 2025 · Backend Development

Resolving Spring Boot Resource Loading Errors When Running from a JAR

This article explains why a Spring Boot application fails to locate a template file when packaged as a JAR, details the step‑by‑step debugging process, and provides code solutions using ClassPathResource or PathMatchingResourcePatternResolver to correctly read resources inside the JAR.

BackendDebuggingJAR
0 likes · 5 min read
Resolving Spring Boot Resource Loading Errors When Running from a JAR
Top Architect
Top Architect
May 23, 2025 · Backend Development

Secure File Upload and Preview with Spring Boot, Minio, and KKFile

This article demonstrates how to securely upload files to Minio, stream them for preview via KKFile without exposing the Minio endpoint, and protect download URLs with token validation, providing complete Java code examples for upload, download, and preview URL generation.

MinioSpring Bootfile upload
0 likes · 10 min read
Secure File Upload and Preview with Spring Boot, Minio, and KKFile
macrozheng
macrozheng
May 23, 2025 · Backend Development

Boost Java Productivity: 17 Essential Utility Classes Every Backend Developer Should Know

This article introduces 17 practical Java utility classes—including Collections, CollectionUtils, Lists, Objects, BooleanUtils, StringUtils, Assert, IOUtils, MDC, ClassUtils, BeanUtils, ReflectionUtils, Base64Utils, StandardCharsets, DigestUtils, SerializationUtils, and HttpStatus—showing how to use them with clear code examples to streamline everyday development tasks.

Backendcode-examplesjava
0 likes · 30 min read
Boost Java Productivity: 17 Essential Utility Classes Every Backend Developer Should Know
FunTester
FunTester
May 23, 2025 · Operations

Mastering JVM Thread Dumps: From Diagnosis to Kubernetes Automation

This article explains what JVM thread dumps are, why they are crucial for fault testing, outlines common scenarios such as deadlocks and resource leaks, and provides step‑by‑step methods—including jstack, kill‑3, VisualVM, programmatic APIs, and Fabric8‑driven Kubernetes automation—to capture and analyze them effectively.

DebuggingFabric8Thread Dump
0 likes · 15 min read
Mastering JVM Thread Dumps: From Diagnosis to Kubernetes Automation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2025 · Backend Development

11 Must‑Know Spring Boot 3.5 Features with Ready‑to‑Use Code Samples

This article walks through eleven notable Spring Boot 3.5 enhancements—including stricter .enabled flags, renamed TaskExecutor beans, Redis URL handling, annotation‑based servlet/filter registration, multi‑property environment loading, structured logging tweaks, WebClient connector settings, task decorators, custom executors, bootstrapExecutor auto‑configuration, and secured heapdump actuator endpoint—providing concise explanations and runnable code snippets.

ActuatorCode SamplesLogging
0 likes · 10 min read
11 Must‑Know Spring Boot 3.5 Features with Ready‑to‑Use Code Samples
Architect
Architect
May 22, 2025 · Backend Development

How to Build Real‑Time Device Monitoring with WebSocket and Spring Boot

This article demonstrates how to implement a real‑time device‑monitoring system using WebSocket, covering the problem scenario, front‑end Vue.js visualization, Spring Boot back‑end configuration, WebSocket server setup, and step‑by‑step testing to achieve instant status updates.

Backend DevelopmentFrontend DevelopmentSpring Boot
0 likes · 11 min read
How to Build Real‑Time Device Monitoring with WebSocket and Spring Boot
Su San Talks Tech
Su San Talks Tech
May 22, 2025 · Backend Development

30 Practical Java Code Optimization Tips to Boost Performance

A comprehensive guide presenting thirty proven Java optimization techniques, from efficient string handling and buffered I/O to proper resource management, connection pooling, multithreading, naming conventions, and safe use of APIs, each illustrated with concise code examples.

Performancebest practicescoding
0 likes · 41 min read
30 Practical Java Code Optimization Tips to Boost Performance
FunTester
FunTester
May 22, 2025 · Operations

How to Stress‑Test a WebSocket Product Query API with Java

This guide walks you through designing, implementing, and analyzing a Java‑based performance test for a WebSocket product‑query interface, covering request/response formats, thread‑driven load generation, TPS control, console metrics, and response validation techniques.

Backendjavaload-testing
0 likes · 9 min read
How to Stress‑Test a WebSocket Product Query API with Java
JD Tech
JD Tech
May 21, 2025 · Backend Development

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

This article examines the common pain points of on‑call debugging, explains how to extract useful information from error screenshots, and presents a Java‑based method call stack tracing tool that filters and visualizes stack frames to quickly locate code origins and improve troubleshooting efficiency.

DebuggingMethodTracingStackTrace
0 likes · 12 min read
How to Build a Java Method Call Stack Tracker for Faster Debugging
Java Architect Essentials
Java Architect Essentials
May 21, 2025 · Backend Development

How @Slf4j Instantly Simplifies Logging in Spring Boot

This article explains why repetitive logger boilerplate in Spring Boot is a problem, introduces Lombok's @Slf4j annotation that auto‑generates a logger, shows basic and advanced usage with code examples, and outlines the benefits for real‑world backend projects.

BackendLoggingLombok
0 likes · 7 min read
How @Slf4j Instantly Simplifies Logging in Spring Boot
Instant Consumer Technology Team
Instant Consumer Technology Team
May 21, 2025 · Backend Development

How a Java‑Based Traffic Replay Platform Boosts Test Efficiency and Coverage

The article describes the challenges of testing complex systems, proposes a traffic‑replay platform built on Java and jvm‑sandbox‑repeater, outlines its four‑stage construction, layered architecture, core functions, technical challenges with solutions, and future integration plans to improve automated testing and reduce noise.

Backend testingMicroservicesjava
0 likes · 13 min read
How a Java‑Based Traffic Replay Platform Boosts Test Efficiency and Coverage
Code Ape Tech Column
Code Ape Tech Column
May 21, 2025 · Backend Development

Advanced MapStruct Usage: expression, qualifiedByName, nullValueMappingStrategy, and Decorator

This article introduces MapStruct, a compile‑time Java bean‑mapping framework, and demonstrates advanced features such as expression‑based mappings, qualifiedByName for custom conversions, nullValueMappingStrategy for handling nulls, and the use of Decorator classes to apply global post‑processing logic.

Backend DevelopmentDecoratorbean-mapping
0 likes · 6 min read
Advanced MapStruct Usage: expression, qualifiedByName, nullValueMappingStrategy, and Decorator