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 12, 2025 · Information Security

How to Unlock a Restricted WeChat Account: Step‑by‑Step 2025 Guide

This comprehensive 2025 guide explains how to identify WeChat restriction types, prepare necessary evidence and materials, use both client‑side and web‑based self‑service tools, complete assisted verification, and follow new regulations to successfully restore account access.

GuidelinesSecurityWeChat
0 likes · 9 min read
How to Unlock a Restricted WeChat Account: Step‑by‑Step 2025 Guide
Java Captain
Java Captain
Jun 12, 2025 · Backend Development

How to Securely Encrypt Nacos Config Passwords in Spring Cloud Applications

Learn how to replace plain‑text passwords in Spring Cloud’s Nacos configuration with encrypted values by extending NacosConfigProperties, overriding its initialization, and registering a custom bootstrap auto‑configuration, ensuring your application complies with corporate security policies.

JavaNacosPassword Encryption
0 likes · 5 min read
How to Securely Encrypt Nacos Config Passwords in Spring Cloud Applications
Java Captain
Java Captain
Jun 12, 2025 · Backend Development

12 Toxic Coding Habits That Destroy Readability (And How to Avoid Them)

The article humorously chronicles twelve common anti‑patterns—such as over‑splitting microservices, writing massive methods, deep nesting, random naming, misleading comments, copy‑pasting code, ignoring design docs, and avoiding logging—that severely hurt code readability and maintainability, and explains why they should be avoided.

bad coding practicescode readabilityrefactoring
0 likes · 10 min read
12 Toxic Coding Habits That Destroy Readability (And How to Avoid Them)
Java Captain
Java Captain
Jun 11, 2025 · Backend Development

Master Java Stream API: From Basics to Advanced Operations

This comprehensive guide explains the Java Stream API, covering its purpose, creation methods, intermediate and terminal operations, and the Optional class, with clear examples and code snippets to help developers write cleaner, more efficient functional-style code.

Functional ProgrammingLambdaOptional
0 likes · 22 min read
Master Java Stream API: From Basics to Advanced Operations
Java Captain
Java Captain
Jun 11, 2025 · Backend Development

How to Import Modules and Build JAR Files in IntelliJ IDEA

This step‑by‑step guide shows how to create an IntelliJ IDEA project, import a Java module into it, associate the module with the project, and then package the application into a JAR file using the IDE’s Project Structure and Artifacts settings.

IDE tutorialIntelliJ IDEAJar packaging
0 likes · 6 min read
How to Import Modules and Build JAR Files in IntelliJ IDEA
Java Captain
Java Captain
Jun 11, 2025 · Information Security

Mastering WeChat Account Unblocking: A Step‑by‑Step Self‑Service Guide

This comprehensive guide explains the types of WeChat account restrictions, preparation steps, the five‑stage self‑service unblocking workflow, common issues and solutions, friend‑assisted verification procedures, advanced appeal strategies for permanent bans, and post‑unblock security measures to help users efficiently restore access.

SecurityUnblockingWeChat
0 likes · 18 min read
Mastering WeChat Account Unblocking: A Step‑by‑Step Self‑Service Guide
Java Captain
Java Captain
Jun 10, 2025 · Backend Development

Why Spring Batch? Real‑World Scenarios, Core Architecture and Hands‑On Guide

This article explains the necessity of batch processing, presents typical use cases such as daily interest calculation, e‑commerce order archiving, log analysis and medical data migration, then dives deep into Spring Batch's core components, provides step‑by‑step code examples, performance‑tuning tips, production‑grade fault‑tolerance, monitoring solutions and a comprehensive FAQ.

JavaSpring Batchbatch processing
0 likes · 20 min read
Why Spring Batch? Real‑World Scenarios, Core Architecture and Hands‑On Guide
Java Captain
Java Captain
Jun 10, 2025 · Operations

How to Unlock a Banned WeChat Account: Step‑by‑Step 2025 Guide

This 2025 guide details every step to diagnose the type of WeChat ban, prepare required documents and devices, and use both client‑side and web‑based self‑service channels, including advanced verification tips and FAQs, to successfully restore a restricted or permanently blocked account.

2025 GuidelinesAccount UnblockingSecurity
0 likes · 10 min read
How to Unlock a Banned WeChat Account: Step‑by‑Step 2025 Guide
Java Captain
Java Captain
Jun 10, 2025 · Fundamentals

Understanding Java Monitors: How Thread Synchronization Works

Java monitors provide a mechanism for thread synchronization by associating each object with a monitor lock, comprising an entry list, owner thread, and wait set, and the article explains their structure, thread state transitions, and demonstrates usage with a practical code example.

JavaThread Synchronizationconcurrency
0 likes · 6 min read
Understanding Java Monitors: How Thread Synchronization Works
Java Captain
Java Captain
Jun 10, 2025 · Databases

Master MySQL Performance: Slow Queries, Indexes, Transactions & Replication

This article explains how to locate and analyze MySQL slow queries, understand index structures and types, apply best practices for index creation, handle large pagination, manage transaction isolation and MVCC, and implement master‑slave replication and sharding strategies for high‑performance databases.

MySQLTransactionindex optimization
0 likes · 13 min read
Master MySQL Performance: Slow Queries, Indexes, Transactions & Replication