Ahead Of Time and Native in Spring Boot 3.0
summary
Spring AOT compiles Spring Boot 3 apps ahead-of-time into GraalVM native-image binaries by generating AOT sources at build time, invoking a build plugin, and emitting GraalVM reachability config. The demo builds a CLI native binary that runs with startup in megabytes and milliseconds of memory and latency savings but takes about 90 seconds to compile locally until CI/cloud builds are used. Missing reflection or resources get fixed with the new runtime hints API or generated code; generated Java is viewable in the IDE and tests/agent validate the hints.
AI-written summary · about
chapters (4)
related talks
50mAhead-Of-Time and Native with Spring Boot 3.0
46mNative builds with Spring Boot 3
01h 01mFrom Spring Native to Spring Boot 3
51mGoing AOT: Everything you need to know about GraalVM for Java applications
51mMigrating Spring Boot apps to GraalVM
46mFast and Lightweight Spring Boot Applications with GraalVM
47mGoing Native: Fast and Lightweight Spring Boot Applications with GraalVM
45mGoing AOT: Everything you need to know about GraalVM for Java applications
