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
Apr 21, 2026 · Backend Development

Why Storing Tokens in Redis Beats Stateless JWT in Real‑World Interviews

The article explains why many interviewers dismiss Redis‑backed token storage as a bad design, then systematically demonstrates how Redis + token offers controllable logout, multi‑device support, high performance, dynamic permission refresh, and scenario‑driven architecture choices, providing concrete response scripts and advanced enhancements for interview success.

AuthenticationInterview TipsJWT
0 likes · 6 min read
Why Storing Tokens in Redis Beats Stateless JWT in Real‑World Interviews
Java Captain
Java Captain
Apr 13, 2026 · Artificial Intelligence

Boost Java Development with Claude Code Directly Inside IntelliJ IDEA

This guide explains how to integrate Anthropic's Claude Code AI assistant into IntelliJ IDEA, covering installation, configuration, and immersive coding workflows that enable natural‑language code generation, project‑wide understanding, smart debugging, automated refactoring, and terminal automation for dramatically higher developer productivity.

AI Coding AssistantAutomationClaude Code
0 likes · 12 min read
Boost Java Development with Claude Code Directly Inside IntelliJ IDEA
Java Captain
Java Captain
Apr 7, 2026 · Frontend Development

How to Build a Cross‑Platform Java Desktop App with React and shadcn/ui

This article explains how to embed modern web UI built with React, TypeScript, and shadcn/ui into a Java desktop application using JxBrowser, covering reliable web view integration, server‑less resource loading, and bidirectional Java‑JavaScript communication via bridges or gRPC.

Desktop UIJxBrowserProtobuf
0 likes · 6 min read
How to Build a Cross‑Platform Java Desktop App with React and shadcn/ui
Java Captain
Java Captain
Feb 27, 2026 · Fundamentals

Long vs BigDecimal for Money: Ten Community Perspectives

A developer asks whether monetary amounts should be stored as Long or BigDecimal, and the article compiles ten varied community suggestions—ranging from using Long, BigDecimal, String, custom types, Protobuf, leadership directives, AI answers, frugal choices, to whimsical ideas—each with brief explanations and illustrative images.

BigDecimalData TypesJava
0 likes · 4 min read
Long vs BigDecimal for Money: Ten Community Perspectives
Java Captain
Java Captain
Feb 16, 2026 · Backend Development

Long vs BigDecimal: Choosing the Right Java Type for Money

This article compares ten community‑sourced approaches for representing monetary values in Java, explaining when a simple Long, a precise BigDecimal, a String, custom wrappers, Protobuf tricks, leadership directives, AI assistance, or even minimal integer types are appropriate, and why each choice matters.

BigDecimalData TypesJava
0 likes · 3 min read
Long vs BigDecimal: Choosing the Right Java Type for Money
Java Captain
Java Captain
Jan 3, 2026 · Backend Development

Integrate Apache Tika with Spring Boot for Powerful Document Parsing

This guide shows how to integrate Apache Tika into a Spring Boot application by adding Maven dependencies, configuring a tika-config.xml file, creating a @Configuration class that provides a Tika bean, and using the bean to detect, translate, and parse various document formats.

Apache TikaDocument ParsingJava
0 likes · 5 min read
Integrate Apache Tika with Spring Boot for Powerful Document Parsing
Java Captain
Java Captain
Nov 16, 2025 · Fundamentals

Boost Your Code Naming with an AI‑Powered Naming Assistant for Vue and Java

The article shares the author’s struggle with inconsistent naming in front‑end Vue and back‑end Java code and introduces a self‑built AI‑driven naming tool—available as a lightweight web app and an IntelliJ IDEA plugin—that instantly generates clean, convention‑compliant identifiers.

AIIDEA pluginbackend
0 likes · 5 min read
Boost Your Code Naming with an AI‑Powered Naming Assistant for Vue and Java
Java Captain
Java Captain
Nov 1, 2025 · Databases

Why IN/NOT IN Slows Queries and How to Use EXISTS or JOIN Instead

The article explains why the SQL IN and NOT IN operators often cause poor performance and incorrect results—especially with large tables or NULL values—and demonstrates safer alternatives such as EXISTS, NOT EXISTS, and JOIN with clear code examples.

EXISTSINJOIN
0 likes · 5 min read
Why IN/NOT IN Slows Queries and How to Use EXISTS or JOIN Instead
Java Captain
Java Captain
Oct 31, 2025 · Backend Development

How Jeandle Uses LLVM to Supercharge JVM Performance

Jeandle, the new open‑source LLVM‑based JIT compiler for the OpenJDK HotSpot JVM, brings LLVM's powerful optimizations to Java, explaining JIT fundamentals, LLVM architecture, and the project's ambitious roadmap toward full bytecode support and advanced Java‑specific performance enhancements.

JITJVMJava
0 likes · 5 min read
How Jeandle Uses LLVM to Supercharge JVM Performance
Java Captain
Java Captain
Oct 29, 2025 · Databases

How to Seamlessly Migrate MongoDB to an Isolated Instance with Real-Time Sync

This guide details a step‑by‑step process for migrating a high‑traffic MongoDB app to a dedicated instance, covering full backup, real‑time incremental sync via Change Streams, compensating for missed changes, handling operation ordering, and ensuring zero downtime throughout.

BackupChange StreamsMongoDB
0 likes · 11 min read
How to Seamlessly Migrate MongoDB to an Isolated Instance with Real-Time Sync