A hello world example of a Dropwizard backend with a RestyGWT frontend.
Dropwizard is a very interesting "production ready stack". I created this example as I wanted to see how easy it was to create and bundle a GWT app with the runnable JAR. It contains a slightly modified version of the Getting started sample of dropwizard, and a simple RestyGWT based application that use this API.
The "bundling" of the GWT app feels a bit hackish but it works. Pull requests are most welcome!
mvn package cd dropfulgwt-server java -jar target/dropfulgwt-server-1.0.jar server hello-world.yml
- Start a GWT runner inside the IDE and store the compiled output to the assets folder
- Using (Super)Devmode:
-war /absolute/path/to/dropfulgwt-server/src/main/resources/assets
- Using Codeserver directly:
-launcherDir /absolute/path/to/dropfulgwt-server/src/main/resources/assets
- Using (Super)Devmode:
- Start the dropwizard application (in debug mode to allow hot swapping)
- Rock on!