Tagged articles
5000 articles
Page 22 of 50
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 1, 2025 · Backend Development

Generating PDF Templates with iText in Java: Step-by-Step Guide

This article demonstrates how to create and fill PDF templates using a PDF editor and Java iText library, covering importing Word documents, inserting text, option, and image fields (including signatures and stamps), and provides complete code examples for generating customized PDFs.

PDFbackend-developmentiText
0 likes · 7 min read
Generating PDF Templates with iText in Java: Step-by-Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 1, 2025 · Backend Development

Boost Spring AI with Tool Calls: Real‑World Spring Boot 3 Examples

This article explains how Spring AI's tool‑calling feature extends large language models by integrating custom Java tools for information retrieval and operations, and provides step‑by‑step Spring Boot 3 examples—including date‑time and weather tools—complete with configuration, code snippets, and execution results.

AI integrationTool Callingjava
0 likes · 9 min read
Boost Spring AI with Tool Calls: Real‑World Spring Boot 3 Examples
Java Architect Essentials
Java Architect Essentials
Mar 31, 2025 · Backend Development

Spring Boot vs Quarkus: Performance, Migration, and Real‑World Comparison

This article compares Spring Boot and Quarkus by outlining their architectures, running a reactive‑API benchmark with JMeter and VisualVM, presenting startup, build‑time, memory, CPU and response‑time results for JVM and native images, and offering a step‑by‑step guide for migrating Spring developers to Quarkus with code examples.

KubernetesMicroservicesNative Images
0 likes · 17 min read
Spring Boot vs Quarkus: Performance, Migration, and Real‑World Comparison
Architect's Tech Stack
Architect's Tech Stack
Mar 31, 2025 · Databases

Performance Comparison of Auto‑Increment, UUID, and Random Keys in MySQL

This article investigates MySQL's recommendation to avoid UUIDs and non‑sequential keys by benchmarking insert performance of auto‑increment, UUID, and random (snowflake) primary keys, analyzing their index structures, drawbacks, and concluding that sequential auto‑increment keys provide the best overall efficiency.

MySQLPerformanceauto_increment
0 likes · 9 min read
Performance Comparison of Auto‑Increment, UUID, and Random Keys in MySQL
Cognitive Technology Team
Cognitive Technology Team
Mar 31, 2025 · Backend Development

Understanding Spring Boot Annotations and Auto‑Configuration

This article explains how Spring Boot replaces extensive XML configuration with annotation‑driven setup, detailing the purpose and usage of core annotations such as @SpringBootApplication and @EnableAutoConfiguration, as well as conditional annotations like @ConditionalOnClass, @ConditionalOnBean, @ConditionalOnProperty, @Profile, and provides best‑practice recommendations.

annotationsauto-configurationjava
0 likes · 7 min read
Understanding Spring Boot Annotations and Auto‑Configuration
Architect's Guide
Architect's Guide
Mar 31, 2025 · Information Security

Design and Security Practices for Third‑Party API Authentication and Signing

This article presents a comprehensive design scheme for third‑party APIs, covering permission segmentation, AK/SK generation, signature workflow and rules, secure API endpoint design, anti‑replay mechanisms, token handling, TLS encryption, database schema, and implementation examples in Java.

API SecurityAccess KeyAuthentication
0 likes · 30 min read
Design and Security Practices for Third‑Party API Authentication and Signing
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 31, 2025 · Backend Development

Master YAVI: Powerful Java Bean Validation with Real‑World Code Samples

This article introduces the YAVI library, a type‑safe Java validation framework, and walks through its core features, custom constraints, nested and collection validation, conditional and group validation, fail‑fast mode, parameter validation with comprehensive code examples and output screenshots.

YAVIbackend-developmentdata validation
0 likes · 14 min read
Master YAVI: Powerful Java Bean Validation with Real‑World Code Samples
FunTester
FunTester
Mar 30, 2025 · Cloud Native

Mastering Kubernetes Resources with Java: EndpointSlice, PVC, PV, NetworkPolicy & More

This guide shows how to use the Fabric8 Kubernetes Java client to load, create, apply, list, watch, and delete core Kubernetes objects such as EndpointSlice, PersistentVolumeClaim, PersistentVolume, NetworkPolicy, PodDisruptionBudget, and various RBAC resources, with complete code examples for each operation.

APICloud NativeDevOps
0 likes · 12 min read
Mastering Kubernetes Resources with Java: EndpointSlice, PVC, PV, NetworkPolicy & More
IT Architects Alliance
IT Architects Alliance
Mar 29, 2025 · Information Security

Database Data Masking Techniques: SQL, Java, and MyBatis-Mate Sensitive-Jackson Comparison

The article explains why data masking is essential for protecting sensitive information, then details three implementation methods—SQL, Java (with open‑source plugins), and the MyBatis‑Mate‑Sensitive‑Jackson ORM extension—comparing their principles, code examples, advantages, limitations, performance, suitable scenarios, and cost considerations.

Information Securitydata maskingdatabase
0 likes · 17 min read
Database Data Masking Techniques: SQL, Java, and MyBatis-Mate Sensitive-Jackson Comparison
Java Captain
Java Captain
Mar 29, 2025 · Fundamentals

Java Regular Expressions: Syntax, Examples, and Usage

