Description
This lab is a quick-start introduction for developers looking to start building cloud native Java applications with GraalVM Native Image.
In this lab you will:
- Connect to a remote host in Oracle Cloud - you will develop your application on an Oracle Cloud virtual machine
- Build and run a Java application, using GraalVM JDK
- Build a Java application into a native executable using GraalVM Native Image
- Build a native executable that works with the dynamic features of Java
- Use the Maven plugin for GraalVM Native Image to build a 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.
Expected Time to Complete
60 minutes
Intended Audience
Application Developer, DevOps Engineer
Level
Beginner
Products/Services
GraalVM Enterprise, Cloud Infrastructure, Oracle Linux
Technology
Native Image, Java, Compute
Changelog
- November 2021 - Initial version
- January 2023 - Last update
Acknowledgements
- Owners - Kristian Foster, Olga Gupalo
- Contributors - Shaun Smith
Difficulty
Beginner
Time Limit
1 hour
Views
13848
Students
416
Authors
Topics
Native ImageGraalVM EnterpriseOracle Cloud ComputeOracle LinuxVS Code