Java Captain
Author

Java Captain

Focused on Java technologies: SSM, the Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading; occasionally covers DevOps tools like Jenkins, Nexus, Docker, ELK; shares practical tech insights and is dedicated to full‑stack Java development.

1.2k
Articles
0
Likes
5.7k
Views
0
Comments
Recent Articles

Latest from Java Captain

100 recent articles max
Java Captain
Java Captain
Jul 4, 2025 · Backend Development

How Does Spring Detect and Resolve Circular Bean Dependencies?

This article explains what circular dependencies are in Spring, how the framework detects them using a three‑level cache during bean creation, and walks through a step‑by‑step example of resolving a setter‑injected circular reference between two beans.

Bean LifecycleDependency InjectionSpring
0 likes · 6 min read
How Does Spring Detect and Resolve Circular Bean Dependencies?
Java Captain
Java Captain
Jul 4, 2025 · Backend Development

Why Getting Spring Beans in Non‑Spring Classes Causes NullPointerExceptions

This article explains why retrieving Spring beans from classes not managed by Spring can cause NullPointerExceptions and failed autowiring, demonstrates two code examples—using a utility class and @Autowired in a plain class—and recommends registering such classes as Spring components to ensure proper dependency management.

Bean RetrievalDependency InjectionJava
0 likes · 5 min read
Why Getting Spring Beans in Non‑Spring Classes Causes NullPointerExceptions
Java Captain
Java Captain
Jun 28, 2025 · Backend Development

How to Build a Spring Boot Multi‑Module Project with Maven

Learn step‑by‑step how to create a Spring Boot multi‑module Maven project, from designing the parent and child module structure, configuring pom.xml files, writing simple application and controller code, to building and running the modules with Maven commands.

Multi-ModuleSpring Bootmaven
0 likes · 7 min read
How to Build a Spring Boot Multi‑Module Project with Maven
Java Captain
Java Captain
Jun 28, 2025 · Backend Development

How to Add a Creator Province Filter to a To-Do Page and Fix Pagination Bugs

This article walks through adding a creator‑province dropdown filter to a to‑do list page, updating both front‑end components and back‑end APIs, handling status count changes, implementing reset logic, and debugging a pagination bug caused by incorrect start‑row calculations.

APISQLfrontend
0 likes · 9 min read
How to Add a Creator Province Filter to a To-Do Page and Fix Pagination Bugs
Java Captain
Java Captain
Jun 24, 2025 · Backend Development

Master Spring Configuration: XML vs Java, Bean Lifecycle, and Advanced Profiles

This article explains Spring configuration files, comparing XML and Java (annotation‑based) approaches, details bean creation, scopes, initialization and destruction, and demonstrates advanced techniques such as conditional beans and profile‑specific configurations with clear code examples.

@ProfileJavaSpring
0 likes · 6 min read
Master Spring Configuration: XML vs Java, Bean Lifecycle, and Advanced Profiles
Java Captain
Java Captain
Jun 17, 2025 · Backend Development

Mastering Client‑Side Load Balancing with Spring Cloud Ribbon

This article explains how Spring Cloud Ribbon provides client‑side load balancing, outlines its classification, core mechanisms, common algorithms, and shows step‑by‑step code to replace the default balancing rule in a Spring Boot microservice.

JavaRibbonclient-side
0 likes · 5 min read
Mastering Client‑Side Load Balancing with Spring Cloud Ribbon
Java Captain
Java Captain
Jun 16, 2025 · Backend Development

Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Multi-DataSource Guide

A comprehensive step‑by‑step tutorial shows how to integrate MyBatis‑Plus into a Spring Boot project, covering dependencies, configuration, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, multi‑datasource support, and testing.

CRUDJavaMulti-DataSource
0 likes · 13 min read
Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Multi-DataSource Guide
Java Captain
Java Captain
Jun 16, 2025 · Cloud Native

Mastering Eureka: Service Registration & Discovery for Resilient Microservices

This guide explains why learning the classic Eureka service registry remains valuable, compares architectures with and without Eureka, and provides step‑by‑step code for both non‑clustered and clustered setups, including self‑protection mode, load‑balanced clients, and how to retrieve registration information via DiscoveryClient.

Eurekaself-protectionservice discovery
0 likes · 16 min read
Mastering Eureka: Service Registration & Discovery for Resilient Microservices
Java Captain
Java Captain
Jun 16, 2025 · Operations

How to Safely Remove WeChat Zombie Followers in 2025 Without Risk

This guide explains what WeChat "zombie" contacts are, why third‑party cleaning tools are dangerous, and provides four official, zero‑risk methods—transfer verification, group‑broadcast screening, Moments AB testing, and group isolation—plus deletion limits, risk controls, and long‑term maintenance strategies.

Contact ManagementSecurityWeChat
0 likes · 8 min read
How to Safely Remove WeChat Zombie Followers in 2025 Without Risk