Spring Academy by VMware
Lab: Migrating an Existing Spring Boot Application to native image
Next Lesson

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.

View Profile

Give Feedback

Help us improve by sharing your thoughts.

Share