> > Just in case you do not know (like most people) there is exactly ONE
> > system on the market that makes transparent persistence, and this is
> > in the java world. This is done by
>
> There is another style of persistance which is to persist the
> object via some sort of serialisation and then record any
> changes in a log, and then taking full snapshots of the
> system every now and then.
>
> This is the basis of the prevayler concept. Having played
> with it a little it's quite neat and robust. The .net
> prevayler it is quite _transluscent_ with the only
> requirement being a container that inherits from
> MarshalByRefObject, the objects being [Serializable] along
> with some startup glue code to get the persistence engine up
> and running (which is about 3 lines).
Perhaps I miss something obvious, but how can a system be robust
if it keeps objects in memory without persisting them directly to a
persistent storage like a DB which has transaction logs and real
persistent storage like files in disk?
Another thing I have a problem with is the fact that if you keep
an entity E, which is changed and persisted (transaction is over, object
is finalized) (but only in memory), in memory somewhere, another box
targeting the same database will not see that changed entity E and will
work with the older one, which can and will lead to undesired results.
This is for example the case in desktop applications targeting the same
database or in a webfarm.
FB
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com