Spring IO jar with embedded container fits like a glove with AngularJS as a UI. You can gunsling your static resources trivially with jar based spring io project (namely .html pages with angularjs or anyother javascript library).
For angular based front end SpringIO Web is really a perfect fit.
However, on the topic of having SpringIO packaged as a jar (not as a WAR) to cooperate with GWT built by maven, the problem seems to not be so easily solvable.
The only relevant answer on this topic so far is the following. Spring Boot + GWT embedded configuraiton
Indeed, if you were to just need to build a GWT application into a springIO jar (a productive jar), then one could live with simply making sure that the GWT javascript would fall into the appropraite META-INF/resources to be served to the client.
However, during development time when Java to Javascript compilation has yet to take place, and traditional the gwt:run plugin is used, it would be interesting to get an official response as to how a pom.xml should be properly setup so that:
(a) we use the embedded container of our choice tomcat or jetty
(b) during development time we get the benefit of container restart with the springio devtools. This works like a charm for Spring x Angular based programs where javascript resources are immidiately refreshed without a restar and class changes lead to a restart
(c) Still get to debug a GWT application without having to compile the full monster
I am wondering: Is the only way that person can develop productively using GWT and Spring IO at the same time is to state: - I need two containers. A front end jetty to run the GWT part along and serve the javascript and debug the front ent.
A back end application in spring IO where I have no javascript but can productively get my springboot dev tool to class change tomcat restarts.
and between the jetty and the embedded tomcat, integrate the two JVM containers using simple rest based web services. The Network cost is essentially redudant if both are on the same localhost. But, it is not a perfect world if to develop productively one would need a separate container that has GWT javascript and container that has the SpringIO business logic.
Would it be possible for springio to provie a GWT maven pom.xml so that one can work productively together using both GWT and SpringIO?
On my side, I must say I do not like the SpringIO WAr approach for which there is already a git project to demonstrate.
If the JAR SpringIO JAR with embedded container cannot be setup to lead to a productive development environment, I simply opt for two containers with the most effective development pom.xml for GWT fornt-end and busienss logic on springio backend. Many thanks for a reply on this.