This article introduces Java regular expressions, covering basic syntax, character classes, logical operators, predefined tokens, quantifiers, practical code examples, common applications such as data validation, and performance optimization tips for effective string processing in Java.

MatcherString processingjava
0 likes · 11 min read
Java Regular Expressions: Syntax, Examples, and Usage
Java Captain
Java Captain
Mar 29, 2025 · Backend Development

Comparative Performance Analysis of Spring Boot and Quarkus for Cloud‑Native Java Microservices

This article compares Spring Boot and Quarkus by describing their architectures, presenting a reactive test application that uses PostgreSQL, detailing a JMeter performance test plan, and analyzing results such as startup time, build size, CPU, memory, and response latency to help developers decide when to migrate from Spring Boot to Quarkus.

KubernetesMicroservicesNative Images
0 likes · 14 min read
Comparative Performance Analysis of Spring Boot and Quarkus for Cloud‑Native Java Microservices
Architecture Digest
Architecture Digest
Mar 28, 2025 · Backend Development

One-Click Deployment of SpringBoot Projects Using IntelliJ IDEA and Docker

This tutorial demonstrates how to configure IntelliJ IDEA for remote one‑click deployment of a SpringBoot application with Docker, covering environment setup, SSH and Docker daemon configuration, Dockerfile creation, Maven build steps, firewall adjustments, and troubleshooting common deployment issues.

DevOpsDockerIntelliJ IDEA
0 likes · 8 min read
One-Click Deployment of SpringBoot Projects Using IntelliJ IDEA and Docker
Code Ape Tech Column
Code Ape Tech Column
Mar 28, 2025 · Backend Development

Applying the Adapter Pattern for Multi‑Cloud OSS Storage in a Spring Microservice

This article demonstrates how to use the Adapter pattern to abstract multiple OSS providers such as MinIO and Aliyun in a Spring microservice, configure the concrete adapters via Nacos dynamic configuration, and expose a unified upload API through a service and controller layer, complete with deployment and testing steps.

Adapter PatternMicroservicesNacos
0 likes · 10 min read
Applying the Adapter Pattern for Multi‑Cloud OSS Storage in a Spring Microservice
Su San Talks Tech
Su San Talks Tech
Mar 28, 2025 · Backend Development

Unlocking Java’s Synchronized: How the JVM Implements Locks

This article explains the low‑level implementation of Java's synchronized keyword, covering monitorenter/monitorexit bytecode, object header structures, Mark Word layouts, and the evolution from heavyweight locks to biased and lightweight locks with lock‑upgrade mechanisms.

JVMLockconcurrency
0 likes · 11 min read
Unlocking Java’s Synchronized: How the JVM Implements Locks
Architecture Digest
Architecture Digest
Mar 27, 2025 · Backend Development

Comparison of Java Microservice Frameworks and a Free Programmer Book Giveaway

This article introduces a free collection of programmer books and provides a detailed comparison of several Java microservice frameworks—including Spring Cloud, Vert.x, SparkJava, Micronaut, Javalin, and Quarkus—covering their resource consumption, startup times, memory usage, and suitability for lightweight or heavy‑weight applications.

PerformanceSpring CloudVert.x
0 likes · 6 min read
Comparison of Java Microservice Frameworks and a Free Programmer Book Giveaway
Cognitive Technology Team
Cognitive Technology Team
Mar 27, 2025 · Fundamentals

Understanding Tiered Compilation in the JVM

This article explains the JVM's tiered compilation mechanism, detailing the client (C1) and server (C2) JIT compilers, the five compilation levels, code cache organization, relevant JVM flags, and demonstrates method compilation lifecycle through illustrative Java code examples and log analysis.

Compilation LevelsJITJVM
0 likes · 13 min read
Understanding Tiered Compilation in the JVM
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 27, 2025 · Fundamentals

Understanding Time Slices, Hyper‑Threading, and Thread Context Switching

The article explains how modern multi‑core CPUs use time slices, hyper‑threading, and various types of context switches to manage multithreaded workloads, discusses the performance costs of switching, and offers practical optimization strategies such as lock‑free programming, appropriate thread counts, and coroutine usage.

CPU schedulingHyper-threadingcontext switching
0 likes · 9 min read
Understanding Time Slices, Hyper‑Threading, and Thread Context Switching
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 26, 2025 · Backend Development

Global Exception Handling in SpringBoot: Custom Handlers, Enums, and Response Wrappers

This article explains how to implement unified global exception handling in SpringBoot by using @ControllerAdvice with @ExceptionHandler, defining a base error interface, custom enums, exception classes, and a standardized response wrapper, while also providing test code examples and best‑practice recommendations.

CustomExceptionGlobalExceptionSpringBoot
0 likes · 10 min read
Global Exception Handling in SpringBoot: Custom Handlers, Enums, and Response Wrappers
Architect's Guide
Architect's Guide
Mar 26, 2025 · Fundamentals

Avoiding the Fixed‑Size List Pitfall of Arrays.asList in Java

This article explains why using Arrays.asList to convert an array into a List can produce an immutable, fixed‑size list that throws UnsupportedOperationException on add or remove operations, illustrates the issue with real‑world incident details, analyzes the internal implementation, and provides a safe replacement using java.util.ArrayList.

