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
2.5k
Views
0
Comments
Recent Articles

Latest from Java Captain

100 recent articles max
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 documentationCompatibilityConfiguration
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.

ExcelFile I/OJava
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 GuidelinesVerificationWeChat
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
Java Captain
Java Captain
Jun 3, 2025 · Information Security

Integrating Spring Security with Spring Boot for JWT Authentication and Authorization

This article demonstrates how to integrate Spring Security into a Spring Boot application, configure JWT‑based authentication, implement custom AES encryption, define user and role entities, set up service and controller layers, and configure security, filter, and CORS settings to achieve secure login and permission management.

AuthenticationAuthorizationJWT
0 likes · 19 min read
Integrating Spring Security with Spring Boot for JWT Authentication and Authorization
Java Captain
Java Captain
Jun 3, 2025 · Backend Development

Implementation of Order Service with Distributed Transactions, Locks, and Asynchronous Processing in Java

This article explains how to build a robust order service using Seata distributed transactions, Redisson distributed locks, CompletableFuture for asynchronous operations, token-based duplicate‑submission prevention, and RabbitMQ delayed queues for automatic order cancellation, with full Java code examples.

Distributed LockSeatadistributed transaction
0 likes · 21 min read
Implementation of Order Service with Distributed Transactions, Locks, and Asynchronous Processing in Java
Java Captain
Java Captain
May 28, 2025 · Fundamentals

Introduction to ZooKeeper: Design Goals, Data Model, Sessions, Watches, Consistency Guarantees, Leader Election, and Deployment

This article provides a comprehensive overview of ZooKeeper, covering its purpose as a distributed coordination service, design objectives such as consistency and reliability, hierarchical data model, session and watch mechanisms, consistency guarantees, leader election and Zab protocol, as well as practical deployment details.

ConsensusData ModelDistributed Coordination
0 likes · 20 min read
Introduction to ZooKeeper: Design Goals, Data Model, Sessions, Watches, Consistency Guarantees, Leader Election, and Deployment