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

JavaPathVariableSpring Boot
0 likes · 3 min read
How to Use @PathVariable and Map Static Resources in Spring Boot
Java Captain
Java Captain
Jun 8, 2025 · Mobile Development

Unlock WeChat’s Hidden ‘recover’ Feature to Restore Deleted Chats

This article explains WeChat’s hidden “recover” feature, detailing its official purpose, technical limits, step‑by‑step recovery methods, effectiveness, backup strategies, and the risks of third‑party tools, helping users safely restore lost chat records.

BackupWeChatdata recovery
0 likes · 8 min read
Unlock WeChat’s Hidden ‘recover’ Feature to Restore Deleted Chats
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 RefactoringJavaSpring Boot
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.

Data ProcessingExcelFile I/O
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 ListExcelJava
0 likes · 6 min read
Create Excel Dropdown Lists in Java with Free Spire.XLS
Java Captain
Java Captain
Jun 8, 2025 · Operations

Step-by-Step 2025 Guide to Unlocking Your WeChat Account

This comprehensive 2025 guide walks users through identifying restriction types, preparing evidence, using WeChat's self‑service unlocking tools or web‑based appeal, completing assisted verification, handling enterprise account checks, and applying best‑practice safeguards to maximize the chance of successful account restoration.

2025 GuidelinesSecurityWeChat
0 likes · 9 min read
Step-by-Step 2025 Guide to Unlocking Your WeChat Account
Java Captain
Java Captain
Jun 7, 2025 · Backend Development

Add Custom PDF Headers and Footers with Java and Free Spire.PDF

This tutorial explains how to programmatically add headers and footers—including text, images, page numbers, and separator lines—to every page of a PDF using Java and the free Spire.PDF library, with complete code examples and visual results.

PDFfooterheader
0 likes · 8 min read
Add Custom PDF Headers and Footers with Java and Free Spire.PDF