Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 88260 invoked from network); 21 Jul 2006 15:19:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jul 2006 15:19:37 -0000 Received: (qmail 91211 invoked by uid 500); 21 Jul 2006 15:19:30 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 91142 invoked by uid 500); 21 Jul 2006 15:19:30 -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 91105 invoked by uid 99); 21 Jul 2006 15:19:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 08:19:30 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tobias.strasser@gmail.com designates 64.233.182.191 as permitted sender) Received: from [64.233.182.191] (HELO nf-out-0910.google.com) (64.233.182.191) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 08:19:29 -0700 Received: by nf-out-0910.google.com with SMTP id o25so884190nfa for ; Fri, 21 Jul 2006 08:19:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=LGJSJYDd2EdaXQA6O0uZcqqdXw2zOEDWBDtA/vRUZHWixVCJ5s8FE4dfHo9v1yDMfwnSFNMYSRxlQf85eC+4qh9Ax5YXrkrOqNJa/qt10Xyu64wHgsOYTozB4kq7OOwQdX2Q/Qt4l26gxtaX26L+MihiIMF1YUrFPAWKn/N7zds= Received: by 10.78.140.17 with SMTP id n17mr421710hud; Fri, 21 Jul 2006 08:19:08 -0700 (PDT) Received: by 10.78.50.18 with HTTP; Fri, 21 Jul 2006 08:19:08 -0700 (PDT) Message-ID: <8be731880607210819x1793c076s9075218124fe523b@mail.gmail.com> Date: Fri, 21 Jul 2006 17:19:08 +0200 From: "Tobias Bocanegra" Reply-To: tobias.bocanegra@day.com Sender: tobias.strasser@gmail.com To: dev@jackrabbit.apache.org Subject: Re: Backup Tool batch of questions In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 953e3beca2b61862 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Can you please confirm me the visibility of the Namespaces. To me, it is the > whole repository. Is it correct? I will post its backup class soon. what exaclty do you meen? there is a global namespace registry. but the namespaces can be locally (per session) remapped. for your application, you don't need to deal with the local namespaces. but you must of course export them. i suggest to include the mappings in the namespace registry in your backup. > I can't find a way to use NIO with java.util.zip. I will probably use nio on > some parts but mostly io unless someone can tell me how to use nio with zip. > Any ideas please? apparently this is an old issue: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4773980 i guess, that the parsing overhead when restoring the repository is way bigger than the i/o speed improvement you'll get from nio. but maybe i'm wrong. you still can use nio in the more general layers of you app. the persistence part can still deal with details of how to write it to disk. regards, toby -- -----------------------------------------< tobias.bocanegra@day.com >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---