A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Today (12/10) is CodeRanch Day in
Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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
drawback of asynchronous communication
struts action called on refresh
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-2013