5 ms·
What is the option for rapid application development using Dropwizard? Is it possible to refresh a web page and the code changes are automatically compiled and
by ww520 12y ago
What is the option for rapid application development using Dropwizard? Is it possible to refresh a web page and the code changes are automatically compiled and deployed?
- dikaiosune 12y agoDropwizard has support for front-end development, but I think it really shines when developing RESTful API endpoints. You can use it to serve static assets, and those can be automatically "deployed" by refreshing the page, because Dropwizard just wires up Jetty to grab files off of the hard drive. If you want to use Freemaker/Mustache for views, I don't think it currently supports any "live" development. It really works much better when creating a REST API for access by apps or separate front-ends (e.g. a JS SPA).
- idunno246 12y agomost IDEs have support for this - you can change a method while debugging even and itll reset the stack with your changes. Theres also pro tools like jrebel that are supposed to solve it better than the built in stuff.
- bni 12y agoAs long as you dont change any method signatures, sure. I think its the JVM that provides this as part of its remote debugging functionality. If you change any signatures (should be most of the time) you need Jrebel.
- koevet 12y agoNo, you still need something like JRebel for hot-reload of JVM classes. This framework is really designed for implementing REST APIs, it is not an MVC framework - even though it has support for serving pages using Mustache or freemarker.
- mirkoadari 12y agoOr you can take rapid application development in framework X out of the equation and use tools like JRebel.
- hueking 12y agoI've tinkered around dropwizard and SBT with SBT-revolver, works like a charm.
- bni 12y agoPlay framework handles this really nice without additional tools like Jrebel. Its possible to use play framework in the same way as dropwizard is used, if you just ignore Plays server side scala templates.