jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <janne.jalka...@ecyrd.com>
Subject Re: David's Model question : nt:unstructured and SNS
Date Tue, 17 Nov 2009 21:12:18 GMT

On 17 Nov 2009, at 14:50, Sandro Boehme wrote:

> Alexander Klimetschek schrieb:
>> 2009/11/16 Fabián Mandelbaum <fmandelbaum@gmail.com>:
>>> It's simpler than fiddling around with this low-level stuff actually:
>>> Just create a DAO to abstract all JCR operations (as you should be
>>> doing already)
>> (To give my usual opinion about object content mapping and JCR:) If
>> you use DAOs this of course is a straight-forward solution (but only
>> for the code that uses the DAO layer), but I think that using JCR
>> directly is not "low-level" stuff:
> In my opinion an OCM adds statical type checking and the ability to add functionality
(e.g. finder methods) to this types.

JSPWiki uses a layer on top of JCR to
a) provide type/range checking for some values, and
b) to provide backwards API compatibility.

View raw message