File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
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.
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