S
Steven Wolf
Hi folks,
i use the identity map pattern [Fowler PoEAA] in my project, to
store/cache many domain objects there. But what happen if the
persistence data (sql) change? The user will still use some domain
objects, which are no more up-to-date. I can solve that, if i use a
server-side identity map, to provide a map for all users/apps and
update a domain object in the map when a UPDATE/INSERT/DELETE get
fired on the persitence data.
But do you have some ideas how to solve that on a client-side identity
map?
Steven.
i use the identity map pattern [Fowler PoEAA] in my project, to
store/cache many domain objects there. But what happen if the
persistence data (sql) change? The user will still use some domain
objects, which are no more up-to-date. I can solve that, if i use a
server-side identity map, to provide a map for all users/apps and
update a domain object in the map when a UPDATE/INSERT/DELETE get
fired on the persitence data.
But do you have some ideas how to solve that on a client-side identity
map?
Steven.