On Tue, May 5, 2009 at 3:26 PM, Carsten Ziegeler <cziege...@apache.org> wrote: > Ian Boston wrote: >> Are there any facilities in sling for registering jcr event listeners ? >> >> Both the external javax.jcr.observation.EventListener and the >> SynchronousEventListener type. >> > No we don't have extra support in Sling atm. One of the problems here is > that the jcr listeners are tied to a session. > > But we're working on a resource based eventing which leverages the OSGi > eventing: > > https://issues.apache.org/jira/browse/SLING-944
sorry to bring this up again - but i'm a bit concerned that every JCR api functionality is duplicated in sling. i think it should not be to goal to replace the JCR api in sling, but to leverage it. the main focus of sling should be to build a framework on JCR and not try to make JCR replaceable. the JCR api might be a bit clumsy to use, but at least it is well documented and standardized. regards, toby