JDBC comes to J2ME finally?

J2ME Brief Introduction

J2ME is always comes with limitation, limited memory, limited processing power, limited storage ... . It's made out of MIDP (Mobile Information Device Profile) and CLDC (Connected Limited Device Configuration), CLDC as defined by it's term ... represent a limited resource device. It minimum equiped with 128kb Java memory, 32kb heap, low power and low battery, network/wireless connectivity with low bandwidth. In those days, we can't put too much fancy stuffs in these kind of device, like database for instance.

A big brother of CLDC, the CDC (Connected Device Configuration) had far more capability than it's little brother (minimum 512kb memory, minimum 256kb heap, network persistent connectivity with high bandwidth).

So where do we see CDC and CLDC? CLDC is common among any j2me phones, but CDC can only be seen on high-end PDA phones like Nokia S80 series, Sony Ericsson smart phones and others which compliant with JSR-82.

The JDBC Optional Package

The JDBC optional package has been defined to enable CDC developers to write applications that access relational databases. This package is a subset of the java.sql and javax.sql packages in JDBC 3.0 (it could be JDBC > version 3.0 by the time you read this), with the smaller footprint required by CDC-based applications.

.
. . .
. Note: As of this writing, no reference implementation of the JDBC optional package exists. When an RI is released, you'll be able to build it with the CDC/FP using the OPT_PKGS=jdbc build option of CDC/Foundation or any other CDC-based profile. .
.
.

To support the JDBC optional package, a device must meet the requirements for CDC/Foundation, plus an additional 256KB of RAM and 256KB of ROM.

By Avatar.

Comments

Popular posts from this blog

JSR-184 a.k.a. Micro3D a.k.a. Java Mobile 3D