I have Swing application with 10 - 20 beans in application*.xml. This configuration is loaded 2.5 sec by FileSystemXmlApplicationContext. In future amount of beans will be increased.
I have strict requirements for loading time of application and I want to solve problem before I will have problem on production.
Is there a simple way to reduce parsing time? Is there a way to define something like this: <import resource="application-business.xml" lazy-init="true"/> or using fastest version of ApplicationContext ?
I know I can load only ui application xml first and business xml late. But this will be an impact on my design and it is not appropriate solution.