Hi There!
I have a design problem .
My application has multiple J2EE components ,In simple terms one acts as a service provider(Non UI) and others are consumers(UI webapp) .
The consumer gets the configuration data from the service provider(this basically reads the data from DB) during the start up and stores it in the Cache.
The cache gets refreshed after periodic time to reflect any changes done at the database.
The Problem
Apart from the cache refresh ,I also want to notify the consumers when someone changes the DB . that configuration has been changed please reload it.
What notification mechanism's can I use to achieve this.
Thanks!
Pratik