Building Native Applications with Spring Boot and GraalVM
-
Introduction1m
-
LockedNative Images: Why, How, and Tradeoffs10m
-
LockedLab: Build your first Spring Boot Native Application15m
-
LockedMigrating an Existing Spring Boot Application to a native image10m
-
LockedLab: Migrating an Existing Spring Boot Application to native image30m
-
CompletedConclusion
Level up with Spring Academy Pro
Ready to take your Spring skills to the next level? Upgrade to Spring Academy Pro and unlock access to all our Pro courses, lessons, labs—it’s everything you need to become a Spring Certified Professional.
In this interactive Lab, you’ll learn more about how to run a more complex application as a native image, by migrating an existing one.
This lab assumes you’re familiar with the material in the previous lesson.
- You’ll start with a small “Cash Card” Spring Boot web application
- You'll Build and run it successfully as a standard JVM application
- You'll then build it successfully, but encounter runtime failures, as a native image application
- Using the Runtime Hints API, you'll supply two types of metadata that the application requires in order to be native image compatible:
- Reflection metadata
- Runtime Java resources
Sébastien Deleuze
Spring Framework core committer
Based in Lyon (France), Sébastien is a Spring Framework core committer at VMware. He led the introduction of Kotlin and GraalVM native image in Spring. WebAssembly believer since 2016, he is also Kotlin Google Developer Expert and an ex MiXiT conference staff.
Give Feedback
Help us improve by sharing your thoughts.