Hi,

I would like to put the spring-beans.xml configuration into the META-INF/ directory of any jar assembled into an ear file. So somewhere I add an

<import resource="classpath*:META-INF/spring-beans.xml"/>

to make Spring load all contexts it finds automatically. My problem is, that I would need to load some files in a given order to override certain bean definitions. How would I do this ? So say I have two jar files in the ear file which both have a META-INF/spring-beans.xml (jar1 and jar2) and inside the spring-beans.xml of jar2 I would want to override a bean-definition from jar1. To make this work I would need to "tell" spring the order in which to load the definitions. Is this possible ?