pintomau / graal-js-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graal JS Examples

Some Graal JS and general Graal examples.

A simple example that allows us to call a JS function from our Java code.

The JS function returns a Java defined type.

An example that allows using Typescript, transpiling to Javascript and bundling node dependencies.

Uses java2ts-processor to automatically generate Typescript type
definitions. This allows IDE hinting for types that exists in the Java code.

Additionally, contains an example of using multi-threading with GraalJS.

All of the above, integrated with Spring.

Additionally, adds the debugging dependency and configuration.

About


Languages

Language:TypeScript 64.8%Language:Java 31.0%Language:JavaScript 4.1%