4 ms·
> What JVM do I use? latest LTS (longterm-support) version, so currently 21, next 25 (late 2025). > Does it matter? new is always better > what if I have to
by simon_void 2y ago
> What JVM do I use?
latest LTS (longterm-support) version, so currently 21, next 25 (late 2025).
> Does it matter?
new is always better
> what if I have to install/manage multiple versions?
https://sdkman.io/ https://sdkman.io/
> If I want to write a web service can I use vanilla Java stdlib or do I have to use Spring or some framework?
Spring
> If I use Spring, do I have to get into the weeds of dependency injection
yes, but it's not hard (or I've done it long enough)
> other complexity
that might just be inherent complexity when have to deal with a webservice. personally I dislike have to configure security
So basically go to Spring Initializr (https://start.spring.io/ https://start.spring.io/) pick the latest LTS Java&Maven (or Kotlin&Gradle-Kotlin) and You're off to the races.