CXF Rest Client - Proxy Based API vs CXF WebClient API -


i went through http://cxf.apache.org/docs/jax-rs-client-api.html documentation still not sure type of rest client should used in use cases?

can point out use cases / constraints examples me in choosing right client api.

cxf 3.0 implement jaxrs 2.0 client api, makes code can work other jaxrs implementation without changing anything.

but if still using cxf 2.x, need chose between proxy based api , webclient api.

the proxy based api cxf jaxws client api, can invoke service proxy implement interface of sei. has shortcomings, cannot specify http hears or write generic client invoke different jaxrs services.

with of cxf webclient api, can invoke jaxrs services in normal http client way, fill gap of proxy based api.

you can find more information clients api here.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -