logoalt Hacker News

ivan_gammelyesterday at 11:37 PM1 replyview on HN

Most of backend development on Java is procedural with OO syntax and ability to replace something in the chain of calls with stub in tests. Spring beans are usually stateless singletons containing a few references.


Replies

mandstoday at 4:09 AM

Yep, I find it easier to think of a Spring (or any DI) Bean like a parameterized module that is applied at runtime, the code within each bean is pretty procedural.