I have a big web project which is split across multiple modules. Each of the module has its own spring application context xml file. In the parent project's applicationContext.xml file I have imported all the child module's applicationContext.xml files. Say I have following child applicationContext.xml files
-aContext.xml
-bContext.xml
-cContext.xml
In the parent project's applicationContext.xml file all of these are being imported. But some of the places I see inside aContext.xml bContext.xml and cContext.xml are being imported again?
The hierarchy is something like this -
-applicationContext.xml(parent)
-aContext.xml
-bContext.xml
-cContext.xml
-bContext.xml
-cContext.xml
I can understand that there is no harm doing it as my web application is up and running perfectly. Only thing I am trying understand is, is there any performance glitch of doing it this way? If I remove the nested xml files and import them only once, will I see any performance improvement?