Is there a way to use core java/reflection to load create dependency objects and set it to other as a dependency?
I could do it, but the facing issues while dealing with nested beans.
Ultimately, I am not interested to use spring for the simple usage.
Any help much appreciated.
I have written it myself.
Couple of pre-requisites though
<bean id="xyz" class="package path of class">
for declaring a class, and <parameter name="xyz" value="val">
or <parameter name="xyz" ref="beanid">
for instance variables. Parameter can point to a value or reference of another objectPretty simple. Thanks for all comments