||JBoss Cache as a POJO Cache|
|Subject:||Caching preconfigured data|
My application has some pre-configured data in database. This data can also change/add/delete dynamically through UI. Will it be appropriate to cache this data using JBoss cache by reading from DB at the start-up of application so various interfaces of application need not read it from DB?
Also, will it be appropriate to do any modification/addition/deletion operations first on cache then update the cache into DB?
I am not able to find any good strategy to cache my application data to improve the performance. At the same time I want handling any dynamic operations on data and synchronize the cache and DB with modified data.
Can you guide?