ArrayListArrays.asListCollections
0 likes · 9 min read
Avoiding the Fixed‑Size List Pitfall of Arrays.asList in Java
Code Ape Tech Column
Code Ape Tech Column
Mar 25, 2025 · Backend Development

Improving MVC Three‑Tier Architecture with a Manager Layer

This article explains the classic MVC three‑tier architecture, identifies its drawbacks such as bloated service code and long‑running transactions, and proposes adding a Manager layer to separate generic business processing, improve code maintainability, and enhance performance in Java backend systems.

Backend ArchitectureMVCService Layer
0 likes · 9 min read
Improving MVC Three‑Tier Architecture with a Manager Layer
Java Architect Essentials
Java Architect Essentials
Mar 25, 2025 · Artificial Intelligence

DeepSeek4j 1.4: A Java Framework for Seamless DeepSeek AI Integration with Full Chain‑of‑Thought and Streaming Support

The article introduces DeepSeek4j 1.4, a Java‑centric framework that overcomes Spring AI’s limitations by preserving DeepSeek’s chain‑of‑thought, supporting streaming output, and offering a simple Spring Boot starter with reactive, configurable, and ready‑to‑use APIs for AI developers.

AIDeepSeekLibrary
0 likes · 5 min read
DeepSeek4j 1.4: A Java Framework for Seamless DeepSeek AI Integration with Full Chain‑of‑Thought and Streaming Support
Cognitive Technology Team
Cognitive Technology Team
Mar 25, 2025 · Fundamentals

Understanding the Java Memory Model and Its Interaction with Hardware Memory Architecture

This article explains how the Java Memory Model defines the interaction between threads, thread stacks, and the heap, illustrates these concepts with diagrams and example code, and discusses how modern hardware memory architecture, caches, and CPU registers affect visibility and race conditions in concurrent Java programs.

HeapMemory ModelThread
0 likes · 11 min read
Understanding the Java Memory Model and Its Interaction with Hardware Memory Architecture
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 25, 2025 · Information Security

Designing Secure Third‑Party API Interfaces: Authentication, Signature, and Best Practices

This guide details a secure third‑party API design, covering API key generation, request signing with timestamps and nonces, permission division, CRUD endpoint definitions, unified response structures, and best‑practice security measures such as HTTPS, IP whitelisting, rate limiting, logging, and idempotency handling.

API SecurityAuthenticationBackend
0 likes · 29 min read
Designing Secure Third‑Party API Interfaces: Authentication, Signature, and Best Practices
Java Web Project
Java Web Project
Mar 25, 2025 · Backend Development

Simplify Complex File Downloads with a One‑Annotation Spring Library

This article walks through the design and implementation of a Spring‑based download library that lets developers download files, HTTP resources, or arbitrary objects with a single @Download annotation, covering the problem setup, reactive architecture, source abstraction, concurrency handling, compression, response writing, and the lessons learned.

DownloadFile CompressionWebFlux
0 likes · 18 min read
Simplify Complex File Downloads with a One‑Annotation Spring Library
JD Tech
JD Tech
Mar 24, 2025 · Backend Development

SQL Coloring Plugin for MyBatis: Design, Implementation, and Usage Guide

This article describes a lightweight, non‑intrusive MyBatis plugin that adds identifiable coloring comments to SQL statements—embedding statementId, pFinderId, and optional custom data—to simplify SQL source tracing, improve slow‑SQL analysis, and support SELECT, INSERT, UPDATE, DELETE operations with minimal performance overhead.

BackendPerformancejava
0 likes · 12 min read
SQL Coloring Plugin for MyBatis: Design, Implementation, and Usage Guide
Top Architect
Top Architect
Mar 24, 2025 · Backend Development

Encapsulating EasyExcel for Simplified Import/Export in Spring Boot Applications

This article demonstrates how to wrap EasyExcel in a SpringBoot‑MyBatis‑Plus project, providing clear steps, code examples, and solutions to common issues such as date conversion and POI version compatibility, enabling developers to import and export Excel data with minimal effort.

Excel Import Exportbackend-developmenteasyexcel
0 likes · 18 min read
Encapsulating EasyExcel for Simplified Import/Export in Spring Boot Applications
Architect's Tech Stack
Architect's Tech Stack
Mar 24, 2025 · Backend Development

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

This article explains how to replace Spring Boot's default embedded Tomcat with the Undertow container, details the configuration steps, and presents benchmark results showing Undertow's superior throughput and lower memory usage under high‑concurrency workloads, making it a better choice for performance‑critical applications.

PerformanceTomcatWeb server
0 likes · 6 min read
Replacing Tomcat with Undertow in Spring Boot: Configuration and Performance Comparison
Code Ape Tech Column
Code Ape Tech Column
Mar 24, 2025 · Backend Development

Optimizing Large-Scale Excel Import/Export in Java with EasyExcel, Generics, and Thread Pools

This article explains how to efficiently handle massive Excel import and export tasks in Java by using EasyExcel, Java 8 functional programming, reflection, generics, thread‑pool batching, and custom ReadListener implementations, while also providing Maven dependencies and reusable export utilities.

Excel ImportGenericseasyexcel
0 likes · 10 min read
Optimizing Large-Scale Excel Import/Export in Java with EasyExcel, Generics, and Thread Pools
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 24, 2025 · Backend Development

