Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 83809 invoked from network); 9 Dec 2009 08:50:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Dec 2009 08:50:12 -0000 Received: (qmail 17886 invoked by uid 500); 9 Dec 2009 08:50:12 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 17794 invoked by uid 500); 9 Dec 2009 08:50:12 -0000 Mailing-List: contact commits-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 commits@jackrabbit.apache.org Received: (qmail 17783 invoked by uid 99); 9 Dec 2009 08:50:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 08:50:11 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 08:50:06 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id AE2B816E07; Wed, 9 Dec 2009 08:49:46 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 09 Dec 2009 08:49:46 -0000 Message-ID: <20091209084946.12063.55313@eos.apache.org> Subject: =?utf-8?q?=5BJackrabbit_Wiki=5D_Update_of_=22QuestionsAndAnswers=22_by_Th?= =?utf-8?q?omasMueller?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" fo= r change notification. The "QuestionsAndAnswers" page has been changed by ThomasMueller. http://wiki.apache.org/jackrabbit/QuestionsAndAnswers?action=3Ddiff&rev1=3D= 49&rev2=3D50 -------------------------------------------------- = A: For JCR 1.0, use string, or multiply by 100 and use long. For JCR 2.0,= use decimal. Using double is not recommended, because of rounding problems= : [[http://www.javaranch.com/journal/2003/07/MoneyInJava.html|Java Ranch]]= [[http://www.javapractices.com/topic/TopicAction.do?Id=3D13|Java Practices= ]]. = + =3D=3D=3D Concurrency =3D=3D=3D + = + Jackrabbit does not support multiple threads concurrently reading from or= writing to the same session. Each session should only ever be accessed fro= m one thread. + = + Multiple session however can read from the same repository concurrently. = + = + Also, multiple session can write to the repository concurrently, given th= at they write to different nodes. Internally, Jackrabbit stores the list of= child nodes at the node itself, that means you can't concurrently add, mov= e, or delete child nodes of the same node. +=20