Lightweight
Javalin is a lightweight framework with minimal dependencies, making it easy to integrate into existing projects and reducing overhead.
Simplicity
The framework is simple to use and has a straightforward API, which makes it easier for developers to understand and work with.
Kotlin & Java Support
Javalin natively supports both Kotlin and Java, making it flexible for projects written in either language.
WebSocket Support
It includes built-in support for WebSockets, enabling real-time communication between the client and server without additional dependencies.
Extensive Documentation
Javalin comes with comprehensive documentation and guides, which help developers get up to speed quickly.
Promote Javalin. You can add any of these badges on your website.
- Javalin 6 for the web framework (https://javalin.io/). - Source: Hacker News / about 2 months ago
I'd recommend Javalin (https://javalin.io/) instead. Same idea, only executed better and it is actively maintained. - Source: Hacker News / 10 months ago
SparkJava has an actively developed fork/successor called Javalin[1]. It's straightforward to convert from SparkJava to Javalin. The latter is written in Kotlin, but works fine with ordinary Java. While the rest of the Java world was devolving into annotation hell, AOP and other nightmares, these Java microframeworks showcased what happens when you forego legacy Java and leverage modern Java language features... - Source: Hacker News / 10 months ago
The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_comparisons.md Aside from that, I've also had good experiences with Dropwizard - which is way simpler than Spring Boot but at the same time uses a bunch of idiomatic packages (like Jetty, Jersey, Jackson, Logback and so on): https://www.dropwizard.io/en/stable/ I do wonder whether Minum would ever end up on the... - Source: Hacker News / about 1 year ago
One of the most common web frameworks used is Spring Boot - here is their quickstart: https://spring.io/quickstart Newer alternatives are: https://micronaut.io/ and https://quarkus.io/ If you want to have something really simple look at Javalin: https://javalin.io/. - Source: Hacker News / about 1 year ago
Counter-example: https://javalin.io/ uses Servlets, and seems to be doing quite fine without annotations. - Source: Hacker News / over 1 year ago
Yes, and it was not that well designed to be honest... The successor is quite a lot nicer and it's called Javalin[1]. Same philosophy but just got things right where Spark, being the "first" (in the Java world, using the design inherited by Sinatra[2]) had a few design issues. [1] https://javalin.io/ [2] https://sinatrarb.com/. - Source: Hacker News / over 1 year ago
I strongly advocate frameworks like https://javalin.io/ and Jooq (https://www.jooq.org/) if you are going to start a new project in Java. Source: over 1 year ago
Give https://javalin.io/ a try, it's deliberately designed as a magic-less framework. Source: over 1 year ago
Quarkus is not a small framework. Here's a small framework for comparison: https://javalin.io. - Source: Hacker News / over 1 year ago
I’d personally love to see how https://javalin.io/ would perform. Source: over 1 year ago
Java seems to have gained a second wind in recent years, and the innovation in this ecosystem is speeding up. Java 20 and LTS release 21 are expected to happen this year. RIFE2, an actively-developed pure-Java web framework, has recently caught my attention. Like Javalin, it appears to be built on top of the successful Jetty server. I also started exploring FXGL for building games with Java. Lastly, as concerns... - Source: dev.to / almost 2 years ago
Instead of using commonly used frameworks (like Spring Framework) I preffered to use something that is small and doesn't have "magic" in it. So I've chosen Javalin as a simple web framework, added MongoDB client libraries nad jte as template engine. To show that simple and clean looking apps doesn't need any big JS libraries I've selected chota - one of micro CSS frameworks. - Source: dev.to / almost 2 years ago
>> 2. Java Is Not Simple I recently tried Java, and attempted to use Spring Boot, EE, Jetty, etc, to setup a small service-oriented cloud app, and I must say, the barrier to getting it up was a more effort than compared to the ecosystem of Node, Deno, Python. Even the package manager Gradle was not as quick of an effort as other PMs. But then I found Javelin, https://javalin.io/ This is a much better framework to... - Source: Hacker News / about 2 years ago
If you’ve used NodeJS & ExpessJS, in Java world, Vert.x, Helidon and Javalin should be familiar. Source: about 2 years ago
Https://javalin.io/ is a fork of Sparkjava, same simplicity, updated regularly. Used it in couple of glue projects. - Source: Hacker News / about 2 years ago
Https://javalin.io/ is similar to sparkjava and has a name that does not overlap with a well-known, big data framework. - Source: Hacker News / about 2 years ago
I agree with you about both magic and reactivity (meaning, IIUC, asynchronous rather than blocking APIs). Helidon Nima looks interesting. But what I'd really like is a non-magic, non-reactive server-side web framework that's designed to be used for full-stack, server-side web applications, including things like strongly-typed HTML templates, form validation and rendering, cookie-based authentication, and CSRF... - Source: Hacker News / about 2 years ago
Super simple and efficient API framework in Java? Javalin -> https://javalin.io/ -> example of real world use:. - Source: Hacker News / over 2 years ago
If you're doing something pretty simple and need something really lighweight, however, you could go with something like Javalin or even use Jetty directly (the HTTP server which powers Javalin and many other frameworks by default). It's not that hard to do that and that's what I actually would do myself for almost everything... The fewer moving parts you have in your application, the better chances you have of... Source: over 2 years ago
If you've read this far, you might be interested to know that Javalin has been offering Brotli compression through jvm-brotli for three years already, and that there have been no (reported) issues. In other words, the effort required to release and maintain this is probably not huge. Source: over 2 years ago
Do you know an article comparing Javalin to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Javalin. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.