Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 68168 invoked from network); 16 May 2008 21:58:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 21:58:50 -0000 Received: (qmail 68485 invoked by uid 500); 16 May 2008 21:58:52 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 68458 invoked by uid 500); 16 May 2008 21:58:51 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 68445 invoked by uid 99); 16 May 2008 21:58:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 14:58:51 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bimargulies@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 21:58:06 +0000 Received: by an-out-0708.google.com with SMTP id b36so265207ana.21 for ; Fri, 16 May 2008 14:58:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4k+OgNn4aig6GdAUi0bmfl9lXOXTvB0WSrnz2fdzIvU=; b=jjnOKbqtrFqLscyYF+RmTXkT1z86B8dhO/QtggYwI3Bqr89cO6BJ1zT2ArdfC98ODbK6JWz768IbI3xccNDwQlHcZ0j58r8t44lMQBzSvZjijFkZHbloMNwhMo0UF6DHngQzPNH0mw9G/D/I3L+Zh1Zd2RkKU5HqXh6x50epu/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=URJLi9UN2pyH+hXJekX79uxCO41bueNLjqtqHOGJ7ymE5H80/0Y+ycQ69RE8yyFqj3g13KT8sCFdt+OpiQEGYmds2v5jWv12BxpxnjWHK750LEL1+AvUy9dmCCv528FURG8q1xHAIqeOFs4M8iozTqWzN3TaBFbXpA8PNGztUxw= Received: by 10.100.239.11 with SMTP id m11mr5409744anh.158.1210975101367; Fri, 16 May 2008 14:58:21 -0700 (PDT) Received: by 10.100.34.6 with HTTP; Fri, 16 May 2008 14:58:21 -0700 (PDT) Message-ID: <61b5d9410805161458r664d4ab8oc0f6c0714d214fab@mail.gmail.com> Date: Fri, 16 May 2008 17:58:21 -0400 From: "Benson Margulies" To: dev@cxf.apache.org Subject: Re: On startup performance..... In-Reply-To: <3E35C239-96C1-4951-92C0-2B7C83501123@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3E35C239-96C1-4951-92C0-2B7C83501123@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure that the per-bean overhead of spring is significant compared to the overall background noise of using Spring at all, or at least of using Spring with XML. I was thinking about how hard it would be to go to zero-xml -- have our own factory that didn't read xml, not even from fastinfoset, for the core configuration. We could use cascading contexts: we could have a context that 'springs' into life with the core, always-the-same, beans, and then a normal XML context that cascades to it for the optional items. I could be wrong here: it could be that moving more initialization from beans declared in Spring to ordinary objects created by the default bus would in fact be a win.