NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
alicealicia
Joined: 27 May 2009 Posts: 15
|
Posted: Thu Jun 11, 2009 1:09 am Post subject: Connect to Database |
|
|
Hello,
I have done the application for the mobile application. Now, I want to send the request from the mobile application to MySQL database. And if got record, then it will send back to the mobile application.
Can you help me on this. I want to use the sql query. Can I do that?
Please do help me on this. Your help is appreciated. |
|
| Back to top |
|
 |
Karol Harezlak Posted via mailing list.
|
Posted: Fri Jun 12, 2009 2:11 pm Post subject: Connect to Database |
|
|
Java ME/CLDC does not provide JDBC API but in some cases it is possible
to use JDBC directly from Jave ME/CLDC. For example Oracle provides
subset of JDBC and drivers for Lite version of database. I'm afraid if
you want to use MySQL you have to create communication layer between
Java ME client and database for example using Servlets and web
application server.
Karol Harezlak
Alice Alicia wrote:
| Quote: | Hello,
I have done the application for the mobile application. Now, I want to
send the request from the mobile application to MySQL database. And if
got record, then it will send back to the mobile application.
Can you help me on this. I want to use the sql query. Can I do that?
Please do help me on this. Your help is appreciated.
|
--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobility |
|
| Back to top |
|
 |
shche123
Joined: 19 May 2009 Posts: 43
|
Posted: Sat Jun 20, 2009 3:21 pm Post subject: javaDB |
|
|
| JavaDB comes with a sample JavaME application. It might be of some help... |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|