◀Table of Contents
Interactive Labs and Workshops
Interactive Labs
Consider running interactive workshops in Oracle Cloud to get some practical experience. The interactive cloud platform provides you with a temporary account for the time you run a lab with required cloud resources (a virtual machine, Oracle Linux, storage, and so on). This means you can try Native Image without downloading any additional software to your computer.
Go to Luna Labs and search for “Native Image”. The following labs are available:
- GraalVM Native Image Quick Start: This lab is for developers new to Native Image who are keen to start building cloud native Java applications.
- GraalVM, Reflection and Native Image: This lab shows how to pre-configure the
native-image
builder when reflection is used, and make your Java application compatible with ahead-of-time compilation using Native Image. - GraalVM Native Image, Spring and Containerisation: This lab shows you how to package a Spring Boot application into a native executable; containerise it; shrink the footprint even more by creating small a Distroless container Image.
- Optimize Cloud Native Java Apps with Oracle GraalVM PGO: This lab shows how to run a Java Microbenchmark Harness (JMH) benchmark as a native executable, built with GraalVM Native Image, and then optimize it for higher throughput using Profile-Guided Optimizations (PGO).
- OCI MySQL, Vault, Micronaut, GraalVM Native Image: In this lab, you will learn how to build a portable cloud-native Java application with Micronaut, GraalVM Native Image and MySQL Database service, and Secrets in Vault on Oracle Cloud Infrastructure.
- GraalVM Native Build Tools, for Maven: 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 the knowledge of Java.
- Build Cloud Native Java Applications with Micronaut and GraalVM Native Image: The workshop features several labs that walk you through the steps to get going with Micronaut, GraalVM, and Oracle Cloud services.
- GraalVM Native Image Bootcamp: This workshop covers how GraalVM Native Image works, what it can do, when to use it, and how to tune and debug applications. You will also look at containerisation options and deployment to cloud platforms including Oracle Cloud Infrastructure.
Workshops
Have a look at GraalVM Workshops and Tutorials collection on GitHub. There you can find the workshops intended to work on your own device (laptop, server). Each workshop begins with prerequisites that you need to have installed.
This repository is continually updated with new workshops. Check-in regularly to keep up to date.