Direct object exchange between web services
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.
精彩评论