From Spring Native to Spring Boot 3
Talkat JCON Europe 2023 · on Wednesday, 2023-06-21· at 12:00· Cinema 7, Im Mediapark 1, 50670 Köln, Germany·
summary
Narrates how Spring Boot 3 folds GraalVM native-image into the platform: AOT transforms replace reflection with generated Java, the native-build-tools plugin and buildpacks produce images, and a runtime hints API (plus reachability metadata JSON) fixes library compatibility. Demo produces a 65 MB binary in ~56s that starts in 52 ms; GraalVM CE/EE startup is ~410/200 ms and memory drops from ~1.8 GB (JVM) to ~700–900 MB. Native JUnit tests run inside the image; some dependencies (e.g. Log4j2) remain unsupported.
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker intro
- 0:45What is GraalVM Native Image
- 3:58Advantages of compiling to native
- 6:07History of Spring Native to Spring Boot 3
- 7:31Demo: Creating a native executable
- 10:16Testing in native image
- 11:22GraalVM version support
- 13:08Commercial offerings and third-party support
- 15:56Differences between Spring Native and Spring Boot 3
- 18:26Demo: Migrating Pet Clinic to native
- 21:37Technical deep dive: Native image components
- 26:33Demo: AOT transformation in IDE
- 31:51Performance benefits of AOT mode
- 33:57Handling profiles in native image
- 35:19Building native executables with tools
- 37:06Performance numbers comparison
- 39:53Observability in native image
- 42:00Future improvements and conclusion








