Can Nodejs or any other alternative of that be used in JBoss Fuse
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:
-
- Is that possible in Fuse or will it be supported in future?
-
- If yes, then do we have a sample application for them to demonstrates how it works?
-
- 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)
-
- 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.