I have two beans configured in spring following way. I am giving the pseudo code as below
<beans> <bean id="a" class="Employee"> <property name="b"> <bean id="b" class="Department"> <property name="a"> </beans>
What happens in this case. I think the configuration works fine. Correct me if i am wrong.
I would like to know if i can configure beans in such a way. If it not proper then what exception it throws