hero

Moleculer for Java

One cluster, two languages — call Java from Node.js and Node.js from Java.

Start with interop →

Add Java to your Node.js system

A Node.js Moleculer developer can call Java services as if they were local — same service.action addressing, over the same message bus (NATS, Redis, MQTT, …).

Call Node.js from Java

A Java (Spring Boot) developer can invoke existing Node.js Moleculer actions and events with the familiar broker.call(...).waitFor(...) API.

One wire, both worlds

A shared JSON serializer and Moleculer protocol v5 let primitives, lists, maps, events, cache and binary streams cross the language boundary intact.