I am creating an application in which we can edit the content. Now this change in content should be visible to all. I was using a static variable for that. With that the content changes and change is visible to all but after sometime it again initialize to its initial value.
So can you give any suggestion through which I can maintain the change without using the database?
It happens only when your ClasLoader reloads the class containing static property.
You can go for FILE-IO(.xml, .properties) or DB,