Using Spring's ResponseBodyEmitter for Real‑Time Log Streaming

This article explains how Spring Framework's ResponseBodyEmitter enables real‑time, chunked HTTP responses for use cases such as log streaming, progress updates, chat, and AI output, detailing its advantages over SSE, usage scenarios, core methods, a complete controller example, and best‑practice considerations.

BackendResponseBodyEmitterStreaming
0 likes · 9 min read
Using Spring's ResponseBodyEmitter for Real‑Time Log Streaming
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 24, 2025 · Fundamentals

What’s New in Java 24? Explore 8 Game‑Changing Preview Features

This article announces the updated Spring Boot 3 case‑study e‑book with 108 examples and then dives into Java 24’s latest preview features—enhanced pattern matching, flexible constructors, module import, single‑file source, custom stream collectors, Vector API, scoped values, and structured concurrency—complete with code snippets and links.

PreviewFeaturesconcurrencyjava
0 likes · 10 min read
What’s New in Java 24? Explore 8 Game‑Changing Preview Features
Lobster Programming
Lobster Programming
Mar 24, 2025 · Backend Development

Boost Java File Copy Performance: 5 Proven Methods Compared

Learn five Java file copy techniques—from basic streams to NIO Files.copy, FileChannel, and RandomAccessFile—detailing their implementations, performance differences, and ideal use cases for small, large, and massive files, helping you choose the most efficient method for your project.

BufferedStreamFile I/OFileChannel
0 likes · 6 min read
Boost Java File Copy Performance: 5 Proven Methods Compared
Cognitive Technology Team
Cognitive Technology Team
Mar 23, 2025 · Fundamentals

Swapping Two Variables in Java Without a Temporary Variable

This tutorial explains how to exchange the values of two Java variables without using a temporary variable, covering three techniques—arithmetic addition/subtraction, multiplication/division, and bitwise XOR—along with complete code examples, step‑by‑step explanations, output results, and discussion of each method’s advantages, limitations, and appropriate use cases.

ArithmeticProgramming tutorialbitwise operations
0 likes · 7 min read
Swapping Two Variables in Java Without a Temporary Variable
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 23, 2025 · Backend Development

Mastering JSON Configuration in Spring Boot 3: From CLI to Custom Property Sources

This article explains multiple ways to load JSON configuration into Spring Boot 3 applications, covering command‑line arguments, @PropertySource with custom factories, ApplicationContextInitializer, nested JSON handling, and direct @Bean approaches, complete with code examples and troubleshooting tips.

ApplicationContextInitializerJSON configurationPropertySource
0 likes · 8 min read
Mastering JSON Configuration in Spring Boot 3: From CLI to Custom Property Sources
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 23, 2025 · Backend Development

Design and Implementation of a Flexible Download Library for Spring Applications

This article explains how to build a Spring‑based download library that uses annotations to simplify downloading files, HTTP resources, or custom objects, supports both WebMvc and WebFlux, handles concurrency, compression, and event‑driven logging, and provides a modular architecture for extensibility.

DownloadFile Compressionannotations
0 likes · 15 min read
Design and Implementation of a Flexible Download Library for Spring Applications
The Dominant Programmer
The Dominant Programmer
Mar 23, 2025 · Fundamentals

Elegant Ways to Apply Design Patterns in Real-World Java Projects

Design patterns provide reusable solutions for common Java development challenges; this article explains their core concepts, categorizes creational, structural, and behavioral patterns, links them to SOLID principles, offers real‑world application scenarios, best‑practice guidelines, common pitfalls, and concrete code examples across e‑commerce, logging, and game development.

Behavioral PatternsCreational PatternsDesign Patterns
0 likes · 14 min read
Elegant Ways to Apply Design Patterns in Real-World Java Projects
IT Services Circle
IT Services Circle
Mar 22, 2025 · Backend Development

Nine Ways to Implement Asynchronous Programming in Java

This article introduces nine different approaches to achieve asynchronous programming in Java, including using Thread and Runnable, Executors thread pools, custom thread pools, Future and Callable, CompletableFuture, ForkJoinPool, Spring @Async, message queues, and Hutool's ThreadUtil, with code examples and usage tips.

AsynchronousCompletableFutureExecutor
0 likes · 15 min read
Nine Ways to Implement Asynchronous Programming in Java
Top Architect
Top Architect
Mar 22, 2025 · Artificial Intelligence

Spring AI: Intelligent Development Trend for Java Developers

The article introduces Spring AI as an emerging tool for Java developers, explains its background, goals, and core components such as data processing, model training, deployment and monitoring, showcases application scenarios like NLP, image processing, recommendation systems and predictive analytics, and also includes promotional offers for AI resources and community groups.

Artificial IntelligenceModel Deploymentjava
0 likes · 17 min read
Spring AI: Intelligent Development Trend for Java Developers
Java Tech Enthusiast
Java Tech Enthusiast
Mar 22, 2025 · Backend Development

9 Ways to Implement Asynchronous Programming in Java

The article outlines nine practical approaches for asynchronous programming in Java—including low‑level Thread/Runnable, managed Executors and custom thread pools, Future/Callable, CompletableFuture, ForkJoinPool, Spring’s @Async annotation, message‑queue integration, and the Hutool ThreadUtil utility—offering a comprehensive toolbox for scalable, non‑blocking execution.

