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
Post a Comment