Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

spring framework

807607Dec 29 2006 — edited Dec 29 2006
I 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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2007
Added on Dec 29 2006
8 comments
178 views