AsynchronousCompletableFutureExecutor
0 likes · 13 min read
9 Ways to Implement Asynchronous Programming in Java
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 22, 2025 · Artificial Intelligence

Spring AI: An Overview of Intelligent Development Trends

This article introduces Spring AI, a Spring ecosystem module that simplifies building, training, and deploying AI applications for Java developers, covering its background, goals, core components such as data processing, model training, deployment, practical code examples, use cases, advantages, challenges, and future outlook.

Artificial IntelligenceModel Deploymentjava
0 likes · 12 min read
Spring AI: An Overview of Intelligent Development Trends
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 22, 2025 · Backend Development

Mastering If‑Else: 9 Proven Techniques to Simplify Java Logic

This article presents nine practical techniques—including the Strategy pattern, lambda maps, Optional chaining, ternary operators, enums, early returns, condition merging, and rule engines—to replace cumbersome if‑else chains in Java, offering cleaner, more maintainable and performant code for Spring Boot developers.

BackendCode Optimizationif-else
0 likes · 9 min read
Mastering If‑Else: 9 Proven Techniques to Simplify Java Logic
Java Captain
Java Captain
Mar 22, 2025 · Fundamentals

Understanding the Facade Design Pattern and Its Application in a Spring Boot Travel Booking System

This article explains the Facade design pattern, illustrating its purpose of simplifying complex systems with a real‑world TV remote analogy, detailing its benefits, UML structure, and a comprehensive Spring Boot example that integrates flight, hotel, and package services through a BookingFacade to streamline travel booking logic.

Design PatternsFacade Patternjava
0 likes · 13 min read
Understanding the Facade Design Pattern and Its Application in a Spring Boot Travel Booking System
FunTester
FunTester
Mar 22, 2025 · Cloud Native

Master Kubernetes ReplicationController, ConfigMap, and Secret with Java Client

This guide demonstrates how to use the Fabric8 Kubernetes Java client to load, create, retrieve, update, scale, watch, and delete ReplicationController, ConfigMap, and Secret resources, providing complete code examples and step‑by‑step commands for managing these objects across namespaces in a Kubernetes cluster.

ConfigMapFabric8Kubernetes
0 likes · 14 min read
Master Kubernetes ReplicationController, ConfigMap, and Secret with Java Client
The Dominant Programmer
The Dominant Programmer
Mar 22, 2025 · Backend Development

Java Performance Optimization: From Basics to Mastery, Techniques to Make Your Code Fly

This article explains why Java performance matters, outlines fundamental principles, and provides concrete code, memory, concurrency, I/O, and database optimization techniques, along with profiling tools, common pitfalls, real‑world case studies, and emerging trends to help developers build faster, more stable applications.

Database TuningMemory ManagementPerformance Optimization
0 likes · 8 min read
Java Performance Optimization: From Basics to Mastery, Techniques to Make Your Code Fly
Java Captain
Java Captain
Mar 21, 2025 · Backend Development

Request Merging and Batch Processing in Java Spring Boot to Reduce Database Connections

This article explains how to merge multiple user‑detail requests into a single database query using a blocking queue, scheduled thread pool, and CompletableFuture in Spring Boot, providing code examples, a high‑concurrency test, and discussion of trade‑offs such as added latency and timeout handling.

Batch ProcessingCompletableFutureQueue
0 likes · 13 min read
Request Merging and Batch Processing in Java Spring Boot to Reduce Database Connections
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 21, 2025 · Backend Development

Mastering Parameter Validation in Spring Boot with JSR‑303 & Hibernate Validator

This guide explains how to use JSR‑303 and Hibernate Validator in Java Spring Boot to perform comprehensive parameter validation, covering basic annotations, global exception handling, group validation, nested object checks, fast‑fail configuration, and custom validation rules, with practical code examples and testing procedures.

Hibernate ValidatorJSR-303Parameter Validation
0 likes · 15 min read
Mastering Parameter Validation in Spring Boot with JSR‑303 & Hibernate Validator
Java Backend Full-Stack
Java Backend Full-Stack
Mar 21, 2025 · Interview Experience

Only Four Interviews After a Layoff: My Takeaways

After being laid off, the author interviewed only four companies, detailing each interview’s technical questions—from Spring Cloud and MySQL to concurrency and design patterns—and reflecting on the interviewers’ professionalism, the relevance of his skill set, and the importance of matching resumes to job requirements.

MySQLSpringCloudconcurrency
0 likes · 6 min read
Only Four Interviews After a Layoff: My Takeaways
Architecture Digest
Architecture Digest
Mar 21, 2025 · Artificial Intelligence

Spring AI: Emerging Trends in Intelligent Development

This article introduces Spring AI, explains its background, goals, core components such as data processing, model training, deployment and monitoring, showcases practical use cases like NLP, image processing and recommendation systems, and discusses its advantages, challenges, and future outlook for Java developers.

Artificial IntelligenceModel Deploymentdata-processing
0 likes · 16 min read
Spring AI: Emerging Trends in Intelligent Development
DevOps Cloud Academy
DevOps Cloud Academy
Mar 21, 2025 · Cloud Native

