Monday, December 09, 2013

CXF / Spring integration using @Configuration annotation

If you develop JAX-WS services and run outside of Java EE container (that supports e.g. @WebService annotation) you probably use Apache CXF. If you want to integrate your services with CDI (again, outside of Java EE container), you probably use CXF / Spring integration - http://cxf.apache.org/docs/writing-a-service-with-spring.html

This works fine, but the problem is if you want to use exclusively annotations and you don't use XML-base Spring configuration.

There is a solution - so far my own: https://issues.apache.org/jira/browse/CXF-5448 but I opened a discussion on CXF dev mailing list to check if it could be integrated in CXF source code:  mail thread

If you have another solution, comments or feedback please use CXF dev list.