admin管理员组文章数量:1404608
I am developing with Meteor JS, a node framework.
A question to those of you familiar with it, would it be possible to execute code i've written in Java without using an applet?
How would I go about doing this?
Thank you for your time.
I am developing with Meteor JS, a node framework.
A question to those of you familiar with it, would it be possible to execute code i've written in Java without using an applet?
How would I go about doing this?
Thank you for your time.
Share Improve this question asked Jul 25, 2013 at 1:57 TheProofIsTriviumTheProofIsTrivium 8082 gold badges13 silver badges26 bronze badges1 Answer
Reset to default 11You can run them server-side the same way as any mand line tool:
var exec = Npm.require('child_process').exec;
exec("java myProgram.jar param param", function (error, stdout, stderr) {
...
});
本文标签: javascriptExecute Java classes with Node JS (Meteor JS)Stack Overflow
版权声明:本文标题:javascript - Execute Java classes with Node JS (Meteor JS) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744838483a2627776.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论