Tagged articles

Native Image

57 articles · Page 1 of 1
java1234
java1234
Aug 9, 2026 · Backend Development

Why Spring Boot 3 Completely Drops JDK 8

Spring Boot 3 raises its minimum Java version to 17 because Spring Framework 6 moves to Jakarta EE 9+, ending support for the javax.* namespace, and Oracle stopped free updates for JDK 8, making migration essential for security, ecosystem compatibility, and to leverage new language features and Spring‑Boot‑specific improvements.

JDK 17Jakarta EEJava Records
0 likes · 10 min read
Why Spring Boot 3 Completely Drops JDK 8
Java Tech Workshop
Java Tech Workshop
Jul 20, 2026 · Backend Development

Spring Boot 4’s Underrated Feature: Spring Data AOT Explained

Spring Data AOT in Spring Boot 4 moves all repository parsing, reflection and query generation to compile time, dramatically cutting startup time, reducing memory and Metaspace usage, enabling compile‑time SQL validation, simplifying GraalVM native‑image configuration, and providing measurable performance gains backed by real‑world benchmarks.

AOTGraalVMNative Image
0 likes · 17 min read
Spring Boot 4’s Underrated Feature: Spring Data AOT Explained
Java Architect Essentials
Java Architect Essentials
Jun 26, 2026 · Backend Development

7 Proven Techniques to Slash Spring Boot Startup Time by Up to 70%

This article walks through seven concrete Spring Boot startup optimizations—including lazy initialization, precise component scanning, JVM tuning, auto‑configuration slimming, class‑loading reduction, delayed database connections, and AOT/native compilation—showing real‑world benchmarks that cut launch times by around 70%.

AOTJVM TuningLazy Initialization
0 likes · 9 min read
7 Proven Techniques to Slash Spring Boot Startup Time by Up to 70%
Architect's Tech Stack
Architect's Tech Stack
Jun 14, 2026 · Backend Development

Why Quarkus Can Outrun Spring Boot: Launching Apps in Under 0.002 Seconds

The article compares Spring Boot and Quarkus, explaining how Quarkus’s build‑time optimizations, native image support, and container‑first design dramatically reduce startup time and memory usage, while also discussing development experience, extension mechanisms, and the trade‑offs involved in adopting the framework.

KubernetesMicroProfileNative Image
0 likes · 14 min read
Why Quarkus Can Outrun Spring Boot: Launching Apps in Under 0.002 Seconds
Java Web Project
Java Web Project
Apr 19, 2026 · Industry Insights

Why Spring Boot Falters in Serverless: Comparing Quarkus, Micronaut & Helidon

Spring Boot’s heavy runtime, driven by reflection and classpath scanning, incurs long cold starts and high memory usage, making it costly for serverless and edge deployments; lightweight frameworks like Quarkus, Micronaut, and Helidon shift work to compile time and offer native images, but introduce trade‑offs in dynamism, ecosystem coverage, and build complexity.

Framework ComparisonHelidonMicronaut
0 likes · 10 min read
Why Spring Boot Falters in Serverless: Comparing Quarkus, Micronaut & Helidon
Java Web Project
Java Web Project
Apr 15, 2026 · Backend Development

How We Cut Spring Boot Startup from 12 s to 3 s with GraalVM Native Image

This article walks through converting a Spring Boot order‑query microservice to a GraalVM Native Image, detailing environment setup, common build pitfalls with concrete code fixes, Docker multi‑stage packaging, K8s scaling comparison, performance benchmarks, CI/CD integration, and guidance on when Native Image is appropriate.

CI/CDDockerGraalVM
0 likes · 12 min read
How We Cut Spring Boot Startup from 12 s to 3 s with GraalVM Native Image
LuTiao Programming
LuTiao Programming
Jan 30, 2026 · Backend Development

Spring Boot 4.0.2 Released: Over 20 Critical Bugs Fixed and Kafka Transaction Issue Resolved

