BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 12-30-2009, 07:39 AM   #1 (permalink)
New Member
Join Date: Dec 2009
Model: 9530
Carrier: Bell Mobile
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Database/network question

Please Login to Remove!

Good Morning,

I am building a App that needs to query a Database, now i am starting @ this type of "networking" within the blackberry network if u will..

Here are my Questions:

1-Can i program just a ip or a domain with a port and the program(App) will query the database??

2-Do i need a program specif Blackberry program or can i run it off of my Ubuntu Server

Anything i missed that someone has built please feel free to add to something i Missed and would need for this kind of Program.
Old 12-30-2009, 08:38 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

1) There is no JDBC support for a remote DB connection on the RIM platform. The general practice is to have some type of web service running on your server which accepts an HTTP request, performs the DB query, and returns the payload as some type of document (XML, JSON, SOAP, whatever). The details are generally dictated by the available server-side infrastructure.

2) You would most lilkely create a Java program which resides on the device. This really depends on the requirements - you might also make a web app.

I suggest that you do some research on the platform and the tools.

BlackBerry - BlackBerry Developer Zone

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.