Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 24488 invoked from network); 2 Nov 2004 09:59:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Nov 2004 09:59:54 -0000 Received: (qmail 64700 invoked by uid 500); 2 Nov 2004 09:59:53 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 64685 invoked by uid 99); 2 Nov 2004 09:59:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [212.75.68.249] (HELO vs01.internetborder.se) (212.75.68.249) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 01:59:52 -0800 Received: from localhost (localhost.internetborder.se [127.0.0.1]) by vs01.internetborder.se (Postfix) with ESMTP id D81CA9A30C for ; Tue, 2 Nov 2004 10:59:48 +0100 (CET) Received: from vs01.internetborder.se ([127.0.0.1]) by localhost (vs01.internetborder.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23069-07 for ; Tue, 2 Nov 2004 10:59:47 +0100 (CET) Received: from mail.internetborder.se (mail.internetborder.se [212.75.68.251]) by vs01.internetborder.se (Postfix) with ESMTP id 287569A302 for ; Tue, 2 Nov 2004 10:59:47 +0100 (CET) Received: from [192.168.0.48] rickard.oberg@senselogic.se [213.115.180.23] by mail.internetborder.se with NetMail SMTP Agent $Revision: 3.22.1.5 $ on Novell NetWare; Tue, 02 Nov 2004 11:14:25 +0100 Message-ID: <41875A3A.4010005@dreambean.com> Date: Tue, 02 Nov 2004 10:58:18 +0100 From: =?ISO-8859-1?Q?Rickard_=D6berg?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: Jacking into the rabbit References: <41874EE0.6080406@dreambean.com> <90a8d1c004110201544b4ff96@mail.gmail.com> In-Reply-To: <90a8d1c004110201544b4ff96@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by IBTAV X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi! Stefan Guggisberg wrote: > hi rickard, > thanks for your interest (and courage ;). > > take a look at the org.apache.jackrabbit.core.state.PersistenceManager > interface; > the persistence manager is responsible for loading and storing the > state of a node > or property. there are currently two implementations in jackrabbit: both > XMLPersistenceManager and ObjectPersistenceManager store the state in > a virtual file system (that's another SPI), one using XML, the other a simple > serialiization format (using DataInput/DataOutput). take a look at > ObjectPersistenceManager for an example. Ok, that seemed simple enough. I'll check it out. Thanks! BTW, my underlying model is huge Java object model, so the implementation will not be dealing with persistence at all, only with accessing and updating that model. /Rickard