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.
purpleJS would be javascript bindings for some Java framework.
At least, that's my read of the project.
"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).