GraalVM Native Build Tools, for Maven

3
0
Send lab feedback

Description

Learn how to integrate GraalVM Native Image into your Maven workflow. In this lab you will use the GraalVM Maven build tools, learn how to run the Native Image tracing agent to generate tracing configuration with Maven & run your unit tests as a native executable.

The learning objective for this lab are:

  • Use the GraalVM Native Build Tools for Maven to build, test, and run a demo application.
  • Use the plugin to run unit tests on your native executable.
  • Use the plugin to create the reflection configuration for your native executable.

GraalVM Native Image makes it possible to compile any Java application ahead-of-time into a native executable that starts almost instantaneously, provides peak performance with no warmup, and requires less memory and less CPU. It's perfect for containerized workloads and microservices—which is why it has been embraced by Micronaut, Spring Boot, Helidon, and Quarkus.

This lab shows you how to use the GraalVM Native Build Tools to easily build a native executable of your application using Maven. It is aimed at developers with a knowledge of Java.

Topics

Building native executable applications with Maven

Difficulty
Intermediate
Time Limit
45 minutes


Views
3413

Students
126


Authors
GraalVM
GraalVM @ Oracle Labs



Topics
GraalVMNative ImageDockerJavaMicro-services
SSR