04-19-2011 03:43 PM - edited 04-19-2011 03:48 PM
I spent the last week trying to connect to an oracle database to display info in an application but was unable to do so.
I lost my time making it work in java with java.sql.connection and then realized this didn't work in blackberry java plugin...
Can someone please assist me and clearly show me how I can display info from an Oracle Database to my Blackberry Application (with code samples if you have) ??
Thanks in advance,
Software developer Intern
04-19-2011 04:25 PM
I have never tried connecting to Oracle from a BB, but would suspect that it would be better if you put a JSON/SOAP/REST server between the database and the BB app. I suspect that will work better in the long run for a whole list of reasons...
04-20-2011 02:02 AM
In blackberry you cna't display/access Oracle database directly.You can do this with the help of server.You have to connect to the server and it will connect to the database, and will fetch the data and will give to your blackberry and then you can display the data.You can do this in diff ways like HttpConnection/WebServices etc.When coming to BES you have to add a parameter when establishing HttpConnection thats it.