Jooby is a modular, high-performance web framework for Java and Kotlin. Designed for simplicity and speed, it gives you the freedom to build on your favorite server with a clean, modern API.
🚀 Built for Speed
High Performance: Consistently ranks among the fastest Java frameworks in TechEmpower benchmarks.
Lightweight Footprint: Low memory usage and fast startup times make it ideal for microservices environments.
Choose Your Engine: Built to run on your favorite high-performance servers: Netty, Jetty, or Undertow.
🛠️ Developer Productivity
Instant Hot-Reload: Save your code and see changes immediately without restarting the entire JVM.
Modular by Design: Only use what you need. Jooby offers over 50 "thin" modules for database access (Hibernate, JDBI, Flyway), security (Pac4j), and more.
OpenAPI & Swagger: Automatically generate interactive documentation for your APIs with built-in OpenAPI 3 support.
🧩 Unrivaled Flexibility
The Power of Choice: Use the Script API (fluent, lambda-based routes) for simple apps, or the MVC API (annotation-based) for complex enterprise projects.
Reactive & Non-Blocking: Full support for modern async patterns, including Kotlin Coroutines, RxJava, Reactor, and CompletableFutures.
First-Class Kotlin Support: Native DSLs and features designed specifically to make Kotlin development feel intuitive and type-safe.
Quick Start
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!"
}
}
}