« Previous day (Dec 8, 2004) | Main | Next day (Dec 10, 2004) »
 20041209 Thursday December 09, 2004

Whoa, whoa, whoa... Hold up there, IBM!

Hold the phone, IBM!

In a recent article by IBM, they show how they put the J2SE Java Cryptography Extension (JCE) APIs on top of J2ME Foundation Profile. No can do, IBM! (Not yet, at least until JSR 219 is finalized).

See:

IBM How-To Article

If you are a J2ME licensee, it doesn't mean you can grab any J2SE API (within class files or JAR files) meaning any java.* and/or javax.* namespace class files, wily-nily and run them on a J2ME platform. J2SE and J2ME require two different licenses and one does not mean you are entitled to the APIs of the other.

Their mistake is assuming you can expose javax.crypto.* APIs (JCE) on a J2ME Foundation Profile 1.0 platform. You can expose all the com.ibm.* APIs you want, IBM, but not java.* or in particular javax.crypto.* APIs (until JSR 219 is finalized).

To use JCE on J2ME Foundation Profile, you have to wait until J2ME Foundation Profile 1.1 and J2ME Security Optional Package is released, which properly defines JSSE/JCE/JAAS for J2ME Foundation Profile 1.1. That's the rule.

See: JSR 219

Maybe some Sun lawyers should remind IBMers about this rule... :-)

[Java ME and J2ME] ( December 09, 2004 04:18 PM ) Permalink Comments [2]





Theme originally based on design by Bryan Bell