Tagged articles

Java21

8 articles · Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 10, 2026 · Fundamentals

13 Common Java Pitfalls You Might Be Falling Into

This article enumerates thirteen frequent Java mistakes—from returning null and misusing string concatenation to improper synchronization and lock handling—showing the flawed code, explaining why it is problematic, and providing concise, correct alternatives with runnable examples.

ConcurrentModificationExceptionJava21Optional
0 likes · 14 min read
13 Common Java Pitfalls You Might Be Falling Into
Dunmao Tech Hub
Dunmao Tech Hub
Sep 25, 2025 · Backend Development

Enable Java Virtual Threads in Spring Boot for Million‑Scale Concurrency

This guide explains how Spring Boot 3.5.6 running on JDK 21 can leverage Java virtual threads to handle millions of concurrent requests, covering the concept, environment setup, Maven configuration, enabling the feature, and a simple test controller to verify the thread model.

JVMJava21Virtual Threads
0 likes · 6 min read
Enable Java Virtual Threads in Spring Boot for Million‑Scale Concurrency
Cognitive Technology Team
Cognitive Technology Team
Jun 30, 2025 · Backend Development

How Upgrading from Java 8 to Java 21 Transformed My Coding Workflow

The article recounts a Java developer’s journey from Java 8 to Java 21, highlighting how new language features like var, text blocks, switch expressions, records, pattern matching, and virtual threads dramatically improve readability, reduce boilerplate, and boost concurrency performance.

CodeModernizationJava21LanguageFeatures
0 likes · 8 min read
How Upgrading from Java 8 to Java 21 Transformed My Coding Workflow