Hi,
I regularly work with server side code in the Development Mode and GWT's internal Jetty. I was always annoyed by the need to manually reload/deploy the application when I did change something on the server side. Especially when I forgot it. To be super productive I want to see my code changes in client and server side in the browser immediately.
JRebel works out fine but it's rather expensive and for my usecases it was just overblown. Instead I use Jetty to poll for added, removed and changed class files and just reload the web application context. This work out fine for my applications because they boot up in miliseconds.
However this cannot be configured straight because the boot process of the Jetty instance is hard-wired in GWT. I'm using a small helper class which extends GWT's JettyLauncher and adds the needed configuration.
Today I released it as OpenSource: https://github.com/jbarop/gwt-hotdeployment
It's available from the Central Maven Repository. To use it you only have to add it as dependency and set "de.barop.gwt.HotDeploymentJettyLauncher" as Server launcher for the Development Mode.
See the project's README and/or demo application for details.
Cheers,
Johannes
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment