News for hackers. Stuff that matters.
Re:Rating 26 years of Java changes by jsight on Saturday October 11, 2025 @09:53PM (#45554446)
In theory, yes. In practice, I've found that things get really complicated as soon as you start trying to interact with the spring lifecycle. Figuring out how to customize things and manage priority is the trickiest thing in Spring, IMO.
Re:Rating 26 years of Java changes by lenkite on Sunday October 12, 2025 @03:40AM (#45556138)
Please use the facilities of the framework for debugging any lifecycle issues. I was surprised when I found out that people did not use `--debug` for example or enabled logging of application startup events.

If you prefer GUI, Intellij even has a Spring Debugger: https://www.jetbrains.com/help/idea/spring-debugger.html

Re:Rating 26 years of Java changes by Anonyneko on Sunday October 12, 2025 @04:05PM (#45561383)
I stopped using Spring Debugger because for some inexplicable reason enabling it makes breaking at the breakpoint take minutes instead of seconds. For quite a while I didn't realize this was the problem, as IntelliJ started having it turned on by default at some point.
Re:Rating 26 years of Java changes by jsight on Sunday October 12, 2025 @09:59PM (#45563997)
Fair point, honestly. It could easily be a skill issue from not doing this particular type of thing all that often.