Spring Boot 4.0.2, launched on January 22, brings more than 20 critical bug fixes, restores Kafka transaction auto‑configuration, improves startup performance by up to 15%, stabilizes native‑image support, refines test behavior, upgrades core dependencies, and introduces a few breaking changes, making it a must‑upgrade for production users.

KafkaNative Imagedependency-upgrade
0 likes · 8 min read
Spring Boot 4.0.2 Released: Over 20 Critical Bugs Fixed and Kafka Transaction Issue Resolved
macrozheng
macrozheng
Jan 27, 2026 · Backend Development

Why Tomcat Beats Jetty 15× with SpringBoot 4 Virtual Threads

A performance comparison of SpringBoot 4.0 with virtual threads shows Tomcat achieving up to fifteen times higher QPS than Jetty, while startup times remain similar, and provides step‑by‑step instructions for building native Docker images and switching containers.

DockerJettyNative Image
0 likes · 10 min read
Why Tomcat Beats Jetty 15× with SpringBoot 4 Virtual Threads
java1234
java1234
Jan 27, 2026 · Backend Development

7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time

This article presents seven concrete Spring Boot startup optimization techniques—including lazy bean initialization, precise component scanning, JVM flag tuning, auto‑configuration pruning, class‑loading shortcuts, lazy database connections, and GraalVM native compilation—backed by real‑world benchmarks that reduce launch times by up to 71% across e‑commerce, micro‑service, logistics and payment services.

Class LoadingDatabase ConnectionGraalVM
0 likes · 9 min read
7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time
LuTiao Programming
LuTiao Programming
Jan 25, 2026 · Backend Development

12 2026 Java & Spring Boot Trends Reshaping Backend Development

The article outlines twelve concrete shifts—cloud‑native defaults, Project Loom virtual threads, selective reactive use, AI‑assisted coding, API‑first design, built‑in observability, modular monoliths, security‑by‑design, native images, confidence‑driven testing, DDD revival, and a move from code writing to system judgment—that will define Java backend engineering by 2026.

AI codingCloud NativeNative Image
0 likes · 8 min read
12 2026 Java & Spring Boot Trends Reshaping Backend Development
LuTiao Programming
LuTiao Programming
Jan 23, 2026 · Backend Development

Are You Still Using Old Java Patterns? 2026 Spring Boot Trends That May Obsolete Them

The article analyzes how Spring Boot 2026 reshapes Java backend development by embracing virtual threads, GraalVM native images, built‑in observability, modern security practices, immutable records, and cloud‑native defaults, urging developers to abandon legacy coding habits in favor of these emerging trends.

Cloud NativeGraalVMNative Image
0 likes · 8 min read
Are You Still Using Old Java Patterns? 2026 Spring Boot Trends That May Obsolete Them
Java Architecture Diary
Java Architecture Diary
Jan 8, 2026 · Backend Development

Why Tomcat Outperforms Jetty 15× with Virtual Threads in Spring Boot 4.0

A detailed benchmark shows that enabling Java virtual threads in Spring Boot 4.0 makes Tomcat handle up to fifteen times more requests than Jetty, while startup times remain similar, and the article explains the test setup, configuration steps, native image builds, and the reasons behind Jetty's limitation.

DockerJettyNative Image
0 likes · 10 min read
Why Tomcat Outperforms Jetty 15× with Virtual Threads in Spring Boot 4.0
Selected Java Interview Questions
Selected Java Interview Questions
Oct 8, 2025 · Backend Development

Mastering GraalVM Native Image Reflection: The Ultimate Guide for Spring Boot 3

This comprehensive guide explains why reflection configuration is essential for GraalVM native compilation, details Spring Boot 3's reflection mechanisms, enumerates common pitfalls with concrete solutions, and presents best‑practice strategies and tooling to reliably build native images for Java back‑ends.

GraalVMNative ImageReflection Configuration
0 likes · 5 min read
Mastering GraalVM Native Image Reflection: The Ultimate Guide for Spring Boot 3
Dunmao Tech Hub
Dunmao Tech Hub
Sep 23, 2025 · Backend Development

