Javalin 1.0
Languages and libraries
web framework
SHOW HN2017
How HN took it
8 positive, 15 neutral or asking, 1 mixed, 8 critical, out of 32 comments about the project. Thread score +0.05.
Design: 2 for, 3 againstIdea: 2 for, 3 againstPerformance: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Clean, concise API that is simple to pick up
From 3 comments
This looks clean and concise. A very good start. I like it, easy to pick up. Kudos for releasing 1.0.
ww520 on HNNot a Java developer by any means, but I wanted to say this looks like a very clean and well thought out design.
rajangdavis on HNLooks nice and clean. What use cases make this a better choice than Ktor? This is an important question to answer because Ktor seems a bit more complete, has more contributors,…
matrix on HN
Better documentation than Ktor
From 1 comment
Looks nice and clean. What use cases make this a better choice than Ktor? This is an important question to answer because Ktor seems a bit more complete, has more contributors,…
matrix on HN
Objections
Java-Kotlin interop is harder than claimed for some features
From 3 comments
I'm really rusty, but if I can recall the simplest example correctly, you can't just naively go from this Kotlin code: ``` Server { req -> Response().html("<h1>Hello world</h1>")…
danneu on HNThat's because the concept of a typed lambda function doesn't really exist in Java; in Java 8 lambdas are syntactic sugar for SAM-type object creation. (There are other interface…
nostrademons on HNNow that is true. You also can't use reified generics (which is a bit hacky anyway).
edem on HN
Java version is not much shorter than Kotlin
From 1 comment
Looks like Java version is not that different in terms of readability and lines of code...
viach on HN
Calling it micro is questionable since it uses Jetty
From 1 comment
I'm not sure if I would call a framework that uses jetty under the hood, that micro...
merb on HN
Requests
Comparison with Ktor and vert.x
From 3 comments
Looks nice and clean. What use cases make this a better choice than Ktor? This is an important question to answer because Ktor seems a bit more complete, has more contributors,…
matrix on HNHow does Javalin comapres to ktor ?
sorokod on HNHow would this compare with something like vert.x? http://vertx.io
nmalaguti on HN
Metrics and healthchecks support
From 1 comment
How about metrics/healthchecks?
kochthesecond on HN
REST endpoint versioning support
From 1 comment
Does Javalin have support for REST endpoint versioning? I.e. does it support any of versioning types mentioned here: https://www.troyhunt.com/your-api-versioning-is-wrong-which-is/
5ersi on HN
Questions
Why embed Jetty instead of plain java.nio
From 1 comment
Can someone illuminate me on the necessity/benefits of embedding Jetty? I can never seem to understand what it offers that java.nio does not on a fundamental plumbing level (for…
norswap on HN
Why routes can be added after server start
From 1 comment
Awesome! Why are routes added after the server has started? That makes me a bit worried, I would like to initialize the app completely before accepting requests, that's more or…
strictfp on HN
Alternatives named
Ktor
From 1 comment
Looks nice and clean. What use cases make this a better choice than Ktor? This is an important question to answer because Ktor seems a bit more complete, has more contributors,…
matrix on HN
Spark / SparkJava
From 2 comments
It says it's 'inspired by Sparkjava', what does it do differently and/or better?
pvg on HNI've been thinking about porting from sparkjava (another jvm jetty based microframework) to this. Cool. My problem with Sparkjava is the slow development time.
meddlepal on HN
vert.x
From 1 comment
How would this compare with something like vert.x? http://vertx.io
nmalaguti on HN
NancyFx
From 1 comment
This reminds me of NancyFx for .Net and Flask for Python. I enjoy micro-frameworks like these, They make web development a bit less intimidating. I hope this projects takes off.
eptakilo on HN