开发者

How to connect to any database using J2ME? [duplicate]

开发者 https://www.devze.com 2023-02-16 01:36 出处:网络
This question already has answers here: Closed 10 years ag开发者_如何学Goo. Possible Duplicate: JDBC support on J2ME
This question already has answers here: Closed 10 years ag开发者_如何学Goo.

Possible Duplicate:

JDBC support on J2ME

I am not getting it. Can any one help me?


Probably what you are trying to do is accessing a remote database from your Mobile device (j2me) using JDBC or similar tool.
Unfortunately, if you use CLDC then there is no tool for connecting to database using JDBC like tool, you need to do it manually i.e you need to send customized data like username, password from the MIDlet to Servlet and then the servlet deals with the database. Here is a sample

It is not necessary to use Servlet (i.e Java) in server side, you can use any other server-side language like PHP etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消