Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 87937 invoked from network); 29 Aug 2005 15:39:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2005 15:39:27 -0000 Received: (qmail 42493 invoked by uid 500); 29 Aug 2005 15:39:26 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 42473 invoked by uid 500); 29 Aug 2005 15:39:26 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Received: (qmail 42460 invoked by uid 99); 29 Aug 2005 15:39:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 08:39:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of stocco@bea.com designates 63.96.162.5 as permitted sender) Received: from [63.96.162.5] (HELO ussjmh01.bea.com) (63.96.162.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 08:39:41 -0700 Received: from ussjfe02.amer.bea.com (ussjfe02.bea.com [172.16.120.52]) by ussjmh01.bea.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id j7TFdMvP002834 for ; Mon, 29 Aug 2005 08:39:23 -0700 Received: from USBOEX01.amer.bea.com ([10.36.32.15]) by ussjfe02.amer.bea.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 29 Aug 2005 08:39:22 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: netui and the xmlbean config file Date: Mon, 29 Aug 2005 09:39:22 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: netui and the xmlbean config file Thread-Index: AcWsFMNRH3DBQOdWQlSpaZ+qJRtKyQAmtfBQ From: "Steven Tocco" To: "Beehive Developers" X-OriginalArrivalTime: 29 Aug 2005 15:39:22.0907 (UTC) FILETIME=[D42F96B0:01C5ACAF] X-PMX-Version: 4.7.0.111621, Antispam-Engine: 2.0.2.0, Antispam-Data: 2005.8.26.17 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +1, seems like the right long term move and the right time to do it before v1.0 is cut. Thanks Steve -----Original Message----- From: Rich Feit [mailto:richfeit@gmail.com]=20 Sent: Sunday, August 28, 2005 3:09 PM To: Beehive Developers Subject: Re: netui and the xmlbean config file +1 -- I agree w/ this (good to avoid going 1.0 with something we know=20 we'll deprecate), and it doesn't seem too risky (especially if you use a tool to create the delegation :) ). Rich Eddie O'Neil wrote: >All-- > > One other thing I noticed while going through the Javadoc for NetUI >is that we're exposing the NetUI config file >(beehive-netui-config.xml) in a public API as an XMLBean. In this >case, this seems like a bad practice as it puts the NetuiConfig type >into the public API. > > The problem is that if if someone wanted to configure the runtime >via Spring / HiveMind / etc, this isn't easy to do since the current >implementation of configuration is exposed on the >org.apache.beehive.netui.util.config.ConfigUtil class. > > I'm going to take a crack at switching this over to a JavaBean API >for 1.0 -- since we're going to be stuck with this API for a while, it >seems like a good thing to enable. :) > > This would basically look like a complex JavaBean that has a similar >nesting structure to the XML document implemented in abstract base >classes. Then, an XMLBean implementation to those classes will >delegate to the XMLBeans that parse the beehive-netui-config.xml file. > Clients of ConfigUtil would then jus talk to the JavaBeans direclty. > > Other thoughts / comments? Do others thing that this is 1.0 worthy? > >Eddie > > =20 >