Why there are two separate xml files - <extension>-beans.xml & <extension>-spring.xml in Hybris?
I am new to Hybris and was little confused about the structure of an extension in it. Whenever we create any extension, it contains two XML files : -beans.xml and -spring.xml <extension>-beans.xml file contains definition for beans and their attributes or in other words, the DTOs. <extension>-spring.xml also contains definition for some beans and their attributes. This is what I understood so far. Please correct me if I am wrong. When we can define beans in spring.xml , why there is a need for another XML file " beans.xml " ? Please provide some clarification on this. Thanks. As we know Hybris