How to Build a Native Spring Boot Executable with GraalVM and Docker

Learn to compile a Spring Boot 3.5.6 application into a fast-starting native binary using GraalVM, configure the environment, add Maven plugins, write simple test code, and package the result into a lightweight Docker image, achieving dramatically reduced startup time and image size.

GraalVMMavenNative Image
0 likes · 8 min read
How to Build a Native Spring Boot Executable with GraalVM and Docker
Architecture Digest
Architecture Digest
Mar 14, 2025 · Backend Development

Spring Boot vs Quarkus: Performance Comparison, Migration Guide, and Practical Code Samples

This article compares Spring Boot and Quarkus across architecture, startup speed, memory usage, and native image support, presents a JMeter‑based performance test suite, shares migration tips for Spring developers, and provides concrete Java code examples for building reactive microservices on both frameworks.

KubernetesNative ImageQuarkus
0 likes · 13 min read
Spring Boot vs Quarkus: Performance Comparison, Migration Guide, and Practical Code Samples
macrozheng
macrozheng
Feb 14, 2025 · Backend Development

How to Build Fast Spring Boot 3 Apps with GraalVM Native Images and AOT

This guide walks through the prerequisites, GraalVM installation, Maven setup, and step‑by‑step packaging of a Spring Boot 3 application into a native executable using AOT compilation, runtime hints, and Docker, demonstrating dramatically faster startup times.

AOTDockerGraalVM
0 likes · 12 min read
How to Build Fast Spring Boot 3 Apps with GraalVM Native Images and AOT
Java Tech Enthusiast
Java Tech Enthusiast
Dec 8, 2024 · Backend Development

Performance Comparison of Spring Boot Native Image, JAR, Go, and Rust Deployments

The article benchmarks a Spring Boot 3 service as a GraalVM native image, a traditional JAR, and Go and Rust versions, showing the native binary starts in under a second with ~70 MB memory and 7 k requests/s, the JAR needs seconds and 200 MB, while Go and Rust use 10 MB and 3 MB respectively with throughput, illustrating native images’ fast startup and lower runtime footprint despite longer compilation.

GoGraalVMNative Image
0 likes · 9 min read
Performance Comparison of Spring Boot Native Image, JAR, Go, and Rust Deployments
Alibaba Cloud Native
Alibaba Cloud Native
Nov 4, 2024 · Cloud Native

Boost Java Startup Speed and Reduce Memory with GraalVM Static Compilation & ARMS

This guide explains the challenges of Java cold‑start and high runtime memory in cloud‑native environments, introduces GraalVM static compilation and a novel static Java Agent instrumentation solution, and provides step‑by‑step instructions—including dependency installation, Maven configuration, pre‑run collection, and native image building—to enable observable, high‑performance Java applications.

GraalVMJava AgentNative Image
0 likes · 17 min read
Boost Java Startup Speed and Reduce Memory with GraalVM Static Compilation & ARMS
Selected Java Interview Questions
Selected Java Interview Questions
Jul 28, 2024 · Backend Development

Performance Comparison of Spring Boot Native Image vs Go and Rust

This article demonstrates how to quickly build and benchmark a Spring Boot 2.x application as a native binary, compares its startup time, memory usage, and request throughput with equivalent implementations in Go and Rust, and concludes that AOT‑processed Java offers impressive performance despite longer compilation times.

GoNative ImageRust
0 likes · 7 min read
Performance Comparison of Spring Boot Native Image vs Go and Rust
Java Backend Technology
Java Backend Technology
Dec 26, 2023 · Backend Development

Exploring Spring Boot 3.2: Java 21, Virtual Threads, and GraalVM Native Images

Spring Boot 3.2 now fully supports Java 21, Project Loom virtual threads, and GraalVM native images, and this guide walks through installing Java 21‑GraalVM, configuring virtual threads, building sample controllers, async and scheduled tasks, and creating a native executable to achieve faster startup and lower memory usage.

