JDBC support on J2ME

前端 未结 2 1079
一生所求
一生所求 2021-01-25 15:14

Currently I am trying to run an existing java application on a Windows Mobile 6.1 device. The java application had been developed for server side and uses JDBC. My problem is th

2条回答
  •  [愿得一人]
    2021-01-25 15:32

    There is no official JDBC support for CLDC-based environments. There is a JDBC optional package for CDC-based environments.

    Database support for CLDC/MIDP is very sketchy. I see there's one here:

    http://developer.mimer.com/platforms/productinfo_19.htm

    but that's probably not what you want.

    I think what you'll have to do is roll your own web service based system where you interact with Java code running in a web server, acting as your proxy for JDBC communication to the database.

提交回复
热议问题