11

Javalin - A lightweight Java and Kotlin web framework

 4 years ago
source link: https://javalin.io
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Simple

Unlike other Java and Kotlin web frameworks, Javalin has very few concepts that you need to learn. You never extend classes and you rarely implement interfaces.

Lightweight

Javalin is just a few thousand lines of code on top of Jetty, and its performance is equivalent to raw Jetty code. Due to its size, it's very easy to reason about the source code.

Interoperable

Other Java and Kotlin web frameworks usually offer separate version for each language. Javalin is being developed with interoperability in mind, so apps are built the same way in both Java and Kotlin.

Flexible

Javalin is designed to be simple and blocking, as this is the easiest programming model to reason about. However, if you set a Future as a result, Javalin switches into asynchronous mode.

Educational

Visit our educators page if you're teaching web programming and looking for a web framework which will get out of your way and let you focus on the core concepts of your curriculum.

OpenAPI integration

Many lightweight Java and Kotlin web frameworks don't support OpenAPI, but Javalin has a full integration, including Swagger UI and redoc to display the generate docs. Learn more at the dedicated OpenAPI plugin page.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK