[Hippo-cms7-user] Derived Data

Frank van Lankvelt f.vanlankvelt at onehippo.com
Tue Nov 24 10:51:47 CET 2009


>> Yes we can: do not use it! Would you like to have an event listener on
>> a change a node, and then, trigger a new change on the same node?
>> Triggering a change again....and different jcr sessions handling
>> triggering all these changes?
> Isn't that something the boolean nonLocal prevents?
> <quote>
> Additionally, if |noLocal| is |true|, then events generated by the session
> through which the listener was registered are ignored. Otherwise, they are
> not ignored.
> </quote>
>
> or did i misunderstand that option?
>
> http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/observation/ObservationManager.html
>
>
so then please imagine _two_ observers, in different sessions, on the
same node.  Really, modifying data in a listener is a BAD IDEA.

There has to be some coordination on what can and cannot be done; that
is why there are managed solutions like the derived data engine.

cheers, Frank



More information about the Hippo-cms7-user mailing list