IOS开发,如何搭建一个服务器接收手机客户端发送的json数据。
黄舟
黄舟 2017-04-17 11:33:56
0
4
710

IOS开发,如何搭建一个服务器接收手机客户端发送的json数据,实现客户端与服务器的数据交互。
服务器我想用java实现,但是不知道具体的部署过程。各位有没有做过ios后台服务器的。

最后我使用的是webservice + Axis2实现的,发布成功了,实现了文件上传到服务器的功能。在网上看到使用ASIHttp也可以实现这个功能,还没有试~谢谢大家热心的解答!

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(4)
伊谢尔伦

I think it is more reliable to use the Restful mode. The main thing is that java (server side) provides API and provides it to ios calls through the json data of the response
java server side: too many choices, please refer to the following
iOS: restkit (cache json) + SDWebImage (cache image) caching mechanism can reduce server pressure

Java frameworks currently claiming to support REST include the following:
Restlet(http://www.restlet.org/)
Cetia4(https://cetia4.dev.java.net/)
Apache Axis2 (http://http://ws.apache.org/axis2/)
sqlREST (http://sqlrest.sourceforge.net/)
REST-art (http://rest-art.sourceforge.net/)
Jersey(https://jersey.dev.java.net/)
Apache CXF (http://cxf.apache.org/)
Sping3(http://www.springsource.org/)

左手右手慢动作

iOS uses ASIHTTP and the server uses spring. The server can just parse the HTML form

左手右手慢动作

Use node.js

迷茫

The SAE Python service I use is fast and free

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template