Tagged articles
205 articles
Page 2 of 3
Wukong Talks Architecture
Wukong Talks Architecture
Oct 28, 2021 · Backend Development

Common Java Interview Questions and Answers

This article compiles a comprehensive list of frequently asked Java interview questions, covering topics such as the relationship between JDK/JRE/JVM, object creation methods, differences between == and equals, hashCode, String variants, synchronization mechanisms, lock implementations, collections, concurrency utilities, thread pools, and I/O models, providing concise explanations for each.

CollectionsJDKJVM
0 likes · 14 min read
Common Java Interview Questions and Answers
Selected Java Interview Questions
Selected Java Interview Questions
Sep 30, 2021 · Fundamentals

Understanding the Role of modCount in Java HashMap's Fail‑Fast Mechanism

The article clarifies that the modCount field in java.util.HashMap is used to implement the fail‑fast iterator behavior, explains why the field was volatile in early JDK versions but not in later ones, and shows that ConcurrentModificationException can be thrown even in single‑threaded scenarios when the iterator detects structural changes.

ConcurrentModificationExceptionHashMapJDK
0 likes · 5 min read
Understanding the Role of modCount in Java HashMap's Fail‑Fast Mechanism
Programmer DD
Programmer DD
Sep 29, 2021 · Backend Development

Explore Java 11‑17: Key Features, Performance Boosts, and New APIs

This article provides a comprehensive overview of Java versions 11 through 17, highlighting major language enhancements, new garbage collectors, security updates, preview features, and tooling improvements that developers can leverage to write more efficient, secure, and modern Java applications.

JDKJavaJava 11
0 likes · 83 min read
Explore Java 11‑17: Key Features, Performance Boosts, and New APIs
JavaEdge
JavaEdge
Sep 25, 2021 · Backend Development

Why Spring AOP Doesn’t Apply to ‘this’ Calls and How to Fix It

This article explains why Spring AOP proxies are not applied when a bean invokes its own methods via the this reference, compares JDK and CGLIB proxy mechanisms, and shows how to enable proxy exposure or use AopContext to achieve the desired AOP behavior.

JDKJavaProxy
0 likes · 5 min read
Why Spring AOP Doesn’t Apply to ‘this’ Calls and How to Fix It
21CTO
21CTO
Sep 24, 2021 · Backend Development

Is Java 17 Worth the Upgrade? Performance Benchmarks and Free JDK Insights

This article explains Java 17’s new long‑term‑support release, Oracle’s free JDK licensing, and presents OptaPlanner benchmark results comparing JDK 11, 16 and 17 with G1GC and ParallelGC, highlighting performance gains and migration considerations for developers in production.

Free LicenseGarbage CollectionJDK
0 likes · 10 min read
Is Java 17 Worth the Upgrade? Performance Benchmarks and Free JDK Insights
Architect's Tech Stack
Architect's Tech Stack
Sep 24, 2021 · Backend Development

Bisheng JDK 8 Installation Guide and Feature Overview

This article introduces Huawei's open-source Bisheng JDK 8, outlines its supported features such as Flight Recorder and fast serialization, provides step‑by‑step installation instructions for Linux/AArch64, and shares the project repository and related interview resources.

InstallationJDKJava
0 likes · 4 min read
Bisheng JDK 8 Installation Guide and Feature Overview
Top Architect
Top Architect
Sep 19, 2021 · Fundamentals

Key New Features in Java 9–16: Private Interface Methods, Var, Switch Expressions, Records and More

This article provides a concise walkthrough of the most important Java 9‑16 language enhancements—including private methods in interfaces, diamond support for anonymous classes, enhanced try‑with‑resources, var type inference, switch expressions, text blocks, records, improved NullPointerException messages, foreign‑memory APIs, sealed classes and new garbage collectors—illustrated with clear code examples.

JDKJavaJava15
0 likes · 11 min read
Key New Features in Java 9–16: Private Interface Methods, Var, Switch Expressions, Records and More
JavaEdge
JavaEdge
Aug 18, 2021 · Backend Development

