I am looking for a fast and efficient protocol that can be used between different web services to send text data (rather than binary data). It does not matter if the protocol is binary or textual.
Some conditions:
I have to be more "efficient" than regular XML, which adds a lot of extra data, and the read / write tools are too heavy.
It should be "supported" by most major languages, that is, it may not only be available for one particular language. At the moment, both Java and PHP should be able to talk to each other using this protocol.
I already looked:
- XML - which I am currently using.
- Hessian 2 - Works fine in Java, but PHP support is deprecated.
- JSON - different JSON and XML - these are only minor
Any suggestions are welcome!
Update 1: It should be possible to use this protocol via HTTP.
source
share