Hi Sergey,
CDI support could be quite interesting indeed. I already started
experimenting with it too.
See:
https://github.com/cschneider/Karaf-Tutorial/tree/master/tasklist-cdi/tasklist-webservice/src/main/java/net/lr/cxf/cdi
I think we have to create a portable CDI extension like the ones in
apache deltaspike:
http://deltaspike.apache.org/documentation.html#module-overview
In my experiments I even used a less advanced aproach and just created a
custom annotation that is processed by cdi. This is probably not enough
for good support though.
So I propose we first experiment in some directions and then try to work
out a first design.
Christian
On 09.02.2014 19:43, Sergey Beryozkin wrote:
Hi All,
Does it make sense to offer some optional support for CDI directly in
CXF ? I guess we can expect more and more queries about it going forward,
I'll want to investigate more about it in scope of the JAX-RS 2.0 spec
work anyway, but I wonder what can be done in CXF in general
Thanks, Sergey
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com