I have a spring core application, where I have two context files for different channels namely mobile & web.
If I get request from mobile channel , mobile-context.xml will be loaded If I get request from web channel , web-context.xml will be loaded
Where I have ClassA, which is added in both of the context files, so its loading twice as per the Spring's context loading concept since both are different context.
Is there anyway that I can load this ClassA once irrespective of the context, or can I share the ClassA object in both the context