If server and client are Java only, would RMI be more efficient (bandwidth and latency) compared to SOAP implemented by Axis2? I know RMI has lost popularity on late years, but that doesn't mean it can't be used.
And how about XML-RPC?
RMI has some interesting features and is reasonably fast, but also has some problems:
In practice, I would almost always recommend a REST service these days. It's so easy to create small Java objects and use Gson or Jackson or something to marshal the data back and forth that the advantages of RMI are vanishingly small in comparison.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.