Building a Jenkins CI/CD Pipeline for Java Applications with Docker and Helm

This article provides a step‑by‑step guide to creating a Jenkins CI/CD pipeline for Java applications, covering environment setup, required plugins, project structure, CI stages such as code checkout, dependency installation, testing, SonarQube scanning, Docker image building and pushing, as well as CD stages including Helm chart creation, deployment, health checks, rollback, and maintenance‑window management.

CI/CDDockerJenkins
0 likes · 11 min read
Building a Jenkins CI/CD Pipeline for Java Applications with Docker and Helm
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 21, 2025 · Fundamentals

Master Java Enums: From Basics to Advanced Real-World Patterns

This article introduces a Spring Boot 3 case collection and provides a comprehensive guide to Java enums, covering their definition, type safety, custom values, interface implementation, abstract methods, generics, pattern matching, functional programming, collection usage, and sealed‑class integration with clear code examples.

enumjavaprogramming
0 likes · 9 min read
Master Java Enums: From Basics to Advanced Real-World Patterns
Architect
Architect
Mar 20, 2025 · Artificial Intelligence

Building a Gitee AI Repository Assistant with MCP and LangChain4j

This article explains the Model Context Protocol (MCP) introduced by Gitee, shows how Java developers can integrate it using LangChain4j, compares stdio and SSE transport modes, provides full code samples, installation steps, and demonstrates a practical AI‑powered repository assistant.

AICode AutomationGitee
0 likes · 9 min read
Building a Gitee AI Repository Assistant with MCP and LangChain4j
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Mar 20, 2025 · Backend Development

Comprehensive Guide to Apache Zookeeper: Architecture, Use Cases, and Commands

This article provides an in‑depth overview of Apache Zookeeper, covering its core concepts, common application scenarios such as pub/sub, configuration management and naming services, detailed architecture including znodes and node types, the watch mechanism, ZAB consensus protocol, and practical usage examples with Maven dependencies, Java client code, and command‑line operations.

Coordination ServiceDistributed SystemsZAB Protocol
0 likes · 9 min read
Comprehensive Guide to Apache Zookeeper: Architecture, Use Cases, and Commands
Su San Talks Tech
Su San Talks Tech
Mar 20, 2025 · Backend Development

How to Crush the One Billion Row Challenge: Java Performance Secrets Revealed

This article walks through the One Billion Row Challenge, explaining the problem, baseline Java solution, and a series of deep performance optimizations—from parallel streams and custom hash tables to unsafe memory access and SIMD techniques—that shrink execution time from minutes to under two seconds.

BenchmarkingLarge Data ProcessingOne Billion Row Challenge
0 likes · 21 min read
How to Crush the One Billion Row Challenge: Java Performance Secrets Revealed
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Mar 20, 2025 · Backend Development

Why Does Pointer Collision Cause Concurrency Bugs in Java and How to Fix It?

Pointer collision is an efficient memory allocation technique that can trigger severe concurrency problems in multithreaded Java environments, and this article explains the underlying causes, illustrates conflict scenarios, and presents common remedies such as CAS (Compare‑And‑Swap) and TLAB (Thread‑Local Allocation Buffer) with sample code.

CASTLABjava
0 likes · 6 min read
Why Does Pointer Collision Cause Concurrency Bugs in Java and How to Fix It?
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 20, 2025 · Backend Development

Refactoring Spring MVC Controller Layer: Unified Response Structure, Validation, and Exception Handling

This article explains how to refactor the Spring MVC Controller layer by unifying response structures, using ResponseBodyAdvice for automatic wrapping, handling parameter validation with JSR‑303, and implementing custom exceptions with centralized exception handling to simplify and standardize API responses.

Exception HandlingSpring MVCjava
0 likes · 17 min read
Refactoring Spring MVC Controller Layer: Unified Response Structure, Validation, and Exception Handling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 20, 2025 · Backend Development

Master REST-assured: Real‑World Spring Boot 3 API Testing Guide

Explore a rich Spring Boot 3 case collection while learning step‑by‑step how to use REST‑assured for API testing, covering dependency setup, GET/POST/PUT/DELETE requests, authentication, XML validation, file upload/download, and advanced features, with full code examples and a promise of ongoing updates.

API testingRest-Assuredbackend-development
0 likes · 8 min read
Master REST-assured: Real‑World Spring Boot 3 API Testing Guide
FunTester
FunTester
Mar 20, 2025 · Cloud Native

Kubernetes Java Client Initialization and DSL Usage Guide

This article demonstrates how to initialize a Kubernetes Java client, configure it with default or custom kubeconfig, and provides comprehensive DSL examples for managing Pods, Services, Deployments, ReplicaSets, including creation, listing, updating, watching, port forwarding, and cleanup, with full code snippets throughout.

DevOpsFabric8Kubernetes
0 likes · 17 min read
Kubernetes Java Client Initialization and DSL Usage Guide
21CTO
21CTO
Mar 19, 2025 · Fundamentals

What’s New in Java 24? AI‑Ready Features, Post‑Quantum Security, and More

Oracle’s Java 24 release introduces AI‑focused enhancements such as the Vector API, new post‑quantum cryptography support with ML‑KEM and ML‑DSA, language improvements like pattern‑matching for primitives, and beginner‑friendly features, positioning Java for modern development and long‑term support.