GraalVMJava 21Native Image
0 likes · 9 min read
Exploring Spring Boot 3.2: Java 21, Virtual Threads, and GraalVM Native Images
Code Ape Tech Column
Code Ape Tech Column
Nov 30, 2023 · Backend Development

Performance Comparison of Spring Boot on JVM vs GraalVM Native Image

This article evaluates the startup speed, memory consumption, and request‑handling performance of a simple Spring Boot "Hello World" service when run on the traditional JVM compared with a GraalVM‑compiled native binary, using a MacBook M1 and Bombardier for load testing.

Native ImageSpring Bootbenchmark
0 likes · 9 min read
Performance Comparison of Spring Boot on JVM vs GraalVM Native Image
Architecture Digest
Architecture Digest
Nov 29, 2023 · Backend Development

Exploring Spring Boot 3.2 with Java 21, GraalVM Native Images, and Virtual Threads

This article demonstrates how Spring Boot 3.2 fully supports Java 21, Project Loom virtual threads, and GraalVM native images, providing step‑by‑step instructions, configuration details, and runnable code examples that showcase building, running, and profiling a Spring Boot application with these modern technologies.

GraalVMJava 21Native Image
0 likes · 8 min read
Exploring Spring Boot 3.2 with Java 21, GraalVM Native Images, and Virtual Threads
Programmer DD
Programmer DD
Sep 26, 2023 · Fundamentals

GraalVM for JDK 21 Released – Full Virtual Thread & Native Image Support

The new GraalVM for JDK 21 brings full virtual‑thread support, native‑image capabilities without preview flags, performance improvements, early Java Vector API optimizations, and a high‑performance runtime for Java and other languages, with download links and additional resources for developers.

GraalVMJDK21Native Image
0 likes · 4 min read
GraalVM for JDK 21 Released – Full Virtual Thread & Native Image Support
Java Architecture Diary
Java Architecture Diary
Jun 16, 2023 · Backend Development

Unlock Faster Java: Oracle GraalVM Native Image’s Startup, Memory, and Throughput Gains

Oracle GraalVM’s new release for JDK 17 and JDK 20 adds free‑to‑use native‑image features—including profile‑guided optimizations, G1 GC, object‑header compression, ML‑driven PGO, and SBOM support—delivering up to 46% faster startup, 2‑3× lower memory usage, and up to 1.6× higher peak throughput compared with traditional JIT, while also introducing new tooling such as native‑image bundles, build reports, enhanced AWT support, and experimental monitoring.

GraalVMJava performanceNative Image
0 likes · 18 min read
Unlock Faster Java: Oracle GraalVM Native Image’s Startup, Memory, and Throughput Gains
Programmer DD
Programmer DD
Dec 27, 2022 · Backend Development

How to Build a Minimal GraalVM Native Image for a Solon Java App

This guide walks through setting up GraalVM on Ubuntu, configuring environment variables, handling native-image agent pitfalls, fixing H2 database class‑loading issues, and finally producing a compact native executable for a Solon‑based Java service with memory‑optimisation tips.

GraalVMNative ImageSolon
0 likes · 13 min read
How to Build a Minimal GraalVM Native Image for a Solon Java App
Java High-Performance Architecture
Java High-Performance Architecture
Dec 17, 2022 · Cloud Native

How to Build Lightning‑Fast Spring Boot Apps with Spring Native and GraalVM

This tutorial walks through installing GraalVM, configuring Spring Native, building a native Spring Boot application using Buildpacks or the native‑image plugin, creating Docker containers, and comparing startup speed and memory usage against traditional Java execution, providing full pom.xml examples and official documentation links.

DockerGraalVMNative Image
0 likes · 12 min read
How to Build Lightning‑Fast Spring Boot Apps with Spring Native and GraalVM
Java Captain
Java Captain
Oct 27, 2022 · Backend Development

Spring Boot 3.0 RC1 Released with Native Image Support and Jakarta EE 9 Migration

