I guess we should add this to the FAQ as it comes up fairly often:

See if this helps you:
http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheStartupServlet.java?view=log

Al

On 02/05/07, Legolas Woodland <[EMAIL PROTECTED]> wrote:
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to