cancel
Showing results for 
Search instead for 
Did you mean: 

what is difference between beans.xml and spring.xml file in hybris

Former Member
0 Kudos

what is difference between beans.xml and spring.xml file in hybris

Accepted Solutions (1)

Accepted Solutions (1)

raghavendra_desu
Contributor

Hi Shyam,

Beans.xml file is used to generate dto classes like productData, CategoryData and update these classes. Hybris will merge all beans.xml to generate the classess and these beans will not be added to application context. Where as the spring.xml file is used to construct the application context at the time of server start. You can observe that all spring.xml files names getting printed in logs at the time of server start. For more details on beans.xml please refer here

Regards,

Raghavendra.

Answers (0)