mvysny / vaadin-on-kotlin

Writing full-stack statically-typed web apps on JVM at its simplest
https://www.vaadinonkotlin.eu/
MIT License
185 stars 17 forks source link

Use Vaadin-Boot #88

Closed mvysny closed 2 years ago

mvysny commented 2 years ago

We can't use Vaadin-Boot since it uses Jetty 10, however VoK uses Javalin 4.x which uses Jetty 9 and is incompatible with Jetty 10. We can not upgrade to Javalin 5.x since that uses Jetty 11 which uses jakarta Servlet 5 which is incompatible with Vaadin 23. Vaadin 24 will use jakarta servlet 5 but it's not out yet.

Solutions:

mvysny commented 2 years ago

Blocked by https://github.com/javalin/javalin/issues/1730

mvysny commented 2 years ago

Vaadin 24 is not yet out: even though a vaadin 24 app can be downloaded from https://start.vaadin.com/app, it refers to 24-SNAPSHOT.

mvysny commented 2 years ago

Another possible solution: expose javalin 4 as a servlet to jetty 10. Also see https://github.com/mvysny/vaadin-boot/issues/2

mvysny commented 2 years ago

Done: Javalin exposed as a servlet works well with jetty 10. Ported vok-example-crud to vaadin-boot.