Hi,
So I'm new to
JSF and CDI, but not all that new to Spring. I'm reading all sorts of online tutorials. Some of them just use "plain old JSF". Some show you how to replace JSF's managed container, with Spring's. And others talk about JSF, CDI and the "JSR 299 fiasco".
My question is a bit fuzzy, architectural, hand-wavy... I just don't have a firm grasp on the subject matter, I think.
If I'm using JSF and choose to use the CDI annotation (use the
JEE CDI container, rather than the 'smaller, less capable' JSF container), then why would I use Spring? Aside from "I like Spring", and "the tutorial showed me how to do it" and "because I can". Is there a *need* to use Spring, if I'm using the move powerful CDI container ?
Thanks.