FYI, this is not yet documented but you can use inheritance, interface
and use proxies to performance reasons. There are also other
possibilities to increase performances. The ocm tools can be also to
customized to map simple beans and collection in general.


On 10/12/06, Nicolas Modrzyk <[EMAIL PROTECTED]> wrote:
Hi Alexandru,

I did not try it, but I read the doc online for jcr-mapping:
http://incubator.apache.org/graffito/jcr-mapping/simple-strategies/
introduction-strategies.html
Graffito sounded way more complete when you want to write the whole
mapping strategy.

The bean mapper sounded simpler for basic functional use. We did not
have more requirements than map the bean to the repository(with good
speed) so that its fields were searchable using the regular query
manager.

Niko


On Oct 12, 2006, at 6:11 PM, Alexandru Popescu wrote:

> On 10/12/06, Nicolas Modrzyk <[EMAIL PROTECTED]> wrote:
>> Hi Christophe,
>>
>> A few people pointed out graffito already, and I was greatly
>> impressed as I've said in a previous email.
>>
>> We have the same goal indeed and I also like the comments on
>> hibernate which I find very valid.
>> But as written on the page you've been liking to, there has been no
>> release yet.
>> Also surfing the svn repository, no code has been committed since
>> december last year, so I thought the project was not developed
>> anymore and nobody denied my impression on a previous post.
>>
>> Therefore, this was developped.
>>
>
> Nicolas, all the above are valid points. However, the source base
> haven't changed a lot because it was stable enough (I am using it in
> production).
> Also, we (Christophe and myself) haven't done much work on it as both
> have been quite busy lately and also we were thinking on what new
> features should we include. I am wondering if you tried it before
> starting to work on your project ;-) ?
>
> ./alex
> --
> .w( the_mindstorm )p.
>
>> Regards,
>>
>> Niko
>>
>> On Oct 12, 2006, at 5:36 PM, Christophe Lombart wrote:
>>
>> > It seems that we have the same target :
>> > http://incubator.apache.org/graffito/jcr-mapping/index.html
>> >
>> > br
>> > Christophe
>> >
>> > On 10/10/06, Nicolas Modrzyk <[EMAIL PROTECTED]> wrote:
>> >> Hi All,
>> >>
>> >> We've developed something called a bean coder for our application.
>> >> We've made it open source in case other people would want to
>> use it.
>> >> With it, you can easily persist some java beans to the repository,
>> >> and retrieve them at any time.
>> >>
>> >> The pretty cool thing is that it plays nicely with the repository
>> >> searches facility so that you can quickly and easily retrieve some
>> >> persisted objects from list or maps.
>> >>
>> >> A short tutorial is available at the following URL:
>> >> http://www.openwfe.org/openwfe-jcr-beancoder.html
>> >>
>> >> Not sure this is suitable for everyone, especially developers
>> >> concerned with more complete solutions (like ..?), but this has
>> been
>> >> working very well so far in our production environment, so just
>> felt
>> >> like we should contribute back something to the community.
>> >>
>> >> Regards,
>> >>
>> >> Nicolas & John,
>> >>
>>
>>




--
Best regards,

Christophe

Reply via email to