My client is in an Iphone app (game with chat) and it will be talking to a Java server. What is the best way (protocol / interface) for my 开发者_运维问答Iphone app to talk to my server? I know you can use HTTP, but it is a request / response protocol. I could always request something and wait for asynchronous notifications from server. Then request again, implementing something like a Comet server.
Anyways, what is the industry standard for this type of communication: Iphone app talking to Java server, supporting asynchronous "push" notifications from server.
Thanks!
There is no 'standard'. It's more of a do what fits your application. Look at your requirements, and think of ways to solve it. Then look for existing solutions if they exist.
精彩评论