Why Tomcat’s Thread Pool Works Differently from the JDK’s

This article explains how Tomcat customizes Java’s ThreadPoolExecutor for I/O‑intensive web workloads, detailing the key parameters, the custom task queue and thread factory, the overridden execute logic, and the role of the submittedCount variable in preventing thread starvation under high concurrency.

JDKJavaTomcat
0 likes · 7 min read
Why Tomcat’s Thread Pool Works Differently from the JDK’s
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 28, 2021 · Fundamentals

Key Features of Major Java Versions (Java 1.1 to Java 13)

An overview of the release dates and notable new features for each major Java version from 1.1 through 13, highlighting language enhancements, library updates, garbage collection improvements, and platform changes to help developers choose the appropriate JDK for their projects.

JDKJavaProgramming Language
0 likes · 10 min read
Key Features of Major Java Versions (Java 1.1 to Java 13)
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 3, 2021 · Fundamentals

Comprehensive Guide to Java String: Basics, Usage, Source‑Code Analysis, and Interview Questions

This article provides an in‑depth tutorial on Java's String class, covering primitive data types, official documentation, common usage examples, detailed source‑code walkthrough of constructors and key methods, as well as typical interview questions and performance considerations for backend development.

JDKJavaString
0 likes · 32 min read
Comprehensive Guide to Java String: Basics, Usage, Source‑Code Analysis, and Interview Questions
Java Backend Technology
Java Backend Technology
Jun 24, 2021 · Fundamentals

Unlock Java 9‑16: Key Features Every Developer Should Know

This article quickly walks through the major language and JVM enhancements introduced in Java 9 through Java 16—including private interface methods, var type inference, switch expressions, records, sealed classes, new garbage collectors, and tooling updates—so developers can stay current and write more concise, efficient code.

JDKJavaVersion Features
0 likes · 12 min read
Unlock Java 9‑16: Key Features Every Developer Should Know
Liangxu Linux
Liangxu Linux
Jun 10, 2021 · Operations

Quick Guide: Secure Linux Server Setup with JDK, Tomcat & Docker

This step‑by‑step tutorial shows how to enable security groups, configure firewall ports, install the BT panel or use the command line to set up a Linux server, then install JDK, Tomcat, and Docker CE with all required commands and configurations.

JDKLinuxSecurity Group
0 likes · 5 min read
Quick Guide: Secure Linux Server Setup with JDK, Tomcat & Docker
JavaEdge
JavaEdge
Jun 10, 2021 · Backend Development

Understanding Java Dynamic Proxy: How JDK Generates and Executes Proxy Classes

This article explains the differences between static and dynamic proxies in Java, details the role of Proxy, InvocationHandler, and the invoke method, and walks through the JDK dynamic proxy creation process with code examples and step‑by‑step analysis.

Backend DevelopmentDynamic ProxyInvocationHandler
0 likes · 7 min read
Understanding Java Dynamic Proxy: How JDK Generates and Executes Proxy Classes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2021 · Backend Development

Master Java’s Built‑In Diagnostic Tools: jps, jstat, jinfo, jmap, jhat & jstack

This guide explains where Java's command‑line tools reside, why they are small wrappers around tools.jar, and provides detailed usage, options, and examples for the most common diagnostics utilities—including jps, jstat, jinfo, jmap, jhat, and jstack—helping developers monitor and troubleshoot JVM processes effectively.

JDKdiagnostic toolsjmap
0 likes · 7 min read
Master Java’s Built‑In Diagnostic Tools: jps, jstat, jinfo, jmap, jhat & jstack
JD Retail Technology
JD Retail Technology
Apr 22, 2021 · Backend Development

Investigation of Sudden Performance Degradation in JD.com Calendar Service: Spring MimeTypeUtils LRU Cache Bug and JDK ConcurrentLinkedQueue Issue

The article details a systematic investigation of a sudden performance drop in JD.com's calendar SOA service, revealing a Spring MimeTypeUtils LRU‑cache bug and a ConcurrentLinkedQueue removal bug in the JDK, and explains how upgrading Spring and applying JDK fixes restored service stability.

