NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Connect to Database

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
alicealicia



Joined: 27 May 2009
Posts: 15

PostPosted: Thu Jun 11, 2009 1:09 am    Post subject: Connect to Database Reply with 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.
Back to top
Karol Harezlak
Posted via mailing list.





PostPosted: Fri Jun 12, 2009 2:11 pm    Post subject: Connect to Database Reply with quote

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

PostPosted: Sat Jun 20, 2009 3:21 pm    Post subject: javaDB Reply with quote

JavaDB comes with a sample JavaME application. It might be of some help...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo