Tagged articles
jdk17
20 articles · Page 1 of 1
This guide shows how to set up a Spring Boot 3.x project with JDK 17, add the spring‑ai‑alibaba‑starter, configure an Alibaba Cloud Bailei API key, and implement a simple chat controller to call the model via Spring AI.
AI chatAlibabaBailei
0 likes · 6 min read

Upgrading an old Android project to meet Google Play's new targetSdk 35 requirement involves moving to AGP 8, Gradle 8, and JDK 17, updating namespace, enabling BuildConfig, fixing non‑final resource IDs, and applying JVM arguments to keep ButterKnife functional despite its deprecation.
AGP8AndroidButterKnife
0 likes · 9 min read

This article walks through JDK 17’s most impactful language upgrades—including records, sealed classes, pattern matching, text blocks, var inference, enhanced switch, and new APIs—explaining their syntax, practical use cases, and how they simplify Java code while improving performance and maintainability.
JavaSealed ClassesText Blocks
0 likes · 12 min read

This article explains how moving from Java 8 to JDK 17—leveraging new language features, updated APIs, and the ZGC garbage collector—can dramatically improve service latency, reduce GC pauses, lower machine costs, and enable AI SDKs that require Java 17, while also detailing migration steps and performance results.
GarbageCollectionJavaPerformanceUpgrade
0 likes · 31 min read

Meituan’s security team upgraded core services from JDK 8 to JDK 17 with ZGC, achieving up to 30% performance gains, a 10% reduction in machine cost, and improved stability while addressing compatibility and AI SDK requirements.
JavaPerformanceOptimizationZGC
0 likes · 27 min read

This tutorial demonstrates how to replace the traditional jar‑upload workflow with an IDEA‑integrated Docker solution, covering environment setup, SSH configuration, Docker daemon connection, SpringBoot code, Dockerfile creation, remote deployment settings, firewall opening, and common troubleshooting steps.
DockerIDEAMaven
0 likes · 8 min read

This article introduces the most useful JDK 17 language enhancements—including text blocks, improved NullPointerException messages, records, switch expressions, private interface methods, pattern matching, collection factory methods, new String APIs, Stream API extensions, the modern HttpClient, JShell, direct java file execution, and the Z Garbage Collector—providing code examples and practical guidance for Java developers.
JavaNew FeaturesRecords
0 likes · 15 min read

This article details a three‑month, multi‑step migration of a large Android monorepo from AGP 7.2.2 to 8.2.2, covering Transform API deprecation, namespace handling, Gradle and JDK upgrades, build‑feature toggles, third‑party library adaptations, performance optimizations, and the troubleshooting of numerous compilation pitfalls.
AGPAndroidBuild Optimization
0 likes · 18 min read

This article walks through Java 17’s most useful language upgrades—including text blocks, enhanced NullPointerException messages, records, switch expressions, private interface methods, pattern matching, collection factories, Stream API extensions, the new HttpClient, JShell, direct file execution, and ZGC—showing why upgrading from Java 8 can boost code clarity and productivity.
BackendDevelopmentCodeExamplesJava
0 likes · 16 min read

This article walks Java developers through the most useful JDK 17 enhancements—including text blocks, improved NullPointerException messages, records, the new switch expression, private interface methods, pattern matching, collection factory methods, enriched String APIs, Stream API upgrades, the modern HttpClient, JShell, direct file execution, and ZGC—showing code examples and practical benefits.
Backendjdk17new-features
0 likes · 14 min read

This article explains how moving to JDK 17 and the low‑latency ZGC garbage collector can reduce pause times to under 10 ms, improve throughput, and meet demanding real‑time service requirements, while providing practical upgrade steps, JVM tuning parameters, and performance comparisons.
JavaPerformance TuningZGC
0 likes · 8 min read

This article explains why upgrading to JDK 17 and switching to the low‑latency ZGC garbage collector can dramatically reduce pause times and improve throughput, compares GC and CPU metrics against G1, and provides step‑by‑step installation and JVM tuning instructions with code examples.
BackendJVMJava
0 likes · 6 min read

This article documents the step‑by‑step migration of a Java campus‑blog project from JDK 8 + Spring Boot 2.6 to JDK 17 and Spring Boot 3.2, explaining why the upgrade is worthwhile, detailing code and configuration changes, and sharing solutions to the numerous compatibility issues encountered.
ElasticsearchJavaSpringBoot3
0 likes · 18 min read

This article explains why upgrading from JDK8 or JDK11 to the long‑term support JDK17 brings significant garbage‑collector performance improvements, new language features, and better framework compatibility, and provides detailed migration steps, Maven and SpringBoot configuration changes, and troubleshooting tips.
GarbageCollectionJDKJava
0 likes · 16 min read

This article examines the benefits of moving from JDK 11 to the long‑term support JDK 17, detailing performance gains—especially sub‑millisecond ZGC pause times—new language features, compatibility considerations, benchmark results, and step‑by‑step migration instructions for Spring‑based applications.
JavaMavenSpringBoot
0 likes · 15 min read

This article details the motivation, steps, encountered challenges, and measurable performance gains of upgrading a high‑traffic search recommendation service from JDK 8 to JDK 17, highlighting new Java syntax, modern GC algorithms, deployment procedures, and the resulting reductions in latency, GC pause times, and heap usage.
JavaUpgradegarbage collection
0 likes · 19 min read

This article investigates the severe memory growth and latency spikes observed when synchronizing data across data centers in a Netty‑driven online computation service, analyzes the impact of JDK 17 ZGC and direct‑buffer allocation, and presents the debugging steps, source‑code insights, and configuration changes that ultimately resolved the issue.
DirectMemoryJavaMemoryLeak
0 likes · 13 min read

Didi upgraded its self‑developed Elasticsearch from JDK 11/G1 to JDK 17, adopting ZGC for latency‑critical clusters and tuned G1 for throughput, which eliminated long GC pauses, reduced query latency by up to 96%, cut CPU usage, and dramatically improved stability across multiple production clusters.
BackendElasticsearchGC optimization
0 likes · 14 min read


JD TechJul 10, 2023 · Backend Development
This article explains why Java applications should migrate from JDK 8 to JDK 17, introduces GraalVM native‑image technology, provides detailed upgrade procedures, Maven configuration, code examples, and a summary of performance benefits and typical issues encountered during the migration.
GraalVMMavenNative Image
0 likes · 13 min read

This article walks through practical steps for migrating Java 8 projects to Java 17, covering removed modules, dependency adjustments, unified logging syntax, deprecated GC flags, reflection restrictions, and tuning recommendations for G1 garbage collection to help developers avoid common upgrade traps.
GCJavaUnified Logging
0 likes · 19 min read
