I have a web application that maintains a version flag as a ServletContext.setAttribute('flag', flagValue)
A Filter uses this flagValue in its doFilter method applied to diff servlets.
There is a notification service which toggles the value of the 'flag'.
Now I need to deploy this app in a clustered environment. Given the fact that ServletContext is per JVM, how do I propagate the update received on the notification url across the multiple servers in the cluster?