When not to use Spring to instantiate a bean?
- by Rishabh
I am trying to understand what would be the correct usage of Spring. Not syntactically, but in term of its purpose.
If one is using Spring, then should Spring code replace all bean instantiation code?
When to use or when not to use Spring, to instantiate a bean?
May be the following code sample will help in you understanding my dilemma:
…