JDBC support on J2ME

前端 未结 2 1078
一生所求
一生所求 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:28

    I don't know how to use DriverManager in either configuration.

    If you want to use JDBC without too much work, you can switch to DataSource to get your connections. (Using the JSR169 jar).

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题