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
Introduction
What Will You Learn?
This course is designed to introduce you to GraalVM native images: Java applications which are compiled to native code, and therefore don't require a JVM installation to run. You'll learn about:
- The advantages of native image deployment (namely, lower memory consumption compared to the JVM and instant startup).
- The tradeoffs between native image and standard JVM deployment.
- The extra development tasks that are needed to compile a Spring Boot application to a native image.
You'll also "learn by doing", in our hands-on, interactive labs.
Hands-On Labs
The Labs in this course provide an interactive terminal and editor, so you don’t need any specific tools installed on your own machine.
You'll install the GraalVM toolchain, generate a starter Spring Boot app using Spring Initializr, and build it as a native image application.
You'll then migrate a more complex application so that it can be deployed as a native image. This will give you the knowledge you need to migrate any Spring Boot application to be deployed as a native image.
In this article
The Building Native Applications with Spring Boot and GraalVM course introduces the GraalVM native image compiler. It's for experienced developers who want to learn the advantages of deploying applications as native images, and how to develop and migrate Spring Boot applications to be native image compatible.
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.