Spring Boot 3.0 RC1 introduces 135 enhancements, native executable support via Maven/Gradle plugins, migration to Jakarta EE 9, Java 17 baseline, and new features such as flexible Spring Data JDBC auto‑configuration, Prometheus example auto‑configuration, and Log4j2 improvements, with full details in the release notes.

GraalVMJakarta EENative Image
0 likes · 2 min read
Spring Boot 3.0 RC1 Released with Native Image Support and Jakarta EE 9 Migration
macrozheng
macrozheng
Dec 8, 2021 · Backend Development

How to Turn a Java Hello World into a Fast Native Binary with GraalVM

This article walks through writing a simple Java program, compiling it with javac, then using GraalVM's native-image tool to produce a JVM‑independent executable, compares file size and startup speed, discusses native-image limitations, and shows how Spring Boot can be built as a native image for dramatically faster startup.

AOT compilationGraalVMNative Image
0 likes · 12 min read
How to Turn a Java Hello World into a Fast Native Binary with GraalVM
Java Architecture Diary
Java Architecture Diary
Jul 22, 2021 · Fundamentals

GraalVM 21.2 Highlights: Native Image, Compiler, and Multi‑Language Improvements

GraalVM 21.2 introduces major updates across its ecosystem, including new Gradle and Maven plugins for Native Image with JUnit 5 support, enhanced compiler optimizations, expanded Truffle language capabilities, improved JavaScript, Ruby, Python, LLVM, and upgraded tooling such as VisualVM and JFR integration.

Compiler OptimizationsGraalVMMulti-language
0 likes · 18 min read
GraalVM 21.2 Highlights: Native Image, Compiler, and Multi‑Language Improvements
High Availability Architecture
High Availability Architecture
Jul 13, 2021 · Cloud Native

Interview with Mercyblitz on Java Cloud‑Native, Dubbo Evolution, and Architectural Practices

In this interview, Mercyblitz shares his background, discusses Java's role in cloud‑native computing, explains recent Dubbo advancements and plans for native support, and offers insights on technology selection, architectural challenges, and his upcoming GIAC talk on Java cloud‑native ecosystems.

Cloud NativeDubboNative Image
0 likes · 7 min read
Interview with Mercyblitz on Java Cloud‑Native, Dubbo Evolution, and Architectural Practices
Java Architecture Diary
Java Architecture Diary
May 10, 2021 · Backend Development

Mastering Spring Native with GraalVM: A Hands‑On Guide to Configuring Mica Components

This article walks through building a Spring Native application with GraalVM, demonstrates how to generate native‑image configuration files, and shows step‑by‑step integration of Mica components such as ip2region, captcha, and caffeine using Spring Native hints and custom resource configurations.

GraalVMNative ImageSpring Native
0 likes · 7 min read
Mastering Spring Native with GraalVM: A Hands‑On Guide to Configuring Mica Components
Java Architecture Diary
Java Architecture Diary
Mar 30, 2021 · Backend Development

Unlock GraalVM: Faster Java, Native Images, and Polyglot Programming

This guide introduces GraalVM’s key capabilities—including a high‑performance JIT compiler, native‑image generation for low‑memory binaries, and seamless polyglot support—while providing essential command‑line options and code examples for Java, native, and multiple language development.

Command LineGraalVMJIT compiler
0 likes · 10 min read
Unlock GraalVM: Faster Java, Native Images, and Polyglot Programming
Java Architecture Diary
Java Architecture Diary
Dec 19, 2020 · Backend Development

Boost Spring Boot Performance with GraalVM Native Images

This guide walks through installing GraalVM, adding the native‑image tool, creating a Spring Boot 2.4 project, configuring it for GraalVM, building a native executable, and comparing startup time and memory usage, showing how GraalVM can reduce startup from over a second to 0.2 seconds and memory from 480 MB to 25 MB.

GraalVMNative ImageSpring Boot
0 likes · 8 min read
Boost Spring Boot Performance with GraalVM Native Images