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