GraalVM, Reflection and Native Image

3
0
Send lab feedback

Description

In this lab you will learn about how to work with reflection in applications that you want to create a native executable from using GraalVM Native Image,

In this lab you will:

  • Learn how to build Java code that uses reflection into standalone executables, using the native-image build tool
  • Learn about the assisted configuration tooling available with GraalVM

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.

Expected Time to Complete

45 mins

Intended Audience

Application Developer, DevOps Engineer

Level

Beginner

Products/Services

GraalVM Enterprise, Cloud Infrastructure, Oracle Linux

Technology

Native Image, Java, Compute

Change-log

  • November 30, 2021 - Initial version

Acknowledgements

  • Owners - Kristian Foster
  • Contributors - Shaun Smith, Olga Gupalo
Difficulty
Beginner
Time Limit
45 minutes


Views
3234

Students
80


Authors
GraalVM
GraalVM @ Oracle Labs



Topics
Native ImageGraalVM EnterpriseOracle Cloud ComputeOracle LinuxVS Code
SSR