JDK
0 likes · 14 min read
Investigation of Sudden Performance Degradation in JD.com Calendar Service: Spring MimeTypeUtils LRU Cache Bug and JDK ConcurrentLinkedQueue Issue
macrozheng
macrozheng
Apr 13, 2021 · Fundamentals

Master the Observer Pattern in Java: Theory, Code, and Real‑World Example

This article explains the Observer pattern, compares it with the Publish‑Subscribe model, showcases Java's built‑in Observable and Observer classes, provides complete code examples, and discusses practical considerations such as memory leaks and performance optimizations.

Design PatternsEvent-drivenJDK
0 likes · 10 min read
Master the Observer Pattern in Java: Theory, Code, and Real‑World Example
Programmer DD
Programmer DD
Mar 25, 2021 · Backend Development

Hidden Traps in Java’s JDK: Avoid These Common Pitfalls

This article reveals frequent JDK pitfalls such as missing null checks in String.valueOf, fragile Integer.parseInt conversions, BigDecimal division errors, unmodifiable Collections.emptyList, and unsafe list iteration, providing concrete code examples and safe handling recommendations for Java developers.

BigDecimalCollectionsJDK
0 likes · 10 min read
Hidden Traps in Java’s JDK: Avoid These Common Pitfalls
Programmer DD
Programmer DD
Mar 24, 2021 · Backend Development

OpenJDK Uncovered: Oracle’s Plans, Licensing, and How to Contribute

This article compiles the most frequently asked questions about OpenJDK, covering Oracle's open‑source strategy, licensing details, compatibility testing, contribution guidelines, and the relationship between OpenJDK and Oracle JDK, providing clear answers for developers and organizations.

JDKJavaLicensing
0 likes · 17 min read
OpenJDK Uncovered: Oracle’s Plans, Licensing, and How to Contribute
Programmer DD
Programmer DD
Mar 21, 2021 · Backend Development

Who Really Powers Java 16? Inside the Global Issue‑Fix Contributions

The article reports Java 16’s official release, reveals that 1,897 JDK issues were fixed worldwide—with Oracle handling 1,397 and major contributions from Red Hat, SAP, Tencent and ARM—highlights Tencent’s open‑source Kona JDK 11, and invites readers to vote on the strongest Chinese Java company.

JDKJavaOpenJDK
0 likes · 4 min read
Who Really Powers Java 16? Inside the Global Issue‑Fix Contributions
Architect's Tech Stack
Architect's Tech Stack
Mar 18, 2021 · Backend Development

Java 16 Released: New Features, JEPs, and Community Contributions

Java 16 has been officially released, bringing 17 major enhancements—including new language features like pattern matching for instanceof and records, JVM improvements such as ZGC thread handling and elastic metaspace, new tools, incubator APIs, and broader community contributions—while maintaining backward compatibility and a predictable six‑month release cadence.

BackendJDKJEP
0 likes · 12 min read
Java 16 Released: New Features, JEPs, and Community Contributions
Programmer DD
Programmer DD
Mar 18, 2021 · Fundamentals

What’s New in Java 16? Key Features and Improvements Explained

Java 16 has been officially released, introducing a host of enhancements such as the incubating Vector API, new C++14 support, migration to Git and GitHub, the ZGC collector, Unix‑domain socket channels, Alpine Linux port, foreign linker and memory APIs, pattern‑matching instanceof, records, sealed classes, and more.

JDKJavaJava16
0 likes · 7 min read
What’s New in Java 16? Key Features and Improvements Explained
Java Backend Technology
Java Backend Technology
Mar 14, 2021 · Backend Development

Why Banning Lombok Is Misguided: A Technical Rebuttal

This article challenges common objections to Lombok—JDK compatibility, forced adoption, readability concerns, increased coupling, and cost‑benefit trade‑offs—by presenting counter‑arguments and suggesting alternative viewpoints for Java developers.

JDKJavacode quality
0 likes · 6 min read
Why Banning Lombok Is Misguided: A Technical Rebuttal
Architect's Tech Stack
Architect's Tech Stack
Mar 13, 2021 · Backend Development

