You can try FastInfoset with JAX-RPC
JWSDP 1.6 includes an FCS version of JAX-RPC 1.1 that supports the recently
Fast Infoset standard. The implementation uses the code in the
FI project. The integration of FI into JAX-RPC 1.1 is part of the TBD weekly drops. We are also beginning to work on the integration of FI into JAX-WS 2.0 but that is a separate story.
Our internal benchmarks show between 2x and 4x improvements when switching
from textual XML to fast infoset encoding. The variation depends on the type and size of the content, and method of sending (for example, binary attachements are sent directly).
determines whether to use Fast Infoset based on
protocol negotiation between the client and the server.
By default the client content negotiation is switched off,
but it can be enabled through a global system property or through a property on the Stub or Call.
Paul and Santiago wrote down
how to do this in a short note.
This is just our first integration of FI into WS and there is still room for improment. Still, we find the performance gains quite interesting. Since the
improvements will vary from case to case, it might be interesting if you
could give us feedback, performance or otherwise, on your experience. You could do this in
the Binary XML and WS forum.