Our local J2ME (and OSGi) expert just sent me the following:
===========================
There are many different profiles. Some of them include serialization and some
don't.
The OSGi standard has two minimum execution environments defined. One is
Foundation and the other is a subset of Foundation. Both include serialization.
The two broad categories of J2ME are CLDC (Connected Limited Device
Configuration) and CDC (Connected Device Configuration). I believe that all CDC
profiles have serialization, but I'm not completely sure. Foundation is the
common CDC profile. CLDC does not have serialization (or Classloaders or
Reflection, etc). MIDP (the Java of cellphones) is
the common CLDC profile.
============================
I remember when Personal Java came out -- it included serialization, but not
RMI (which I'm sure was annoying to the Javaspaces folks.)
So, now we have to figure out which J2ME you're looking at, and if you really
need to use the one without serialization or if you can use the one that
includes it.
Toby