The Dominant Programmer
Author

The Dominant Programmer

Resources and tutorials for programmers' advanced learning journey. Advanced tracks in Java, Python, and C#. Blog: https://blog.csdn.net/badao_liumang_qizhi

199
Articles
0
Likes
917
Views
0
Comments
Recent Articles

Latest from The Dominant Programmer

100 recent articles max
The Dominant Programmer
The Dominant Programmer
Mar 30, 2024 · Backend Development

How to Add Text or Image Watermarks Using Java Graphics2D

This guide walks through reading local or network images in Java, creating a Graphics2D canvas, and applying either a red semi‑transparent text watermark or a scaled image watermark at pixel‑specified coordinates before saving the result as a PNG file.

BufferedImageGraphics2DImageProcessing
0 likes · 5 min read
How to Add Text or Image Watermarks Using Java Graphics2D
The Dominant Programmer
The Dominant Programmer
Mar 30, 2024 · Backend Development

Implement OCR in Spring Boot with Tess4J for Image Text Recognition

This guide shows how to integrate the open‑source Tesseract OCR engine into a Spring Boot application using the Tess4J Java wrapper, covering Chinese language data setup, Maven dependency configuration, bean creation, service implementation, and a unit test to verify image text extraction.

OCRSpring BootTess4j
0 likes · 6 min read
Implement OCR in Spring Boot with Tess4J for Image Text Recognition
The Dominant Programmer
The Dominant Programmer
Feb 20, 2024 · Backend Development

Implementing Retry Logic for Third‑Party APIs with Spring Retry in Spring Boot

This guide shows how to add a retry mechanism to Spring Boot applications using Spring Retry, covering dependency setup, enabling @EnableRetry, defining @Retryable with custom back‑off settings, handling failures with @Recover, writing unit tests, and observing behavior with different retry counts and exception filters.

@EnableRetry@RetryableJava
0 likes · 6 min read
Implementing Retry Logic for Third‑Party APIs with Spring Retry in Spring Boot
The Dominant Programmer
The Dominant Programmer
Feb 20, 2024 · Backend Development

How to Manually Switch Multiple Data Sources (MySQL, SQL Server) in Spring Boot with Dynamic‑Datasource

This guide shows how to configure Spring Boot, MyBatis‑Plus and the dynamic‑datasource starter to connect to MySQL, SQL Server and PostgreSQL, add and remove data sources at runtime, verify their availability, and perform manual switching using a utility class and functional interfaces.

HikariCPJavaMultiple DataSource
0 likes · 14 min read
How to Manually Switch Multiple Data Sources (MySQL, SQL Server) in Spring Boot with Dynamic‑Datasource
The Dominant Programmer
The Dominant Programmer
Feb 20, 2024 · Backend Development

Integrating Elasticsearch with Spring Boot for Full CRUD Operations

This guide walks through integrating Spring Data Elasticsearch into a Spring Boot application, covering entity mapping annotations, repository creation, service layer implementation, and unit tests to perform create, read, update, delete, and fuzzy search operations on Elasticsearch indices.

CRUDElasticsearchJava
0 likes · 8 min read
Integrating Elasticsearch with Spring Boot for Full CRUD Operations
The Dominant Programmer
The Dominant Programmer
Feb 19, 2024 · Backend Development

How to Use SpringBoot and Modbus4j for Modbus TCP Data Reading

This article walks through setting up a SpringBoot project with the Modbus4j library to communicate with Modbus TCP devices, covering repository configuration, Maven dependencies, utility class implementation, single and batch reads, scheduled tasks, and troubleshooting common function‑code errors.

JavaModbus TCPModbus4j
0 likes · 11 min read
How to Use SpringBoot and Modbus4j for Modbus TCP Data Reading