We have a Spring application that is hosted on a shared tomcat instance.
Sometimes we have to reload the spring application context but don't want to restart the Tomcat server, because other application's are hosted there as well.
Is refreshing springs application context via
((ConfigurableApplicationContext)applicationContext).refresh();
considered bad practice?
What alternatives do I have?