Fork me on GitHub

A lightweight REST API library

Javalin is a true micro Java REST API library and has no external dependencies other than the embedded web-server (jetty), but it has plugins for JSON mapping and template rendering available if you need that.

Download Javalin

<dependency>
    <groupId>io.javalin</groupId>
    <artifactId>javalin</artifactId>
    <version>2.4.0</version>
</dependency>

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

compile 'io.javalin:javalin:2.4.0'

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

libraryDependencies += "io.javalin" % "javalin" % "2.4.0"
@Grab(group='io.javalin', module='javalin', version='2.4.0') 
[io.javalin/javalin "2.4.0"]
'io.javalin:javalin:jar:2.4.0'
<dependency org="io.javalin" name="javalin" rev="2.4.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?