开发者

Problem to accessing Mysql remote database

First m very sorry!! for that i m asking question again related to accessing data from server.

i am new in iphone and am making a application in which require to access mysql database which is hosted on remote server,

  1. I take a server and create our database on the server so i have URL of the server,User Name,Password,Port Number.
  2. I make a servlet for accessing data from the server database and generate the xml file.
  3. I make my application and with the use of xm开发者_Go百科l parser i use the data in my application.

but problem is this,

where i put my servlet which give xml file when required in my application,

  1. On the Server?
  2. In the Application?

i m confuse how i use servlet in my application.

If u have any reference or source code then please suggest.

Thanks,

Arun


It probably would be better to put it in the application so that your reducing the need to call the server for the details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