What is the 'best' way of serving compiled GWT stuff in a separate .war project?
I am working on a LibGDX game with backend web services. At the moment I have a single .war project that has HTTP endpoints for the web services, and is also doubling up to serve the HTML UI (welcome pages, static content).
I would like the contents of my Maven GWT module to magically appear where Tomcat can serve them in my .war project.
Should I be using a war overlay (I'm not really sure what one is)? Should I use maven-assembly-plugin
to unpack GWT bits into the src/main/webapp/
directory of my .war project? Should I co-erce the GWT module to compile its stuff to the META-INF/resources
directory of its jar, where Servlet 3.0 containers can serve it from? Is there a preferred approach?