TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Java REST framework Dropwizard 1.0 released

210 点作者 donselaar将近 9 年前

16 条评论

niftich将近 9 年前
Dropwizard is really just an opinionated bundling of sane Java libraries that don&#x27;t suck, and is essentially tailor-made for the (quasi-)event-driven processing model of:<p>1. request comes in<p>2. do stuff here<p>3. response goes out<p>While this may not sound very exciting, this is exactly what goes on in HTTP APIs. People these days use Node or Go for this kind of stuff, but Dropwizard makes it very pleasant to do it in Java.
评论 #12168868 未加载
评论 #12170586 未加载
评论 #12168797 未加载
spapas82将近 9 年前
Dropwizard is great for REST APIs (... as the title says). However if you want to use traditional views (MVC, html templates, security, forms etc) then please check something else (I tried it and lost many hours -- in the end I still couldn&#x27;t do even basic things).<p>For traditional web development, I recommend spring-boot which is almost as easy as dropwizard, it also doesn&#x27;t need an application container <i>and</i> fully supports Spring MVC, Spring Security and all other spring related goodies.
评论 #12168867 未加载
评论 #12169868 未加载
评论 #12168671 未加载
评论 #12169279 未加载
评论 #12168545 未加载
necubi将近 9 年前
Nice to see a 1.0 release. We&#x27;ve been using Dropwizard for various public and internal APIs for a couple of years and have been very happy with it. The components (jersey, jackson, coda hale metrics) are all very pleasant to work with, and generally have low-ceremony APIs that feel as productive as the ruby or python equivalents while providing the performance and operability of the JVM.<p>It&#x27;s not the fastest or most scalable option on the JVM (that would probably be something netty based) and the API is an awkward fit for anything streaming or asynchronous, but it&#x27;s the best thing I&#x27;ve found for its niche.
评论 #12169091 未加载
allengeorge将近 9 年前
I&#x27;ve had an excellent experience with Dropwizard. It combines robust, simple-to-use libraries, has excellent documentation, is easy to poke into, and &quot;just works&quot;. It&#x27;s my go-to framework if I want to create REST apps in Java.<p>Congrats on the 1.0 release!
评论 #12169701 未加载
616c将近 9 年前
Love them or hate them (I am in the latter category), but observe even Uber mentions some of their heavier backend stack for internal usage runs on Dropwizard.<p>&quot;The highest-volume service in this area is Gurafu, which provides a set of utilities for working with road map data and improves efficiency and accuracy by providing more sophisticated routing options. Gurafu is fronted by µETA, which adds a business logic layer on top of raw ETAs (things like experiment group segmentation). Both Gurafu and µETA are web services built on the DropWizard framework.&quot;<p><a href="https:&#x2F;&#x2F;eng.uber.com&#x2F;tech-stack-part-one&#x2F;" rel="nofollow">https:&#x2F;&#x2F;eng.uber.com&#x2F;tech-stack-part-one&#x2F;</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12152346" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12152346</a>
dozzie将近 9 年前
Funny that everybody rush for REST framework, while most of the time people cramming REST in their applications need less &quot;read, upload, replace, delete&quot; operation model and more &quot;normal functions, except called remotely&quot; provided by RPC.<p>But RPC-over-HTTP (XML-RPC, JSON-RPC, or even Thrift) is a problem solved long ago, so it&#x27;s not sexy enough, I think.
评论 #12169245 未加载
评论 #12168788 未加载
评论 #12168680 未加载
axelfontaine将近 9 年前
Congratulations to the Dropwizard team!<p>We have had great results internally here at Boxfuse with Dropwizard. So good in fact that we decided to add Dropwizard-specific optimizations to our deployment tool for running Dropwizard apps on AWS with a single command.<p><a href="https:&#x2F;&#x2F;boxfuse.com&#x2F;getstarted&#x2F;dropwizard" rel="nofollow">https:&#x2F;&#x2F;boxfuse.com&#x2F;getstarted&#x2F;dropwizard</a>
paukiatwee将近 9 年前
I learnt to use DW by building an open source personal budgeting app[0]. DW really good and awesome. No whatsoever bytecode manipulation problem.<p>Everything work great. If you learn real work DW app, see my open source project.<p>Stack:<p>1. AngularJS 1.x as frontend<p>2. DW as REST backend<p>3. Hibernate as Data Access Layer<p>4. PostgreSQL as DB<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;paukiatwee&#x2F;budgetapp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;paukiatwee&#x2F;budgetapp</a>
cs02rm0将近 9 年前
Hurray.<p>Now maybe those PHBs who think we should use spring-boot because it&#x27;s passed 1.0 will pipe down. Or not. Anyway, good to see - especially with HTTP2.
CraigJPerry将近 9 年前
After flywaydb, liquibase feels like a step backward not forward.
pcsanwald将近 9 年前
I&#x27;ve used Dropwizard for many years, and have always been a big fan. It made java development fun again for me. Congrats to the team for an awesome new release, and also for doing a great job over the years of balancing features and upgradeability.
abalone将近 9 年前
Does anyone know why dropwizard ranks so low and slow in the techempower benchmarks? For such an apparently thin microframework I always wondered what the culprit is and whether it could be optimized.<p>See <a href="https:&#x2F;&#x2F;www.techempower.com&#x2F;benchmarks&#x2F;#section=data-r12&amp;hw=peak&amp;test=json&amp;l=3k" rel="nofollow">https:&#x2F;&#x2F;www.techempower.com&#x2F;benchmarks&#x2F;#section=data-r12&amp;hw=...</a>
评论 #12170895 未加载
orsenthil将近 9 年前
Congratulations on 1.0 release. I love dropwizard too, it makes backend development seem very sane and predictable.<p>To teams that you Dropwizard, what is your front end stack? Do you use Angular and communicate with proxy to dropwizard or do you do something which talks to Dropwizard API directly?
评论 #12170905 未加载
sgt将近 9 年前
Also consider <a href="http:&#x2F;&#x2F;vertx.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;vertx.io&#x2F;</a> - very interesting, especially for the Java EE guys looking for something less stateful.
JoshGlazebrook将近 9 年前
Ah Dropwizard. Even though Java isn&#x27;t my favorite, it really wasn&#x27;t that bad to work with when making a tic-tac-toe game for a coding assignment for a job interview.
mbasim将近 9 年前
Congratulations!!!!