AIJEPProgramming Language
0 likes · 7 min read
What’s New in Java 24? AI‑Ready Features, Post‑Quantum Security, and More
Lin is Dream
Lin is Dream
Mar 19, 2025 · Information Security

Master Encryption: Symmetric, Asymmetric, Certificates & Code Samples Explained

This article explains common encryption and signing algorithms—including AES, SM4, RSA2, and SM2—covers key representations in hex and Base64, details digital certificate structures, CSR application, TLS usage scenarios, OpenSSL commands for PEM conversion, and provides Java and JavaScript code examples for secure communication.

NGINXOpenSSLTLS
0 likes · 27 min read
Master Encryption: Symmetric, Asymmetric, Certificates & Code Samples Explained
Alibaba Cloud Native
Alibaba Cloud Native
Mar 19, 2025 · Artificial Intelligence

Mastering Retrieval‑Augmented Generation with Spring AI: A Complete Guide

This article explains the Retrieval‑Augmented Generation (RAG) paradigm, walks through its four core steps, and provides a detailed Spring AI implementation—including configuration, vector storage, REST controller, multi‑query expansion, query rewriting, document joining, and error handling—plus best‑practice recommendations for production deployments.

AIRAGRetrieval Augmented Generation
0 likes · 23 min read
Mastering Retrieval‑Augmented Generation with Spring AI: A Complete Guide
Java Tech Enthusiast
Java Tech Enthusiast
Mar 19, 2025 · Backend Development

Java Backend Interview Topics: Thread‑Safe Collections, JVM Memory, Optimistic Lock, Caching, and More

The article reviews key Java backend interview topics—including thread‑safe collections, JVM memory layout and heap tuning, Full GC troubleshooting, Java 8 features, optimistic locking, stock‑over‑sell handling with Redis, MySQL scaling, cache‑consistency patterns, anti‑bot safeguards, and Bloom filters—while noting JD’s recent 30% salary hike for algorithm engineers.

BackendJVMconcurrency
0 likes · 22 min read
Java Backend Interview Topics: Thread‑Safe Collections, JVM Memory, Optimistic Lock, Caching, and More
Code Ape Tech Column
Code Ape Tech Column
Mar 19, 2025 · Backend Development

ExecutorService vs CompletionService: In‑Depth Comparison and Practical Usage in Java

This article explains the differences between ExecutorService and CompletionService, demonstrates how to replace a simple Future‑based approach with CompletionService for faster result retrieval, analyzes the underlying source code, and outlines typical use‑cases such as load‑balancing and early‑return patterns in concurrent Java applications.

AsyncCompletionServiceExecutorService
0 likes · 12 min read
ExecutorService vs CompletionService: In‑Depth Comparison and Practical Usage in Java
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 19, 2025 · Backend Development

Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle

This article provides a detailed walkthrough of Spring and Spring Boot's core concepts, explains the bean container refresh process, and enumerates all major extension interfaces—including ApplicationContextInitializer, BeanDefinitionRegistryPostProcessor, BeanFactoryPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, various *Aware interfaces, @PostConstruct, InitializingBean, FactoryBean, SmartInitializingSingleton, CommandLineRunner, DisposableBean, and ApplicationListener—accompanied by code samples and usage scenarios.

BeanLifecycleDependencyInjectionExtensionPoints
0 likes · 16 min read
Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle
Lobster Programming
Lobster Programming
Mar 19, 2025 · Fundamentals

Handle vs Direct Pointer Access in the JVM: Which Is Faster?

An in‑depth look at how the JVM stores object references, comparing handle‑based access with direct pointer access, highlighting their performance trade‑offs, memory overhead, and impact on garbage collection to help developers choose the most suitable approach for their applications.

JVMMemory Managementdirect pointer
0 likes · 3 min read
Handle vs Direct Pointer Access in the JVM: Which Is Faster?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 19, 2025 · Backend Development

Master Real-Time Updates with Spring Boot 3: SSE + fetch-event-source Tutorial

This article introduces a continuously updated Spring Boot 3 case collection and provides a step‑by‑step tutorial on implementing Server‑Sent Events using both the native EventSource API and the fetch‑event‑source library, covering backend controller code, frontend Vue integration, and practical code examples.

Real-TimeSSEVue
0 likes · 9 min read
Master Real-Time Updates with Spring Boot 3: SSE + fetch-event-source Tutorial
Java Architect Essentials
Java Architect Essentials
Mar 18, 2025 · Backend Development

Optimizing Spring Boot Startup Time: Interventions, Configuration Tweaks, and Performance Tips

This article provides a comprehensive guide to speeding up Spring Boot application startup by explaining configuration principles, code‑level interventions, lazy loading, dependency reduction, auto‑configuration exclusion, logging adjustments, compile‑time optimizations, and caching strategies, all illustrated with practical Java examples.

Performance Tuningbackend-developmentjava
0 likes · 30 min read
Optimizing Spring Boot Startup Time: Interventions, Configuration Tweaks, and Performance Tips
Lin is Dream
Lin is Dream
Mar 18, 2025 · Information Security

Master OpenSSL on CentOS: Install, Upgrade, and Generate RSA/SM2 Keys

