It seems that when people want to pass data from the client to the server, almost everybody just uses web services. Is the best way to do this when you don't need the performance of straight TCP?
views:
59answers:
1
+2
A:
Yes, web services standards are the modern way to do these things.
Note that in certain environments, performance can also be accommodated. In a pure .NET to .NET environment, one can use binary transfer over TCP/IP, with little or no change to the code. Of course, this doesn't work if one or both sides are not running .NET.
John Saunders
2009-10-07 00:30:15
What about when you need 2 way communication, do people use a Comet based approach, WCF duplexing, or "Clients" that also expose callbacks as a web service, so each client is also a server, and the server is also a client?
DevDevDev
2009-10-07 00:32:20
"yes", or "all of the above"
John Saunders
2009-10-07 00:35:08
Do you know of the best one to use for the iPhone? There is no good JSON-RPC or XML-RPC server that runs natively on the iPhone, so the last is out of the question. WCF Duplexing obviously won't work. From what I've seen the STOMP/Jabber stuff on the iPhone isn't very robust either. Sort of leaves straight TCP does it not?
DevDevDev
2009-10-07 00:38:43
I don't know enough about iPhone to know which would be best. In particular, I don't know how best to deal with two-way communications on a mobile platform.
John Saunders
2009-10-07 04:38:57