2 ms·
Fair - good thing there's like a dozen web frameworks you can choose from. Find one you like and run with it.
by Alupis 2y ago
Fair - good thing there's like a dozen web frameworks you can choose from. Find one you like and run with it.
- jimbokun 2y agoI love Javalin for new projects! But have too much code in Spring Boot to ever justify rewriting all of it.
- Alupis 2y agoThanks for naming Javalin - I had not previously heard of it and it appears quite nice. I will say though, I vastly prefer pushing configuration out of my code and into config files/text. Things like `Javalin.create { config -> config.useVirtualThreads = true }` in my opinion should live in a config file. But, to each their own - that's the beauty of the JVM ecosystem - lots of choice and lots of ideas.
- jimbokun 2y agoSpring Boot pushes EVERYTHING into config. Whether annotations, or YAML files or property files or Gradle or Maven files or something else. And those things are very very hard to debug. Java tools do not have an easy way to step through the code that gets executed due to you having an annotation in your source. Or the code paths that get executed to create beans and run code and generate entirely new classes with no source code...just by adding a dependency to your project. For the things that really should be configuration, environment variables are perfectly fine.