Arun Sharma
Arun Sharma

Reputation: 230

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 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?

i m confuse how i use servlet in my application.

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

Thanks,

Arun

Upvotes: 0

Views: 128

Answers (1)

Jason Edwards
Jason Edwards

Reputation: 59

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

Upvotes: 1

Related Questions