Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 8099 invoked from network); 5 Apr 2006 12:19:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 12:19:39 -0000 Received: (qmail 86780 invoked by uid 500); 5 Apr 2006 12:19:36 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 86633 invoked by uid 500); 5 Apr 2006 12:19:35 -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 86608 invoked by uid 99); 5 Apr 2006 12:19:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 05:19:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.145.136.153] (HELO smtp.germinus.com) (212.145.136.153) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 05:19:33 -0700 Received: (qmail 890 invoked by uid 0); 5 Apr 2006 12:18:18 -0000 Received: from 212.145.136.152 by smtp.germinus.com (envelope-from , uid 7007) with qmail-scanner-1.24 ( Clear:RC:1(212.145.136.152):. Processed in 85.209821 secs); 05 Apr 2006 12:18:13 -0000 Received: from unknown (HELO mailbox.in.germinus.com) ([212.145.136.152]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 5 Apr 2006 12:16:40 -0000 Received: (qmail 11935 invoked by uid 7007); 4 Apr 2006 16:23:29 -0000 Received: from unknown (HELO [192.168.0.187]) (gruiz@[192.168.0.187]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 4 Apr 2006 16:23:29 -0000 Message-ID: <44329E54.9020002@germinus.com> Date: Tue, 04 Apr 2006 18:27:00 +0200 From: Gonzalo Ruiz Organization: Germinus User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051011) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@jackrabbit.apache.org Subject: Re: Multiple workspaces Content-Type: multipart/mixed; boundary="------------070507050408070205060608" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------070507050408070205060608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello again Helio I think two options are possible. 1) If you have only a single workspace in your repository, you can access this through session object (default workspace). A workspace is only a tree with nodes and properties. If you need diferent data models for each application, you can make a subtree in the workspace per each applicattion, or use the same model. But there is a problem. If you only use a single workspace, you only can use a single Persister tied with this workspace. 2) If you use multiple workspaces, you could have separate trees for each application, and you could use several Persisters for each workspaces (DatabasePersisters, FileSystemPersisters, etc) To access these workspaces, you have to write a workspace.xml, configuration file per each workspace, and open a new session with the desired workspace to manage the nodes and properties. I hope, we could help each other. --------------070507050408070205060608--