1 Reply Latest reply on Feb 9, 2011 7:48 AM by Ashish Vashisht

    Pulling differential data from the cache

    Shally Dhar Level 1



      I am using LCDS 2.6 in my application. My application is using DMS to pull data from the EhCache which inturn gets refreshed from the database. Now once I receive a piece of data, it will not change in the future. Only new data would get appended to it. Hence I would just be needing the differential data and not the entire data. Currently after a regular interval, I use the DataService to hit the cache and get the whole data again which includes the older data as well as the newly appended data since I have the VOs mapped on both Flex and java ends using assemblers.


      What I now want is that I don't want to again pull the data that has already come in. I just need the new data that has got appended to the original data. Is there any way that the LCDS would itself get to know about the differential data and notify the client.


      Please note that the LCDS service hits the EhCache using assemblers and is not directly mapped to the database.


      I am currently in the design phase and would really need help on this.

      Looking forward to your replies on this.


      Thanks and Regards,