To load any xml spring context you have to run smth like
try {
final ClassPathXmlApplicationContext ctx =
new ClassPathXmlApplicationContext(
new String[] {"application-context.xml"});
} catch ( final Throwable th) {
log.error("Unable to start the context : " + th.getMessage(), th);
}
It's enough in the most cases.