简体   繁体   中英

CXF web services and Spring

I am new to the CXF world but have beed programming WCF web service for years. I have bought a book on CXF and there seems to be an implicit assumption that CXF and Spring work together. Whereas I can see that this is fine on the server I cant believe that this is correct for a client. Eventually I want to hook CXF services up to say Oracle OSB or maybe a Biztalk orchestration I am struggling to see how this would work with the assumption that each client must create a client-beans.xml file. I am hoping that the replies will state that I am operating under the wrong assumption and that you can have a spring ware server implementation without the client having any knowledge of Spring but rather rely just on the service contract available at the endpoint.

Cheers

It used to be true. Prior to CXF 2.4, CXF used Spring internally to wire itself together. Thus, Spring was required. Recent versions of CXF now use different mechanisms and thus don't require the use of Spring for most use cases. (some things like the JMS transport do still require it)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM