Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by ww520 on Monday March 09, 2015 @02:27AM
(#9169488)
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?
[ Parent
| on HN ]
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by dikaiosune on Monday March 09, 2015 @02:32AM
(#9169504)
Dropwizard 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).
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by koevet on Monday March 09, 2015 @02:37AM
(#9169529)
No, 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.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by bni on Monday March 09, 2015 @06:57AM
(#9170245)
Play 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.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by mirkoadari on Monday March 09, 2015 @02:56AM
(#9169578)
Or you can take rapid application development in framework X out of the equation and use tools like JRebel.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by hueking on Monday March 09, 2015 @06:55AM
(#9170237)
I've tinkered around dropwizard and SBT with SBT-revolver, works like a charm.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by idunno246 on Monday March 09, 2015 @02:34AM
(#9169518)
most 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.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by bni on Monday March 09, 2015 @06:55AM
(#9170234)
As 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.