Return-Path: Delivered-To: apmail-incubator-pivot-user-archive@minotaur.apache.org Received: (qmail 93338 invoked from network); 21 Aug 2009 14:14:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 14:14:20 -0000 Received: (qmail 59138 invoked by uid 500); 21 Aug 2009 14:14:43 -0000 Delivered-To: apmail-incubator-pivot-user-archive@incubator.apache.org Received: (qmail 59108 invoked by uid 500); 21 Aug 2009 14:14:43 -0000 Mailing-List: contact pivot-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pivot-user@incubator.apache.org Delivered-To: mailing list pivot-user@incubator.apache.org Received: (qmail 59090 invoked by uid 99); 21 Aug 2009 14:14:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 14:14:43 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gkbrown@mac.com designates 17.148.16.97 as permitted sender) Received: from [17.148.16.97] (HELO asmtpout022.mac.com) (17.148.16.97) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 14:14:33 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.12] ([173.76.179.124]) by asmtp022.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KOQ00ELQCV9ID00@asmtp022.mac.com>; Fri, 21 Aug 2009 07:14:02 -0700 (PDT) Cc: pivot-user@incubator.apache.org Message-id: <4EDC7E24-49F3-4C4F-95B9-66FED78CAE1A@mac.com> From: Greg Brown To: pivot-dev@incubator.apache.org In-reply-to: Subject: Re: Preferences Demo Date: Fri, 21 Aug 2009 10:13:56 -0400 References: <6EAD4C3E-8147-488F-80AF-2D262E562EB8@mac.com> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org >> Since preferences APIs are generally built on top of persistence >> APIs, it might be more valuable to write a persistence demo - I'd >> especially like to see an example that uses the JNLP APIs to >> support local storage in untrusted code. That way, readers can >> apply the example to a wider range of use cases. > > Ok, that's why I was thinking of a simple TODO List ... otherwise > ideas (as you said, saving/loading the current window position, etc > could be enough) ? I think it would be more valuable to show a "persistence" example than a "preferences" example, since you can build preferences on top of persistence. > And a last thing, to use Web Start, I have to put also a jnlp file > (and jnlp files must have the right codebase path inside them, or > there should be a servlet that handle this ...), but we need to > publish also this stuff inside the demos, if i remember well you or > Todd have done an ant task to package a webapp, right ? Or put this > only on wiki with only an on-line demo (with source code) ? > Should i use something like this ? Ideas / suggestions ? You should be able to add a JSP to the demos WAR that generates a JNLP file with the correct codebase.