Embed Languages with GraalVM Enterprise
Oracle GraalVM Enterprise Edition is designed for the embeddability and its users are encouraged to develop the embeddings similar to existing integrations in the Oracle Database, OpenJDK, or Node.js. For these reasons, the GraalVM Standard Development Kit was written.
The GraalVM Polyglot Embedding API serves to embed and run code from guest languages, supported by GraalVM Enterprise, in JVM-based host applications. The org.graalvm.polyglot module contains the APIs necessary to embed languages:
- The Polyglot Package allows you to configure and run polyglot applications.
- The Proxy Package allows you to mimic guest language objects using proxies.
- The IO Package allows you to customize the file system access of languages.
To learn how to create a host application in Java that runs on GraalVM Enterprise and directly calls a guest language, refer to the Embed Languages tutorial. Alternatively, have a look at the reference documentation in JavaDoc.