Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 66821 invoked from network); 24 Aug 2008 17:35:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Aug 2008 17:35:23 -0000 Received: (qmail 66260 invoked by uid 500); 24 Aug 2008 17:35:18 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 66203 invoked by uid 500); 24 Aug 2008 17:35:18 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 66192 invoked by uid 99); 24 Aug 2008 17:35:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2008 10:35:17 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.171] (HELO moutng.kundenserver.de) (212.227.126.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2008 17:34:20 +0000 Received: from [192.168.0.126] (ip-81-210-151-99.hsi.iesy.net [81.210.151.99]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1KXJUF0nha-0001VC; Sun, 24 Aug 2008 19:34:47 +0200 Message-ID: <48B19BAB.4050603@oliver-heger.de> Date: Sun, 24 Aug 2008 19:34:35 +0200 From: Oliver Heger User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Commons Users List Subject: Re: Saving and loading gui form data References: <85561.62317.qm@web55502.mail.re4.yahoo.com> In-Reply-To: <85561.62317.qm@web55502.mail.re4.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+upYR3u9mb20koqEchHoLaCdEbh2ZUxwK6QX5 1I4SI5Om0+DrUM6vBcZ+lD6rrzRES4eWzkVr+CPBkB62xCEubC 0CNKzZzRlgsxTaxFmxsvw== X-Virus-Checked: Checked by ClamAV on apache.org Brian McCloud schrieb: > I've been looking for a library to load and save gui form data (such as for an options dialog). I might be able to subclass DynaBean (from the BeanUtils library) to make an "aggregate" DynaBean that encapsulates bean properties from several other objects, and use the Configuration library to deal with saving and loading, but I was hoping somebody might know of an existing open-source library (even if not in Apache) that is closer to what I'm looking for, or could explain a better way of doing this with existing Apache Commons classes. > > ((mauvecloud)) If the data you have to deal with is stored in Java beans, maybe the XML-based serialization mechanism introduced in Java 1.4 is an option for you? Have a look at the java.beans.XMLEncoder/XMLDecoder classes. Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org