News for hackers. Stuff that matters.
Re:The Kotlin Foundation by brabel on Saturday February 13, 2021 @12:47PM (#26125124)
Java developers are spoiled for choice.

There's everything, from the simplest possible https://sparkjava.com/, to the a little bit nicer https://javalin.io/ (which has a Kotlin wrapper), to the high performance and full framework https://vertx.io/ (which always had great multi-lingual support within the JVM), to the newer and GraalVM-friendly https://micronaut.io/ and https://quarkus.io/ ... for the Enterprise-only crowd, you still have the JEE successor, https://jakarta.ee/ and Oracle's own https://helidon.io/#/ (which likes to position itself as microservice focused, like Micronaut and Quarkus). Not to mention lower level libraries you can use, like https://www.eclipse.org/jetty/ and https://netty.io/.

Ktor has a tough fight to become dominant even in the Kotlin world.

Spring Boot is, still, definitely the most popular option, but it's still just one of very very many!

Re:The Kotlin Foundation by listenallyall on Saturday February 13, 2021 @03:02PM (#26126273)
Or http4k, which implements "server as a function" and is fantastic for an API backend, with lenses/contracts, auto-serialization on top of your choice of Kotlinx/Gson/Moshi/Jackson, nested routing, so much more.
Re:The Kotlin Foundation by mkurz on Saturday February 13, 2021 @01:10PM (#26125347)
Re:The Kotlin Foundation by vips7L on Saturday February 13, 2021 @04:20PM (#26127050)
Never again. Play is one the worst things I've had to work in. Too much scala when you're just trying to Java.
Re:The Kotlin Foundation by ivanche on Saturday February 13, 2021 @01:58PM (#26125746)
Re:The Kotlin Foundation by ofrzeta on Saturday February 13, 2021 @02:18PM (#26125927)
vert.x has unfortunately reduced the support of JVM languages to Java, Kotlin and Groovy. No longer any Scala support, also no support of Javascript.
Re:The Kotlin Foundation by pmlopes on Sunday February 14, 2021 @03:44AM (#26130675)
Scala support is still being finished, however the project team decide to go ahead releasing 4.0.0 at the beginning of the year avoiding the block until the Scala support work was complete. You can follow its development on GitHub or the official Discord server.
Re:The Kotlin Foundation by ofrzeta on Sunday February 14, 2021 @02:28PM (#26135366)
Thanks for the info. While checking out vert.x 4.0 I had a hard time figuring out language support from the release notes and blog posts.
Re:The Kotlin Foundation by pmlopes on Sunday February 14, 2021 @03:41AM (#26130661)
JavaScript's support has been moved to the reactiverse project. It's an incubation like project for projects that aren't fully 1.0.0 yet. In there you will find https://reactiverse.io/es4x/, the EcmaScript support For Vert.x. It's a new approach of using vert.x with GraalVM to provide modern ES language features such as ES12, instead of the old Nashorn ES5.1.

It also changes the development workflow from a maven-based project to a NPM-based project which should be more familiar to JavaScript developers.