I typically inject the proxy by interface into the business code. This
makes sure the business code is independent of CXF and easier to test.
This also makes the individual service calls faster than recreating the
proxy every time.
So I think there is nothing wrong with caching the proxy instance.
Christian
On 01.11.2016 22:04, venkatesham nalla wrote:
Hi,
Is it a good idea to cache the CXF Service or Port instance on client side for
later use, to avoid creating the service from WSDL every time? What are the
disadvantages of caching?
thanks,
Venkat
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com