Jooby is a modern, high-performance web framework for Java and Kotlin, designed to run seamlessly atop your preferred web server.
- 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.
- 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.
- 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.
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
| Logo | Sponsor |
|---|---|
| @premium-minds | |
| @agentgt | |
| @tipsy |
- v3: Documentation and source code
- v2: Documentation and source code
- v1: Documentation and source code