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
- v2: Documentation and source code
- v1: Documentation and source code