Introduction to CLDC

The supported classes

The class java.util.Properties is not supported.

A limited set of specific properties are supported. To access to these properties, you have to use the method System.getProperty(String key).

Internationalization

Internationalization is supported with the limited translation of Unicode characters from and towards a sequence of bytes.

It's implemented by using Readers and Writers.

By default, the alone encoding supported is ISO-LATIN1.

Localization is implemented by the manufacturer.

The network connections

The network, I/O and storage libraries of the Java technology are too big for CLDC devices :

  • More than 100 classes
  • Static global size of the class files : more than 200 Kb

The original classes haven't been created for small devices.

CLDC specify an alternative with the Generic Connection framework :

  • More coherence with the support of differents types of I/O
  • Easier to support differents protocols
  • Better portability of the applications
  • Compatible with the APIs of standard Java
  • Less consumtion of memory

Il existe plusieurs possibilités du Generic Connection :

  • Forme générale : Connector.open("://:");
  • Fichiers : Connector.open("file://netinnovations.txt");
  • HTTP : Connector.open("http://www.netinnovations.fr");
  • Sockets : Connector.open("socket://62.62.62.62:8000");
  • Ports de communication : Connector.open("comm://9600:18N");




Contact

Net Innovations
74, avenue Parmentier
75011 Paris
Tel : +33 1 48 05 38 50
Fax : +33 1 70 70 21 35
Email : contact@netinnovations.fr
Web : http://www.netinnovations.fr

I want to be added to the mailing list.