From users-return-2511-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Mar 08 18:35:31 2007 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 15491 invoked from network); 8 Mar 2007 18:35:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 18:35:30 -0000 Received: (qmail 17367 invoked by uid 500); 8 Mar 2007 18:35:38 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 17347 invoked by uid 500); 8 Mar 2007 18:35:38 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 17329 invoked by uid 99); 8 Mar 2007 18:35:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 10:35:38 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcaju-users@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 10:35:25 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HPNSA-0003MT-6q for users@jackrabbit.apache.org; Thu, 08 Mar 2007 19:35:02 +0100 Received: from gateway.subshell.com ([212.79.22.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2007 19:35:02 +0100 Received: from christoph by gateway.subshell.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2007 19:35:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@jackrabbit.apache.org From: Christoph Kiehl Subject: Re: Spring jcr modules Date: Thu, 08 Mar 2007 19:33:21 +0100 Lines: 22 Message-ID: References: <86d42bef0703081008t55d0ac58jcba106a6d54969e4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gateway.subshell.com User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <86d42bef0703081008t55d0ac58jcba106a6d54969e4@mail.gmail.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Stefan Kurla wrote: > I wanted to ask the users of this list to see whether they use spring > modules jcr in their projects and how do they use spring modules jcr. > I see that spring modules provides transactions and a > repositoryFactoryBean. > > Are there any examples/tutorials/blog entries that you know of using > spring-jcr anywhere. There is a pretty good documentation with examples at https://springmodules.dev.java.net/docs/reference/0.7/html/jcr.html We are using the jcr spring module with transactions, and everything works as expected. The transaction configuration and handling is pretty much the same as for hibernate etc. (http://www.springframework.org/docs/reference/transaction.html). If you are interested in unit/integration tests you might want to have a look at org.springframework.test.AbstractTransactionalSpringContextTests. Cheers, Christoph