Debunking Common Arguments Against Using Lombok in Java Projects

The article systematically refutes typical criticisms of Lombok—such as JDK compatibility, forced adoption, reduced readability, increased coupling, and technical debt—by arguing that these concerns are overstated and that Lombok remains a valuable tool for Java backend development.

BackendCode GenerationJDK
0 likes · 6 min read
Debunking Common Arguments Against Using Lombok in Java Projects
Architect's Tech Stack
Architect's Tech Stack
Feb 22, 2021 · Backend Development

Understanding Java's StringJoiner Implementation and Usage

This article explains why the original StringBuilder is limited, demonstrates how to use StringJoiner for comma‑separated strings, and provides a detailed analysis of the JDK source code including member fields, constructors, element addition, toString, length, merge, and empty‑value handling.

BackendJDKJava
0 likes · 7 min read
Understanding Java's StringJoiner Implementation and Usage
Architecture Digest
Architecture Digest
Nov 18, 2020 · Backend Development

Deep Dive into Java ConcurrentHashMap: Implementation, Concurrency Mechanisms, and Core Methods

This article provides a comprehensive analysis of Java's ConcurrentHashMap, covering its historical evolution, key internal fields, the thread‑safe put and remove operations, the complex resizing and transfer mechanisms, and auxiliary methods such as size, get, and clear, all illustrated with original source code.

ConcurrentHashMapData StructuresJDK
0 likes · 24 min read
Deep Dive into Java ConcurrentHashMap: Implementation, Concurrency Mechanisms, and Core Methods
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 8, 2020 · Fundamentals

Understanding the JDK Stack Implementation and Its Practical Applications

This article explains the meaning of "stack" in Java, examines the JDK's Stack class implementation—including its inheritance from Vector and core methods—provides full source code, demonstrates array manipulation with System.arraycopy, and explores common stack applications such as browser navigation, function call stacks, and complexity analysis.

ArrayData StructureJDK
0 likes · 8 min read
Understanding the JDK Stack Implementation and Its Practical Applications
macrozheng
macrozheng
Aug 13, 2020 · Backend Development

Why JDK 8’s computeIfAbsent Can Deadlock: A Deep Dive into the Bug

This article explores a JDK 8 bug in ConcurrentHashMap’s computeIfAbsent method that can cause an infinite loop, explains how the issue was discovered, reproduces it with test code, analyzes the root cause, and shows the fix introduced in JDK 9.

ConcurrentHashMapJDKbug
0 likes · 16 min read
Why JDK 8’s computeIfAbsent Can Deadlock: A Deep Dive into the Bug
Java Backend Technology
Java Backend Technology
Aug 9, 2020 · Backend Development

How a JDK Bug Makes ConcurrentLinkedQueue Leak Memory

An in‑depth investigation reveals how a long‑standing JDK bug in ConcurrentLinkedQueue causes memory leaks and performance degradation in Jetty’s QueuedThreadPool, illustrated with code demos, visual monitoring tools, and the eventual fix introduced in later JDK releases.

ConcurrentLinkedQueueJDKJava
0 likes · 14 min read
How a JDK Bug Makes ConcurrentLinkedQueue Leak Memory
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 6, 2020 · Backend Development

Analyzing JDK 1.8 FutureTask Source Code

This article provides a detailed analysis of JDK 1.8’s FutureTask implementation, explaining its purpose, usage examples, internal structure, state transitions, key methods such as run, get, cancel, and the concurrency mechanisms like volatile fields, CAS operations, and thread‑waiting queues.

CallableFutureFutureTask
0 likes · 32 min read
Analyzing JDK 1.8 FutureTask Source Code
Programmer DD
Programmer DD
Jun 6, 2020 · Backend Development

5 Java String Interview Questions Explained with Memory Diagrams

This article walks through five common Java String interview questions, showing code examples, output results, and detailed memory‑layout analyses to explain why each comparison behaves as it does, helping readers master string handling in Java.

