简体   繁体   中英

How to connect JAVA MIDLET to ORACLE/MySQL database Using Netbeans?

I got the code for connecting java midlet to mysql in three parts[ midlet,servlet and standard java ]. but netbeans doesn't allow except midlet in Mobile Project which i created from_ _ __ _ __ _ __ _ __ _ __ _ ____ file->new project ->java me->mobile application .

Cldc doesn't support JDBC API's. You won't be able to connect the database directly. You can use HttpConnection for this. See the following links for your reference,

DataBase Connection Using J2ME

How to Connect With MYSQL Database On J2ME

Nokia forum discussion

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM