Tagged articles
5000 articles
Page 17 of 50
Top Architect
Top Architect
Jun 11, 2025 · Backend Development

How I Refactored a Bloated Open‑Source Admin into a Lean Backend Solution

The author shares a personal journey from early backend work to full‑stack responsibilities, critiques heavyweight admin frameworks, and explains how they rebuilt a lightweight enterprise admin using MyBatisPlus, Lombok, and streamlined architecture, while outlining future enhancements such as email, payment, multi‑tenant, and distributed scheduling.

LombokMyBatisPlusjava
0 likes · 9 min read
How I Refactored a Bloated Open‑Source Admin into a Lean Backend Solution
Lin is Dream
Lin is Dream
Jun 11, 2025 · Information Security

Why SFTP Beats FTP: Secure File Transfer for Java Projects

Learn why SFTP, built on SSH, offers encrypted, authenticated file transfers unlike plain FTP, and how Java developers can securely integrate SFTP using libraries like JSch, with practical comparisons, usage scenarios, and a visual illustration of protocol differences.

SFTPSSHfile transfer
0 likes · 7 min read
Why SFTP Beats FTP: Secure File Transfer for Java Projects
Java Captain
Java Captain
Jun 10, 2025 · Backend Development

Why Spring Batch? Real‑World Scenarios, Core Architecture and Hands‑On Guide

This article explains the necessity of batch processing, presents typical use cases such as daily interest calculation, e‑commerce order archiving, log analysis and medical data migration, then dives deep into Spring Batch's core components, provides step‑by‑step code examples, performance‑tuning tips, production‑grade fault‑tolerance, monitoring solutions and a comprehensive FAQ.

Batch ProcessingData IntegrationSpring Batch
0 likes · 20 min read
Why Spring Batch? Real‑World Scenarios, Core Architecture and Hands‑On Guide
Java Captain
Java Captain
Jun 10, 2025 · Fundamentals

Understanding Java Monitors: How Thread Synchronization Works

Java monitors provide a mechanism for thread synchronization by associating each object with a monitor lock, comprising an entry list, owner thread, and wait set, and the article explains their structure, thread state transitions, and demonstrates usage with a practical code example.

MonitorSynchronizationconcurrency
0 likes · 6 min read
Understanding Java Monitors: How Thread Synchronization Works
IT Services Circle
IT Services Circle
Jun 10, 2025 · Backend Development

Master TP-Link Backend Interview: JVM, GC, Synchronization, and Redis Cache Strategies

The article shares a personal experience of TP-Link's early campus recruitment and salary expectations, then provides a comprehensive Java backend interview guide covering class‑loader delegation, JVM memory layout, garbage‑collector types, synchronized lock mechanics, and common Redis cache pitfalls with practical solutions.

Garbage CollectionJVMSynchronization
0 likes · 18 min read
Master TP-Link Backend Interview: JVM, GC, Synchronization, and Redis Cache Strategies
macrozheng
macrozheng
Jun 10, 2025 · Backend Development

Simplify Java Stream Processing with JDFrame: A Semantic DataFrame API

This article introduces JDFrame/SDFrame, a JVM‑level DataFrame‑style library that provides semantic, chainable APIs for Java 8 streams, covering quick start, dependency setup, example use cases, and detailed API categories such as matrix view, filtering, aggregation, distinct, grouping, sorting, joining, slicing, parameter settings, percentage conversion, partitioning, row‑number generation, and data replenishment, all illustrated with concise code snippets.

JDFrameSDFrameStream
0 likes · 16 min read
Simplify Java Stream Processing with JDFrame: A Semantic DataFrame API
Code Ape Tech Column
Code Ape Tech Column
Jun 10, 2025 · Information Security

Securing OpenAPI Interfaces with AppId, AppSecret, and RSA Signatures

This article explains how to standardize and protect OpenAPI interfaces by using globally unique AppId/AppSecret pairs, generating RSA‑based signatures, implementing timestamp and nonce checks, and applying common security measures such as rate limiting, whitelist/blacklist controls, and sensitive data handling, all illustrated with complete Java code examples.

