Are CXF client proxies thread safe?
问题 I'm using CXF to generate SOAP client classes. In the CXF documentation, they write Are JAX-WS client proxies thread safe? Official JAX-WS answer: No. According to the JAX-WS spec, the client proxies are NOT thread safe. To write portable code, you should treat them as non-thread safe and synchronize access or use a pool of instances or similar. CXF answer: CXF proxies are thread safe for MANY use cases. The exceptions are: (I'm omitting their description of these use cases) For most "simple"