spring framework
807607Dec 29 2006 — edited Dec 29 2006I have recently started working on a project using Spring Framework. I have observed that at some places in the code the spring framework is being used to get objects as beans through the config.xml and BeanFactory. While at other places the new operator is being used.
Is there any special consideration to be kept in mind as to which classes should be intantiated directly and which through Spring? In such a case whats a good practice?