Fork me on GitHub

A lightweight REST API library

Javalin is a true micro Java REST API library and has no required external dependencies other than the embedded web-server. It has an optional dependency for Jackson, in order to provide out-of-the-box object mapping support (response.json(object)). To use this feature you need to have Jackson included as a dependency.

Download Javalin


Not familiar with Maven? Click here for more detailed instructions.

compile 'io.javalin:javalin:1.7.0'

Not familiar with Gradle? Click here for more detailed instructions.

libraryDependencies += "io.javalin" % "javalin" % "1.7.0"
@Grab(group='io.javalin', module='javalin', version='1.7.0') 
[io.javalin/javalin "1.7.0"]
<dependency org="io.javalin" name="javalin" rev="1.7.0" />

Manual downloads

You can get the prebuilt jar from maven central.
You can get the source on GitHub, or download it as a zip.

Do you like Javalin?