Hi ,
I am trying to use TreeCacheAop inside weblogic. my caching purpose is a little different meaning my cache is a dirty cache. I am putting a POJO inside the treecacheaop and its getting replicated across nodes. Now my purpose is to write a Custom JDBCCacheLoader which does a few things
1) It only loads information from the Database in two circumstances.
a) when the cache is started for the first time.
b)when the client makes a explicit call to synchronize with the DB.My Table will not be as specified in the cacheloader configuration.
2)Will a JDBCCacheLoader work with TreeCacheAop .
1) Yes, you can do this.
2) Yes, it will work provided you can adhere to the CacheLoader interface methods and provide the symatics expected of a CacheLoader implementation.