Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4243C200B8D for ; Fri, 23 Sep 2016 14:31:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 40C94160ACA; Fri, 23 Sep 2016 12:31:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8CB0E160AC2 for ; Fri, 23 Sep 2016 14:31:58 +0200 (CEST) Received: (qmail 40649 invoked by uid 500); 23 Sep 2016 12:31:57 -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 40632 invoked by uid 99); 23 Sep 2016 12:31:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2016 12:31:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E9AD81A7A8E for ; Fri, 23 Sep 2016 12:31:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.23 X-Spam-Level: X-Spam-Status: No, score=0.23 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id oiUmqaXffBxh for ; Fri, 23 Sep 2016 12:31:53 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id BB8965F5D3 for ; Fri, 23 Sep 2016 12:31:52 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id b130so27530634wmc.0 for ; Fri, 23 Sep 2016 05:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=x6fQNffhDOx+e/LqVtx8yk2L1T/9EkNtzQQAQP4ZLRM=; b=i5nNnsy2107SCFBz4KrsqxRDAuMPXMQeD9NRrKcgCHZonbSBDyJJFh4Wr46LtX73Tw Td7wGHKpPpGhjLr2MUs1QaF3By7tRi+l41BjsT8+N/ouPcA3bJe7DV/kMlac3XfvgG9O XDoXdvGkzYVA1iUWfMzGe8mbuG3UmEJ3Mcx8vSo7h06p8gFroe6WiFrsMEfxqkcwo5WP eKmGT6Ok9yDQff96sofvJappRKPmdiAYKShCavRRSRzTKE0/SMexEq8WD2rmmTdPIsc0 Exsmx4AHnrSLgNG87AIy32j1BgfyR7aycDLcho2u4gOy8Bo4SAdibIHAoMGYPs7EAWgz wsaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=x6fQNffhDOx+e/LqVtx8yk2L1T/9EkNtzQQAQP4ZLRM=; b=Laq+hjLIEgkt6uvqBI81K9TQu5zfcsR0Vyf7Xc2TKRPPB9HTmUyDoGEZSepdVj1i5J AbcQ9zP+n2uXiFUODMsIFQmQbQGBXpM0jbPhbENWF2p44HUjgehUIp/Y4QpNKR2ftCF5 ZWbLLZo/aZ70YuWUfHkeOntPHj0M1aKTyRJaKTMqVb1PdJi+ZFf5DaAXFjEcCelEs8om 8SQ9eryORcerrQasD3aMfHfiNRzgPA4o7mtEjq/QqFQxIwXaxvZtIRE8mYIWR2qbmHsF b05jVb1xwAuxnhVwyFhTTvBIzobKEnzHyRMXPzl4UEflYSYe7gfIXBRJbqxv20Td6jWR j5vA== X-Gm-Message-State: AA6/9Rm0hwnvuoeAL6jItvRu1bQnt7aXs+jG1pqYxB4R7eMdRVnCcGHnVW72XZ5hfShZ8g== X-Received: by 10.28.87.212 with SMTP id l203mr2501454wmb.71.1474633905713; Fri, 23 Sep 2016 05:31:45 -0700 (PDT) Received: from [192.168.0.108] (HSI-KBW-149-172-37-189.hsi13.kabel-badenwuerttemberg.de. [149.172.37.189]) by smtp.googlemail.com with ESMTPSA id 190sm2913163wmk.13.2016.09.23.05.31.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Sep 2016 05:31:44 -0700 (PDT) Sender: Christian Schneider Subject: Re: [Discuss] Move spring and blueprint support out of cxf-core To: dev@cxf.apache.org References: <3c7161cf-124f-ce40-8091-80d66237e656@gmail.com> From: Christian Schneider Message-ID: <43c5d3c2-97ef-1772-739f-727ea3dc34c7@die-schneider.net> Date: Fri, 23 Sep 2016 14:31:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <3c7161cf-124f-ce40-8091-80d66237e656@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Fri, 23 Sep 2016 12:31:59 -0000 On 23.09.2016 14:03, Sergey Beryozkin wrote: > IMHO the most important thing is to preserve the CXF stability. > > FYI, CommomUtil helpers which can use Spring are heavily used - some > of them in JAX-WS and a lot in JAX-RS. > > For example, JAX-RS SpringBoot starter does depend a lot on the > ClassScanner Spring, and JAX-RS runtime depends in various places on > ClassHelper to help with dealing with Spring proxified beans. The code > which refers to these helpers can not afford to start referring to > Spring variants because of course not all CXF users are Spring users. > > One needs to be aware that Spring (and now SpringBoot) is very much a > major platform for many CXF users. We should definitely keep the good support for spring that we currently have. What I am not sure of is if we still need the pretty extensive xml namespaces in the future. The modern spring platform is now almost completely annotation based. So I can imagine that cxf 4 might drop xml namespaces in favor of comprehensive annotation based spring support. > > Personally I'd like see a very clear and concrete plan first: > - How to preserve the runtime code portability which depends on > CommonUtil helpers such that it works as before in/out of Spring I am not yet at the stage where I have a concrete plan. My first attempt was just to find out how deeply spring is wired into CXF. As it seems the unwrapping of proxies seems to be the most problematic part. So one first task is to find a good way to make this still work while having a separate module for the spring support. > - How to keep CXF Spring user code which depends on Spring Namespace > support (starting from cxf:bus and then for all other modules) operating. As a first step I would simply add the new cxf-core-spring jar to all modules that define namespaces. That might then not provide the full advantage of the separation but it should guarantee that all modules work as before. This change should make sure that refreshs only happen to modules that provide namespaces. As a second step we should then check if we can improve on that. This all of course depends if we find a feasible solution and if the changes have the desired effect. In any case I will make sure that we keep all problematic changes in a branch so we can decide about them before they reach the master. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com