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

192
Articles
0
Likes
529
Views
0
Comments
Recent Articles

Latest from The Dominant Programmer

100 recent articles max
The Dominant Programmer
The Dominant Programmer
Jun 6, 2026 · Backend Development

Business Trace Logging Design Pattern: From Theory to Practice

The article explains a structured business‑trace logging pattern that records each critical step of a workflow as a node, stores logs in a dedicated MySQL database, aggregates them by a business number, and presents them in a sortable, color‑coded front‑end for both developers and business users.

JavaMySQLRocketMQ
0 likes · 15 min read
Business Trace Logging Design Pattern: From Theory to Practice
The Dominant Programmer
The Dominant Programmer
Jun 6, 2026 · Backend Development

Mockito Unit Testing: A Complete Guide to Testing Java Service Layers

This article explains unit testing fundamentals, compares unit and integration tests, introduces Mockito's core annotations and APIs, walks through a full order‑resend example with detailed test cases, and covers best‑practice methodologies, advanced techniques, common pitfalls, naming conventions, and how to run the tests.

Given-When-ThenJUnit5Java
0 likes · 21 min read
Mockito Unit Testing: A Complete Guide to Testing Java Service Layers
The Dominant Programmer
The Dominant Programmer
Jun 3, 2026 · Backend Development

Building a LangGraph‑Style YAML DSL Workflow Engine with Spring AI

This article walks through constructing a lightweight YAML‑based DSL workflow engine on Spring AI 1.1.2 and Ollama, showing how to define state graphs, register tools, parse and execute nodes—including conditional edges, while loops, and parallel branches—without external orchestration tools.

LangGraphSpring AIWorkflow Engine
0 likes · 17 min read
Building a LangGraph‑Style YAML DSL Workflow Engine with Spring AI
The Dominant Programmer
The Dominant Programmer
Jun 3, 2026 · Backend Development

Building a Minimal Spring AI Tool Chain for Multi-Tool Calls

This tutorial demonstrates how to integrate Spring AI with Ollama, define @Tool‑annotated weather and translation utilities, register them for automatic chaining, and let a large language model answer queries like “fetch Beijing weather and reply in English” using a concise end‑to‑end example.

JavaOllamaSpring AI
0 likes · 8 min read
Building a Minimal Spring AI Tool Chain for Multi-Tool Calls
The Dominant Programmer
The Dominant Programmer
May 28, 2026 · Artificial Intelligence

Spring AI RAG: Concepts, Hands‑On Implementation, and Full Code

This article explains the limitations of large language models, introduces Retrieval‑Augmented Generation (RAG) and its four‑step workflow, details Spring AI's RAG components and vector‑store options, and provides complete, runnable Java code—including Maven, configuration, and service classes—to build a local knowledge‑base Q&A system.

JavaOllamaQuestionAnswerAdvisor
0 likes · 18 min read
Spring AI RAG: Concepts, Hands‑On Implementation, and Full Code
The Dominant Programmer
The Dominant Programmer
May 26, 2026 · Artificial Intelligence

Spring AI ChatMemory: Concepts, Practical Setup, and Common Issues

This guide explains how Spring AI abstracts LLM conversation memory using a three‑layer architecture, demonstrates configuring MessageWindowChatMemory with a sliding‑window strategy, shows two ways to register the memory advisor, and provides complete Maven, YAML, and Java code examples with test screenshots.

ChatMemoryJavaLLM
0 likes · 9 min read
Spring AI ChatMemory: Concepts, Practical Setup, and Common Issues
The Dominant Programmer
The Dominant Programmer
May 25, 2026 · Artificial Intelligence

Mastering Structured Output in Spring AI: Getting Precise JSON from Large Language Models

This article walks through using Spring AI with Ollama to enforce JSON‑schema‑based structured output for agents, showing why structured responses matter, how Spring AI generates schemas from Java beans, and providing complete runnable code for both basic and advanced tool‑calling scenarios.

AgentFunction CallingJSON Schema
0 likes · 11 min read
Mastering Structured Output in Spring AI: Getting Precise JSON from Large Language Models