JDKJavaMemory
0 likes · 9 min read
5 Java String Interview Questions Explained with Memory Diagrams
Programmer DD
Programmer DD
Jun 2, 2020 · Backend Development

Mastering Java HashMap & ConcurrentHashMap: Internals, Performance, and Best Practices

This article explains the internal structure and working principles of Java's HashMap and ConcurrentHashMap, covering hash calculations, collision handling, resizing, the transition to red‑black trees, differences with TreeMap, LinkedHashMap, Hashtable, and performance‑related lock mechanisms in JDK 7 and JDK 8.

ConcurrentHashMapData StructureHashMap
0 likes · 14 min read
Mastering Java HashMap & ConcurrentHashMap: Internals, Performance, and Best Practices
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 26, 2020 · Backend Development

Common JDK Commands for Java Developers

This article introduces essential JDK command‑line tools such as jps, jinfo, jstat, jmap, jhat and jstack, explaining their options, usage examples, and how they help developers monitor, diagnose and troubleshoot Java applications in production environments.

BackendCommand-lineDebugging
0 likes · 7 min read
Common JDK Commands for Java Developers
Senior Brother's Insights
Senior Brother's Insights
Apr 29, 2020 · Fundamentals

Testing += String Concatenation: JDK8 vs JDK14 Bytecode Findings

The author investigates the common advice against using the += operator for string concatenation by writing two Java programs, examining their bytecode with javap, and comparing results on Oracle JDK 8 and OpenJDK 14, revealing that JDK version and implementation affect whether a StringBuilder is automatically used.

JDKJavaString concatenation
0 likes · 5 min read
Testing += String Concatenation: JDK8 vs JDK14 Bytecode Findings
DevOps Cloud Academy
DevOps Cloud Academy
Apr 22, 2020 · Mobile Development

How to Install JDK, Android SDK Tools, and Gradle on Linux

This guide explains how to install JDK 8, Android SDK Tools, and Gradle on a Linux system, including downloading packages, extracting them, configuring environment variables, verifying installations, and using sdkmanager to list, install, or uninstall Android platform packages.

Android SDKGradleJDK
0 likes · 4 min read
How to Install JDK, Android SDK Tools, and Gradle on Linux
Senior Brother's Insights
Senior Brother's Insights
Mar 21, 2020 · Backend Development

Master Java Proxy: From Static to JDK Dynamic Proxy with Real Code

This article explains the proxy design pattern, shows how to implement static proxies in Java with concrete code examples, discusses their limitations, and then demonstrates JDK dynamic proxies using InvocationHandler and Proxy classes, including generated proxy class details.

Design PatternsDynamic ProxyJDK
0 likes · 13 min read
Master Java Proxy: From Static to JDK Dynamic Proxy with Real Code
Programmer DD
Programmer DD
Mar 8, 2020 · Backend Development

Java Developers' Survey: JDK Choices, Spring Usage, and Tooling Trends

A comprehensive survey of Java developers reveals current JDK vendor preferences, payment habits, version adoption, upgrade motivations, language distribution, Spring framework usage, IDE and build tool popularity, code repository choices, and role demographics across the industry.

Backend DevelopmentJDKJava
0 likes · 8 min read
Java Developers' Survey: JDK Choices, Spring Usage, and Tooling Trends
Programmer DD
Programmer DD
Mar 6, 2020 · Backend Development

Mastering Java ThreadPoolExecutor Rejection Policies: When and How to Use Them

This article explains the design principles of thread pools, when Java's ThreadPoolExecutor triggers rejection policies, details the four built‑in JDK policies with code examples, and explores additional strategies from Dubbo, Netty, ActiveMQ and Pinpoint, helping developers choose the right approach for their workloads.

BackendJDKJava
0 likes · 13 min read
Mastering Java ThreadPoolExecutor Rejection Policies: When and How to Use Them
Programmer DD
Programmer DD
Jan 10, 2020 · Backend Development

Unlocking Java’s FutureTask: A Deep Dive into Asynchronous Programming

