Register / Login
how to refresh cache in glash fish server
posted 7 years ago
I have an application with two layers, front end –
and business layer is in JCAPS (web services).
My front end application is deployed on Glassfish server.
My problem is that I have some of the master data stored in cache at application scope which I want to refresh periodically.
This can be done programmatically but it has a few performance drawbacks given in the current scenario.
Also when doing it programmatically it would require a user action to trigger the refreshing event.
Can this be done in some other way where in this data can be refreshed periodically without any user action.
struts action called on refresh
drawback of asynchronous communication
Delete cached data and load from database