Oct 8th, 2009, 08:34 AM
A little help for a fresher.
I am working on a GWT application that uses Spring as a backend.
I am currently trying to code a backend component that tracks when a use last requested some data and whether that data has changed since they last requested it.
This would allow me to only load data that has changed instead of the entire dataset.
Has anyone got any ideas? Or can give me hints on how I would create a class that all users could access to notify other users that they have made changes, and then this class be accessed by all users to see whether they need to update their data.
Any advice would be very much appreciated.
Oct 8th, 2009, 01:20 PM
I am not sure what tech. you are using for this "backend component", but you can use log table i.e. you can maintain the changes in log table so you can query log table when you whats to see those changes.
Apart from it if you are using Hibernate, then Hibernate allows some callback that could be used to detect the changes.
Oct 9th, 2009, 12:41 AM
prabodhs is saying right, i also tested it,