Frontend and backend.
One start.
Ready to build.
Generate a modular Maven project with a GWT client, a shared module and a Spring Boot server. Choose a clean skeleton or a working example with GWT-RPC.
Less project setup.
More Java.
Maven asks for your group, artifact, version and package. The generated project builds out of the box and starts in development mode with two commands.
# Clean skeleton or project with example code mvn archetype:generate \ -DarchetypeGroupId=io.github.nalukit.archetype \ -DarchetypeArtifactId=modular-springboot-webapp \ -DarchetypeVersion=LATEST
Three modules
Separate client, shared and server modules in one parent project, wired together with Maven.
Two archetypes
Start with clean-modular-springboot-webapp or learn from modular-springboot-webapp with a working example.
Development mode
Run the GWT code server and the Spring Boot server side by side and reload your changes in the browser.
One deployable
A single mvn clean package compiles the GWT client and packages client and server into one runnable WAR.
GWT-RPC example
The example archetype includes a service interface, its async counterpart and a Spring Boot servlet implementation.
Based on proven work
The project builds on the gwt-maven-archetypes by Thomas Broyer and adds a Spring Boot server.