DS - ways to inject the client. Automate the configuration and bootstrap of Feign based clients as CDI beans, without any additional wiring code. It just works OOTB.
I think you're assuming you have a JAX-RS runtime. What if I'm just using servlets/jsps and need to call an external service? What about alternate REST frameworks like Vert.x, SparkJava? Even with CXF's client library, it comes with the heavy over head of their server runtime. I had already raised a similar feature request in CXF to support CDI bootstrapping of their client proxies. The problem is tying it into a configurable URL. Plus i think you and i have both seen some oddities in the CXF space lately. John On Mon, Nov 28, 2016 at 6:25 AM Romain Manni-Bucau <[email protected]> wrote: > the point was it is already there and even @asf so what would be the added > value of DS? > > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://blog-rmannibucau.rhcloud.com> | Old Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-11-28 12:23 GMT+01:00 John D. Ament <[email protected]>: > > > Romain, > > > > Portability is one, but even then if you look at Feign its not reliant on > > JAX-RS either. > > > > John > > > > On Mon, Nov 28, 2016 at 2:39 AM Romain Manni-Bucau < > [email protected]> > > wrote: > > > > > Hey John > > > > > > What is the point? Being portable whatever jaxrs impl? > > > > > > Maybe we can try to have cxf doing it with few refactoring? > > > > > > Batche has one trivial impl as well but sounds like wider than DS and > > > belonging to a jaxrs impl to me. > > > > > > Le 28 nov. 2016 04:28, "John D. Ament" <[email protected]> a > écrit : > > > > > > > Sorry to revive this old topic. > > > > > > > > Personally I'd be in favor of doing something like this. Are you > > > thinking > > > > of just doing an integration between Feign and CDI or actually fully > > > > implement the REST client as a proxy? > > > > > > > > I was thinking about it... both CXF and RestEasy provide this, but > the > > > > JAX-RS EG isn't moving forward on a proxy based client and Jersey > > doesn't > > > > support this. So it would make standardizing hard. > > > > > > > > John > > > > > > > > On Mon, Oct 10, 2016 at 7:47 AM Thomas Andraschko < > > > > [email protected]> wrote: > > > > > > > > > Hi @all, > > > > > > > > > > i just discovered the following: > https://github.com/OpenFeign/feign > > > > > > > > > > WDYT? Would it be cool to build a similar feature as DS module? (i > > > think > > > > > users could also just use feign directly) > > > > > We already have the proxy stuff, we would "just" need some > > annotations > > > > and > > > > > a handler to parse/execute them. > > > > > It would be very similar to the data module. > > > > > > > > > > Regards, > > > > > Thomas > > > > > > > > > > > > > > >
