I have a JBoss Service that has a list of environment specific configurations which it places within the JNDI. My web application picks these configurations up from the JNDI when it initializes. However, if I want to change any of those configurations in the JBoss Service, then I would have to restart the JBoss Server in order for the web application to pick them up. What I would like to know is if there is a way to do any of the following:
1. Reinitialize the web application or web application context at runtime through JBoss.
2. Have the jboss service fire off a change event that could be picked up by a listener on the Web Application side which can then make the necessary updates.
If there are any other solutions, please let me know.