On 17 Nov 2009, at 5:32:13 AM, Ard Schrijvers wrote: > I do not agree, and fortunately, mapping jcr nodes to simple java > objects which again can be accessed from jsp / freemarker / velocity > scripts feels much more natural to me, is quite easy: I do not want to > burden other developers with handling all the jcr stuff, catching all > the exceptions, handling defaults, writing complex queries (do you > really like to write search queries? It is part of the JCR API, but I > am glad I went through all that once, and made a simple java interface > for it (similar to jr-ocm, only targeted for large repositories > avoiding slow queries, and supporting more website convenient > searches, like multiple scoped kind of queries).
I am using http://kenai.com/projects/jcrcms/sources/svn/content/trunk/src/app/com/sptci/cms/site/model/NodeBean.java?rev=17 - a simple generic map wrapper around a node that can be used for tempting systems easily. Not final yet, but it works. Rakesh
