Expert talks on the tools and processes devs need to know. Register for SpringOne at VMware Explore >
Mar 16, 2023
GraalVM Native Image requires the reachability metadata to determine whether reflectively accessed parts of a program need to be included in the executable. When switching to Spring Native, providing metadata for third-party libraries might require modifications to your application and can lead to errors. In previous versions of Spring and GraalVM, this could be challenging, but don’t worry—we’ve greatly simplified this task.
In this talk, we explain how to make the transition to Spring Native seamless with the tools we developed. First, we show how to write code to make additional metadata for reflective calls unnecessary. Then, we show how the Native Build Tools help you verify the third-party dependencies whose metadata is incomplete and download the missing metadata from the shared metadata repository. Finally, we show how to effortlessly run native tests and maintain the metadata for your application.
Christian Wimmer is the architect of GraalVM Native Image. He was one of the first engineers of the GraalVM project, and helped it grow from a research project of Oracle Labs to a supported Oracle product. He believes that all languages should be equally fast, and that we therefore need to stop writing individual VMs and instead have one polyglot VM. His research interests span from compilers, virtual machines, and secure systems to component-based software architectures.
DaShaun is a husband, father of four, volunteer, struggling athlete and Spring Developer Advocate at VMware Tanzu. Deliberately practicing to build, manage, and run, better software, faster.