API SecurityAppIdAppSecret
0 likes · 28 min read
Securing OpenAPI Interfaces with AppId, AppSecret, and RSA Signatures
JD Tech Talk
JD Tech Talk
Jun 10, 2025 · Backend Development

Instantly Spot Problematic SQL with MyBatis Interceptor Coloring

This article explains how to use SQL coloring in MyBatis by implementing a lightweight interceptor or an AspectJ weave to annotate each SELECT statement with its mapper ID and execution stack, enabling rapid identification of performance bottlenecks during high‑traffic events.

Database MonitoringPerformance debuggingSQL interceptor
0 likes · 29 min read
Instantly Spot Problematic SQL with MyBatis Interceptor Coloring
JD Cloud Developers
JD Cloud Developers
Jun 10, 2025 · Backend Development

How to Instantly Spot Problematic SQL with MyBatis Interceptor Coloring

This article introduces a lightweight SQL‑coloring technique for MyBatis that annotates each executed query with its mapper ID and call‑stack, enabling developers to pinpoint performance bottlenecks instantly without hunting through multiple code paths, and provides both MyBatis interceptor and AspectJ weaving implementations.

Interceptoraspectjjava
0 likes · 30 min read
How to Instantly Spot Problematic SQL with MyBatis Interceptor Coloring
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 10, 2025 · Backend Development

Master Spring Data JPA: 131 Real‑World Spring Boot 3 Cases & Best Practices

This article presents a comprehensive guide to Spring Data JPA in Spring Boot 3, covering 131 practical cases, core repository interfaces, Specification and Criteria Builder techniques, and dozens of performance‑optimizing tips such as lazy loading, caching, batch processing, transaction management, projections, and stream queries.

JpaRepositorybackend-developmentjava
0 likes · 15 min read
Master Spring Data JPA: 131 Real‑World Spring Boot 3 Cases & Best Practices
Top Architect
Top Architect
Jun 9, 2025 · Backend Development

Mastering Liteflow: A Lightweight Rule Engine for Java Backend Development

This article introduces Liteflow, a lightweight yet powerful Java rule engine, explains its architecture, shows how to integrate it with Spring Boot, details its component types and EL rule syntax, and demonstrates a real‑world e‑commerce workflow using XML rule files.

LiteFlowbackend-developmentjava
0 likes · 13 min read
Mastering Liteflow: A Lightweight Rule Engine for Java Backend Development
Architecture Digest
Architecture Digest
Jun 9, 2025 · Backend Development

How to Embed FolkMQ in SpringBoot: A Tiny 7 MB Message Middleware

This article introduces FolkMQ, a pure Chinese message middleware, explains its lightweight 7 MB embedded version with a web console, and provides step‑by‑step integration instructions, configuration files, code samples, testing procedures, and a link to a complete SpringBoot example.

Embedded MiddlewareFolkMQSolon
0 likes · 6 min read
How to Embed FolkMQ in SpringBoot: A Tiny 7 MB Message Middleware
Java Tech Enthusiast
Java Tech Enthusiast
Jun 9, 2025 · Backend Development

Eliminate Repetitive Audit Fields in Java: 6 Proven Strategies with MyBatis‑Plus, AOP, and JWT

This article presents a production‑tested, six‑step solution for automatically handling common entity fields such as createTime, updateTime, createUser, and updateUser in Java backend systems, covering MyBatis‑Plus auto‑fill, AOP interception, multi‑data‑source adaptation, distributed ID generation, pitfalls avoidance, performance tuning, and audit logging.

Automatic Field Fillingaopbackend-development
0 likes · 9 min read
Eliminate Repetitive Audit Fields in Java: 6 Proven Strategies with MyBatis‑Plus, AOP, and JWT
Code Ape Tech Column
Code Ape Tech Column
Jun 9, 2025 · Backend Development

Build a Unified SpringBoot Tree Utility for Menus, Comments, and More

This guide explains how to design a database schema with optional tree_path, define a generic ITreeNode interface, implement a versatile TreeNodeUtil class in SpringBoot, and demonstrates comprehensive tests—including building, filtering, and path generation—for reusable multi‑level structures such as menus, comments, departments, and categories.

