i don't have any experience with spring, but following some tutorials, dependency injection doesn't seem to be working in my app. for example i have ClassA and inside it have private ClassB classB, and a setter for classB. in my applicationContext.xml, i have the bean created for classA.
my app is running under oc4j, and when i start the app i have a breakpoint at the setter for classB, and it hits the breakpoint and classB is passed in correctly. but when i execute a function to create a new instance of ClassA, classB is null inside and the setter never gets called.
any suggestions?
thanks


Reply With Quote
