I have two projects with the name simple-core-impl and simple-core-web. Both projects are spring based and both have a parent project name simple-core. I have simple-impl-config.xml in simple-core-impl project and simple-web-config.xml in simple-impl-config.xml.
I have a bean which has class: simple service which have one method which returns me a message "hello World". I want to import the simple-impl-config.xml in the simple-web-config.xml so the bean is available into my controller which is in simple-core-web project.
simple-core-web project has a jar of simple-core-impl project.
So please tell me how I can I import spring-config.xml of one project into spring-config.xml of another project so all the beans of first is available into other project by just importing? I do not want to rewrite all the beans.