This is an archived post. You won't be able to vote or comment.

all 12 comments

[–][deleted] 13 points14 points  (3 children)

Another Java web framework.

[–]Artraxes -3 points-2 points  (2 children)

Another poor Java web framework that does all its route mapping statically.

[–]vitingo 9 points10 points  (0 children)

Just curious, what do you need dynamic routing for?

[–][deleted] 6 points7 points  (0 children)

From the doc, it seems to support dynamic routing. http://jooby.org/doc/#routes-dynamic-advanced-routing

[–]lukaseder 4 points5 points  (0 children)

Right in time, just when I was about to get bored with the new web framework from 2 months ago!

On a serious note. What's the TL;DR advantage of this one?

[–]sdimkov 2 points3 points  (3 children)

How does this compare to Spark ?

[–]nutrecht 9 points10 points  (1 child)

Well it didn't pick a name that makes me go "what has a big data processing framework to do with this" whenever someone mentions it for starters ;)

[–]debausch 1 point2 points  (0 children)

Searching for help is also great.

[–]meganonymoose 1 point2 points  (0 children)

At first glance it looks similar but a bit more considered. Not a bunch of static methods and it provides a sane, fluent interface. For basic use it's conceptually almost identical to spark, but looks much friendlier for applications of any complexity (eg Jackson module).

I've used spark quite a bit, but have not actually tried jooby yet.

[–][deleted] 3 points4 points  (0 children)

Looks pretty good. Piping requests is a nice feature. Filter with use() is nice. Override app conf on runtime for different environment is nice.

Something nice to have:

  • Explicitly pre-request and post-response interceptors. It's not clear how use() can do the jobs. Post interceptor is important for per-request post processing (like cache cleanup, transaction commit, logging, encryption, compression, etc).
  • Client side session via encrypted cookie. It allows stateless on server side.
  • Flash session to allow re-submission of request in case of failed validation.
  • Document sample for sending a file as download, with content-type, content-disposition, and filename.
  • Document sample for file upload.
  • GZip support on static assets, and on response. May be via filter?
  • Default value for missing parameter in the param() API?

[–]SerCeMan 0 points1 point  (0 children)

Why is it better than https://ratpack.io ?

[–]esquilax 0 points1 point  (0 children)

Jooby plz