Tuesday, December 3, 2013

IOS how to call Java services


Recently the company ready to develop a software to run on Iphone top, front interface is Object C (implemented by Iphone developer), the background is a Java service, would like to know before

Taiwan how to call Java background service.

In addition, until the contents of Java architecture, and now all of a sudden and Iphone deal, do not know the bottleneck, error-prone places where hope has done shoes pointing a

Second, be grateful!
Reply:
Java background a webService it? Several provide exposure data interface returns JSON or XML data on ios platform via the HTTP protocol that comes some IOS API or online network data processing SDK, and then deal with the IOS platform.

Reply:
cited a floor reply:
Java background a webService it? Several provide exposure data interface returns JSON or XML data on ios platform via the HTTP protocol that comes some IOS API or online network data processing SDK, and then deal with the IOS platform.


Currently not formally developed, just want to know the way IOS and Java services communications, websevice done before, compared to the URL in the form of a direct call to action, or some trouble, I do not know can not be called IOS URL in the form of direct action. If not, only use the webservice
Reply:
Struts can be used directly to provide some action interface, data transfer format recommended JSON (on IOS parsing JSON is much faster than XML), use the http API or using some other third-party frameworks ASIHTTPRequest call interface to the IOS.
Reply:
There is no webclient things, obtaining data via Http request
Reply:
First: Http request. There are a lot of interfaces, such as webservice, restful, json, xml, and so on. But the essence is the http protocol.

Second: socket


Third: Other agreements


Reply:
ASIHttpRequest
Reply:
iphone does not support java code. Can be made up to java http or socket, and then get the data reprocessed iphone
Reply:
You try to use webservice
Reply:
You try to use webservice
Reply:
java interfaces to provide restful

iphone http calls by using ASIHttpRequest

No comments:

Post a Comment