jax-rpc

JAX-WS vs. JAX-RPC

馋奶兔 提交于 2019-11-27 13:57:43
I wrote 2 webservices, one with Jax-WS and one with Jax-RPC. They just return a String. I stress-tested both with jMeter and, strangely, thereby Jax-RPC was a bit faster. When do I really profit of Jax-WS in aspects of performance (response time, CPU-time, heap)? How can I proof it? thanks for your time! =) Pascal Thivent You didn't mention anything about the implementations you're using so it's hard to say anything about them :) I don't know if your benchmark is representative of anything, I'm not sure it allows to make any valid conclusion. JAX-WS is supposed to perform better in general

Best way to consume RPC/encoded webservice?

核能气质少年 提交于 2019-11-27 10:30:33
问题 I need to consume old-school RPC/encoded WSDL webservice for my backend. At first I tried to use Apache CXF and JAX-WS for that, but JAX-WS wsimport tool doesn't eat rpc/enoded WSDL. [ERROR] rpc/encoded wsdls are not supported in JAXWS 2.0. I'm also in doubt about using JAX-RPC for this job, because it's way out-dated. Axis 1.4 is 5 years old tool. Currently I see these three options: use JAX-WS javax.xml.ws.Dispatch to send and receive SOAP and parse it somehow, one example use JAX-RPC and

JAX-WS vs. JAX-RPC

随声附和 提交于 2019-11-26 16:34:17
问题 I wrote 2 webservices, one with Jax-WS and one with Jax-RPC. They just return a String. I stress-tested both with jMeter and, strangely, thereby Jax-RPC was a bit faster. When do I really profit of Jax-WS in aspects of performance (response time, CPU-time, heap)? How can I proof it? thanks for your time! =) 回答1: You didn't mention anything about the implementations you're using so it's hard to say anything about them :) I don't know if your benchmark is representative of anything, I'm not