开发者

Direct object exchange between web services

开发者 https://www.devze.com 2023-01-20 12:31 出处:网络
Is it possible to make two jax-ws web services t开发者_如何转开发hat are deployed within the same container exchange large objects in more efficient manner than serializing them into soap?If both endp

Is it possible to make two jax-ws web services t开发者_如何转开发hat are deployed within the same container exchange large objects in more efficient manner than serializing them into soap?


If both endpoints are within the same container, why are you using a web service? If you're exchanging domain objects that are the same between endpoints, and you don't need a layer of abstraction, simple byte array serialization might be a better solution in this case. Depending on what exactly you have running, you might even be able to do an in-memory exchange.

0

精彩评论

暂无评论...
验证码 换一张
取 消