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
Oct 18, 2025 · Fundamentals

Which Chinese Tech Giants Offer the Highest Housing Fund Contributions?

A crowd‑sourced list shows the housing fund contribution rates of major Chinese tech and internet companies, with many offering a full 12% contribution, while others provide lower percentages depending on location, contract type, or company policy.

China tech companiescompensationemployee benefits
0 likes · 2 min read
Which Chinese Tech Giants Offer the Highest Housing Fund Contributions?
Java Captain
Java Captain
Sep 20, 2025 · Information Security

How to Secure Login APIs: Prevent Brute‑Force, MITM, and Abuse

This article explains common security risks in login interfaces—such as brute‑force attacks, captcha bypass, account and IP lockouts, man‑in‑the‑middle threats—and provides practical mitigation techniques like password attempt limits, captcha, phone verification, HTTPS, and comprehensive logging.

Brute-force protectionCaptchaHTTPS
0 likes · 9 min read
How to Secure Login APIs: Prevent Brute‑Force, MITM, and Abuse
Java Captain
Java Captain
Sep 5, 2025 · Backend Development

When "null" Becomes a Real Username: Hidden Bugs and How to Prevent Them

Developers often mistake the string "null" for an actual null value, leading to unexpected bugs such as phantom users, logging chaos, database contamination, and security risks; this article explains why this happens and provides practical backend, frontend, and database validation strategies to avoid the pitfalls.

NULLValidationbackend
0 likes · 5 min read
When "null" Becomes a Real Username: Hidden Bugs and How to Prevent Them
Java Captain
Java Captain
Sep 3, 2025 · Operations

How to Turn a Raspberry Pi Zero W into a Tiny Web Server with SSH and Nginx

This step‑by‑step guide shows how to set up a Raspberry Pi Zero W, flash Raspbian Stretch Lite, configure Wi‑Fi and SSH, optimize the system with local mirrors, install Nginx, and expose the server to the internet using ngrok, turning a credit‑card‑sized board into a functional web host.

LinuxNetworkNginx
0 likes · 12 min read
How to Turn a Raspberry Pi Zero W into a Tiny Web Server with SSH and Nginx
Java Captain
Java Captain
Aug 22, 2025 · Backend Development

Designing Clean API Responses in Java: From JSON Structure to Global Wrappers

This article explains how to design a standardized JSON response format for Java back‑end APIs, introduces a Result wrapper class, and shows how to automate response wrapping using a custom @ResponseResult annotation, interceptors, and Spring's ResponseBodyAdvice for cleaner, more maintainable code.

AnnotationsJSON responseJava
0 likes · 7 min read
Designing Clean API Responses in Java: From JSON Structure to Global Wrappers
Java Captain
Java Captain
Aug 20, 2025 · Information Security

Build a Secure Spring Boot App in Minutes with Spring Security

This tutorial walks you through adding Spring Security to a Spring Boot project, from adding the starter dependency and creating a simple controller to observing the default login page, understanding the auto‑generated password mechanism, and customizing usernames and passwords for production use.

AuthenticationAuthorizationJava
0 likes · 9 min read
Build a Secure Spring Boot App in Minutes with Spring Security
Java Captain
Java Captain
Aug 6, 2025 · Fundamentals

Unlock Java 17: Records, Sealed Classes, Pattern Matching and More

This article explores the major Java 17 language enhancements—including records, sealed classes, pattern matching, text blocks, var, and the new switch expression—showing how they reduce boilerplate, improve readability, and boost performance compared to legacy Java 8 code.

JDK 17JavaSealed Classes
0 likes · 13 min read
Unlock Java 17: Records, Sealed Classes, Pattern Matching and More