This article explains how to use JDK’s Future and FutureTask for asynchronous computation, walks through their APIs, internal state machine, core methods like run(), get(), cancel(), and highlights their limitations while introducing CompletableFuture as a more powerful alternative.

AsynchronousCompletableFutureFutureTask
0 likes · 25 min read
Unlocking Java’s FutureTask: A Deep Dive into Asynchronous Programming
FunTester
FunTester
Jan 1, 2020 · Fundamentals

Why Learn Java and How to Get Started: A Comprehensive Guide

This article explains why Java remains a popular, easy-to-learn, and career‑boosting programming language, outlines its real‑world advantages, and provides a step‑by‑step roadmap with core concepts, tools, and practice tips for beginners.

JDKJavaLearning Guide
0 likes · 13 min read
Why Learn Java and How to Get Started: A Comprehensive Guide
macrozheng
macrozheng
Nov 19, 2019 · Backend Development

Why Java Reflection Is Slow and How It Works Under the Hood

This article explains the internal workings of Java reflection, from obtaining Method objects via getMethod and getDeclaredMethod to the invoke process, and details why reflection incurs significant performance overhead due to argument boxing, visibility checks, parameter validation, lack of inlining, and JIT optimization limits.

JDKJITJava
0 likes · 24 min read
Why Java Reflection Is Slow and How It Works Under the Hood
Tech Musings
Tech Musings
Oct 25, 2019 · Backend Development

Choosing the Right Java Garbage Collector: A Practical Guide for JDK 1.8

This article explains the seven Java garbage collectors available up to JDK 1.8, compares their strengths and weaknesses, and shows how to select and tune the appropriate collector—Serial, Parallel, CMS, or G1—based on application characteristics and deployment environments.

CMSG1Garbage Collection
0 likes · 11 min read
Choosing the Right Java Garbage Collector: A Practical Guide for JDK 1.8
Programmer DD
Programmer DD
Oct 23, 2019 · Backend Development

Java 13 & 14 Highlights: Text Blocks, Better NPEs, and Switch Expressions

Java 13 introduced five new features, with Text Blocks gaining the most attention, while the upcoming Java 14 Early‑Access preview highlights three potential enhancements: improved NullPointerExceptions, a new non‑volatile memory mapped byte buffer mode, and the stabilization of Switch Expressions with pattern‑matching syntax.

JDKJavaSwitch Expressions
0 likes · 5 min read
Java 13 & 14 Highlights: Text Blocks, Better NPEs, and Switch Expressions
Java Captain
Java Captain
Oct 4, 2019 · Fundamentals

JDK 11‑13 Enhancements: Switch Expressions, Text Blocks, Dynamic CDS, ZGC Improvements, Socket API Rewrite, New FileSystem Methods, NIO Updates, Time API, I18N, and Feature Removals

This article summarizes the major JDK 11‑13 updates, including switch expression simplifications, multi‑line text block literals, dynamic AppCDS archives, ZGC memory‑release enhancements, a modernized socket API, new FileSystems methods, bulk NIO ByteBuffer operations, the Reiwa era in java.time, Unicode 12.1 support, and several deprecated features that have been removed.

Core LibraryJDKJava
0 likes · 10 min read
JDK 11‑13 Enhancements: Switch Expressions, Text Blocks, Dynamic CDS, ZGC Improvements, Socket API Rewrite, New FileSystem Methods, NIO Updates, Time API, I18N, and Feature Removals
Architecture Digest
Architecture Digest
Jul 23, 2019 · Fundamentals

Java Fundamentals: OOP Concepts, JVM/JDK/JRE, and Common Interview Topics

This article provides a comprehensive overview of core Java concepts for interview preparation, covering object‑oriented programming fundamentals, differences between OOP and procedural programming, detailed explanations of JVM, JDK, JRE, comparisons with C++, string handling, constructors, inheritance, polymorphism, threading, garbage collection, and related code examples.

Garbage CollectionJDKJRE
0 likes · 36 min read
Java Fundamentals: OOP Concepts, JVM/JDK/JRE, and Common Interview Topics
Alibaba Cloud Native
Alibaba Cloud Native
Jul 16, 2019 · Backend Development

