A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to refresh cache in glash fish server
Joined: Jun 02, 2008
Jul 23, 2009 11:44:10
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.
I agree. Here's the link:
subject: how to refresh cache in glash fish server
struts action called on refresh
drawback of asynchronous communication
Delete cached data and load from database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014