Published: Nov 06 2013 / 12:13
If you are already using Spring, I would argue that you should use Spring Boot instead of Dropwizard. Regardless, application servers are a legacy. Use Dropwizard and/or Spring Boot and it will make your life better.
I think it's great that Spring Boot exists. Anything that gets Java developers question the need for WARs and stand-alone servlet containers is great. That being said, I like Dropwizard a lot more. First of all, JAX-RS is a far superior API for REST (vs Spring MVC) and Dropwizard in general is a more open platform, integrating the the best bits and pieces of the Java ecosystem (Logback, Hibernate Validators, YAML config, etc)...versus Boot is created more as a total Spring lock-in. Still it's good that Boot is here...the sooner folks see the fallacy of WAR files, the better. And the sooner cloud providers provide native support for Dropwizard JARs, the better.
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.
Advertising - Terms of Service - Privacy - © 1997-2014, DZone, Inc.