Re: caching large data in web application

2004-11-30 Thread Shih-gian Lee
Well, if the data is read only, then you can just cache the data in a Hashtable and make it accessible through out the application. If your data is volatile, then you may consider writing a simple time based caching service - http://www.javaworld.com/javaworld/jw-07-2001/jw-0720-cache_p.html Hibe

Re: caching large data in web application

2004-11-29 Thread Ashish Kulkarni
Hi The data which i want to cache has about 1 rows and i want to cache it in may be servlet context, what is the best way to cache it, do i just create a java bean and cache it or some kind of mechanism already exist like Hibernation (i am not sure what is does) Ashish --- "Frank W. Zammetti"

Re: caching large data in web application

2004-11-28 Thread Frank W. Zammetti
What kind of data is it? Is it a read-only set of data? How often is it updated? Who or what can update it? There's any number of ways to do things like this, which is the best option depends on the particulars of your use case. You might be able to cache the data in Javascript arrays in the

Re: caching large data in web application

2004-11-28 Thread Dakota Jack
Whatever code updates the database will have to somewhere and somehow notify the code that updates the cache. It is that simple. Jack On Sun, 28 Nov 2004 15:25:56 -0800 (PST), Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > what is the best way to cache data in web application, > I have a t