简体   繁体   中英

Problem to accessing Mysql remote database

First m very sorry!! for that im 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 xml 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?

im confuse how i use servlet in my application.

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

Thanks,

Arun

最好将它放在应用程序中,这样可以减少调用服务器获取详细信息的需求。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM