Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 94935 invoked from network); 16 Apr 2005 04:16:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Apr 2005 04:16:29 -0000 Received: (qmail 32078 invoked by uid 500); 16 Apr 2005 04:16:27 -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 32064 invoked by uid 99); 16 Apr 2005 04:16:27 -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 platan.axelero.hu (HELO platan.axelero.hu) (195.228.240.91) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 15 Apr 2005 21:16:27 -0700 Received: from 208.24-182-adsl-pool.axelero.hu (208.24-182-adsl-pool.axelero.hu [81.182.24.208]) by platan.axelero.hu (8.13.2/8.13.2) with ESMTP id j3G4GMfZ027597 for ; Sat, 16 Apr 2005 06:16:23 +0200 (CEST) Date: Sat, 16 Apr 2005 06:16:20 +0200 From: Daniel Dekany X-Mailer: The Bat! (v3.0.1.33) UNREG / CD5BF9353B3B7091 Reply-To: Daniel Dekany X-Priority: 3 (Normal) Message-ID: <181174235.20050416061620@freemail.hu> To: jackrabbit-dev@incubator.apache.org Subject: Getting "custom" objects from the repository? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-VBMilter: scanned X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I suppose most applications want to work with objects like mycms.User, mycms.PageTemplate, myapp.Book, etc., rather than directly with the tree of items that JCR shows. I don't see what's the intended way of doing this. With a concrete example: I would like to store page templates in the repository, which are complex and frequently used objects, so they shouldn't be recreated from a binary property (or from string string property, whatever) every time they are read from the repository (that is, for each page hits). I could use cache in front of JCR that caches the template objects, but how to ensue that the cache is in sync with the repository? Of course no hazards and unpredictable delays are allowed after the repository was modified. What's the planned way of doing things like this? (I know this is not a Jackrabbit but a JCR question and I apologize for that, but I didn't found a more suitable public list.) -- Best regards, Daniel Dekany