This article explains OpenSSL’s origins, its role in encryption on CentOS, common use cases such as web servers and database security, provides step‑by‑step installation and upgrade commands, and demonstrates how to generate RSA, SM2, AES, and SM4 keys via the OpenSSL command line and Java alternatives.

CentOSOpenSSLRSA
0 likes · 8 min read
Master OpenSSL on CentOS: Install, Upgrade, and Generate RSA/SM2 Keys
Architecture Digest
Architecture Digest
Mar 18, 2025 · Fundamentals

Understanding Java foreach Loop, HashMap Iteration, and ConcurrentModificationException

This article explains how Java's foreach loop is implemented using iterators, demonstrates the bytecode differences between array and collection traversal, analyzes why modifying a HashMap during foreach can trigger ConcurrentModificationException, and shows the correct way to safely modify collections with an iterator.

CollectionsConcurrentModificationExceptionHashMap
0 likes · 11 min read
Understanding Java foreach Loop, HashMap Iteration, and ConcurrentModificationException
Java Captain
Java Captain
Mar 18, 2025 · Backend Development

Refactoring Spring MVC Controllers: Unified Response Structure, Parameter Validation, and Centralized Exception Handling

This article explains how to refactor the Spring MVC Controller layer by standardizing response structures, implementing unified response wrapping via ResponseBodyAdvice, handling String conversion issues, applying JSR‑303 parameter validation, creating custom validation rules, and defining custom exceptions with centralized exception handling to simplify controller code.

ControllerParameter ValidationSpring MVC
0 likes · 17 min read
Refactoring Spring MVC Controllers: Unified Response Structure, Parameter Validation, and Centralized Exception Handling
IT Services Circle
IT Services Circle
Mar 18, 2025 · Backend Development

Why Debugging a Simple ConcurrentLinkedQueue Triggers a NullPointerException in IntelliJ IDEA

The article recounts a puzzling case where a minimal Java program using ConcurrentLinkedQueue runs fine normally but throws a NullPointerException when debugged in IntelliJ IDEA, explains the underlying cause involving the IDE's automatic toString invocation, and shows how to disable the offending settings.

ConcurrentLinkedQueueIntelliJ IDEAjava
0 likes · 9 min read
Why Debugging a Simple ConcurrentLinkedQueue Triggers a NullPointerException in IntelliJ IDEA
Architect's Must-Have
Architect's Must-Have
Mar 18, 2025 · Backend Development

Why Netty Uses FastThreadLocal and How It Outperforms JDK ThreadLocal

This article explains the motivation behind Netty's FastThreadLocal, details its internal design using an indexed array to avoid hash collisions, analyzes the core source code of InternalThreadLocalMap, FastThreadLocalThread, and FastThreadLocal, and discusses performance implications and reclamation strategies.

FastThreadLocalMemory ManagementNetty
0 likes · 10 min read
Why Netty Uses FastThreadLocal and How It Outperforms JDK ThreadLocal
Tencent Cloud Developer
Tencent Cloud Developer
Mar 18, 2025 · Fundamentals

Java vs Go: Syntax, OOP, Error Handling, Concurrency, Garbage Collection and Performance Comparison

The article compares Java and Go across syntax, variable declaration, object‑oriented features, error handling, concurrency models, garbage collection, resource usage, and ecosystem maturity, concluding that Go offers simpler code, lightweight concurrency and lower overhead, while Java provides a richer library ecosystem and more mature tooling, making the choice dependent on project requirements.

Error HandlingGarbage CollectionGo
0 likes · 26 min read
Java vs Go: Syntax, OOP, Error Handling, Concurrency, Garbage Collection and Performance Comparison
Programmer Xu Shu
Programmer Xu Shu
Mar 17, 2025 · Backend Development

From CRUD to AI: How Java Backend Developers Can Future‑Proof Their Careers

Amid the AI wave, Java backend developers focused solely on CRUD face replacement by automation, but by deepening business expertise, enhancing soft skills, gaining project experience, and expanding into AI and new technologies, they can transform their roles and stay valuable in the evolving software industry.

AI integrationcareer advicejava
0 likes · 8 min read
From CRUD to AI: How Java Backend Developers Can Future‑Proof Their Careers
Architecture Digest
Architecture Digest
Mar 17, 2025 · Backend Development

Dynamic Service Provider Switching with spring-smart-di and AutowiredProxySPI

This article explains how to dynamically switch between multiple service providers in a Spring backend by configuring identifiers, using spring-smart-di's AutowiredProxySPI and related annotations, and provides step‑by‑step code examples for seamless, runtime‑configurable dependency injection.

Dynamic Configurationdependency-injectionjava
0 likes · 9 min read
Dynamic Service Provider Switching with spring-smart-di and AutowiredProxySPI
Lin is Dream
Lin is Dream
Mar 17, 2025 · Backend Development

How Web Containers Stay Alive: Inside Java Servlets, Netty, and Sockets

Web containers, such as Tomcat, keep running by continuously listening on network ports with socket servers and thread pools, handling I/O requests; this article explains the role of the main function, servlet lifecycle, Netty’s NIO framework, and why WebFlux‑based gateways outperform traditional Tomcat setups.

NettyServletjava
0 likes · 5 min read
How Web Containers Stay Alive: Inside Java Servlets, Netty, and Sockets