Multi-levelTree Utilityjava
0 likes · 12 min read
Build a Unified SpringBoot Tree Utility for Menus, Comments, and More
Java Captain
Java Captain
Jun 9, 2025 · Backend Development

How to Use @PathVariable and Map Static Resources in Spring Boot

This guide explains how to use @PathVariable to capture URL segments, configure static resource mapping for local files, and centralize path values in Spring Boot applications, providing code examples for request mapping, resource handler registration, and property injection.

PathVariableStatic ResourcesWebMvcConfigurer
0 likes · 3 min read
How to Use @PathVariable and Map Static Resources in Spring Boot
Architect's Must-Have
Architect's Must-Have
Jun 9, 2025 · Backend Development

Why Netty Introduced FastThreadLocal and How It Boosts Performance

FastThreadLocal, Netty’s custom thread‑local implementation, replaces JDK’s ThreadLocal by using an indexed array to avoid hash collisions, offering faster access; this article explains its background, core classes, source‑code mechanics, performance trade‑offs, and cleanup strategies within Netty’s architecture.

FastThreadLocalNettyThreadLocal
0 likes · 13 min read
Why Netty Introduced FastThreadLocal and How It Boosts Performance
Lin is Dream
Lin is Dream
Jun 9, 2025 · Backend Development

Master Java Stream API: Real‑World Examples Covering 90% of Business Scenarios

This article introduces Java 8 functional programming concepts such as lambda expressions and method references, explains the Stream API, and provides dozens of practical code snippets for querying, grouping, aggregating, sorting, partitioning, and parallel processing of collections, helping developers handle most everyday business logic efficiently.

CollectionsLambdaMyBatisPlus
0 likes · 14 min read
Master Java Stream API: Real‑World Examples Covering 90% of Business Scenarios
Java Web Project
Java Web Project
Jun 8, 2025 · Backend Development

How to Build a Reusable CRUD BaseController with MyBatis‑Plus in Spring Boot

This tutorial walks through creating a generic BaseController that provides CRUD, list, pagination, and count operations for any entity by adding MyBatis‑Plus, writing a utility class for query building, configuring a pagination interceptor, and extending the base class in concrete controllers, all illustrated with complete Java code snippets.

BaseControllerCRUDREST API
0 likes · 8 min read
How to Build a Reusable CRUD BaseController with MyBatis‑Plus in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jun 8, 2025 · Backend Development

Boost Your Spring Boot HTTP Calls with retrofit‑spring‑boot‑starter – A Complete Guide

This article introduces the lightweight retrofit‑spring‑boot‑starter for Spring Boot, explains its key features such as custom OkHttpClient, annotation‑based interceptors, logging, retry, circuit‑breaker support, and shows step‑by‑step configuration, dependency setup, and code examples for building robust HTTP client services.

HTTP clientInterceptorMicroservices
0 likes · 23 min read
Boost Your Spring Boot HTTP Calls with retrofit‑spring‑boot‑starter – A Complete Guide
Java Captain
Java Captain
Jun 8, 2025 · Backend Development

How to Refactor Bloated Spring Controllers into Clean, Maintainable Code

The article critiques overly large and tangled Spring MVC controllers, demonstrates ugly examples filled with try‑catch blocks, field validations, and business logic, then presents streamlined, elegant alternatives using @Valid, @Autowired, proper exception handling, and best‑practice guidelines to dramatically reduce code size and improve readability.

Controller RefactoringException Handlingbest practices
0 likes · 10 min read
How to Refactor Bloated Spring Controllers into Clean, Maintainable Code
Java Captain
Java Captain
Jun 8, 2025 · Backend Development

How to Fix Spring Boot 3 and Swagger 2 Compatibility Issues

This guide explains why Spring Boot 3 is incompatible with Swagger 2, shows how to downgrade or replace dependencies, updates servlet imports, adjusts Maven and application settings, and provides a complete Swagger configuration to get the API docs running again.

API documentationCompatibilityJakarta
0 likes · 4 min read
How to Fix Spring Boot 3 and Swagger 2 Compatibility Issues
Java Captain
Java Captain
Jun 8, 2025 · Backend Development

How to Read Excel Files in Java with Free Spire.XLS – Step-by-Step Guide

