Hi Ramesh,
       Why do you want to make a new caching service when they are so many
already existing ... that to OpenSource. Unless you have some
proper business or technical reason to do so.

You can consider using Generic Object Pool from the Apache Jakarta Project

Link: http://jakarta.apache.org/commons/pool/


'BR,
/Siddhartha
Software Architect
http://www.visioncodified.com


> Hi all,
>
>  I am trying to use a develop a generic Caching service so that any Java
> application should be able to insert and retrieve objects from the cache.
>
> The caching service should meet the following requirements:
> 1. Any Java application should be able to access the caching service. The
> code changes to be done to an existing system to use this caching service
> should be minimal.
> 2. Any type of Object can be placed and extracted from the cache.
> 3. The application has objects that it wants to store in the cache for
> different periods ranging from few minutes to hours/days.
> 4. The caching service has a limit on the number of objects cached. The
> client application should not be affected by this limit imposed on the
> cache. The cache should support pluggable cleanup mechanisms using
> algorithms like least-recently used (LRU) or least-frequently used (LFU)
> etc.
> 5. The caching service should ensure maximum serviceability by cleaning up
> expired objects appropriately.
>
> Any idea where in I can start for this, any url or available piece of code
> snippet would be of great help to me.
>
> Regards
> Ramesh Kesavanarayanan
> [EMAIL PROTECTED]
>> Cognizant Technology Solutions India Pvt Ltd.
>> Off                :  +91-44- 52098497
>> USHotline   :  (201)678-3200 ext 48507.
>>
>>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to