Hi,
I need to use JBoss cache for an applciation, to cache entites across a cluster. However, I want to configure it in such a fashion that once a POJO object for an entity is created, I should be able to write it only to JBoss cache. Database writes should be performed only based on some configuration for cache eviction, which may be based on a timer. The applciation uses stateless session beans to create / change entity objects and it will be expensive to do too many database write operations. Hence the need for this configuration.
Can you please give me pointers to achieve this ?
Thanks,
Nischala
|