Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

./examples/bcrypt/app.js

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

./examples/snippets/rabbitmq.js

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.

./examples/snippets/rabbitmq-take-2.js

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

Releases

No releases published

Packages

No packages published