Difficulty: beginner
Estimated Time: 55 minutes

This scenario introduces GraalVM.

  • JIT for Java
  • AOT for Java
  • Polyglot Runtime for Node, JS, Python, R, Ruby, ...
  • Java interoperability to JavaScript, Python and more
  • Interoperability from Node/JavaScript, Python and other languages to Java
  • Multi directional polyglot interoperability

The scenario uses an Ubuntu 19.04 environment with Docker running locally. A Docker container for the GraalVM community edition is pulled and ran.

Summary

This completes your explorations with GraalVM. You have experiences first hand what GraalVM can do as:

  • JIT runtime execution platform for Java - and many other languages
  • Ahead of Time native image generator - for simple, small and fast starting application packaging
  • Polyglot Interoperability platform - calling from Java to various other languages
  • Polyglot Interoperability platform - calling from several languages to Java
  • Polyglot Interoperability platform - multi-diretional calling from several languages to each other (Java, JavaScript, R, Ruby, Python)

Background Resources

The GraalVM Website: https://www.graalvm.org/ Top 10 Things To Do With GraalVM - by Chris Saxton - https://medium.com/graalvm/graalvm-ten-things-12d9111f307d Articles on GraalVM on AMIS Technology Blog: https://technology.amis.nl/?s=graalvm

First steps with GraalVM

Step 1 of 7

Step 1 - Pull GraalVM Docker Container

In this step, we will together prepare the environment for working with GraalVM. We will use the GraalVM Community Edition Docker Container Image.

Pull the GraalVM Community Edition Docker Container Image: docker pull oracle/graalvm-ce

List the image(s):

docker images