anyone experimented on how to run node.js module or a script from java or groovy?
Could groovy command.execute() do it? If so then would it behave the same across different op sys.
Worth noting is that ideally, I would like that node.js would not be depended upon installation in the system and node command, but but packaged via ./configure and make, so that it could be used as a library..
Edit: Basically I want this so that I could use node.js module, a client side framework(coffee-script, jade,stylus etc. And this is bundeled in Brunch), as a Grails plugin. So that the plugin is self-contained with no system dependency.
You might find what you're looking for in vert.x.
From the site:
What is vert.x?
The next generation polyglot asynchronous application framework. (Formerly known as node.x)