jpoint JPoint 2019 (05.04.2019 — 06.04.2019)

Spring comes ahead of time, or Unbearable lightness of AOT compilation of the Spring Boot applications

img

Using Spring Boot applications support in AOT-centric JVM Excelsior JET as an example, Nikita will show how Java dynamic properties being used in Spring Framework can work together with AOT-generated machine code.

It appears that Spring Framework uses nearly all the Java dynamic features: Spring Boot applications are being loaded by their own classloader, Java bytecode on the fly generation and loading, reflection are being used everywhere, etc.

On the other hand, static AOT compilation of the Java applications is gaining popularity in the world of microservices. It can solve problems of fast start up, predictable performance and instant peak performance achievement. One wonders whether the dynamic of Spring Framework can coexist with static compilation? The answer is yes, it can.

In this talk Nikita, using Spring Boot support in AOT-centric JVM Excelsior JET as an example, will show how Java dynamic features used in Spring Framework can work together with AOT-generated machine code.