# Javalin

> A simple, lightweight web framework for Java and Kotlin, on top of Jetty

Source: https://talira.ai/catalog/javalin-0vs3qqma
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Javalin](https://talira.ai/orgs/javalin.md)

Javalin is a lightweight web framework for Java and Kotlin: a few thousand lines of code on top of the Jetty web server, with performance close to raw Jetty. It has few concepts to learn: you declare routes with handlers, never extend classes and rarely implement interfaces, and apps are written the same way in both languages. Handlers are blocking by default and switch to asynchronous when you return a future; it supports virtual threads, WebSockets, static files and WebJars, and its OpenAPI plugin adds Swagger UI and ReDoc. Jetty can be configured fully, including SSL and HTTP/3.

## Links

- Website: https://javalin.io/
- GitHub: https://github.com/javalin/javalin
- Docs: https://javalin.io/documentation

## Problems it solves

- a lightweight web framework for a small REST API in Java or Kotlin
- build an HTTP API on the JVM without Spring's annotations and boilerplate
- serve a JSON API and WebSockets from a simple Kotlin app

## Features

- Routing with plain handlers
- Same API from Java and Kotlin
- Blocking by default, asynchronous with futures
- Virtual threads
- WebSockets
- Static files and WebJars
- OpenAPI plugin with Swagger UI and ReDoc
- Fully configurable Jetty, including SSL and HTTP/3

## Trust

Overall: 0.70 out of 1.
Signals: maintenance 1.00, adoption 0.78, momentum 0.56, community 0.94, backing 0.30, extensibility 0.00.

- last commit 5 days ago
- 63 commits in the last 90 days
- latest release javalin-parent-7.3.0 6 days ago
- 8.4k GitHub stars
- 223 contributors
- accepts sponsorship (Github)
- has a company behind it

## Alternatives

- [Ktor](https://talira.ai/catalog/ktor-xe69h8gc.md): Build asynchronous servers and clients in Kotlin
- [Dropwizard](https://talira.ai/catalog/dropwizard-pp4h2cnv.md): Java framework for ops-friendly, high-performance RESTful web services
- [Play Framework](https://talira.ai/catalog/play-framework-2wkb0ere.md): The high velocity web framework for Java and Scala
- [Spring Boot](https://talira.ai/catalog/spring-boot-5qzjdf5y.md): Create stand-alone, production-grade Spring based applications that you can "just run"

## Sources

[^1]: https://github.com/javalin/javalin/blob/master/LICENSE (checked 25 Nov 2026)
