Hi,
I'm looking at setting up communication between an iPhone app and a Java based server and thought that google protocol buffers might be the way to go; however I've managed to get myself a bit confused and I'm not sure the best way to go about implementing this so I was hoping for a bit of friendly advice :)
Should I set up the Java server as a webservice and send the proto messages to it (via a post or something similar), or should I set up a client/server with the Java server accepting a connection and then the iPhone passing the proto message via the connection? I'm presuming the best way of doing it is to create an actual socket connection and pass messages back and forth that way; but I could be wrong and setting it up as a webserver with messages/responses could be the best way.
Any advice on the matter would be really appreciated.
Thanks,
Dan