5 ms·
Why don't any of the examples use Java?... Even the examples on GitHub, none of it looks any different than a Node.js project.
by gfosco 10y ago
Why don't any of the examples use Java?... Even the examples on GitHub, none of it looks any different than a Node.js project.
- mgkimsal 10y agoBecause it's still javascript, just running on JVM instead of... v8? At least, that's my read of the project.
- gfosco 10y agoOk, that's part of it. This line from the page is what gets me, "create server applications with Javascript but access and use Java libraries" and I think an example of that is very important.
- jsuperman 10y agoActually, the best example of that is already mentioned in the article: "With Enonic XP, the combination of Java and JavaScript is used to speed up the development process and allow frontend developers to implement backend services. I saw that this was a very popular approach to develop software more effectively, and wanted everyone to be able to use the technology for free and in existing investments. PurpleJS was born." PurpleJS is the core of Enonic XP, made available separately as an open source project (well, both are open source).
- partycoder 10y agoAn oversimplified way to describe node.js is: javascript bindings for libuv. purpleJS would be javascript bindings for some Java framework.
- skanga 10y agoCheck here: https://github.com/purplejs/purplejs-examples/tree/master/sysinfo https://github.com/purplejs/purplejs-examples/tree/master/sy...