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
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.