Jooby is a modern, performant and easy to use web framework for Java and Kotlin built on top of your favorite web server.
Java:
import static io.jooby.Jooby.runApp;
public class App {
public static void main(final String[] args) {
runApp(args, app -> {
app.get("/", ctx -> "Welcome to Jooby!");
});
}
}
Kotlin:
import io.jooby.runApp
fun main(args: Array<String>) {
runApp(args) {
get ("/") {
"Welcome to Jooby!"
}
}
}
Documentation is available at https://jooby.io
Documentation for 1.x is available at https://jooby.io/v1
Source code for 1.x is available at the 1.x branch