Archive for August, 2011

Dynamically Importing Spring Context Files

We needed to change the underlying storage mechanism (JPA2/JCR/inMemory…) dynamically from configuration and actually the neat and perfect solution for our problem is Spring Profiles from Spring 3.1 as you can see from this excellent post by Chris Beams. But since the beans with Profiles are not there yet and the Spring 3.1 GA release is [...]