Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 60689 invoked from network); 5 Sep 2006 14:56:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2006 14:56:17 -0000 Received: (qmail 51503 invoked by uid 500); 5 Sep 2006 14:56:16 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 51404 invoked by uid 500); 5 Sep 2006 14:56:16 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 51395 invoked by uid 99); 5 Sep 2006 14:56:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 07:56:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [204.127.192.82] (HELO rwcrmhc12.comcast.net) (204.127.192.82) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 07:56:15 -0700 Received: from [192.168.3.100] (c-71-205-191-164.hsd1.mi.comcast.net[71.205.191.164]) by comcast.net (rwcrmhc12) with ESMTP id <20060905145554m12008f7cse>; Tue, 5 Sep 2006 14:55:54 +0000 Message-ID: <44FD8FF3.4030307@envoisolutions.com> Date: Tue, 05 Sep 2006 10:55:47 -0400 From: Dan Diephouse User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: cxf-dev@incubator.apache.org Subject: Re: Configuration Requirements CXF References: <244F5835C09CB641AE1D928BB2B0B9D801E1F75F@amereast-ems2.IONAGLOBAL.COM> <44FBAEFB.7070902@envoisolutions.com> <44FBEF61.3060407@iona.com> <44FBF6B2.8060206@iona.com> <44FD1922.2040301@iona.com> <44FD33EA.3000602@gmx.de> In-Reply-To: <44FD33EA.3000602@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Mika G�ckel wrote: > Hi, > > I'm trying to follow your discussion and find it very interesting. > One question about external configuration-changes (through JMX or > other sources). How would you ensure the changes survive a restart of > the application, or better survive a redeployment? > > I like the idea of being able to tweak my soapstack at runtime, but I > feel it can get really hairy and at the end leads to a sort of > app-server sort of application. Is this our goal? Hot-Deployment, > dynamic configuration, dependency-resolution between separate > deployment-modules, etc. > IMO - yes and no. No to making the core an appserver of sorts - I very much would like this to keep this out of the core code as it leads to a much more complex framework. If you have any doubts look at what axis2 has done with their core. They're making it into an appserver. They have deployment archives, classloader mucking, etc. It leads to an unnecessarily complex application and a lot of problems. Yes, because I know some people need the features. I think its possible to do this in a layered approach though. For instance, if we have a spring runtime its easy enough to search the context for different beans and tweak those values. But I think the other configuration scenarios are important too. In the very near future (i.e. as soon as we get this Configuration layer figured out) I would like to start working on embedding cxf and storing the configuration in a database for an application of mine. Regarding hot deployment - I guess I'm very skeptical that people are going to need hot deployment built into cxf. Most of the time people who want to do hot deploys are already using another container like an appserver or maybe JBI. To me this is where hot deployment code should be contained. - Dan -- Dan Diephouse Envoi Solutions http://envoisolutions.com http://netzooid.com/blog