I do not want to give deep introductions into the technologies, so please consult the documentations if you need deeper insight into any third party library, I will always link the websites.
Some of you might ask: Why not NodeJS? And I think the question is legit. The reason for me is simply that I already tried the same setup with NodeJS, but I strongly believe, that Java is still a more major technology and with Java 8 and Nashorn it is the way more enterprise ready approach.
Since we are in the Java world, Maven is the tool of choice. In the first version it is only used for the Java dependency so building needs some more steps. But the goal is to create everything with a single „mvn clean install“.
For deployment I like to use Docker. Yet I lack some experience with it. Especially getting it in place with Maven needs some more research on my side. So there is no Docker setup yet.
A minimal prototype
I try to explain most things inside the readme files. But some additional words about the structure here:
In the root directory you will find all the files requered to build the project, like the pom.xml for Maven and Gruntfile.js and package.json for NPM and Grunt.
The resources folder contains the generated sources that are actually used by the application at runtime.
So that’s it for now. I might expand this blog post in future or write further articles when the prototype grows. Feel free to give some feedback or share some knowledge about the topic(s).