This tutorial explains how to automate Excel data extraction in Java using the free Free Spire.XLS library, covering installation, core classes and methods, and detailed code examples for reading a single cell, a cell range, and an entire worksheet, enabling efficient batch processing and integration with other systems.

ExcelFile I/OSpire.XLS
0 likes · 7 min read
How to Read Excel Files in Java with Free Spire.XLS – Step-by-Step Guide
Java Captain
Java Captain
Jun 8, 2025 · Backend Development

Create Excel Dropdown Lists in Java with Free Spire.XLS

This guide shows how to generate Excel dropdown lists programmatically in Java using the free Spire.XLS library, covering two approaches—direct string arrays and cell‑range data sources—complete with sample code and screenshots.

Dropdown ListExcelSpire.XLS
0 likes · 6 min read
Create Excel Dropdown Lists in Java with Free Spire.XLS
Architect's Guide
Architect's Guide
Jun 8, 2025 · Fundamentals

Master Java API Design: 25 Essential Best‑Practice Rules from Effective Java

This article distills key guidelines from Effective Java, covering static factory methods, builder patterns, singleton protection, utility class design, memory‑leak avoidance, equals/hashCode contracts, composition over inheritance, generics, enums, exception handling, and many other best‑practice rules to help Java developers write cleaner, safer, and more maintainable code.

Effective Javaapi-designbest practices
0 likes · 24 min read
Master Java API Design: 25 Essential Best‑Practice Rules from Effective Java
Python Programming Learning Circle
Python Programming Learning Circle
Jun 7, 2025 · Fundamentals

How to Choose the Right Programming Language for Your Project

Choosing the right programming language depends on project requirements such as performance, development speed, platform compatibility, and team expertise, with C++ excelling in low‑level control, Java dominating enterprise back‑ends, Python leading in AI and rapid development, and C# powering Windows and Unity game applications.

C++Pythonc++
0 likes · 9 min read
How to Choose the Right Programming Language for Your Project
Java Tech Enthusiast
Java Tech Enthusiast
Jun 7, 2025 · Backend Development

Master Java Project Setup: From IDE to Spring Boot Scaffolding

This article walks through setting up a Java Spring Boot project, managing compatible Spring Cloud, Spring Boot and Kafka versions, handling common dependency pitfalls with Maven, and provides ready‑to‑use scaffolding code for exception handling, logging, CORS, Swagger, and response wrapping, plus a list of useful development tools.

backend-developmentjavamaven
0 likes · 11 min read
Master Java Project Setup: From IDE to Spring Boot Scaffolding
Su San Talks Tech
Su San Talks Tech
Jun 7, 2025 · Backend Development

10 Proven Strategies to Supercharge API Performance in Java Applications

This article presents a comprehensive set of practical techniques—including batch processing, asynchronous execution, caching, preprocessing, pooling, parallelization, indexing, pagination, SQL tuning, and lock granularity—to dramatically reduce API latency and improve overall backend system efficiency.

API optimizationAsynchronousBackend Performance
0 likes · 12 min read
10 Proven Strategies to Supercharge API Performance in Java Applications
Architect's Guide
Architect's Guide
Jun 7, 2025 · Backend Development

How to Build a Flexible Java Rule Engine with AND/OR Logic

This article walks through designing and implementing a Java rule engine that supports both AND and OR logical relationships, showing the core rule abstractions, concrete rule examples, the builder pattern for composing rules, and a discussion of its advantages and drawbacks.

Code ExampleDesign Patternsjava
0 likes · 8 min read
How to Build a Flexible Java Rule Engine with AND/OR Logic
FunTester
FunTester
Jun 7, 2025 · Backend Development

How to Test Redis Protocol Performance: A Practical Guide for Engineers

Redis, an in‑memory high‑performance data store, serves as a popular secondary cache; this article explains its key features, data structures, persistence options, and presents a step‑by‑step Java workflow—including client creation, request sending, result handling, and connection cleanup—to help test engineers design effective performance tests.

javaredis
0 likes · 4 min read
How to Test Redis Protocol Performance: A Practical Guide for Engineers
JD Cloud Developers
JD Cloud Developers
Jun 6, 2025 · Backend Development

