Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 07-15-2010, 08:45 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 1
azadeh.k is on a distinguished road
Default How can I connet to DB2 via Xcode

I'm a fresh Iphone programmer . I have a large amount of data in DB2 on my server
I want to write program for getting data form database and visualize data on the Ipod app
azadeh.k is offline   Reply With Quote
Old 07-22-2010, 03:40 AM   #2 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 50
garyk1968 is on a distinguished road
Default

Quote:
Originally Posted by azadeh.k View Post
I'm a fresh Iphone programmer . I have a large amount of data in DB2 on my server
I want to write program for getting data form database and visualize data on the Ipod app
Your best bet is to write something server side which can handle http requests via a webservice or REST format which will query the DB2 database and return the data in either XML or JSON. It means you can build and test the actual data provider part of the app and then plug in your code on the iphone using NSURLConnection and a parser (look at TouchJSON for JSON for example).
garyk1968 is offline   Reply With Quote
Old 07-29-2010, 04:24 AM   #3 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 5
testing is on a distinguished road
Default

Am I right that a Webservice is the only way? A mixture of native/web app would also an oppurtinity, but a webservice would be also needed ...

How does the architecture on the server side could look like? We need a Webserver and some framework or script, which can access the database and provide xml-files. But which is suitable? I think there should be already some implementations on that.

Thanks for your reply.
testing is offline   Reply With Quote
Reply

Bookmarks

Tags
database, db2, iphone, ipod

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 387
12 members and 375 guests
AragornSG, ChrisYates, coolman, davejas69, guusleijsten, hussain1982, jbro, Kryckter, locombiano89, Mah6447, stanny, WeaselPig
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,646
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, locombiano89
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:43 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0