Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAF3D11763 for ; Sun, 12 May 2013 20:17:41 +0000 (UTC) Received: (qmail 45159 invoked by uid 500); 12 May 2013 20:17:41 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 45069 invoked by uid 500); 12 May 2013 20:17:41 -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 45061 invoked by uid 99); 12 May 2013 20:17:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 May 2013 20:17:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of owulff@talend.com designates 64.95.72.252 as permitted sender) Received: from [64.95.72.252] (HELO mxout.myoutlookonline.com) (64.95.72.252) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 May 2013 20:17:35 +0000 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 9EAA4554993 for ; Sun, 12 May 2013 16:17:14 -0400 (EDT) X-Virus-Scanned: by SpamTitan at mail.lan Received: from S10HUB001.SH10.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id E32AE5548EE for ; Sun, 12 May 2013 16:17:13 -0400 (EDT) Received: from S10BE002.SH10.lan ([::1]) by S10HUB001.SH10.lan ([::1]) with mapi id 14.01.0438.000; Sun, 12 May 2013 16:17:12 -0400 From: Oliver Wulff To: "dev@cxf.apache.org" Subject: RE: Some minor (ok, not so minor) thoughts for CXF 3.0 Thread-Topic: Some minor (ok, not so minor) thoughts for CXF 3.0 Thread-Index: AQHOS1E5MZAXPw+rzkuFD+2gS6xWYpj+3qOAgAMlTsk= Date: Sun, 12 May 2013 20:17:12 +0000 Message-ID: <79AB4452999C844D9920E036353327311133A9AC@S10BE002.SH10.lan> References: ,<518D1C53.8050902@die-schneider.net> In-Reply-To: <518D1C53.8050902@die-schneider.net> Accept-Language: en-GB, de-DE, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.192.224.223] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I think we should also clean up the security code (saml, role, claims) for = jax-ws, jax-rs and sts. Probably, move the SAML-P code to fediz. Oli ________________________________________ From: Christian Schneider [cschneider111@gmail.com] on behalf of Christian = Schneider [chris@die-schneider.net] Sent: 10 May 2013 18:12 To: dev@cxf.apache.org Subject: Re: Some minor (ok, not so minor) thoughts for CXF 3.0 +1 for all of your points. We should also take a look at the classes that we pulled into api to remove the split package problem in OSGi. 3.0 would be a good time to move some of these to a better place. Not sure about the effect on compatibility though. Christian On 07.05.2013 20:31, Daniel Kulp wrote: > I'd like to do a couple refactoring things for 3.0 to simplify the class = structure a little bit: > > 1) Bus -> CXFBusImpl -> ExtensionManagerBus -> Spring/BlueprintBus > We originally had Spring and Blueprint subclass CXFBusImpl. However, wit= h the refactorings in the 2.4 timeframe, we made everything extend the Exte= nsionMangerBus. Thus, CXFBusImpl is pretty much not needed. I'd like to = push whatever is left there into ExtensionMangerBus and remove a level of t= he hierarchy. (alternatively, push the stuff in ExtensionMangerBus down int= o CXFBusImpl). Thoughts? > > 2) Interceptor -> PhaseInterceptor and InterceptorChain -> PhaseIntercep= torChain > We originally (in 2005) thought about having the interceptor be more inde= pendent of the phases. However, that never really worked and pretty much a= ll interceptors used in CXF have to be of the PhaseInterceptor variety. A= dditionally, the only "chain" we've had is the PhaseInterceptorChain. Alm= ost all the interfaces use "Interceptor<=85>" or "InterceptorChain". Thus= , I'd like to just push everything down into Interceptor/InterceptorChain a= nd get rid of the others to remove that level and reduce confusion so peop= le know there needs to be a phase there. > > 3) QueryHandlers -> these were originally used for the ?wsdl processing (= and is still used for ?js). However, that stuff is better done directly on= the interceptor chains as interceptors to allow user supplied interceptors= to also handle them. I'd like to just remove these. (obviously update t= he ?js stuff) Would simplify the CXFServlet a bit. > > 4) Merge "PropertiesAwareDatabinding" into DataBinding. The "propertie= s aware" version was introduced just to be able to add a method without bre= aking binary compatibility. Might as well push it in now. > > 5) BaseDataReader/DataReader and the same for the writer. Not really su= re why they are separated but EVERYTHING uses just "DataReader". Get ri= d of BaseData*. > > 6) Remove all the "WSDL" based things from cxf-api and cxf-rt-core. I n= eed to play with this more. Likely rename cxf-rt-frontend-simple to cxf-rt= -frontend-wsdl (or similar) and move all of it there as that would be the b= ase for everything that is WSDL related. That would leave api/core free o= f WSDL stuff to make the JAX-RS stuff lighter. Either that or create a ne= w bundle that would live between rt-core and rt-frontent-simple and the wsd= l based bindings/technologies. Likewise, find a way for transports (like = http) to not need any WSDL things. This will likely also require some of= the interceptors in org.apache.cxf.interceptor to move a bit, but that's p= robably a good thing as there is too much stuff in there that should be in = more specific sub packages or something. > > > Obviously a lot of that has some compatibility impact, user impact, etc..= ., but that's why I think doing it for 3.0 is the best option. I'd love p= eoples thoughts on any of it. Mostly just trying to simplify a few thin= gs, clarify things, remove/move some deps around. > > -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com=