Can Nodejs or any other alternative of that be used in JBoss Fuse

Solution Unverified - Updated -

Issue

  • I am wondering if there is a way to run nodejs applications from Java within JBoss Fuse?
  • We tried to use Avatar.js (requires Java 8), Nodyn, Vertx and Triteme but those 3 did not work for them in an OSGi environment. At the moment they are embedding Rhino (all their JavaScript is in one file and So we can't leverage the power of the node environment), Hence we want to leverage capabilities of the node api. Following are the queries:
      1. Is that possible in Fuse or will it be supported in future?
      1. If yes, then do we have a sample application for them to demonstrates how it works?
      1. According to them Triteme seemed to be the library with the least amount of dependencies, but its using java's SPI mechanism, If it can be used then they need a sample (if its supported)
      1. Is there any other projects that are trying to create a node-like ssjs framework for java, or if providing one in a future release of jboss fuse (or anyone aware of any such roadmap) ?

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content