Hello World!
Java
import org.jooby.Jooby;
public class App extends Jooby {
{
get("/", () -> "Hey Jooby!");
}
public static void main(final String[] args) {
run(App::new, args);
}
}
Kotlin
import org.jooby.*
class App : Kooby ({
get {
"Hey Jooby!"
}
})
fun main(args:Array) {
run(::App, *args)
}