tags:

views:

31

answers:

1

I have all my configuration details like (queries bean, url mapping etc) in one file (businesscaliber-servlet.xml) but i want separate out how do i do?

+3  A: 

Using

<import resource="..."/>

See documentation. So in your businesscaliber-servlet.xml file, you could have:

<beans>
   <import resource="queries-bean.xml"/>
   <import resource="url-mappings.xml"/>

   ... etc ...
</beans>

Spring doesn't care which beans go into which file, they all get combined at runtime.

skaffman