Make applicationContext.xml overridable outside war file. Move rest calls to /rest/data/