Skip to content

laurynaslubys/graal-jvm-interop-talk

Repository files navigation

Using JVM libraries in node.js

This repository contains the companion code to the presentation.

Setup

  1. Install GraalVM 1.0.0-RC14
  2. Make sure that the node and npm binaries distributed with GraalVM is on the $PATH
  3. Make sure you have docker-compose installed
  4. run docker-compose up -d
  5. Make sure you have maven installed
  6. run npm install && npm run build

Contents:

This the example that is using jbcrypt to hash the password. You can start the server with npm --jvm run start:bcrypt

The naive implementation of rabbitmq consumer. Start it with npm --jvm run start:rabbitmq. The easiest way to publish a message is to follow this link after you started the example.

The naive implementation of rabbitmq consumer. Start it with npm --jvm run start:rabbitmq-take-2.

Async interop implementation

The java part is here and the js part is here. See slides for further details

About

Companion code to "Using JVM libraries in node.js" talk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published