New Features, Benchmarks, and Install Guide for Alibaba Dragonwell JDK 8.0.0‑GA

Alibaba’s Dragonwell JDK 8.0.0‑GA, now GA‑ready for production, syncs the latest OpenJDK 8u212‑b04 updates, adds security patches, fixes critical Alibaba‑specific bugs, and introduces proprietary features such as JWarmUp, JFR enhancements, and the upcoming ElasticHeap, with detailed installation steps and performance results.

Alibaba DragonwellElasticHeapJDK
0 likes · 14 min read
New Features, Benchmarks, and Install Guide for Alibaba Dragonwell JDK 8.0.0‑GA
Liangxu Linux
Liangxu Linux
May 2, 2019 · Backend Development

Step‑by‑Step Guide to Install, Configure, and Optimize Apache Tomcat

This article provides a comprehensive tutorial on installing Apache Tomcat, setting up the required JDK, configuring environment variables, adjusting server ports, and applying performance optimizations such as disabling AJP, switching to NIO, enabling external thread pools, and tuning JVM options for production use.

ConfigurationInstallationJDK
0 likes · 10 min read
Step‑by‑Step Guide to Install, Configure, and Optimize Apache Tomcat
Java Captain
Java Captain
Apr 30, 2019 · Backend Development

Essential Knowledge Roadmap for Java Developers After Five Years

After five years of Java development, this guide outlines the essential knowledge areas—including JDK source code, JVM internals, concurrency utilities, blocking queues, thread pools, and major frameworks such as Spring, MyBatis, Dubbo, and ElasticSearch—to help developers build a comprehensive expertise foundation.

Backend DevelopmentJDKJVM
0 likes · 10 min read
Essential Knowledge Roadmap for Java Developers After Five Years
JD Tech
JD Tech
Mar 15, 2019 · Information Security

Arbitrary URL Redirect Vulnerability and Pitfalls of Java URL.getHost()

The article analyzes an arbitrary URL redirect flaw caused by unchecked returnUrl parameters, demonstrates how Java's URL.getHost() can be misused through backslash and hash bypasses, and provides a robust validation code snippet that works across JDK versions.

JDKSecurityURL redirect
0 likes · 5 min read
Arbitrary URL Redirect Vulnerability and Pitfalls of Java URL.getHost()
Java Captain
Java Captain
Mar 12, 2019 · Fundamentals

Java Basics Interview Questions and Answers – Part 1

This article presents a curated set of 208 Java interview questions, focusing on the Java Basics module, and provides detailed explanations, code examples, and analyses of concepts such as JDK vs JRE, == vs equals, hashCode, final, abstract classes, and common String operations.

JDKJREJava
0 likes · 14 min read
Java Basics Interview Questions and Answers – Part 1
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 15, 2019 · Fundamentals

Deep Dive into Java HashMap and ConcurrentHashMap: Implementation, Operations, and Concurrency Mechanics

This article provides a comprehensive, step‑by‑step explanation of Java 7 HashMap and ConcurrentHashMap internals, covering their data structures, put/get algorithms, array initialization, resizing, segment locking, rehashing, and the concurrency considerations that ensure thread‑safe access.

ConcurrentHashMapData StructuresHashMap
0 likes · 22 min read
Deep Dive into Java HashMap and ConcurrentHashMap: Implementation, Operations, and Concurrency Mechanics
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 14, 2019 · Fundamentals

In‑Depth Analysis of Java HashMap Implementation and Usage

This article provides a comprehensive overview of Java's HashMap, covering its purpose as a key‑value store, the evolution of its internal data structures from JDK 1.7 to JDK 1.8, detailed explanations of core methods such as hash, put, get, resize, and practical example code illustrating common operations.

CollectionsData StructureHashMap
0 likes · 18 min read
In‑Depth Analysis of Java HashMap Implementation and Usage
Programmer DD
Programmer DD
Feb 12, 2019 · Fundamentals

How ZGC Achieves Sub‑10 ms Pauses: A Deep Dive into Java’s Low‑Latency GC

