3 ms·
I can't stand any magic, it always inevitably feels like a massive liability to me and always bites me in the ass sooner or later. I use http://sparkjava.com h
by grishka 4y ago
I can't stand any magic, it always inevitably feels like a massive liability to me and always bites me in the ass sooner or later.
I use http://sparkjava.com http://sparkjava.com in my projects. It's as tiny as web frameworks get, it only handles routing and request/response, and you get to do everything else manually. Only thing I had to hack into it was response streaming. The one most internally convoluted and enterprise-y dependency I use is, surprisingly, the official MySQL driver. GraalVM complains about it as well.
- switchbak 4y agoThe idea that someone would reuse the "Spark" name though? Not sure how that got past a cursory review, that must make googling endlessly difficult.
- mring33621 4y agohttps://javalin.io/ https://javalin.io/ is similar to sparkjava and has a name that does not overlap with a well-known, big data framework.
- rochak 4y agoThis looks extremely similar to ExpressJS. Interesting. I kinda like it.
- karmakaze 4y agoI actively looked for a lighter framework for microservices that could start up much faster than a Spring/Boot app. Tried SparkJava and later decided that Javalin is a better choice which is now what I reach for. Also using JDBI to go along with it.
- grishka 4y agoThing is, it's so simple and straightforward, you don't have to google anything. Reading the sources and poking things with a debugger has been enough for me so far.
- netvl 4y agoThe problem with SparkJava is that it is not maintained anymore :( according to GitHub, meaningful work on it last happened in 2020. It was indeed a great tool, but now I’d choose Javalin since it is maintained, or even better, Ktor if I’m using Kotlin.