Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 64754 invoked from network); 5 Apr 2006 11:17:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 11:17:19 -0000 Received: (qmail 68625 invoked by uid 500); 5 Apr 2006 11:17:17 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 68599 invoked by uid 500); 5 Apr 2006 11:17:16 -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 68584 invoked by uid 500); 5 Apr 2006 11:17:16 -0000 Delivered-To: apmail-incubator-jackrabbit-dev@incubator.apache.org Received: (qmail 68579 invoked by uid 99); 5 Apr 2006 11:17:16 -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 04:17:16 -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.145] (HELO smtp2.germinus.com) (212.145.136.145) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 04:17:15 -0700 Received: (qmail 23201 invoked by uid 7008); 5 Apr 2006 11:16:42 -0000 Received: from 212.145.136.152 by smtp2.germinus.com (envelope-from , uid 7007) with qmail-scanner-1.25 ( Clear:RC:1(212.145.136.152):. Processed in 15.226113 secs); 05 Apr 2006 11:16:42 -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 11:16:24 -0000 Received: (qmail 24922 invoked by uid 7007); 5 Apr 2006 07:28:09 -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 ; 5 Apr 2006 07:28:09 -0000 Message-ID: <44337256.6010902@germinus.com> Date: Wed, 05 Apr 2006 09:31:34 +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: piccinatto@ibest.com.br, dev@jackrabbit.apache.org, jackrabbit-dev@incubator.apache.org Subject: Re: Multiple workspaces Content-Type: multipart/mixed; boundary="------------050506060002060206060608" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------050506060002060206060608 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. Regards --------------050506060002060206060608--