/

Going Native: Trying Out AOT For Spring Boot

Copy Link

Unlock This Lesson

28

min

Going Native: Trying Out AOT For Spring Boot

Going Native: Trying Out AOT For Spring Boot

Going Native: Trying Out AOT For Spring Boot

Going Native: Trying Out AOT For Spring Boot

publish date

Mar 1, 2023

duration

28

min

Difficulty

Intermediate

Beginner

Beginner

Beginner

Case details

One of the key selling points for the Java programming language when it was released was the promise of “write once, run anywhere”. While this provided flexibility for writing and deploying JVM applications, it came at the cost of reduced performance compared to natively-compiled applications. In response, Oracle developed and released the GraalVM which offers the ability to compile a JVM application into a native executable, but this requires some adaptations when dealing with reflection and dynamic class loading, thus making it somewhat burdensome when attempting to compile Spring Boot applications. Thankfully, this situation has begun to change. The developers of Spring Boot have released version 3.0 of the widely-used framework, and one of the “star” attractions of the new version is the refactoring and development that has been done to make a Spring Boot program compatible with GraalVM. This presentation will go through some of the mechanisms that are used in compiling a Spring Boot application as well as an overview of the adaptations that may be necessary in order to make a Spring Boot application "native-compatible".

Share case:

Questions?

Chat with Us!

910 Foulk Road, Suite 201

Wilmington, DE 19803, USA

© 2025 Geekle. All rights reserved.

Questions?

Chat with Us!

910 Foulk Road, Suite 201

Wilmington, DE 19803, USA

© 2025 Geekle. All rights reserved.

Questions?

Chat with Us!

910 Foulk Road, Suite 201

Wilmington, DE 19803, USA

© 2025 Geekle. All rights reserved.

Questions?

Chat with Us!

910 Foulk Road, Suite 201

Wilmington, DE 19803, USA

© 2025 Geekle. All rights reserved.