ZGC is a scalable, low‑latency Java garbage collector designed to keep pause times under 10 ms regardless of heap size, supporting up to 4 TB, and leveraging concurrent, region‑based, compacting, NUMA‑aware techniques, colored pointers, and load barriers, with detailed compilation and tuning guidance.

Garbage CollectionJDKJava
0 likes · 8 min read
How ZGC Achieves Sub‑10 ms Pauses: A Deep Dive into Java’s Low‑Latency GC
21CTO
21CTO
Feb 5, 2019 · Fundamentals

Navigating Oracle’s Java Licensing: Which JDK Should You Use?

This article explains Oracle's recent statements on Java support and subscription licensing, compares Oracle JDK with OpenJDK and other vendors, and guides developers on choosing free or paid options for Java SE 8 and 11 LTS releases.

JDKJavaLTS
0 likes · 7 min read
Navigating Oracle’s Java Licensing: Which JDK Should You Use?
Programmer DD
Programmer DD
Jan 22, 2019 · Backend Development

Why Your Java String Concatenation Is Slowing Down and How to Fix It

This article examines how different Java string concatenation techniques impact performance, demonstrates compile‑time optimizations and bytecode generation, and provides practical recommendations—such as using StringBuilder—to avoid costly object creation inside loops.

JDKJavaJavap
0 likes · 8 min read
Why Your Java String Concatenation Is Slowing Down and How to Fix It
Programmer DD
Programmer DD
Dec 21, 2018 · Backend Development

What You Need to Know About Oracle Java 11 Licensing and Support

This article explains Oracle's Java 11 licensing changes, the split between commercial and OpenJDK builds, support and update policies, and how organizations can choose the right JDK from Oracle or alternative vendors to ensure proper maintenance and compliance.

JDKJavaJava11
0 likes · 9 min read
What You Need to Know About Oracle Java 11 Licensing and Support
Java Captain
Java Captain
Nov 19, 2018 · Fundamentals

Understanding JDK Dynamic Proxy: Implementation Principles and Code Walkthrough

This article explains how JDK dynamic proxy generates proxy classes at runtime for interfaces using java.lang.reflect.Proxy and InvocationHandler, demonstrates usage with code examples, explores the underlying ProxyGenerator and class‑caching mechanisms, and clarifies why only interface‑based proxies are supported.

Dynamic ProxyInvocationHandlerJDK
0 likes · 11 min read
Understanding JDK Dynamic Proxy: Implementation Principles and Code Walkthrough
Java Captain
Java Captain
Jul 8, 2018 · Fundamentals

Understanding Java: Its Ecosystem, Editions, JDK/JRE, OpenJDK, and the JVM

This article provides a comprehensive overview of Java, explaining its evolution from a simple programming language to a broad technology ecosystem that includes Java SE, EE, ME, the JDK and JRE, OpenJDK, the Java Community Process, and the role of the JVM in achieving write‑once‑run‑anywhere.

JDKJREJVM
0 likes · 11 min read
Understanding Java: Its Ecosystem, Editions, JDK/JRE, OpenJDK, and the JVM
Java Captain
Java Captain
Feb 26, 2018 · Fundamentals

Java Dynamic Proxy Mechanism and Design Pattern Overview

This article explains the Proxy design pattern, details Java's dynamic proxy classes and interfaces from JDK 1.6 source, walks through the step‑by‑step creation process, presents a complete demo implementation, and analyzes the underlying Proxy class generation and InvocationHandler mechanisms.

Dynamic ProxyJDKJava
0 likes · 13 min read
Java Dynamic Proxy Mechanism and Design Pattern Overview
Java Captain
Java Captain
Jan 4, 2018 · Fundamentals

How to Strengthen Your Java Foundations: Mastering the JDK

This article explains how to solidify your Java fundamentals by thoroughly understanding the JDK’s three main components—JVM, core libraries, and development tools—and provides a practical classification of packages into four learning levels to guide efficient study.

JDKJavacore-libraries
0 likes · 14 min read
How to Strengthen Your Java Foundations: Mastering the JDK