Hi Felix, 

> -----Original Message-----
> From: Felix Meschberger [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 24, 2008 5:51 AM
> To: [email protected]
> Subject: Re: Using OCM, can't adaptTo again
> 
> Hi,
> 
> Craig L. Ching schrieb:

[snip]

> > As an aside, should I be staying away from OCM?  I like the 
> idea and 
> > it works great when it does work, but I don't want to be outside of 
> > the norm here if it's not a good technology.
> 
> I am also one of the OCM guys. Actually the first Sling 
> implementations exclusively built upon OCM...
> 
> Anyway, I like thinking in business object terms in contrast 
> to just nodes and properties terms (as if a business 
> application would just be built by static functions operation 
> on maps ;-) ). But YMMV. I would say, if you have a reason to 
> use OCM, use it.
> 

Yeah, I've been thinking about the alternatives and I think OCM is a
very nice fit for me.  As part of our app, I want people to provide
their own content (we'll have a library of objects that can be used in
our app and we want users to extend that library with their own objects)
that can be included with ours and, for us, that means at the JCR level.
I think it would be much easier to expose OCM to them than the whole of
the JCR API.  So, I think I'm sticking with OCM.

> >  Or I could possibly supply
> > some tests given a little guidance to make sure it's 
> breakage becomes 
> > more obvious.
> 
> As Bertrand already said, this would certainly be a nice 
> addition and be welcomed.
> 
Yeah, I haven't had much time to think about this, but I'll definitely
try to make some time.  On a side note, Rory Douglas posted this on
Tuesday:

>I think I figured this out:  I added @scr.service
interface="org.osgi.framework.SynchronousBundleListener" to
ObjectContentManagerFactoryImpl, and the component now activates
immediately (and registers mapped types from simple-demo)

I tried what he said and it didn't work for me.  I've got some time this
morning to look further into it, but thought I'd point that out in case
you missed it.


> Regards
> Felix
> 

Cheers,
Craig

Reply via email to