News for hackers. Stuff that matters.
Re:Show HN: Javalin 1.0 – A Kotlin/Java web framework by eptakilo on Tuesday November 07, 2017 @11:37AM (#15644820)
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.

Re:Show HN: Javalin 1.0 – A Kotlin/Java web framework by jordanab on Tuesday November 07, 2017 @12:08PM (#15645174)
NancyFx was also the first thing I thought off when looking at the examples. Before the .NET Core days I always used NancyFx as a drop-in REST service when I needed one in a non-web app setting, like a Windows service.
Re:Show HN: Javalin 1.0 – A Kotlin/Java web framework by m_fayer on Tuesday November 07, 2017 @01:28PM (#15646068)
Out of curiosity, what about .net core changed this picture for you?
Re:Show HN: Javalin 1.0 – A Kotlin/Java web framework by dodyg on Tuesday November 07, 2017 @01:46PM (#15646246)
Now you can use .UseRouter extension to achieve something similar in ASP.NET Core 2 (https://github.com/dodyg/practical-aspnetcore/blob/master/pr...)
Re:Show HN: Javalin 1.0 – A Kotlin/Java web framework by m_fayer on Tuesday November 07, 2017 @04:12PM (#15647699)
Thanks, it does look nicely similar, but I still far prefer NancyFX's modules - this is an awkward context to do all this wiring.
Re:Show HN: Javalin 1.0 – A Kotlin/Java web framework by merb on Tuesday November 07, 2017 @11:39AM (#15644846)
I'm not sure if I would call a framework that uses jetty under the hood, that micro...
Re:Show HN: Javalin 1.0 – A Kotlin/Java web framework by peeters on Tuesday November 07, 2017 @11:49AM (#15644958)
Personally I don't use macro/micro to describe the bytecode footprint, but rather the API/conceptual footprint. If Jetty is secure and performant, and Javalin keeps it encapsulated, I think micro is a fair descriptor still.
Re:Show HN: Javalin 1.0 – A Kotlin/Java web framework by meddlepal on Tuesday November 07, 2017 @11:48AM (#15644950)
Why not? Jetty is pretty lightweight as far as JVM http servers go...
Re:Show HN: Javalin 1.0 – A Kotlin/Java web framework by oaiey on Tuesday November 07, 2017 @02:47PM (#15646841)
Well if nancyfx is micro so is Javalin. NancyFX is nowadays built on Kestrel from ASP.NET Core.