5 ms·
CDI has a specification, _an extensive specification_, defining the _exact_ behavior of the framework. It is not magic, it’s consistent, predictable, and determ
by exabrial 4y ago
CDI has a specification, _an extensive specification_, defining the _exact_ behavior of the framework. It is not magic, it’s consistent, predictable, and deterministic. The implementation we use OpenWebBeans, and the alternative implementation Weld, have extensive extensive self tests. I don’t think ever had an issue upgrading over 12 years of using the frameworks.
https://jakarta.ee/specifications/cdi/3.0/jakarta-cdi-spec-3.0.html https://jakarta.ee/specifications/cdi/3.0/jakarta-cdi-spec-3...
I would use a DI or a language that _didn’t_ have a spec or you would experience the things in the two articles people fear.