Live data from Hacker News

Java REST framework Dropwizard 1.0 released

dropwizard.io

51–60 of 88 posts

Re: Java REST framework Dropwizard 1.0 released

#51
I learnt to use DW by building an open source personal budgeting app[0]. DW really good and awesome. No whatsoever bytecode manipulation problem.

Everything work great. If you learn real work DW app, see my open source project.

Stack:

1. AngularJS 1.x as frontend

2. DW as REST backend

3. Hibernate as Data Access Layer

4. PostgreSQL as DB

[0]: https://github.com/paukiatwee/budgetapp

Re: Java REST framework Dropwizard 1.0 released

#52
post #26

Earlier quoted context omitted.

My greatest gripe with Java was the amount of crap one had to go through just to build a simple Rest API. When I saw DropWizard I thought it solved that need. Maybe it's time to get back into Java development...

If you love dealing with magic "comefrom" annotations, codegen that isn't debuggable, and foundational libraries that have to resort to bytecode manip to get stuff done, then go ahead.

We talking about DW here, so honest question, do you ever develop using DW before?

Re: Java REST framework Dropwizard 1.0 released

#53
post #26

Earlier quoted context omitted.

If you love dealing with magic "comefrom" annotations, codegen that isn't debuggable, and foundational libraries that have to resort to bytecode manip to get stuff done, then go ahead.

So, is the answer to just bail on Java forever? I haven't written anything legitimate in Java in about two years, but I don't remember it being that bad. For reference, what types of languages/frameworks do you like to work with?

[deleted]

Re: Java REST framework Dropwizard 1.0 released

#54
post #28
post #3

Nice to see a 1.0 release. We'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. It's not the fastest or most…

What JVM microframeworks would you recommend for streaming or async?

You can plug Quasar/Comsat in to get lightweight threads http://blog.paralleluniverse.co/2014/01/22/introducing-comsa...

RatPack is a nice async microframework

Re: Java REST framework Dropwizard 1.0 released

#56
post #54
post #28

Earlier quoted context omitted.

What JVM microframeworks would you recommend for streaming or async?

You can plug Quasar/Comsat in to get lightweight threads http://blog.paralleluniverse.co/2014/01/22/introducing-comsa... RatPack is a nice async microframework

One thing I find odd about ratpack is that it still hasn't submitted itself to the Techempower benchmarks.[1]

[1] https://github.com/ratpack/ratpack/issues/902

Re: Java REST framework Dropwizard 1.0 released

#57
post #26

Earlier quoted context omitted.

If you love dealing with magic "comefrom" annotations, codegen that isn't debuggable, and foundational libraries that have to resort to bytecode manip to get stuff done, then go ahead.

So, is the answer to just bail on Java forever? I haven't written anything legitimate in Java in about two years, but I don't remember it being that bad. For reference, what types of languages/frameworks do you like to work with?

If you want to venture back to the JVM, Kotlin offers a very good middle ground between Java and Scala.

Re: Java REST framework Dropwizard 1.0 released

#58
post #11

Dropwizard is really just an opinionated bundling of sane Java libraries that don't suck, and is essentially tailor-made for the (quasi-)event-driven processing model of: 1. request comes in 2. do stuff here 3. response goes out 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 J…

So, the opposite of Spring Boot, gotcha!

(For the record, I don't mean to offend anyone, but Spring Boot reminds me of the old truism about Visual Basic: "it makes easy things stupidly easy and the hard things impossible".)

Re: Java REST framework Dropwizard 1.0 released

#59
Congratulations on 1.0 release. I love dropwizard too, it makes backend development seem very sane and predictable.

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?

Re: Java REST framework Dropwizard 1.0 released

#60

Earlier quoted context omitted.

So, is the answer to just bail on Java forever? I haven't written anything legitimate in Java in about two years, but I don't remember it being that bad. For reference, what types of languages/frameworks do you like to work with?

If you want to venture back to the JVM, Kotlin offers a very good middle ground between Java and Scala.

What's the "middle ground"? Java with a more concise syntax?
Post reply on HN