Feels lightweight but powerful - it seems to cover everything I need from a framework in terms of URL routing and request/response handling, with minimal cruft and boilerplate.
Feels lightweight but powerful - it seems to cover everything I need from a framework in terms of URL routing and request/response handling, with minimal cruft and boilerplate.
I groan every time I come across a Maven project, which AFAIK isn't quite yet "legacy."
What about dependecy management, testing, building, and all of the other non-java-code bits? Gradle only goes so far in my limited experience.
The non-Java parts of Java development are what repeatedly get me to choose Go, Ruby, Python, TypeScript/node.js, etc. The tooling is magnitudes easier to use.
Genuinely curious! Thx.
(edit: typo)
One downside is that it is based on Jetty which isn't considered the most performant backend. A lib with a similar API but based on Netty is Jooby [1] which scores well in the Techempower benchmarks.
[1] - https://jooby.io/
This definitely needs some supporting links. Jetty itself is extremely fast in my experience.
Also the URL parameter API is clumbersome:
Integer myValue = ctx.queryParamAsClass("value", Integer.class).getOrDefault(788) // validate value
I would prefer some specialized API like: int myValue = ctx.queryParamAsInt("value", 788);