Hacker News new | ask | show | jobs
by hussainbilal 1528 days ago
I'm not a Spring expert, but from my time working in it, Spring is designed with best practices as default config values.

If you're not only changing config but rewriting templates, then you're already fighting against the framework and deviating from best practices. Don't do that.

My understanding is that if you're regularly rewriting Spring provided templates, then you've likely hit the need for Spring AOP, so the DI magic can be kept manageable.

If you're a consumer and you're hitting this issue (needing to regularly provide own custom templates on the client-side), then you've likely hit the need for Spring Integration on the server-side.