BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-01-2007, 11:31 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2007
Location: Morocco
Model: 7250
PIN: N/A
Carrier: non
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default jdbc

Please Login to Remove!

Hello
that we can use JDBC (ie like import java.sql) for saving data in any DBMS ?
we can do it with ACCESS ?
__________________
Yours Mostafa
Offline  
Old 10-01-2007, 12:37 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

you'll have to create a middle layer to translate your blackberry's interface requests to a database somewhere through a middle layer (jsp, php, soap etc)
Offline  
Old 10-02-2007, 05:07 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2007
Location: Morocco
Model: 7250
PIN: N/A
Carrier: non
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks but how i can translate my request of data ? or how i can to bind my page php with my app bb ?
__________________
Yours Mostafa
Offline  
Old 10-02-2007, 09:12 AM   #4 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can open a http-connection and just call http://yourpage.com/putdata.php?"yourdata" for example.

or you write a server application that receives commands, executes them on the database and sends the result (preprocessed) back.

a third solution, kind of in between, is the use of a webservice. see apache axis and ksoap2 for (kind of) easy to use implementations.

the best solution for you depends on your data complexity and amount. if you want to store a barcode-string on your mysql-database a php-script works well, if you want to process large amounts of information out of a database you better implement your own protocol.
__________________
java developer, Devinto, hamburg/germany
Offline  




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