On 17 Nov 2009, at 14:50, Sandro Boehme wrote: > Alexander Klimetschek schrieb: >> 2009/11/16 Fabián Mandelbaum <[email protected]>: >>> 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. /Janne
