10-01-2009 05:04 PM
I am trying to write a blackberry application which basically gets data from remotely located database server. Thats all.
I am new to blackbettery development world so my questions are -
1) should I build JDE widows applications which traverses XML and display data?
2) Should I build blackberry web application with Visual studio plugin in which traverses XML and display data?
3) For both cases above, should i use XML or blackberry internal database (if it has one)?
4) For reaching the data, Should i build web services at remote end and blackberry calls webservices and get data in XML format (if
blackberry app is capable calling web services)
10-03-2009 09:42 PM
1 and 2) Depends on where your skills are (Java or Browser) and how much work you're willing to put into this. Both Java and Browser are good options for this.
3) the BlackBerry gets a SQL database (SQLite) with device software 5.0 (should be out this year) but you can use the JME RMS or the BlackBerry object store to provide a local 'database' from a Java application.
4) you can do anything. BlackBerry devices beginning with the 8100 support JSR 172, the JME Web Services specification. so that's certainly one way to do it. You could also do it with REST or even something proprietary - all that really matters is that for performance reasons you do as much processing as possible on the back-end.
05-10-2010 09:28 PM - edited 05-10-2010 09:32 PM
Which type of server side scripting are you wanting to use for the server? PHP, JSP, ASP.NET?
All you need to do in these technologies is when accessed they would return a JSON string as their response.
From the client you would call this server side code using the XMLHttpRequest object and then use an open source JSON parser like the one in the link below to parse the JSON result into a object that you could then use:
An example of this can be found here:
Some more interesting information can be found here: