Retrofitting our application for GraalVM
There are always two ways to approach building a native application: create a brand-new application or take an existing one and update it. Thanks to Spring Boot 3.0 and their adoption of native application support, it’s very easy to update an existing application to use GraalVM instead of the JVM.
What is Java Virtual Machine code?
Java code has always, since the dawn of time, been compiled into bytecode, meant to be run on Java Virtual Machine (JVM). This has resulted in the common expression write once, run anywhere. Any compiled Java bytecode, due to every aspect of these files being captured by the Java specification, can be run on any compliant JVM, no matter what machine it lives on. This was a huge departure from a previous era that involved compiling separately for every single machine architecture an app would get deployed to. This was revolutionary in its day and has allowed other post-compilation enhancements such as...