Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 13211 invoked from network); 7 Aug 2007 20:02:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 20:02:23 -0000 Received: (qmail 32956 invoked by uid 500); 7 Aug 2007 20:02:21 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 32932 invoked by uid 500); 7 Aug 2007 20:02:21 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 32923 invoked by uid 99); 7 Aug 2007 20:02:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 13:02:21 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 20:02:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 72CD571413F for ; Tue, 7 Aug 2007 13:01:59 -0700 (PDT) Message-ID: <11010301.1186516919467.JavaMail.jira@brutus> Date: Tue, 7 Aug 2007 13:01:59 -0700 (PDT) From: "Christophe Lombart (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-998) Annotation based implementation of jackrabbit ocm In-Reply-To: <5880273.1183408624794.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518239 ] Christophe Lombart commented on JCR-998: ---------------------------------------- * I added support for the bean descriptor. * I dropped the AnnotationObjectContentManagerImpl because we can use the ObjectContentManagerImpl. Only the mapper is different for the annotation support. * I also modified the annotation attribute names. In order to avoid confusion, it is important to use the same name as the xml file descriptors. Please make suggestions if you think that the names are not correct. the collection annotation has to be modify (should be done this week). * I added more unit tests (map objects into nt:unstructured). I will add more unit test for mapping on specific node types. I will continue to work on this issue. I think we can add the following improvements : * Create an abstract mapper impl because both Mapper classes have a lot of code in common (AnnotedObjectMapper & DigesterMapperImpl). * The Mapper classes should not have the responsibility to create the jcr node types. This can be done outside the mapper and it should be an optional operation. There are certainly some use cases where node type creation is not necessary. * I'm just wondering how can we use the same unit tests for both approach (xml file & annotations). * Can we drop the annotation SuperType. This is defined in the annotation Node (jcrSuperTypes) ? * Add license headers Please add your comments and feedback. > Annotation based implementation of jackrabbit ocm > ------------------------------------------------- > > Key: JCR-998 > URL: https://issues.apache.org/jira/browse/JCR-998 > Project: Jackrabbit > Issue Type: New Feature > Components: jcr-mapping > Reporter: Carlos Sanchez > Assignee: Christophe Lombart > Attachments: jackrabbit-ocm-annotation.tgz, ocm-nodemanagement.patch, ocm-nodemanagement.patch, ocm.patch > > > we have created an annotation based implementation of jackrabbit-ocm that can be used instead of the digester one -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.