Seamless Java JDK 21 Upgrade: Solving Dependency and Build Challenges

This article outlines the motivations, progress, and common issues encountered when upgrading over 100 Java applications to JDK 21, including deprecated APIs, module system constraints, Maven plugin incompatibilities, and GC choices, and provides concrete migration steps, configuration templates, and best‑practice recommendations for a smooth transition.

GarbageCollectionJDK21ModuleSystem
0 likes · 12 min read
Seamless Java JDK 21 Upgrade: Solving Dependency and Build Challenges
Lin is Dream
Lin is Dream
Jun 6, 2025 · Backend Development

Master Java Lambda Expressions: From Anonymous Classes to Streamlined Code

This article explains why Java introduced the seemingly odd lambda syntax, shows how lambdas replace verbose anonymous inner classes for loops, grouping and collection operations, introduces functional interfaces, and provides comprehensive code examples demonstrating creation, method references, sorting, filtering, and threading with lambdas.

BackendCode ExampleFunctional Interface
0 likes · 8 min read
Master Java Lambda Expressions: From Anonymous Classes to Streamlined Code
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 6, 2025 · Backend Development

Secure Spring Boot 3 APIs: 5 Methods with Filters, Interceptors, AOP, OAuth2

This article presents five practical approaches to protect Spring Boot 3 API endpoints—including Filter, Interceptor, AOP combined with Filter, Spring Security, and OAuth2 integration—providing code examples, configuration steps, and screenshots to demonstrate authentication, authorization, and token handling for secure access control.

API SecurityAuthenticationAuthorization
0 likes · 11 min read
Secure Spring Boot 3 APIs: 5 Methods with Filters, Interceptors, AOP, OAuth2
MaGe Linux Operations
MaGe Linux Operations
Jun 5, 2025 · Backend Development

Master Tomcat: Install, Configure, and Deploy Multi-Instance Java Apps

This guide walks you through installing Tomcat on Linux, configuring its core components, understanding its directory layout, deploying a sample Java web application, and setting up multiple independent Tomcat instances on a single server for efficient resource utilization.

DeploymentInstallationMulti-Instance
0 likes · 22 min read
Master Tomcat: Install, Configure, and Deploy Multi-Instance Java Apps
Cognitive Technology Team
Cognitive Technology Team
Jun 5, 2025 · Backend Development

Why BeanUtils.copyProperties Is a Hidden Performance Killer and What to Use Instead

BeanUtils.copyProperties, a convenient Apache Commons utility for Java bean copying, harbors multiple hidden pitfalls—including reflection overhead, unsafe type conversion, null‑value overwrites, shallow copy issues, and limited depth—so developers should evaluate modern alternatives like MapStruct, Dozer, or manual mapping for better performance and safety.

BeanUtilsbackend-developmentdeep copy
0 likes · 7 min read
Why BeanUtils.copyProperties Is a Hidden Performance Killer and What to Use Instead
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.

IDEIntelliJ IDEAdebugging
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.

AuditingAutomatic Field FillBackend
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.

CircuitBreakerHTTPMicroservices
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 Locksconcurrencyjava
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.

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

BackendDebouncedistributed-lock
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.

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

CoroutinesJVMKotlin
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 HandlingSpring MVC
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.

ThreadLocaljavamemory leak
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 CollectionJVMMemory Tuning
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.

DataSourcebackend-developmentjava
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.

Docker Composebackend-developmentjava
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 Versioningjavanull safety
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.

AnnotationProcessorAutoServiceSPI
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 LangImmutableMutable
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 MonitoringThread analysis
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
Top Architecture Tech Stack
Top Architecture Tech Stack
May 28, 2025 · Backend Development

Understanding Spring MVC Workflow and Its Core Components

This article explains the Spring MVC architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerAdapter, Controller, ViewResolver, and View within the MVC pattern, while also providing a brief promotional note for IDE activation codes.

BackendMVC patternSpring MVC
0 likes · 9 min read
Understanding Spring MVC Workflow and Its Core Components
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.

BackendVirtual Threadsgraalvm
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.

JSON-RPCRPCbackend-development
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.

LiteFlowjavarule engine
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