Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by threeseed on Monday March 09, 2015 @03:15AM
(#9169645)
They really should have written those async examples with Java 8. Definitely simplifies it:
http://www.codejava.net/java-core/the-java-language/java-8-l...
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by real_joschi on Monday March 09, 2015 @04:25AM
(#9169846)
I totally agree but Jersey 2.x and Dropwizard still support Java 7, so the examples should also work with Java 7.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by rmnoon on Tuesday March 10, 2015 @12:15AM
(#9175989)
What's the primary win of doing this? Isn't DW still tied to Jetty which has a more traditional threading model?
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p...
by pchitre on Tuesday March 10, 2015 @05:43PM
(#9180865)
Pardon my ignorance, but could you talk a little more about what you meant here? What non-traditional/advanced threading models are you referring to? Any reading material links would be much appreciated! Thanks!
They are quite significant. IMO, the most relevant one is the move to Jersey 2 (the Jersey framework is THE JAX-RS implementation for building REST services) which supports Server side async requests (https://jersey.java.net/nonav/documentation/2.0/async.html#d...) and took quite a lot of work to be implemented in Dropwizard.
Finally, here is a link to third-party modules for DW: http://modules.dropwizard.io/