Container definition can be spit to the multiple XML files and combined through Import keyword.

<beans>
<import resource="services.xml"/>
<import resource="message.xml"/>
<import resource="themes.xml"/>
<bean id="bean1" class="..."/>
<bean id="bean2" class="..."/>
</beans>