Hi Thank you for reading my post. I need an object cache in my web application and i am looking for some guidelines about implementing it.
What i know is: 1- I can use JSC as an in memory cache manager. 2- I need to use a servlet which will initialize when application start, it will should include my cache. Now what i can not understand is: How i can use JCS in a servlet in a way that all my java classes which are inside the web application use it? I read something about singletone and static member objects but i do not know what should i do. Can you please provide some helps? Is it OK to use a servlet as a chache container? Thanks